Click to See Complete Forum and Search --> : question about inserting flash into valid html


impulse
07-21-2006, 09:32 AM
I'm having some problems with inserting flash into my html page. The page has to be w3c validate. I found a link for the Satay Method, http://www.alistapart.com/articles/flashsatay/. I must be doing something wrong, I can't get it to work.

I have created a new flash movie with the following ActionScript on Frame 1 and save it as c.swf

_root.loadMovie(_root.path,0);
c.swf?path=indexFl.swf

I then placed the following in my html coding...

<object type="application/x-shockwave-flash" data="c.swf?path=indexFl.swf" width="600" height="80">
<param name="test" value="c.swf?path=indexFl.swf" />

I'm about ready to pull my hair out. Will someone please shed so light on this for me.

mkiran18
07-21-2006, 09:55 AM
your are not using <param name="movie" value="c.swf /> to load the corresponding flash file

impulse
07-21-2006, 09:58 AM
Okay, I made the change. Still not working..

<object type="application/x-shockwave-flash" data="c.swf?path=indexFl.swf" width="600" height="80">
<param name="movie" value="c.swf?path=indexFl.swf" />
</object>

impulse
07-21-2006, 11:01 AM
I have also tried the following ...

<object type="application/x-shockwave-flash" data="flash/indexFl.swf" width="600" height="80" >
<param name="movie" value="flash/indexFl.swf" />
<param name="allowScriptAccess" value="flash/indexFl.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<param name="scale" value="noScale" />
<param name="salign" value="TL" />
<param name="FlashVars" value="playerMode=embedded" />
</object>

The flash movie does not play, but it does validate.