actionscript 3 - AS3 FDT How to instantiate an fla asset with a custom class? -


i jsut started working @ company uses flash builder, using fdt @ moment. hvaing trouble getting fdt instantiate sprite in fla project along custom class goes it.

also, reasont people here instantiating sprite wrong:

var mc:movieclip = new moviclip() 

and right:

var _someclass:class = getdfinitionbyname("linkage") class; var _mc:sprite = new _someclass() sprite 

i cannot figure out how instantiate movieclip in fla , class @ same time method.

is asset 'sprite' or 'movieclip'? although can create sprite assets in flash professional (fla) it's asset movieclip.

please confirm this.

alao, 'movieclip' 'sprite' since inherits 'sprite'.

that way of linking quite verbose , not typical. linking asset @ compile or runtime?

most people export assets swc. if want asset @ runtime it's different thing bit...

look @ post.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -