This is just strange. I was trying to import the classes in fl.core and fl.video into a Flash project and the compiler gave a "Definition could not be found." error. Apparently this has been a problem since (at least) Flash CS3. The IDE does not automatically add those libraries to the classpath so you need to do it yourself.
Here are the instructions:
Open Flash
Go to Edit>Preferences>Actionscript>ActionScript3 Settings>
and add these two paths to the Source Path:
$(AppConfig)/Component Source/Actionscript 3.0/User Interface
$(AppConfig)/Component Source/Actionscript 3.0/FLVPlayback
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment