|
-
movieclip/button linking
hey,
i have devised a movieclip with horizontally scrolling navigation. i set the clip into the movie and everything function EXCEPT that the buttons will not link properly. instead of going to the frame of the scene i specify, they try to goto that frame of the movie clip. even when another scene is referenced. i have tried to link them with something like this:
on (release) {
_root.gotoAndStop("scene2");
}
to try to get them to realize they need to look outside the clip, but it is no help. does anyone know how to get around this. ideally id just throw blank buttons behing the clip, but b/c it scrolls, its not an option.
go here to get some idea of how this looks, below is the script that makes it scroll and react if that has anythign to do with it.
http://www.pzelnar.com/index2.html
phil
onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;
if (xmousepos1>xmousepos2 && ymousepos1>-2 && ymousepos1<100) {
_root.scrollclip.nextFrame();
}
if (xmousepos1<xmousepos2 && ymousepos1>-2 && ymousepos1<100) {
_root.scrollclip.prevFrame();
}
if (ymousepos1<-2 || ymousepos1>100) {
play();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
}
-
got it
nevermind, got it. sorry about that.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|