Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts

    First REAL post... Flash + XHTML

    This article goes over how to embed flash elements, while maintaining XHTML validation... I can't seem to get it to work for me under Moz... any suggestions?

    http://www.alistapart.com/stories/flashsatay/

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    ColoRockyz
    Posts
    1,646
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I just saw a converter to xhtml somewhere on the web. If you have php, you could try this one. If not, try searching.

    PS - 9cy.com is a free host with php
    Last edited by zoobie; 01-22-2003 at 11:52 AM.
    Zoobie or not Zoobie...That is the problem.
    <body onUnload="flush( ! )">

  • #3
    jkd
    jkd is offline
    Senior Coder jkd's Avatar
    Join Date
    May 2002
    Location
    metro DC
    Posts
    3,163
    Thanks
    1
    Thanked 18 Times in 18 Posts
    I don't remember having any problems with that example before.... which build of Mozilla do you have, and do you have the Flash plugin installed for it?

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    works for me too, in moz1.2a

  • #5
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I've got Moz 1.3b (nightly - Jan 20, 2003), and Flash plug-in 6.0.65 (the latest). Specifically, I've had problems with SWF images. Moz doesn't want to display them. Same problem in Opera 7.0b2 (with Flash 6.0.65).

  • #6
    New Coder
    Join Date
    May 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here's what I have for flash, it validates, but the flash won't load:
    Code:
    <object type="application/x-shockwave-flash" data="c.swf?path=horses.swf"
     width="600" height="470">
              <param name="movie" value="c.swf?path=horses.swf" />
            </object>
    Why not?

  • #7
    New Coder
    Join Date
    May 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    bump

  • #8
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It should work like that - does for me; are you sure there's not some other problem to do with using the Flash plugin in your mozilla - might be a problem there - does the demo in that article work okay in your same browser?


    But NB - the technique described in that article doesn't work in Win IE5.0. To make it work, compliant, *and* get IE5.0 support, I eventually had to do this:
    Code:
    	<!--[if IE 5]>
    	<object
    		classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    		id="flash"
    		width="750"
    		height="245"
    		>
    	<![endif]-->
    
    	<![if ! IE 5]>
    	<object
    		type="application/x-shockwave-flash"
    		data="home.swf"
    		id="flash"
    		width="750"
    		height="245"
    		>
    	<![endif]>
    
    	<param name="movie" value="home.swf" />
    Which is ridiculous I know, and it gets worse - inverse conditional comments (by which I mean, NOT conditions) don't work properly in IE5.0 either - they do actually work, but the closing <![endif]> shows up as literal text on the page, so you have to surround the object in a DIV or something and set its text colour the same as your background!
    Last edited by brothercake; 07-01-2003 at 10:15 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

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