Solved

VERY simple one

Posted on 2003-12-09
7
194 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now