|
Prev: flash picture transition
Next: ISS Script.msi Error
From: M.. on 24 Jan 2006 13:46 Am making a animated banner in Flash MX2004, it's my first little project in Flash. I know Director (it's so simple there), I don't know Flash. I've got it all working and timed, but I CANNOT find the answer anywhere in a language I understand, *how to link to the (whole) banner to an URL*. I have an old manual (Flash MX), read the help on mouse events, components, etc. Is it not possible to add such a link to an object, not only a button? There just doesn't seem to be a simple answer, I didn't find it. Please point me, I'd like to stop banging my head against the wall. Thanks! Marianne
From: .:}x-=V!P=-x{:. on 24 Jan 2006 14:27 just make your movieclip or button the same size as the stage and add your onPress() or onRelease() function with a getURL() to that button or movieclip.
From: alanwallace4 on 24 Jan 2006 14:33 Hi, Make an "invisible" button and place it over everything else. Then give it the code... on(release) { getURL("http://www.alanwallace.co.uk"); } Cheers Alan
From: wizardmatt on 24 Jan 2006 15:04 Use the on(release) command, it allows your users to move mouse off the banner if they hold the mouse down, without activating it.
From: M.. on 24 Jan 2006 15:25
I've been doing that, invisible button, over all the other stuff, used on (click) on (release), tried a ton of others, but I always get an error: **Error** Scene=Scene 1, layer=Layer 27, frame=53:Line 1: Mouse events are permitted only for button instances on(release) { Total ActionScript Errors: 1 Reported Errors: 1 It seems also that I can only attach the behaviour to one frame, not to a number of frames to make that button clickable from the start of the movie. Also I can't find a code view panel, and I can't find how to remove the empty layers/_mc I seem to have accumulated. Everything I am used to is hidden... :-( "wizardmatt" <webforumsuser(a)macromedia.com> wrote in message news:dr618u$qt0$1(a)forums.macromedia.com... > Use the on(release) command, it allows your users to move mouse off the > banner if they hold the mouse down, without activating it. |