Import library dependencies in flash (actionscript 3) -
Import library dependencies in flash (actionscript 3) -
i developing quiz application practice purpose, using flash cs5.
at top of as3, have :
import flash.net.urlrequest; import flash.net.urlloader; i utilize load xml file.
i wonder, should import library, because it'll compile delete lines?
thanks.
you placing code in frame script, works pseudo import flash.*.* scope.
import statements not impact performance or file size , simply intrinsic help compiler understand mean when referring urlloader.
as side note, highly suggest not placing code in frame actions , using document class object and/or external .as files.
actionscript-3 flash-cs5
Comments
Post a Comment