Flash Header Intergation Problem Flash Header Intergation Problem
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Flash Header Intergation Problem

Started by reason, October 02, 2004, 04:37:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

reason

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.
::creative difference::

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

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>
::creative difference::

kegobeer

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?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

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.
::creative difference::

kegobeer

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.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

reason

::creative difference::

robwri32

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

Joachim Müller