ok guys quick question..i have a mc that is draggable..right..i wanna use the same mc in three different scenes..the button that drags the movie clip has these actions..
on (press) {
startDrag ("_root.window1"
}
on (release) {
stopDrag ();
}
ok all is good..move the mc into scene 2 and it does not drag..is this because it is no longer _root?.if not what does it become on scene 2..also if i change the actions for the button it stays the same of course for each scene right..so i guess my question is how do i get this mc to drag on each scene with the same button..
also when we did that tv guys remember?.the buttons on the tv were fixed so that you couldn't click on the same button twice and open the same window without closing it first right..well i am having the same problem again..
the code for the buttons on the tv were as so:
on (press) {
if (/:currentchannel==movie1) {
stop ();
} else {
/:newchannel = movie1;
transition.gotoAndPlay(2);
}
}
how do i apply this to my new problem..only three buttons on the new one..home, aboutus, portfolio..each one of these buttons call the next scene..scenes are labled home, aboutus, portfolio..what would be the code for the new buttons..i'm not gona have a close scene button..just buttons that call the next or previous scene..just when you click on a button, and click it again it's calling other scenes from the movie(the wrong scenes)..
here is a link if ya wana see what i mean..it's only 18k so should be a quick download..
or
also where do i add the "scroll=no" in the html to make it exact fit without scroll..have a look at the code on the html and tell me where i'm going wrong..and yes this is my first attempt at embeding swf's in html so don't laugh..
thanks in advance..
virtuality2001@aol.com
on (press) {
startDrag ("_root.window1"
}
on (release) {
stopDrag ();
}
ok all is good..move the mc into scene 2 and it does not drag..is this because it is no longer _root?.if not what does it become on scene 2..also if i change the actions for the button it stays the same of course for each scene right..so i guess my question is how do i get this mc to drag on each scene with the same button..
also when we did that tv guys remember?.the buttons on the tv were fixed so that you couldn't click on the same button twice and open the same window without closing it first right..well i am having the same problem again..
the code for the buttons on the tv were as so:
on (press) {
if (/:currentchannel==movie1) {
stop ();
} else {
/:newchannel = movie1;
transition.gotoAndPlay(2);
}
}
how do i apply this to my new problem..only three buttons on the new one..home, aboutus, portfolio..each one of these buttons call the next scene..scenes are labled home, aboutus, portfolio..what would be the code for the new buttons..i'm not gona have a close scene button..just buttons that call the next or previous scene..just when you click on a button, and click it again it's calling other scenes from the movie(the wrong scenes)..
here is a link if ya wana see what i mean..it's only 18k so should be a quick download..
or
also where do i add the "scroll=no" in the html to make it exact fit without scroll..have a look at the code on the html and tell me where i'm going wrong..and yes this is my first attempt at embeding swf's in html so don't laugh..
thanks in advance..
virtuality2001@aol.com