Adobe Dreamweaver Forums



Last 10 THreads :         Getting error after administrator who upgraded from CS3to CS4 (Last Post : Dominic Michael - Replies : 1 - Views : 2 )           »          Slow approval process (Last Post : mat1492 - Replies : 0 - Views : 1 )           »          Local/Network Connection to IIS Site Shows HTML Drafts (Last Post : JamieATL - Replies : 0 - Views : 1 )           »          Adobe Contribute CS3 Mac Hangs on Startup connecting toAdobe (Last Post : ACR8TV1 - Replies : 12 - Views : 13 )           »          Photo gallery with a library list (Last Post : fredingston - Replies : 1 - Views : 2 )           »          SYMBOL problem (Last Post : Tozstyle - Replies : 0 - Views : 1 )           »          dropTarget reading Loader component (Last Post : rritchey - Replies : 0 - Views : 1 )           »          CS4: Publish Settings window cut off (Last Post : eirkeirkeirk - Replies : 1 - Views : 2 )           »          HELP!!! Dreamweaver could not connect you to theremote server" (Last Post : cspocspo - Replies : 4 - Views : 5 )           »          FPS against BPM (Last Post : Loteck - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Macromedia Software > Flash > Flash Ad Development
 
Tags:



Reply
  #1 (permalink)  
Old 11-21-2008, 10:56 PM
marahchristine
 
Posts: n/a
Diggs:
Default Linking CS3 Flash Ad to a web site

I am trying to make my whole flash document be a link so whenever anyone clicks
on any part of it, it will go to a website. I upload my ads through a program
called OpenX to my company's website, and cannot put the link here it will not
work. It has to be integrated into the flash document. HELP PLEASE! Thank you!



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 11-24-2008, 06:15 PM
adobegirl
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

What I do is import a transparent .gif into the .fla file. I put the .gif on
the topmost layer and make sure it is the same pixel dimensions of the ad,
covering it completely. Then, convert the transparent .gif to a button symbol
and assing the following code to the button:

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

Reply With Quote
  #3 (permalink)  
Old 11-24-2008, 06:15 PM
adobegirl
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

What I do is import a transparent .gif into the .fla file. I put the .gif on
the topmost layer and make sure it is the same pixel dimensions of the ad,
covering it completely. Then, convert the transparent .gif to a button symbol
and assign the following code to the button:

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

Reply With Quote


  #4 (permalink)  
Old 11-24-2008, 09:54 PM
marahchristine
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

Thanks for the code, unfortunately I get this error code:
1087: Syntax error: extra characters found after end of program.
Reply With Quote
  #5 (permalink)  
Old 11-24-2008, 09:54 PM
marahchristine
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

Sorry this is the code:

on(release) {
getURL("http://www.moraminn.com/images/linked_ads/ ACutAbove_profil.gif", "_blank");
}
Reply With Quote
  #6 (permalink)  
Old 11-24-2008, 10:04 PM
adobegirl
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

You might be getting that error because the URL ends in .gif rather than .html.

When I copied the link in your code to my browser nothing came up. Try putting
a link in the code that ends with .com or .html .

Also, you might want to contact Support at Open X and see if they have any
recommendations.

Reply With Quote


  #7 (permalink)  
Old 11-25-2008, 05:34 PM
Sketchsta
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

that error you got the second time was because you had object oriented code on
a frame, instead of your button instance.
If you prefer to place code on frames, rather than instances on the stage, you
should get used to writing dot syntax actionscript.

its much better and cleaner when working on bigger projects.
for example, you can build a whole website, and all the code for the site is
on the first frame of the movie.

ex of both types of actionscript.

--OOP (Object Oriented Programing)

on(release){
getURL("www.adobe.com");
}

--Dot Syntax

my_btn.onRelease = function(){
getURL("www.adobe.com");
}

notice with dot syntax you specify the name of the object you are targeting.
This gives you the ability to target any object in your entire movie, no matter
where it is located.


Reply With Quote
  #8 (permalink)  
Old 11-26-2008, 10:34 PM
adobegirl
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

marahchristine,

You will want to check with your ad server/tech support to make sure
Actionscript 3 will work if you decide to go that route. Most ads are still
being done using Actionscript 2 in order to ensure they reach the widest
possible audience (site owners selling the ads are cautious about this).

Reply With Quote
  #9 (permalink)  
Old 11-28-2008, 07:24 PM
calvintennant
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

The problem with AS3 not working is client-side not server-side, to the best of
my knowledge. That being said, things like ads should be exported in the
earliest adobe player possible. Yay for backwards compatibility!

Reply With Quote


  #10 (permalink)  
Old 12-08-2008, 04:33 PM
Gipoh
 
Posts: n/a
Diggs:
Default Re: Linking CS3 Flash Ad to a web site

Hi there,
I agree with calvintennant. I would probably use actionscript 2 for ad
development so that more people are able to see the ad. I had some problems
with some clients of mine that started to complain that some people couldn't
see the ad because it was exported to a to high player version.

Greetings,
Guido
[hr]http://www.grafia.fr/ |
http://www.missechantillons.fr/gratu...s/concours.php |
http://www.missechantillons.fr/ |
http://www.missechantillons.fr/gratu...dins/radin.php

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Cheap Car Insurance - Compare Motor Insurance
Endsleigh Car Insurance Natwest Car Insurance
More Than Car Insurance Norwich Union Car Insurance
Prudential Car Insurance Zurich Car Insurance
Inactive Reminders By Mished.co.uk