View Single Post
  #4 (permalink)  
Old 06-20-2008, 09:53 AM
Adrian Adrian is offline
Super Moderator
 
Join Date: May 2008
Posts: 656
Send a message via Skype™ to Adrian
Default

Try this approach:

in the xml
Code:
<item label="Super Beatle" url="frame number" target="absolute movie clip path"></item>
like for example:
Code:
<item label="Super Beatle" url="5" target="_root.testmc.wheel"></item>
in the GenericMenuItem.as :

Code:
public function onRelease() {
                var targetMC:MovieClip = eval(Node.attributes.target);
		if (_url_ != "") {
			targetMC.gotoAndStop(Number(_url_));
		}
	}
Reply With Quote