Solved

VERY simple one

Posted on 2003-12-09
7
199 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

730 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