logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 05-07-2011, 06:26 AM   #1
uneek78
 
Join Date: Apr 2011
Posts: 31
Default Flash Image Transition

I have been trying in Flash CS5 to make images were the button of each image is at the bottom and as you click on them they appear above the images. Yet when I test it the transition 1st starts on its own and once it finishes scrolling through the 5 images it starts to rapidly speed through all the images over and over. I want it to remain still until clicked on and then to appear. Please help!!!!

I have followed this tutorial:
http://www.youtube.com/watch?v=5yjvBDgB0NA

and this code:
stop();

button1.addEventListener(MouseEvent.CLICK,showpic1 );
button2.addEventListener(MouseEvent.CLICK,showpic2 );
button3.addEventListener(MouseEvent.CLICK,showpic3 );
button4.addEventListener(MouseEvent.CLICK,showpic4 );
button5.addEventListener(MouseEvent.CLICK,showpic5 );

function showpic1(Event:MouseEvent) ;void{
gotoAndStop("pic1");
}

function showpic2(Event:MouseEvent) ;void{
gotoAndStop("pic2");
}

function showpic3(Event:MouseEvent) ;void{
gotoAndStop("pic3");
}

function showpic4(Event:MouseEvent) ;void{
gotoAndStop("pic4");
}

function showpic5(Event:MouseEvent) ;void{
gotoAndStop("pic5");
}
uneek78 is offline   Reply With Quote
Old 05-20-2011, 09:25 PM   #2
Ricky55
Ricky55's Avatar
 
Join Date: Oct 2005
Location: West Yorkshire, UK
Posts: 1,855
Default

Need to see your action script.
__________________
Qwerty Design

Check out my blog for web design insights.
http://www.qwerty-design.co.uk/
Follow me on Twitter: @QwertyDesignUK
Ricky55 is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:20 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com