Forum Moderators: open

Message Too Old, No Replies

Flash Validation

A naive question

         

promar

9:48 pm on Aug 25, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Is there any way to move flash code to the external folder?

We rarely use it, but some times we have to. Web Pages with Flash are not valid according to WC3.

How to make them valid?

Richard_N

9:52 pm on Aug 25, 2005 (gmt 0)



go to #*$!.com and look up "flash satay" its a way of producing valid markup for flash.

Richard_N

9:53 pm on Aug 25, 2005 (gmt 0)



Ok if the forum here is so paranoid that it erases (competing) links even if they are relevent just try googling it.... <sigh>

promar

11:54 pm on Aug 25, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Thanks Richard,

Simple, clean and valid. Works perfectly in IE but doesn't in Netscape.

That's what I've got now:

<object type="application/x-shockwave-flash"
data="movie.swf"
width="222" height="140" align="middle">
<param name="movie"
value="movie.swf">
</object>

Will read more about Satay and play around.

Thanks again.

Richard_N

6:42 am on Aug 26, 2005 (gmt 0)



OK the way to do it is to have a "sacrificial" movie called c.swf in this case, that is a one frame movie with the actionscript

_root.loadMovie("pics.swf",0); on the first frame which loads in pics.swf obviously.

the following code is then added to the XHTML

<object type="application/x-shockwave-flash"
data="c.swf?path=pics.swf"
width="300" height="400">
<param name="movie"
value="c.swf?path=pics.swf" />
<img src="noflash.jpg" alt="you need to install flash to view the gallery images" />
</object>

Voila, valid code works in all IE, firefox, opera etc.
Basically c.swf may not work but the movie it loads will

promar

8:22 am on Aug 29, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Richard,

Thank you. Works OK.