I am completely new to flash and I'm trying to build a "relatively simple" animated website, 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 at the end of the tween.
the tweens are a rectangle which opens up from the center and should stop when open so that text can be added in
this is the code I inserted
Expand|Select|Wrap|Line Numbers
- 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
- {
- gotoAndStop("home");
- }
- function aboutusCLICK(e:MouseEvent):void
- {
- gotoAndStop("aboutus");
- }
- function musicCLICK(e:MouseEvent):void
- {
- gotoAndStop("music");
- }
- function contactCLICK(e:MouseEvent):void
- {
- gotoAndStop("contact");
- }
please help
thx