Solved

VERY simple one

Posted on 2003-12-09
7
196 Views
Last Modified: 2010-04-03
i made a banner.
how can i activate it as link .
i want that it will go to some url in new window
0
Comment
Question by:eladr
  • 5
  • 2
7 Comments
 
LVL 5

Accepted Solution

by:
zenlion420 earned 20 total points
ID: 9907321
In the last frame of your banner, draw a rectangle over your banner over the area you want to be clickable.  Convert it to a button.  Click on the button and open the actions panel.  Enter this, changing the url to the one you'd like to direct to (you can also set what window the url will be displayed in here, but I didn't do that):

on (release) {

getURL(www.something.com);

}


After that's done, click once on your rectangle button, and give it an alpha of 0 in the color section of the properties inspector.

j
0
 
LVL 1

Author Comment

by:eladr
ID: 9907578
hi
10x but...
its seems it doesnt work.
i did exactly like your answer but the cursor is switching to link only for 1 seconds
in the end of the animation and its not redirecting me to the url.

0
 
LVL 5

Expert Comment

by:zenlion420
ID: 9907685
Okay, then do this (I figured you had a (stop) at the end of your banner animation):

Right click on the frame that contains the invisible button, choose "cut frames"  Go to frame one of the same layer, right click and choose "paste frames.  Then go to the last frame of the layer, right click : "remove frames".  then left click in the frame you just cleared and hit F5 to extend the frames.  

j
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 5

Expert Comment

by:zenlion420
ID: 9908540
I just realized that you specified you would like the link to open in a new window, in which case the code on the button would be:

on (release) {

getURL(www.something.com,_blank);

}

j
0
 
LVL 1

Author Comment

by:eladr
ID: 9910542
it is not working 4me...
if the rectangle is in the last frame how the link will be active in the first frame's
also i have 2 layers in the animation (i dont know if this matter)

e.
0
 
LVL 5

Expert Comment

by:zenlion420
ID: 9910980
Please see my second comment :)
0
 
LVL 5

Expert Comment

by:zenlion420
ID: 9910981
BTW, put the rectangle button on its own layer.

j
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft WSUS 4 97
Adobe Presenter not Publishing Slide Theme 17 124
EMET 5.2 / Adobe Flash 2 236
File drag and drop 6 142
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question