CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Flash & ActionScript (http://www.codingforums.com/forumdisplay.php?f=52)
-   -   First REAL post... Flash + XHTML (http://www.codingforums.com/showthread.php?t=13352)

Skyzyx 01-21-2003 06:04 AM

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/

zoobie 01-22-2003 11:45 AM

I just saw a converter to xhtml somewhere on the web. If you have php, you could try this one. If not, try searching. :p

PS - 9cy.com is a free host with php :thumbsup:

jkd 01-22-2003 11:53 AM

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?

brothercake 01-22-2003 02:37 PM

works for me too, in moz1.2a

Skyzyx 01-22-2003 03:54 PM

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).

ogden2k 06-14-2003 11:24 PM

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?

ogden2k 06-30-2003 11:28 PM

bump

brothercake 07-01-2003 09:33 AM

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!


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.