Forum Moderators: not2easy

Message Too Old, No Replies

Flash Code And Adding a Hyperlink

         

divapalaceinc

10:59 pm on Dec 1, 2007 (gmt 0)

10+ Year Member



I am trying to add a hyperlink to this script can anyone help me? Everytime I add my link <a href="http://www.example.com/boutique.html"> anywhere in the page it doesn't work...This script is flash. The action is curtains opening up on the page then my customers would see ENTER MY SITE. What I am trying to do is add a link <a href="http://www.example.com/boutique.html> I don't know where in the code to place my hyperlink to work....?Please help

<td height="240" colspan="2">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="900" height="240">
<param name=movie value="enter.swf">
<param name=quality value=high>
<embed src="enter.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="900" height="240">
</embed>
</object>
</td>

[edited by: SuzyUK at 3:50 pm (utc) on Dec. 2, 2007]
[edit reason] simplified code per page, examplified and removed URLs [/edit]

SuzyUK

4:07 pm on Dec 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi..

I think the best way is to add the link directly into the Movie (Flash hotspots?), have you got access to edit the .swf? _ I know little of Flash, so this could be wrong.. you could try asking in the Flash and Shockwave Forum [webmasterworld.com] if you need further help with that

Alternatively, if you have no access to edit the movie, you might be able to use CSS to position a regular link over the top of the movie, BUT I also know there are difficulties with this across the browsers, some browsers always want to display a Flash Movie 'on top' regardless of z-index settings, it can possibly be overcome using

wmode="transparent"
(on the embed element) and adding
<param name="wmode" value="transparent">
to the object, but again what consequences, if any, this would have for your movie I don't know. I just know that these settings help drop down menus appear over the top of flash movies so guessing that they will help if you need to use this method rather than editing your flash file.

divapalaceinc

5:52 pm on Dec 2, 2007 (gmt 0)

10+ Year Member



Hi now I do have FLASH MX but even in that software I am honestly lost. I tried to add a function call get url...doesn't work...Its showing up in the HTML page above the movie...What a mess....I will visit the other forum to beg for help...My web designer should have added a shell within the movie to add my link. The problem is when a customer is coming from the intro page.click in....The curtains on the home page go up...I want that customer to click on ...Enter Our Boutique...to enter our shopping area...Just to give you an idea of what my site layout is here..If you think of any thing else please contact me...Thanks so much for responding..

[edited by: SuzyUK at 7:16 pm (utc) on Dec. 2, 2007]
[edit reason] Personal URL removed. [/edit]

SuzyUK

7:58 pm on Dec 2, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You're Welcome!

We don't need to see your link thanks, and they're not allowed [webmasterworld.com] anyway

I think I understand what you would like to do,

You have a flash file/movie that is 900px wide by 240px high
there is an area in the middle (approx 550px x 80px) containing the text "Enter Our Boutique" you would like for this area or perhaps the whole frame to be clickable through to your boutique page

as an aside, and being naughty, just trying to help steer you in right direction since I did see your page
- CSS is not the best solution in your case, the z-index and transparency issues I mentioned before will almost certainly conflict, I tried with your movie and yes setting the wmode to transparent does cause issues, and without it the z-index doesn't work

so remaining solutions

a) learn how to do it with your flash software, this is the bit I know nothing about, but the fine folks in the flash forum should be able to help - maybe try this search for previous discussions on the topic first? Previous topics [google.com].

b) give it back to the designer to redo/edit for you

hth.

[edited by: SuzyUK at 8:09 pm (utc) on Dec. 2, 2007]