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.
on June 5, 2007 at 11:35 am Santa Claus wrote:
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 ?
on January 19, 2008 at 12:38 am Goran Grubic wrote:
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…
on February 18, 2008 at 5:21 pm rich wrote:
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!
on April 6, 2009 at 6:56 pm sean wrote:
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
on April 21, 2009 at 8:26 am james wrote:
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 :)
on April 23, 2009 at 11:30 am demiurgu wrote:
=))
good point sean :))
on April 26, 2009 at 9:33 am Thomas JT wrote:
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
on May 25, 2009 at 10:40 am JAson wrote:
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
on November 19, 2009 at 11:29 am TatiPiruli wrote:
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
on December 15, 2009 at 1:41 pm Nate wrote:
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