Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Can It Be Done?



I'm new to flash and it's really kicking my ***** today. so i'll try to make my question as simple as possible.

I have a button that plays 3 movie clips using onRelease, tellTarget and gotoAndPlay. What I want to happen is when another button is pressed and the 3 movie clips are active, to rewind them and load the a new movie cilp.

here is the script on the button that loads the 3 movie clips


Code:
stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onRelease = function() {
tellTarget ("_root.main_nav") {
gotoAndPlay(1)
}
tellTarget ("_root.main_nav.serv_sub_nav") {
gotoAndPlay(1)
}
tellTarget ("_root.main_nav.home_text") {
gotoAndStop(2);
}
};
Thanks in advance for your help, any suggestions on books/websites to assist with actionscript that are straight forward and simple would be greatly appreciated as well.



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 02-22-2007, 12:42 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

    Copyright © 2005-08 www.BigResource.com, All rights reserved