Solved

link of flash from HTML

Posted on 2000-05-15
17
134 Views
Last Modified: 2010-04-03
hi,
i can't put a link to the flash in my HTML.
how do i do it?
here is the code
-------------------------------------

<HTML>
<HEAD>
<TITLE>test</TITLE>
</HEAD>

<a HREF="the_link_goes_here" onMouseOut="self.status='put text to on mouse out..'" onMouseOver="self.status='put text to on mouse over..'; return true">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
 ID=test WIDTH=468 HEIGHT=60>
 <PARAM NAME=movie VALUE="test.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="test.swf" quality=high bgcolor=#000000  WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT>

</a>

</BODY>
</HTML>
-------------------------------------
0
Comment
Question by:Lisbona
  • 6
  • 3
  • 3
  • +4
17 Comments
 
LVL 4

Expert Comment

by:RoyKruyshaar
ID: 2811239
What do you want to happen?

Roy
0
 

Author Comment

by:Lisbona
ID: 2811556
i want a link to other page
that is why i put the <a HREF="the_link_goes_here"></a> tag...
0
 
LVL 7

Expert Comment

by:ssdesign
ID: 2813116
You don't give a link to other page like this.

Instead create a invisible button in the flash movie equal to the size of your movie and place it in the topmost layer in the movie.

Give the action to the button as:

On (Release)
      Get URL ("yourpage.htm")
End On

Thats it
0
 

Author Comment

by:Lisbona
ID: 2813292
hi,
you do not understand.
i need the link not inside the flash,
but in the HTML (in order to count the clicks.)
0
 
LVL 3

Expert Comment

by:bgillbanks
ID: 2813755
You don't link to the flash movie. You should embed the flash movie into another HTML page, then link to that page.

You've got the source for embedding the file. This simply needs to be put into a different file.

I think this is what you want...
0
 

Author Comment

by:Lisbona
ID: 2813863
please give an example.
0
 
LVL 7

Accepted Solution

by:
ssdesign earned 50 total points
ID: 2815931
What you will have to do in this case is create a html page and make a link on this page that would link to the html page containing the flash movie and hence you will be able to track the use clicks. Thus making it easier for you to keep track of the visitors.

Or an alternative is to use tools like ARIA by macromedia whic is a tracking tool available at www.macromedia.com
0
 

Author Comment

by:Lisbona
ID: 2897820
not working.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 7

Expert Comment

by:ssdesign
ID: 2903663
If you are requesting a web page from within a flash movie then you will not be able to count the clicks.

If you are linking to a web page containing a flash file from an html file then there should be no problem counting the clicks.

so can you tell me what is it that you are doing out of the two options?
0
 

Expert Comment

by:sangyong
ID: 2911144
<HTML>
<HEAD>
<TITLE>test</TITLE>
</HEAD>

 
<table>
<tr>
      <td><a HREF="the_link_goes_here" > 
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
 codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
 ID=test WIDTH=468 HEIGHT=60>
 <PARAM NAME=movie VALUE="test.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#000000>
<EMBED src="test.swf" quality=high bgcolor=#000000  WIDTH=468 HEIGHT=60 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
</EMBED>
</OBJECT></a></td>
</tr>
</table>


</BODY>
</HTML>
0
 

Expert Comment

by:sangyong
ID: 2911150
sorry mymistake.
reject it
0
 

Expert Comment

by:sangyong
ID: 2911176
i guess Lisbona wants flash banner as countable baner like cgi ..
0
 
LVL 6

Expert Comment

by:Jaymol
ID: 2919244
Why don't you use the suggestion of making the flash movie a button that links to another HTML page.

That page can then increase the counter and open a third page which is the one you wish to link to.

TaDaaaaaah!

John.
0
 
LVL 6

Expert Comment

by:Jaymol
ID: 2919281
Why don't you use the suggestion of making the flash movie a button that links to another HTML page.

That page can then increase the counter and open a third page which is the one you wish to link to.

TaDaaaaaah!

John.
0
 

Expert Comment

by:dagostinho
ID: 2947452
 You have to create a HTML doc, where you put your flash file.
  Then, link to this HTML doc.
0
 

Author Comment

by:Lisbona
ID: 2952151
after lot's of search the closest one is "ssdesign"  answer.
0
 

Author Comment

by:Lisbona
ID: 2952156
Comment accepted as answer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
flash cs6 4 345
Error 2032 in all the browser 6 2,823
Online Course Not Responding 3 89
Windows 7, Adobe Flash Player and Internet Explorer 11 15 93
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

863 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now