Re: using a flash header in place of image

More
13 years 10 months ago - 13 years 10 months ago #6008 by ivan.milic
Look at the Milos's last post on this thread. You need just to replace that with <object ....<object> , and make sure with and height are same. Nothing special about that.
Last edit: 13 years 10 months ago by ivan.milic.

Please Log in to join the conversation.

  • ian
    Inactive member
  • New Member
  • New Member
More
13 years 10 months ago - 4 years 4 months ago #6018 by ian
Thanks Ivan for your reply.

I have done what you say and below is resultant code with surrounding code to show where I have placed it.

When I preview site, I get a white box where swf should be, if I right click it, I see a dimmed "movie not loaded".

Firstly, I am running in localhost, but everything else works fine so dont think thats the problem.

Am I using correct path, (images/logo_white.swf) - same location as original logo_white.png Width and height of swf is 1174 x 200

Think I must be close, but cant figure it out.

Thanks
Ian




Code:
</head> <body> <div class="wrapper1"><div class="wrapper_outside"> <div class="header"> <div class="logo"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/ca...rsion=6,0,40,0" width="1174" height="200" align="left"><param name="width" value="1174" /><param name="height" value="200" /><param name="align" value="left" /><param name="src" value="images/logo_white.swf" /><embed type="application/x-shockwave-flash" width="1174" height="200" align="left" src="images/logo_white.swf"></embed></object> </div> <div class="header_menu"> <jdoc:include type="modules" name="user9" /> </div>
Last edit: 4 years 4 months ago by milos.

Please Log in to join the conversation.

More
13 years 10 months ago #6022 by ivan.milic
maybe the path value: "images/logo_white.swf" is problem ???

Please Log in to join the conversation.

  • ian
    Inactive member
  • New Member
  • New Member
More
13 years 9 months ago #6032 by ian
I have got this to work finally.

After a bit of googling around, I have learnt in localhost, the swf needs to have an absolute path.

In my case, this is:

value="/jags/templates/hot_sportal/images/logo_white.swf"

I will wait and see if this is necessary when I upload to live server.

Thanks for pointing me in the right direction and hopefully this helps others too.

Please Log in to join the conversation.

  • ian
    Inactive member
  • New Member
  • New Member
More
13 years 9 months ago - 4 years 4 months ago #6130 by ian
I have now uploaded my test site to live server.

I have adjusted src in both places per below to get swf to appear in header.



Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="download.macromedia.com/pub/shockwave/ca...rsion=6,0,40,0" width="1174" height="200" align="left"><param name="width" value="1174" /><param name="height" value="200" /><param name="align" value="left" /><param name="src" value="http://www.domainname.com.au/templates/hot_sportal/images/logo_white.swf" /><embed type="application/x-shockwave-flash" width="1174" height="200" align="left" src="http://www.domainname.com.au/templates/hot_sportal/images/logo_white.swf"></embed></object>
Last edit: 4 years 4 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum