Results 1 to 5 of 5

Thread: HTML Flash validtion IE

  1. #1
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default HTML Flash validtion IE

    I know the emded tag is not supported and I'm using the object tag now but it's not functioning in ie. If i use the emded it works in every browser but won't validate. This the code i use for my flash movies:
    Code:
    <object type="application/x-shockwave-flash" data="movie.swf" width="size" height="size" >
    <param name="STACountdownWidget" value="movie.swf" /></object>

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    HTML Code:
    <object width="150" height="150" type="application/x-shockwave-flash" data="movie.swf">
    	<param value="movie.swf" name="movie">
    </object>
    For further reading:
    http://www.alistapart.com/articles/flashsatay
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    i read that article it says to add script in the flash. That seems like alot of extra work. The code you put there only has the name field different and the height and width in a different place.Width and height in mine are numbers not the ones i put in. I did change the name to movie with no result.

    Code:
    _root.loadMovie("movie.swf",0);
    
    and <object type="application/x-shockwave-flash"
    data="c.swf?path=movie.swf" 
    width="400" height="300">
    <param name="movie" 
    value="c.swf?path=movie.swf" />
    </object>
    Last edited by bluewalrus; 10-15-2008 at 03:53 AM.

  4. #4
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    I don't know what you mean, but you can see a working example of a page where there is flash and valid and plays on both IE and FF at the dummy page.

    Try to throw the page on the validator and you can see that it passes validation.

    Hope that helps you.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  5. #5
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    OO thanks for that example. It was missing the <param name="wmode" value="transparent" /> . From the first code example. If anyone else is looking for this it looks like this all together:
    Code:
    <object type="application/x-shockwave-flash" data="moviename.swf" width="size" height="size" >
    <param name="movie" value="moviename.swf" />
    <param name="wmode" value="transparent" />
    </object>

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •