Loading Library Assets from Loaded swf:

To load Movieclip from library in AS3:
var Content_mc:MovieClip= new MovieClip()

where Content_mc is the linkage name similarly to load content from loaded swf

var Content_mc:Class =”Content_mc”) as Class
var new_content_mc:MovieClip = new Content_mc() as MovieClip;

Note : place this code in Complete Event ie., after preloading

Bookmark and Share


Anonymous said...

Is this possible with AS2

Saravanan said...

Nope its not i think....


Recent Posts

Recent Visitors

Donate Me

About Me

My photo
Chennai, Tamil nadu, India
Nothing more to say about me.. Just a Action Script programmer / Flex developer having 4.5 years of experience.