<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Web Standards Flash embedding (Part 2)</title>
	<atom:link href="http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/</link>
	<description>You've got your good thing, and I've got mine</description>
	<pubDate>Fri, 16 May 2008 06:26:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Geoff</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-1439</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sat, 22 Jan 2005 21:38:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-1439</guid>
		<description>Yes, there are a number of issues with that method:

1) If you want to pass specific parameters to the flash movie you can't do it using &lt;code&gt;param&lt;/code&gt; tags like you normally would - you would have to set them in the swf using the Stage object.

2) If you want to pass variables to the Flash movie by using url parameters, you are limited to the number of characters you can pass in a url string (some browsers have different limits than others)

3) Not all user agents will know how to run a swf movie that is linked directly from the server. Most modern browsers can handle this just fine, but what about new handhelds that might try to download the Flash movie? This could also happen if the web server is not configured with a mime type for Flash movies, causing your users to be prompted to download the .swf instead of displaying it in the browser.

4) You aren't using any kinds of Flash detection, which means a user without the Flash plugin installed will not be able to view the Flash movie, and without the information in the html page telling the browser where to get the plugin files, the user will have no idea what type of plugin then need to view your file.

5) If a user as an older verion of the Flash player than your Flash movie needs, they may get unexpected behavior when they view your movie. (if they have Flash player 6 and your movie is a Flash 7 movie)

It's not very difficult to make your Flash movies play at 100% with and height. I've recently posted a page that shows you exactly how to do it &lt;a href="http://blog.deconcept.com/2005/01/02/100-height-and-100-width-xhtml-flash-embed/"&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Yes, there are a number of issues with that method:</p>
<p>1) If you want to pass specific parameters to the flash movie you can&#8217;t do it using <code>param</code> tags like you normally would - you would have to set them in the swf using the Stage object.</p>
<p>2) If you want to pass variables to the Flash movie by using url parameters, you are limited to the number of characters you can pass in a url string (some browsers have different limits than others)</p>
<p>3) Not all user agents will know how to run a swf movie that is linked directly from the server. Most modern browsers can handle this just fine, but what about new handhelds that might try to download the Flash movie? This could also happen if the web server is not configured with a mime type for Flash movies, causing your users to be prompted to download the .swf instead of displaying it in the browser.</p>
<p>4) You aren&#8217;t using any kinds of Flash detection, which means a user without the Flash plugin installed will not be able to view the Flash movie, and without the information in the html page telling the browser where to get the plugin files, the user will have no idea what type of plugin then need to view your file.</p>
<p>5) If a user as an older verion of the Flash player than your Flash movie needs, they may get unexpected behavior when they view your movie. (if they have Flash player 6 and your movie is a Flash 7 movie)</p>
<p>It&#8217;s not very difficult to make your Flash movies play at 100% with and height. I&#8217;ve recently posted a page that shows you exactly how to do it <a href="http://blog.deconcept.com/2005/01/02/100-height-and-100-width-xhtml-flash-embed/">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-1437</link>
		<dc:creator>max</dc:creator>
		<pubDate>Sat, 22 Jan 2005 20:34:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-1437</guid>
		<description>i am using something entirely different to load flash with XHTML and i would be interested in your comments or suggestions about this

meta http-equiv=”refresh” content=”0;url=http://www.leuchtendgruen.net/luminousgreen.swf”

with this a flash application loads directly into the browser after zero seconds. in turn the swf is calling up xml data, images, audio, video and animations. 

i started doing this because i wanted the swf to scale to 100% the browser window also on linux machines, for which the width=”100%” height=”100%” parameters of object and embed were not working consistently. 

does you recognize possible problems with this method? please explain.

