Showing posts with label clickable flash animation. Show all posts
Showing posts with label clickable flash animation. Show all posts

Monday, August 23, 2010

How To Make A Clickable Flash SWF Animation

  1. First, create a new .fla flash file in Adobe Flash(actionscript 3.0) or open your current file
  2. Create a new layer on the timeline above everything else (Insert>>Timeline>>Layer)
  3. Create a box on that frame with the Rectangle Tool (this will be the clickable area)
  4. Select the new layer(important!) then select the box
  5. Too the right under Color, Change the Stroke color and Fill color Alpha to 0%
  6. transparent box How to Link Flash Animation to a URL
  7. Double click the middle of the box
  8. Press F8 to convert the box to a symbol
  9. Name the box anything you would like
  10. Select the box again
  11. Next go to Window>>Actions or press F9
  12. Finally, copy this code in and replace page.html with your URL
  13. stage.addEventListener(MouseEvent.CLICK, navTo);
    function navTo(e:Event) {   
    navigateToURL(new URLRequest("http://www.majlisasmanabawi.net"),"_blank");
    }
Related Posts with Thumbnails