Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1186 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     Flash and Actionscript :

Creating A Flash Link?

Thread title: Creating A Flash Link?
Closed Thread    
    Thread tools Search this thread Display Modes  
10-03-2007, 01:18 AM
#1
Randy is offline Randy
Status: Sin Binner
Join date: Jan 2007
Location:
Expertise:
Software:
 
Posts: 1,121
iTrader: 13 / 100%
 

Randy is on a distinguished road

Send a message via MSN to Randy

  Old  Creating A Flash Link?

Alright so i am the new owner of a board, and i need to place an advertisement banner that is flash with a link to a site, however there is no link alrdy placed into the flash, its just a flash banner ad.

my code is:
HTML Code:
<object width="705" height="69">
<param name="movie" value="images/utsab_1.swf">
<embed src="images/utsab_1.swf" width="705" height="69">
</embed>
</object>
i need to create a link for this. thank you in advance.

10-03-2007, 11:23 PM
#2
FreelancerStore is offline FreelancerStore
Status: Junior Member
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 75
iTrader: 0 / 0%
 

FreelancerStore is on a distinguished road

  Old

You can't wrap the link tag around a SWF, you have to embed the link in the flash (invisible button).

You shouldn't use the <embed> tag either, it will cause IE people some problems.

10-09-2007, 01:26 PM
#3
knightmare is offline knightmare
Status: Member
Join date: Feb 2005
Location: Australia
Expertise:
Software:
 
Posts: 225
iTrader: 0 / 0%
 

knightmare is on a distinguished road

Send a message via MSN to knightmare

  Old

If the option is available, the other way you can create a link is to place a javascript onclick event on the surrounding div like so:

Code:
<div onclick="location.href='xyz'" style="cursor: pointer;"></div>
whereby xyz is where you chuck the link you want it to go to.

The good thing about this is, you can create a click function for the div, and by changing the style of the mouse to go to "pointer" it genuinely looks like a link.

a couple of the downsides to this is, if your trying to track data for the advert, you may find it a little harder. As well as if your trying to track the path taken by users to the site. As this isn't an Anchor, the stats won't be stored as usual.

11-02-2007, 02:38 AM
#4
pitviper_73 is offline pitviper_73
pitviper_73's Avatar
Status: Junior Member
Join date: Jul 2005
Location:
Expertise:
Software:
 
Posts: 27
iTrader: 0 / 0%
 

pitviper_73 is on a distinguished road

Send a message via AIM to pitviper_73

  Old

This can be easily done with Action Scripting. Open the banner in Flash and click on it to select it.
Then go Modify> Convert To Symbol> then select as a button. Open your actions panel and select Browser/Network > getURL.


Type in your URL, make a quick save and you should be set.

Hope this helps. Good luck!

01-25-2008, 03:33 PM
#5
JakeCohen is offline JakeCohen
Status: Junior Member
Join date: Jan 2008
Location:
Expertise:
Software:
 
Posts: 48
iTrader: 0 / 0%
 

JakeCohen is on a distinguished road

  Old

pitviper_73... I think he means that he doesn't have the .fla file so that would be impossible. I would suggest the div alternative.

02-21-2008, 12:21 AM
#6
Tom W is offline Tom W
Tom W's Avatar
Status: I'm new around here
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 24
iTrader: 0 / 0%
 

Tom W is on a distinguished road

  Old  Another Option

Another option: If it's a simple banner you can also import the SWF into a new FLA if you like and create new links that way.

02-27-2008, 06:36 PM
#7
WebsitesNetwork is offline WebsitesNetwork
Status: I'm new around here
Join date: Feb 2008
Location:
Expertise:
Software:
 
Posts: 15
iTrader: 0 / 0%
 

WebsitesNetwork is on a distinguished road

  Old

using the div alternative will work but you can use a flash onloader url

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed