forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: reason on October 02, 2004, 04:37:13 am

Title: Flash Header Intergation Problem
Post by: reason on October 02, 2004, 04:37:13 am
I am re-skining the classic theme and everything was going fine till I noticed that my flash header is not loading in the php, I mean it seems to be there but the browser never fully loads it.
http://thisreason.com/kodachrome/

Now as you see here it loads just fine on the "template" file in the classic theme.
http://www.thisreason.com/kodachrome/themes/classic/template.html

Now I have tested just dropping in a jpeg as a header and that seems to work. I also ran the debug mode but that doesn't seem to say anything is wrong.
What am I missing?

- - - - - - - -  - - -
I am also have searched for threads on customizing the main nav. in html or even intergrating it into a SWF, but have had no luck.
Title: Re: Flash Header Intergation Problem
Post by: kegobeer on October 02, 2004, 04:41:32 am
Are you attempting to load the flash file in the php file, or in the template.htm file?  Please post the code you are using to embed the flash file.
Title: Re: Flash Header Intergation Problem
Post by: reason on October 02, 2004, 04:47:47 am
Im loading it into the "template.html" file.

Quote
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="725" height="160">
                    <param name="movie" value="header.swf">
                    <param name="quality" value="high">
                    <embed src="header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="725" height="160"></embed></object>
Title: Re: Flash Header Intergation Problem
Post by: kegobeer on October 02, 2004, 05:16:48 am
First: To strive for XHTML validation, you might want to check out http://www.alistapart.com/articles/flashsatay/ for a way to make embedded flash validate.

Second:  You've put your flash object in the correct directory?
Title: Re: Flash Header Intergation Problem
Post by: reason on October 02, 2004, 05:44:56 am
In the right directory I think so. As I was testing I noticed that my jpeg would only work if I put it in the "Images" folder of the root directory not the "images" folder in the classic theme. So I have put the SWF in the "root/images" as weel as "themes/classic/". I have never had a problem with embedding a flash file using dreamweaver.

I'm new to php so I guess my question would be does php need to validate for an swf for it to work.? I guess as a designer and not a programmer I dont see the difference between a jpef an a swf.

Thanks for the link I will look into it.
Title: Re: Flash Header Intergation Problem
Post by: kegobeer on October 02, 2004, 05:49:51 am
When working with themes, you need to reference your images like this: themes/classic/images/imagename.jpg

So, you should reference your flash object the same way: <param name="movie" value="themes/classic/images/header.swf">

Working with themes and php isn't like working with static html pages.  You should take a good look at the classic theme to see how it works.

PHP doesn't validate, the html file it outputs does.  If you want your pages to be HTML standards compliant, you should make sure your custom theme follows the rules.
Title: Re: Flash Header Intergation Problem
Post by: reason on October 02, 2004, 08:29:48 am
SOLVED.
Title: Re: Flash Header Intergation Problem
Post by: robwri32 on August 12, 2005, 05:35:53 am
Can some give me alittle insite on which file to edit if we want to embed a flash header? is it the template.html or themes.php file, i read though the outside link, and tried the steps that would work for most browser, however non worked or failed to load. the movie isn't that large, i just can't figure out how to embed it   



Any help would be greatly appriated


ROB
Title: Re: Flash Header Intergation Problem
Post by: Joachim Müller on August 12, 2005, 10:09:05 am
template.html