Embed and Links
I have a problem with <embed> and links, consider the following,
<a href="page.html"><embed src="flash.swf"></a>
in IE the cursor takes the hand shape of link when it becomes over the embeded flash file, but the problem is onClick there's no any thing happened, i.e the page.html does not loaded.
So any one can help me to make the link works correctly over the embed?
It looks like you will have to ceate this link in th falsh mvie
add an onclick event and in that code your link.
Use <object> outside of the hyperlink or provide a normal link to the SWF file, embed is used for inserting replaced content not for linking to via a hyperlink.
The onClick Event does not work at all on the flash movie, when inserted in anchor Tag. However, the onMouseOver Event works properly.
consider the following:
<img src="pic.gif" class="x">
In this case the pic.gif will appeared over the text
I want pic.gif to be displayed using onMouseOver as the folloing,
<h1 onMouseOver="???">Hello hiiiiiiiiiiiiiiii</h1>
This may solve the problem with embed if the pic.gif is 100% Tranceperant.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)