Copy link to clipboard
Copied
I've been working on a flash widget to incorparate in my website, so far i have created buttons which when clicked on open text/image. Now i would like to add motion to these text/images for example when i click on the button i want the text to slowly come into the frame from the left or from the top ect.
Here is my flash i have made so far:
http://www69.zippyshare.com/v/11492400/file.html
Here is an image of the timeline:

What im trying to say is for example when i click on the DOWNLOAD button the text image on the left i want it to slowly move into the frame.

And here is the action code so far:
stop();
import flash.events.MouseEvent;
leasing_btn.addEventListener(MouseEvent.CLICK,leasingclick);
function leasingclick(event:MouseEvent):void{
gotoAndStop("getLeasinginfo");
}
exclusive_btn.addEventListener(MouseEvent.CLICK,exclusiveclick);
function exclusiveclick(event:MouseEvent):void{
gotoAndStop("getExclusiveinfo");
}
download_btn.addEventListener(MouseEvent.CLICK,downloadclick);
function downloadclick(event:MouseEvent):void{
gotoAndStop("getDownloadinfo");
}
Copy link to clipboard
Copied
on your getDownloadInfo frame, start a motion tween for the text you want to animate. or, use the flash tween class or a third party tween class like tweenlite.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now