Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 12-13-2009, 05:31 PM Adding SWF
Skilled Talker

Posts: 97
Trades: 0
Im adding a SWF file to my website and the pictures have been edited to be 953 x 200, but the end result isn't displaying the correct size: www.electrifire.co.uk/new_site

this is the code, not sure where I've gone wrong?

<?php
?>
</div>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" width="953" height="200" id="FlashID" title="Electrifire Header">
<param name="movie" value="/header.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="7.0.70.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../header.swf" width="953" height="200">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="7.0.70.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<div id="pattern"></div>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>


This is a direct link to the swf and its much larger: http://www.electrifire.co.uk/new_site/header.swf
__________________

Please login or register to view this content. Registration is FREE
- Fire Alarms, Security and Electrical

Last edited by electrifire; 12-13-2009 at 05:37 PM..
electrifire is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2009, 02:23 AM Re: Adding SWF
Skilled Talker

Posts: 58
Trades: 0
swfobject_modified.js is missing from your scripts directory.
whatsherface_21 is offline
Reply With Quote
View Public Profile
 
Old 12-14-2009, 04:25 AM Re: Adding SWF
Skilled Talker

Posts: 97
Trades: 0
Thanks for the reply which was spot on I decided to re do embedding the flash and I still get the same issues, the image is main image is here working fine just to small:

Edit, I found in the properties I had boarder selected, I've now changed it and its working full size thanks. www.electrifire.co.uk/new_site

Im a little confused with the swfobject_modified.js file, I edited the directory so its now in the right place but there's no code am I missing something?
__________________

Please login or register to view this content. Registration is FREE
- Fire Alarms, Security and Electrical

Last edited by electrifire; 12-14-2009 at 05:36 AM..
electrifire is offline
Reply With Quote
View Public Profile
 
Old 12-14-2009, 05:49 PM Re: Adding SWF
Skilled Talker

Posts: 58
Trades: 0
Quote:
Originally Posted by electrifire View Post
Im a little confused with the swfobject_modified.js file, I edited the directory so its now in the right place but there's no code am I missing something?
Not clear on what you're asking here.

Glad you got it displaying full size, but it seems a little distorted.

Suggestion:

I totally get that unsolicited input can be viewed as meddling, BUT, since this particular bit of flash is only functioning as an image fader, I'd probably stick with a javascript image fader.

Same effect, but visitors won't have to have flash enabled,it'll degrade well if they don't have javascript enabled, and far easier to update, edit, add & remove images.

You might be making more work for yourself than you really need to here.
whatsherface_21 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Adding SWF
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.26514 seconds with 12 queries