Groups | Blog | Home
all groups > flash actionscript > november 2004 >

flash actionscript : Movie in a movie



Pyromancer
11/13/2004 8:50:25 PM
I have a flash movie with the title bar, and another main component movie (all
the contents) that loads inside the title bar movie. There are several
content pages I can switch between, and I want to be able to click a movieclip
that says 'home'. Right now, I have an actionscript on the Home movieclip:
onClipEvent (mouseDown) {loadMovieNum('p1.swf',2); } However, when I click on
the movieclip, it loads p2.swf rather than p1.swf. Please help, thanks!
kglad
11/13/2004 8:55:13 PM
a mouseDown handler responds to mouse clicks regardless of the mouse pointer's
location. if you have more than one mouseDown handlers that load swf's into
_level2 the one that executes last will determine what you see.

to remedy use a handler like on(press) or on(release) attached to your
movieclip.
AddThis Social Bookmark Button