thanks in advance!</description>
		<content:encoded><![CDATA[<p>i am using something entirely different to load flash with XHTML and i would be interested in your comments or suggestions about this</p>
<p>meta http-equiv=”refresh” content=”0;url=http://www.leuchtendgruen.net/luminousgreen.swf”</p>
<p>with this a flash application loads directly into the browser after zero seconds. in turn the swf is calling up xml data, images, audio, video and animations. </p>
<p>i started doing this because i wanted the swf to scale to 100% the browser window also on linux machines, for which the width=”100%” height=”100%” parameters of object and embed were not working consistently. </p>
<p>does you recognize possible problems with this method? please explain.</p>
<p>thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-199</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Thu, 11 Nov 2004 04:37:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-199</guid>
		<description>It would look like this:
&lt;blockquote&gt;&lt;code&gt;myFlashObj = new FlashObject("_assets/cyber-btns.swf", "cyber-btns_JOURNAL", "160", "30", 6, "#ffffff");
myFlashObj.addVariable("varLabel", "THE+JOURNAL");
myFlashObj.addVariable("varAction", "window%2Ealert%28%27JOURNAL%27%29");
[add the rest of your vars]
myFlashObj.write();
&lt;/code&gt;&lt;/blockquote&gt;

This is assuming that your movie is Flash 6 - you'll have to add in each of the flashvars serperately as well.</description>
		<content:encoded><![CDATA[<p>It would look like this:</p>
<blockquote><p><code>myFlashObj = new FlashObject("_assets/cyber-btns.swf", "cyber-btns_JOURNAL", "160", "30", 6, "#ffffff");<br />
myFlashObj.addVariable("varLabel", "THE+JOURNAL");<br />
myFlashObj.addVariable("varAction", "window%2Ealert%28%27JOURNAL%27%29");<br />
[add the rest of your vars]<br />
myFlashObj.write();<br />
</code></p></blockquote>
<p>This is assuming that your movie is Flash 6 - you&#8217;ll have to add in each of the flashvars serperately as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig LaGrow</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-196</link>
		<dc:creator>Craig LaGrow</dc:creator>
		<pubDate>Thu, 11 Nov 2004 04:16:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-196</guid>
		<description>Geoff,

I love you js code, but I'm having trouble figuring out how to implement it with regards (especially) to my flashvars code (below) ... In the &lt;body&gt; of my page, where the &#60;object&#62; would go, what do I need to do to simplify the currrent flash code below?

&lt;em&gt;[code removed]&lt;/em&gt;&lt;/body&gt;</description>
		<content:encoded><![CDATA[<p>Geoff,</p>
<p>I love you js code, but I&#8217;m having trouble figuring out how to implement it with regards (especially) to my flashvars code (below) &#8230; In the <body> of my page, where the &lt;object&gt; would go, what do I need to do to simplify the currrent flash code below?</p>
<p><em>[code removed]</em></body></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-167</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sun, 07 Nov 2004 14:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-167</guid>
		<description>Well that's kind of a grey area...

Since according to the w3c there is no such thing as an &lt;code&gt;embed&lt;/code&gt; tag, I don't want to use it when building a Flash embed that would be XHTML friendly. In fact, when using the DOM, Opera won't even let you create an &lt;code&gt;embed&lt;/code&gt; tag, so you are stuck with hacking the &lt;code&gt;object&lt;/code&gt; tag together even though it has pretty crappy support for it like not able to append width and height to an object tag using DOM scripting methods.

As for Safari, anything you put in as &lt;code&gt;param&lt;/code&gt; tags will be ignored, but to work around that, you can set everything as an attribute on the &lt;code&gt;object&lt;/code&gt; tag instead. Unfortunately this won't validate since there is no such thing as a &lt;code&gt;flashvars&lt;/code&gt; attribute in the XHTML spec, but if you do it with Javascript it works and will validate.

The question of whether this is proper or not is of course another question, but since it won't really work any other way, there isn't much of a choice.</description>
		<content:encoded><![CDATA[<p>Well that&#8217;s kind of a grey area&#8230;</p>
<p>Since according to the w3c there is no such thing as an <code>embed</code> tag, I don&#8217;t want to use it when building a Flash embed that would be XHTML friendly. In fact, when using the DOM, Opera won&#8217;t even let you create an <code>embed</code> tag, so you are stuck with hacking the <code>object</code> tag together even though it has pretty crappy support for it like not able to append width and height to an object tag using DOM scripting methods.</p>
<p>As for Safari, anything you put in as <code>param</code> tags will be ignored, but to work around that, you can set everything as an attribute on the <code>object</code> tag instead. Unfortunately this won&#8217;t validate since there is no such thing as a <code>flashvars</code> attribute in the XHTML spec, but if you do it with Javascript it works and will validate.</p>
<p>The question of whether this is proper or not is of course another question, but since it won&#8217;t really work any other way, there isn&#8217;t much of a choice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Dominey</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-165</link>
		<dc:creator>Todd Dominey</dc:creator>
		<pubDate>Sun, 07 Nov 2004 14:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-165</guid>
		<description>&lt;blockquote&gt;Safari seems to ignore the param tags inside the object tag&lt;/blockquote&gt;

Are you saying that Safari won't load parameters like FlashVars then? And as for the object tag, I was under the impression that Safari used the &#60;embed&#62; element, not &#60;object&#62;. Wrong?</description>
		<content:encoded><![CDATA[<blockquote><p>Safari seems to ignore the param tags inside the object tag</p></blockquote>
<p>Are you saying that Safari won&#8217;t load parameters like FlashVars then? And as for the object tag, I was under the impression that Safari used the &lt;embed&gt; element, not &lt;object&gt;. Wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C. Ovidiu</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-53</link>
		<dc:creator>C. Ovidiu</dc:creator>
		<pubDate>Mon, 25 Oct 2004 09:54:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-53</guid>
		<description>I serve my page as application/xhtml+xml to browsers that declare (via HTTP_ACCEPT) that they can handle it :). It's true that 99.99% of the XHTML pages are still served as text/html, but that's probably because Internet Explorer doesn't like it any other way.</description>
		<content:encoded><![CDATA[<p>I serve my page as application/xhtml+xml to browsers that declare (via HTTP_ACCEPT) that they can handle it :). It&#8217;s true that 99.99% of the XHTML pages are still served as text/html, but that&#8217;s probably because Internet Explorer doesn&#8217;t like it any other way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-51</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Fri, 22 Oct 2004 22:24:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-51</guid>
		<description>They also don't have any Flash or Javascript at all.</description>
		<content:encoded><![CDATA[<p>They also don&#8217;t have any Flash or Javascript at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: !!blue</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-50</link>
		<dc:creator>!!blue</dc:creator>
		<pubDate>Fri, 22 Oct 2004 22:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-50</guid>
		<description>This website &lt;em&gt;should&lt;/em&gt; be: &lt;a href="http://www.splintered.co.uk/about/"&gt;Splintered&lt;/a&gt;.  I Received the link via the &lt;a href="http://webstandardsgroup.org/"&gt;WSG&lt;/a&gt; mailing list.</description>
		<content:encoded><![CDATA[<p>This website <em>should</em> be: <a href="http://www.splintered.co.uk/about/">Splintered</a>.  I Received the link via the <a href="http://webstandardsgroup.org/">WSG</a> mailing list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cezary Tomczak</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-47</link>
		<dc:creator>Cezary Tomczak</dc:creator>
		<pubDate>Fri, 22 Oct 2004 10:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-47</guid>
		<description>Okay sorry :) Looks like this is only a META tag: &#60;meta http-equiv="content-type" content="text/xml; charset=utf-8" /&#62;</description>
		<content:encoded><![CDATA[<p>Okay sorry :) Looks like this is only a META tag: &lt;meta http-equiv=&#8221;content-type&#8221; content=&#8221;text/xml; charset=utf-8&#8243; /&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cezary Tomczak</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-46</link>
		<dc:creator>Cezary Tomczak</dc:creator>
		<pubDate>Fri, 22 Oct 2004 09:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-46</guid>
		<description>So why does Firefox keep telling me that it is text/xml ? Right mouse button -&gt; View Page Info -&gt; content-type = text/xml; charset=utf-8
All 4 examples you mentioned in View Page Info are text/html, even your site, but dynarch.com is text/xml :\</description>
		<content:encoded><![CDATA[<p>So why does Firefox keep telling me that it is text/xml ? Right mouse button -> View Page Info -> content-type = text/xml; charset=utf-8<br />
All 4 examples you mentioned in View Page Info are text/html, even your site, but dynarch.com is text/xml :\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-44</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Thu, 21 Oct 2004 20:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-44</guid>
		<description>Both of those sites are served as &lt;code&gt;text/html&lt;/code&gt;:
&lt;code&gt;deconcept:~ geoff$ curl -I -H 'Accept:application/xhtml+xml' www.dynarch.com
HTTP/1.1 200 OK
Date: Thu, 21 Oct 2004 20:34:29 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.8 mod_ssl/2.8.19 OpenSSL/0.9.7d mod_gzip/1.3.26.1a mod_perl/1.29
Set-Cookie: DASessID=a0bc4a5f4447c7a4976d8fc6a4d79776; domain=dynarch.com; path=/; expires=Sat, 21-Oct-2006 20:34:29 GMT
&lt;strong&gt;Content-Type: text/html;&lt;/strong&gt; charset: UTF-8; charset=utf-8
&lt;/code&gt;&lt;code&gt;
deconcept:~ geoff$ curl -I -H 'Accept:application/xhtml+xml' www.bazon.net/mishoo/
HTTP/1.1 200 OK
Date: Thu, 21 Oct 2004 20:34:48 GMT
Server: Apache/1.3.31 (Unix) PHP/4.3.8 mod_ssl/2.8.19 OpenSSL/0.9.7d mod_gzip/1.3.26.1a mod_perl/1.29
Set-Cookie: site-prefs=dark&#124;left&#124;14; path=/mishoo
Content-Length: 3816
&lt;strong&gt;Content-Type: text/html;&lt;/strong&gt; charset=UTF-8
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Both of those sites are served as <code>text/html</code>:<br />
<code>deconcept:~ geoff$ curl -I -H 'Accept:application/xhtml+xml' <a href="http://www.dynarch.com" rel="nofollow">http://www.dynarch.com</a><br />
HTTP/1.1 200 OK<br />
Date: Thu, 21 Oct 2004 20:34:29 GMT<br />
Server: Apache/1.3.31 (Unix) PHP/4.3.8 mod_ssl/2.8.19 OpenSSL/0.9.7d mod_gzip/1.3.26.1a mod_perl/1.29<br />
Set-Cookie: DASessID=a0bc4a5f4447c7a4976d8fc6a4d79776; domain=dynarch.com; path=/; expires=Sat, 21-Oct-2006 20:34:29 GMT<br />
<strong>Content-Type: text/html;</strong> charset: UTF-8; charset=utf-8<br />
</code><code><br />
deconcept:~ geoff$ curl -I -H 'Accept:application/xhtml+xml' <a href="http://www.bazon.net/mishoo/" rel="nofollow">http://www.bazon.net/mishoo/</a><br />
HTTP/1.1 200 OK<br />
Date: Thu, 21 Oct 2004 20:34:48 GMT<br />
Server: Apache/1.3.31 (Unix) PHP/4.3.8 mod_ssl/2.8.19 OpenSSL/0.9.7d mod_gzip/1.3.26.1a mod_perl/1.29<br />
Set-Cookie: site-prefs=dark|left|14; path=/mishoo<br />
Content-Length: 3816<br />
<strong>Content-Type: text/html;</strong> charset=UTF-8<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cezary Tomczak</title>
		<link>http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-43</link>
		<dc:creator>Cezary Tomczak</dc:creator>
		<pubDate>Thu, 21 Oct 2004 20:09:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.deconcept.com/2004/10/20/web-standards-flash-embedding-part-2/#comment-43</guid>
		<description>I know an example: http://www.dynarch.com/ &#038; http://www.bazon.net/mishoo/ are served as text/xml (that is what tells me page info in firefox) and as you can see the javascript is used there quite extensively.</description>
		<content:encoded><![CDATA[<p>I know an example: <a href="http://www.dynarch.com/" rel="nofollow">http://www.dynarch.com/</a> &#038; <a href="http://www.bazon.net/mishoo/" rel="nofollow">http://www.bazon.net/mishoo/</a> are served as text/xml (that is what tells me page info in firefox) and as you can see the javascript is used there quite extensively.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
