Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Trying to add motion to my flash design?

New Here ,
Jun 30, 2013 Jun 30, 2013

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:

layout1.jpg

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.

layout2.jpg

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");

}

TOPICS
ActionScript
326
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 30, 2013 Jun 30, 2013
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines