skip to main |
skip to sidebar
- First, create a new .fla flash file in Adobe Flash(actionscript 3.0) or open your current file
- Create a new layer on the timeline above everything else (Insert>>Timeline>>Layer)
- Create a box on that frame with the Rectangle Tool (this will be the clickable area)
- Select the new layer(important!) then select the box
- Too the right under Color, Change the Stroke color and Fill color Alpha to 0%
- Double click the middle of the box
- Press F8 to convert the box to a symbol
- Name the box anything you would like
- Select the box again
- Next go to Window>>Actions or press F9
- Finally, copy this code in and replace page.html with your URL
stage.addEventListener(MouseEvent.CLICK, navTo);
function navTo(e:Event) {
navigateToURL(new URLRequest("http://www.majlisasmanabawi.net"),"_blank");
}
0 comments:
Post a Comment
Your comment is awaiting moeration...