Thank you, Geoffrey.
I referred the ActionScript 3.0 Language Reference and understood the
difference of 'import' directive between 3.0 and 2.0.
Also, I saw "Adobe Flash 9 Public Alpha/Configration/ActionScript
3.0/implicitImports.xml", in which classes are defined to be imported
implicitly in
: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] import statement and accessing a class in AS3
In ActionScript 3.0, a class can be accessed just by the name of the
class without the import statement in a timeline.
// timeline: _level0
// frame action (ActionScript 3.0)
// import
Hej, jag är på semester (tillbaka igen 14/8), jag nås på 070-9949770
Hälsningar
/Simon
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to
In ActionScript 3.0, a class can be accessed just by the name of the
class without the import statement in a timeline.
// timeline: _level0
// frame action (ActionScript 3.0)
// import flash.display.MovieClip;
trace(MovieClip); // output: [class MovieClip]
On the other hand, a class cannot be ac
4 matches
Mail list logo