How to add link to flash banner
Posted
by sasa
on Stack Overflow
See other posts from Stack Overflow
or by sasa
Published on 2009-06-21T18:16:53Z
Indexed on
2010/03/29
8:33 UTC
Read the original article
Hit count: 441
flash
Hello,
I am primarily a developer and dont know to use Adobe Flash CS4. Is there a simple way to add link to flash banner. I have .flv file with some items in Library and two layers.
Please, give me step by step instructions.
Thanks.
Edit: I find simple solution, by steps:
- Go to File -> Publish settings and set ActionScript version to ActionScript 2.0
- Insert new layer
- Create a square with Rectangle tool, that is larger than banner
- Right click on square and chose Convert to symbol... In popup windows chose Type: Button
- Double click on new button from Library panel and move select from Up to Hit and than go back to main scene
Right click on new blue square and chose Actions and paste this code in soruce editor:
on (release) { getURL("http://www.example.com/", "_blank"); }
Close source editor and export file as movie (File->Export->Export Movie).
© Stack Overflow or respective owner