yo frankie, can you tell me how to add an external url links to each button, im not that flash savvvvy..
cheers
yo frankie, can you tell me how to add an external url links to each button, im not that flash savvvvy..
cheers
Hi lumberjack, sorry for the delay!
There are several ways you can do this, but the easiest is probably just to make a small modification to the supplied buttonClick function.
Open the clip that contains the buttons, select the first frame and find the function called buttonClick. Where you see the line:
_parent.gotoAndStop(arguments0);
swap it for…
var destination:String = arguments0; getURL(destination);
Then you just have to go to each button and add your URL into the “Function params” box in the property inspector.
Job done!
Huh?? Sorry, I don’t know what has happened to the zero’s in that post, but that should read…
arguments (open square bracket) zero (close square bracket)
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.
13 Purchases
3 Comments