Solved

Flash banner ad link not working -AS 2.0

Posted on 2011-02-25
11
349 Views
Last Modified: 2012-05-11
This post had some easy to follow instructions to make a flash banner clickable, but it's not quite working for me. Here is where my flash banner is. Under the google earth thing is a small flash ad. When I mouse over, the cursor turns to pointer like it knows it's a link, but clicking does nothing. I've been fooling with this for hours and I'm about to go crazy. My actionscript is this: on(press){getURL("http://realgreenlawn.com","_blank");}
0
Comment
Question by:quercusv
[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
11 Comments
 
LVL 17

Accepted Solution

by:
deepanjandas earned 125 total points
ID: 34985348
You need to place the code:
on(press){getURL("http://realgreenlawn.com","_blank");}
on the instance and not on timeline.

Kindly check with this.

Select the button, press F9 and then place the code.

Warm Regards
Deepanjan Das
0
 

Author Comment

by:quercusv
ID: 34987481
This is what I have already and not working.
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34989920
Kindly share your fla.

Also suggesting to try this instead:

on(press){
    getURL("http://www.realgreenlawn.com","_blank");
}

Warm Regards
Deepanjan Das
0
Industry Leaders: 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 19

Expert Comment

by:Montoya
ID: 34997703
on(press){
getURL("http://www.realgreenlawn.com", "_blank") }

please copy and paste the above into your instance ( ; <----- was ommitted)  
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34997755
Hi @Iammontoya, do not you think its wierd that just the ';' (semi-colon) would do the trick ? :)

Best
Deepanjan Das
0
 
LVL 19

Expert Comment

by:Montoya
ID: 34997907
I do. We all know how crazy Flash can be. Of course, anyone of us would prefer to have the fla and take a quick look.  

:)

(long time-no-see) hehe
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34998041
he he :)  that's true ..sometimes flash make us crazy.

Cheers
DD
0
 
LVL 19

Expert Comment

by:Montoya
ID: 36294669
The answers provided above were adequate and accurate, considering that no code was provided for review.

Cheers
0
 
LVL 37

Expert Comment

by:CyanBlue
ID: 36978226
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Industry Leaders: 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

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 …
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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…

749 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