1017: The definition of base class UIComponent was not found.

Trying to extends the UIComponent for a new component in action script 3, I’ve got this error. To fix this, I added a new classpath in the ActionScript 3.0 Settings from the Preferences panel. So if you get this error try to add this path: C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface

This entry was posted on Monday, June 4th, 2007 at 5:06 pm and is filed under AS3. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

10 Comments so far

  1. I had the same problem and came to the same conclusion. I don’t know why the guys at Adobe did not add that path to the settings ? Maybe they just forgot about it…
    As an ActionScript 3.0 editor, I am using FlashDevelop 3 (you can download it from www.flashdevelop.org). And at the AS3Context plugin settings, it has that path added in the User Classpath setting.
    How come a few guys working on an “freeware” project managed to include that path, but the guys working at the mighty Adobe, “forgot” about it ?

  2. I’ve solved similar problem with FLVComponent by adding it to stage in FLA that calling my classes which extends that component. It’s ugly solution but at that moment I couldn’t fild better…

  3. You can ‘permanently’ change the class path Flash CS3 uses for all apps by going to Edit > Preferences > ActionScript, ActionScript 3.0 settings…

    Then add the following path:
    $(AppConfig)/Component Source/ActionScript 3.0/User Interface

    Save it, and from now on Flash should be able to find the ‘fl.core’ package!

  4. I am running Flash CS4, and unfortunately it seems like i don’t have much in the ActionScript 3.0 directory except 1 file: EnabledWarnings.xml

    I can’t seem to find the User Interface/ directory ….. grrrr

  5. sean,

    same issue here, found the dir, it’s \Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface\
    in case you hadn’t yet. Couldn’t call it a major release without rearranging everything :)

  6. =))

    good point sean :))

  7. Same problem with CS4 - If u wadd the following it works fine:

    C:\Program Files\Adobe\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface

    If anyone needs it

    Thomas JT

  8. I tried adding both seperatetly to test,

    C:\Program Files\Adobe\Adobe Flash CS4\Common\Configuration\Component Source\ActionScript 3.0\User Interface
    did not work

    and

    $(AppConfig)/Component Source/ActionScript 3.0/User Interface
    does not work

    I ended up taking the UI as file from fl.core and putting in the custom class file of mine and linked to it and it works ok.
    I guess thie is just more adob-ugs

  9. I have the same error, but I’m using Flex Builder 3 and I don’t know how to add it. Any ideas?

    thanks in advance

  10. Thanks a lot for the info and help. FYI, on CS4 and OSX, the folder is at:

    /Applications/Adobe Flash CS4/Common/Configuration/Component Source/ActionScript 3.0/User Interface

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.