header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
bibin job
Points:0
Posts:0

11/23/2010 12:38:13 AM

Title: flash button


I am creating a flash website.
Each page appears with an animation.
And I need each page to be disappear with a small animation.
I need the actionscript for this.
When the button home is clicked the previous page must disappear with an animation and athe home page should apper with the necessary animation.
Please answer.



1
Duke
Points: 0
Posts:0
11/23/2010 3:14:22 AM



say you are on some page other than home. Then on click of home set a variable myPage="home" and simply play the disappear animation. On last frame of disappear animation check the variable and jump to start animation of home page.

if(myPage== "home"){
//play home frame which is 1 or whatever you have
gotoAndPlay(1);
myPage="";
}


2
bibin job
Points: 0
Posts:0
11/24/2010 8:41:43 PM



Thank you very much Duke.


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+0 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions