Hello,
I am trying to create a SWC library for use in my Flash AIR project. I have created a seperate FLA called SceneLibrary and followed the steps defined here:
http://www.luaye.com/blog/index.php?action=read&id=54
to create a new SWC component. I saved the created SWC into a lib folder within my Flash Dev project, I then right click on the SWC item in my project window and choose "Add to Library" This all seems to go fine.
In my code i then go import FirstScene (this is auto completed by Flash Dev) It seems a bit weird to me that the path to this class would simply be
import FirstScene;
When i try and instanciate FirstScene however i get the following errors
1046: Type was not found or was not a compile-time constant: FirstScene. 1180: Call to a possibly undefined method FirstScene. 1172: Definition FirstScene could not be found.
I used Flash CS3 to create the library item and am using flash develope 3.0.5
Any help would be greatly appreciated.
L