Positioning Two Menus On Stage in MX... Problem with X, Y Coordinates? ZIP File

Hi,

I have a menu in place in MX. However, I'd like to duplicate the same menu and have it load in a different spot. New mc, different x, y coordinates etc. So, the original menu will stay where it is, and the new one will load simultaneously into another mc.

At the risk of making this sound really awkward and difficult, I'll stop now.

If anyone can help me. I would greatly appreciate it. I've included a link to an old post of mine so you can better understand what I'm talking about:

http://experts-exchange.com/Web/WebDevSoftware/Flash/Q_21226997.html

Here's the zip file from my post:

http://flashmx7.tripod.com/test-1-1.zip 

(Says flashmx7, I'm still using an older version, though)

Negatyve resolved my question back then. I'd just like to know how to have two menus load in different places now.

Thank you for any help.
imawakeAsked:
Who is Participating?
 
negatyveCommented:
Use this script:

_root.contents.loadMovie("products.swf");
_root.scroller.loadMovie("links.swf");
_root.scroller.duplicateMovieClip("another", 1);
_root.another._x = 200;
_root.another._y = 10;
_root.another.loadMovie("links.swf");
stop();
_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
      getURL("javascript:window.open('"+url+"','"+winName+"','"+"width="+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};
0
 
imawakeAuthor Commented:
Thank you very much. I was on the right track but have never used duplicateMovieClip before.

It works great.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.