close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Adding Flash to Header

Thread began 11/30/2010 6:21 pm by ripair417048 | Last modified 12/03/2010 9:17 pm by Dani Chankhour | 12952 views | 5 replies |

ripair417048

Adding Flash to Header

I tried changing the default template to a Flash Banner (in place of shiny_logo). When I try to load the page it shows the normal page but blank downloading 1 item forever and banner logo area stays blank. Can I not modify the Header/Banner image with a dynamic one?

Sign in to reply to this post

Dani Chankhour

To change the header logo, you will need to open the index.dwt.php and the page.dwt.php which are located under the themes/Default/templates folder.

Can you send a link to further debug this issue?

Sign in to reply to this post

ripair417048

I am using Dreamweaver CS5. I did edit the index.dwt.php file. I commented out the Img file and used the Dreamweaver application to insert a flash cs5 (.swf) file. Here is the part of the code:

<div id="header" class="ps_head">
<div class="logo"> <a href="../../../../index.php">
<!-- <img id="headerLogo" alt="logo" src="../../../../images/logo.shiny.png"> -->
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="100">
<param name="movie" value="../../../../images/Test.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.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="../../../../images/Test.swf" width="600" height="100">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.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>

</a> </div>
<ul class="links">
<?php echo($WAHeaderLinks->Body); ?>
</ul>
</div>

Sign in to reply to this post

Dani Chankhour

It looks like it is something to do with the flash and the code you are using. I did a quick example by coping a youtube video and it worked fine:

<div class="logo">
<object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/auqUJY4mzAs?fs=1&hl=en_US"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/auqUJY4mzAs?fs=1&hl=en_US" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="640" height="385"></embed></object>
</div>

Sign in to reply to this post

ripair417048

Well, I used the Insert Flash icon from the toolbar to select a Flash file generated in Flash CS5 which was located in the top level images folder of the site. The code that was created was put in there by Dreamweaver. Could you look at the code that was inserted and tell me what is wrong, or can you show the code that would be required to insert a file located in the images folder and not from you tube?

Sign in to reply to this post

Dani Chankhour

Copy the code that i have provided and replace everywhere that you see:

auqUJY4mzAs?fs=1&hl=en_US

with

../../../../scripts/expressInstall.swf


if you are still having an issue, try zipping the swf file and attaching it to this post so i can try to debug the issue on my end.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...