Page swf

Accessing movie clips from main page's stage in your current page

Say for example, that you have a menu movieclip in your main.swf.

To access this movieclip from a contact.swf for example you must do the following.

In Main.as set the menu movieclip as public.

public var myMenuMc:MovieClip;

In Contact.as access the menu like this

trace(varcentral.flebMain.myMenuMc);

Accessing movie clips from main page's library in your current page

Post A Comment

Anti-Spam Quiz: