Page 1 of 1

stop(); doesn't (stop)! flash CS4

PostPosted: Mon Mar 01, 2010 1:37 am
by macdalor
Hi there,
I am completely new to flash and I tried to follow the tut from READ's website (http://radservebeer.free.fr/tuto/flash/Adobe_Flash_CS3/websitecs3.html), managed to create everything (buttons, tweens, pages content etc...) but somehow when I test the movie the tweens don't stop, even though I put a stop in a keyframe as the tut suggest :shock:

the tweens are a rectangle which opens up from the center and should stop when open so that text can be added in

please help
thx

Re: stop(); doesn't (stop)! flash CS4

PostPosted: Tue Mar 02, 2010 12:54 am
by macdalor
maybe a screen print would help ... and the code I used... ;-)
Code: Select all
btn_home.addEventListener(MouseEvent.CLICK, homeCLICK);
btn_aboutus.addEventListener(MouseEvent.CLICK, aboutusCLICK);
btn_music.addEventListener(MouseEvent.CLICK, musicCLICK);
btn_contact.addEventListener(MouseEvent.CLICK, contactCLICK);

function homeCLICK(e:MouseEvent):void
{
   gotoAndPlay("home");
}
function aboutusCLICK(e:MouseEvent):void
{
   gotoAndPlay("aboutus");
}
function musicCLICK(e:MouseEvent):void
{
   gotoAndPlay("music");
}
function contactCLICK(e:MouseEvent):void
{
   gotoAndPlay("contact");
}