View Full Version : simple question
stephenfinn
07-05-2006, 03:30 PM
Probably an idiotic question but I'm just trying to figure out. Do you need flex to code AS3?
All of the AS2 functions like clearInterval() etc seem to have flash.blah.clearInterval() in AS3.
Can you code in AS3 from the Flash authoring environment?
Thanks
senocular
07-05-2006, 03:55 PM
Probably an idiotic question but I'm just trying to figure out. Do you need flex to code AS3?
All of the AS2 functions like clearInterval() etc seem to have flash.blah.clearInterval() in AS3.
Can you code in AS3 from the Flash authoring environment?
Thanks
Currently Flex is the only application in full release that can export to AS3-based movies. However, there is currently a Flash 9 Alpha, AS3 Preview available from http://labs.adobe.com. It is essentially Flash 8 with AS3 support built in which will let you use AS3 with Flash.
For those with registered copies of Flash Pro 8, its completely free, for others its a 30 day trial.
When using the AS3 preview, most of the "flash.blah" is imported for you so you dont have to worry about appending those paths to things like clearInterval.
abeall
07-05-2006, 04:02 PM
I'm not a fan of the "flash.blah" either :)
Like senocular said, coding on a timeline frame in Flash 9 doesn't require all the flash.blah stuff(called namespaces) for any built in class. However, if you use a .as file, even in Flash 9 authoring environment, you do have to use flash.blah before everyhting, or import flash.blah once at the top of the file.
senocular
07-05-2006, 04:17 PM
flash.blah are actually packages ;) namespaces are internal to AS classes and kind of provide the same sort of separation but instead affecting classes, they affect class members (properties and methods). :)
abeall
07-05-2006, 06:03 PM
Ah, so much to learn! Thanks for the correction, senocular.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.