I've tried, but can't figure it out. I've made a flash banner advert for my site but I can't figure out how to make it clickable.
I want it so that once clicked, it goes to a URL I specify.
Any help is appreciated :)
benihana
4:27 pm on Oct 20, 2003 (gmt 0)
create a layer at the bottom of all layers, draw a rectangle the size of your movie - i.e. completely filling the stage. press f8 to convert to symbol (a 'graphic' type should do i think). now click on the rectangle and add this actionscript:
onRelease { getURL ("http://www.example.com"); }
cant remember if you need the quotes "" or not...
theres probably a better way, but this should do the trick
not sure if the syntax has changed in mx2004, or if i imagined it. sorry :)
also you may have to use a movie clip, not graphic symbol type
ben
Chroder
12:45 am on Oct 21, 2003 (gmt 0)
Sorry Ben, I didn't realize there were syntax differences in MX and MX2004 :) Your second code worked - thank you!
benihana
8:10 am on Oct 21, 2003 (gmt 0)
just checked in 2004 - it hasnt changed - dont know where i got onRelease from. sorry; :(
mikepitches
12:50 pm on Feb 23, 2008 (gmt 0)
Hi Didn't work for me - I've never been able to suss this out. Followed the advice to the letter (and more) but I get "Current selection cannot have actions applied to it". I'm using Flash MX2004 Pro. Any further help much appreciated.