Solved

VERY simple one

Posted on 2003-12-09
7
198 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

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…
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 load their YouTube profile onto Flash Media Live Encoder.

808 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