sliding menu.. loading content
Hello - Can u point me in the right direction??.. I apologize, new w/ AS.. placed your menu into a sliding bar. It now slides off the screen to left when not in use. Now I'm having problems loading content to the main scene, here's what I did:
Created a mc which contains the PList_mc and the AS associated w/ populating the menu (frames 1 and 2). Placed that new mc into another mc for animation purposes (sliding vertical bar). The animation works and the menu populates. I then created a container on the main scene of the fla where I'd like external content to be loaded via the menu.
Moved the following AS to the main scene..
PList_mc.onItemSelect= function(n:XMLNode){
empty_mc.loadMovie(n.attributes.clip);
}
It's not hitting. It works when I return the container and code to the mc where the menu resides.. don't want to do this because the loaded content shifts when the menu slides off screen. Want the content on top layer or main scene of fla. Thanks for your time.
|