|
Prev: flash picture transition
Next: ISS Script.msi Error
From: alanwallace4 on 24 Jan 2006 15:44 Hi, The code that i put in my first post is intended to be placed on a button and not in a frame. This seems to be what you are doing wrong from what the error is saying. Just select the button onstage and open the actions panel and put the code in. Cheers Alan
From: M.. on 24 Jan 2006 18:00 OK, managed that. Have the button, selected it, inserted the code, see the cursor change as a link seems to be active, but there is no action. If I can't 'get' this today, I'll have to produce a static banner. This can't be that difficult, please, what is it I am doing wrong? A queendom for a working simple link, please! ;-) Marianne "alanwallace4" <webforumsuser(a)macromedia.com> wrote in message news:dr63k1$kg$1(a)forums.macromedia.com... > Hi, > The code that i put in my first post is intended to be placed on a button > and > not in a frame. > This seems to be what you are doing wrong from what the error is saying. > Just select the button onstage and open the actions panel and put the code > in. > Cheers > Alan > >
From: alanwallace4 on 24 Jan 2006 19:13 Hi, I use that code all the time and it works for me. Here's another way you can try if you want. Give the button an instance name in the properties panel (lets say button1_btn). Create a new layer above for your actions and add a new keyframe above the frame that you hold your button. Open tha actions panel and type this code.... button1_btn.onRelease = function() { getURL("http://www.alanwallace.co.uk", "_blank"); } Hope this helps Alan
From: Michiel on 8 Feb 2006 06:33
Not as hard as you might think. this works. and is trackable. No hard coding in the swf. Make a invisible button in the swf (like mentioned before). add this as action: on (release) { getURL(clickTAG); } and in the html find the object tag there is the embed tag. Add: ?clickTAG= http://www.desitationURL.com Like this: <embed src="yourswf.swf?clickTAG= http://www.desitationURL.com" .... don't forget the space behind the = or else it doesn't work well wit security etc. Succes, Michiel Ebberink -- Michiel ------------------------------------------------------------------------ Michiel's Profile: http://www.highdots.com/forums/m1861 View this thread: http://www.highdots.com/forums/t3226437 |