Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make flash banner clickable

Status
Not open for further replies.

npereira

Technical User
Joined
Oct 16, 2002
Messages
35
Location
CA
How can I do this?

Im using Flash MX 2004 and make a flash of 468x60
then I add a text
then I add (on a different layer above the text) as transparent box.
for the keyframe of that box I enter the actionscript:
on(release){
getURL(" "_blank");
}

Yet, the swf when publishing or even testing the movie, is not clickable... what am I doing wrong?
 
Is the transparent box a button symbol? It should.

As an alternative, you can get rid of your transparent box, and simply add, on the first frame, the following...

this.onMouseDown = function(){
getURL(" "_blank");
};


Regards. Web Hosting - Web Design
01/07/07 -> OLDNEWBIE VS JOSHUA MUSSLEWHITE
 
thanks for the quick reply, ill try that
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top