I haven't been using the code created by Flex Builder. I've been using
SWFObject 2, with the Express Install option and it's working great. I
really need it for passing in data to the flash movie, I think using
addVariable() in the swfobject code:

<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <!--
SWFObject embed by Geoff Stearns [EMAIL PROTECTED]
http://blog.deconcept.com/swfobject/
-->
   <script type="text/javascript" src="js/innerXHTML.js"></script>
   <script type="text/javascript" src="swfobject2/swfobject.js"></script>
</head>
<body background="assets/images/bkgd.gif" bgcolor="#999999">
<div id="flashcontent">
   <div id="events" style="position:absolute; top:20%;">
...
   </div>
</div>
<script type="text/javascript">
   // <![CDATA[
   var so = new SWFObject( "ToughestCowboy.swf", "toughest_cowboy", "100%",
"100%", "9", "#090909");
   so.addVariable( "eventsXML", innerXHTML( "events", true ) );
   so.useExpressInstall( 'swfobject2/expressinstall.swf' );
   so.write( "flashcontent" );
   // ]]>
</script>

innerXHTML is from Space 150 and allows parsing of XHTML within flash (for
SEO).

-Scott



On 2/5/07, smustafa77 <[EMAIL PROTECTED]> wrote:

  In Flex 2 how do we detect & update the version of Flash on the client
computer. Though while in development and testing it automatically
detects and ask for updating the flash player due to the settings in
the project > properties > Detect flash player version. But when
deployed on the server it does not and stops while downloading
history.htm.

Any suggestion /information is appreciated

Thanks




--

: : ) Scott

Reply via email to