- Posts: 14116
- Thank you received: 1639
Re: using a flash header in place of image
-
ivan.milic
Support Staff - Moderator
Less
More
13 years 10 months ago - 13 years 10 months ago #6008
by ivan.milic
Replied by ivan.milic on topic Re: using a flash header in place of image
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
Less
More
- Posts: 4
- Thank you received: 0
13 years 10 months ago - 4 years 4 months ago #6018
by ian
Replied by ian on topic Re: using a flash header in place of image
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
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.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 10 months ago #6022
by ivan.milic
Replied by ivan.milic on topic Re: using a flash header in place of image
maybe the path value: "images/logo_white.swf" is problem ???
Please Log in to join the conversation.
-
ian
Inactive member - New Member
Less
More
- Posts: 4
- Thank you received: 0
13 years 9 months ago #6032
by ian
Replied by ian on topic Re: using a flash header in place of image
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.
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
Less
More
- Posts: 4
- Thank you received: 0
13 years 9 months ago - 4 years 4 months ago #6130
by ian
Replied by ian on topic Re: using a flash header in place of image
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.
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