<actually, a second try; I never saw the first post make it to the list> I really hope someone can tell me what I am missing here. Many thanks Jack
In an earlier thread, I got engaged in the issue of history.js and a history.html iframe. There is a template that doesn't use history. That's as barebones as it gets. I am running the simplest possible test to validate that my servlet can paint swf content. I went so far as to craft a simple helloworld as follows: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" pageTitle="HelloWorld Sample" > <mx:Label text="Hello World!"/> <mx:Label text="Hello World!" color="#003366" fontSize="40"/> </mx:Application> I then adapted a template as follows (note the classpath to the swf file -- this is an embedded Jetty server) -- the servlet prints a trace that clearly shows it sending the swf file. What I get is a colored box set to the background color (which, to me, indicates flex is interpreting something from the html) but nothing from the content itself. What am I missing? Thanks Jack <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml " xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>FlexDev</title> <script language="JavaScript" type="text/javascript"> <!-- // ----------------------------------------------------------------------------- // Globals // Major version of Flash required var requiredMajorVersion = 9; // Minor version of Flash required var requiredMinorVersion = 0; // Minor version of Flash required var requiredRevision = 0; // ----------------------------------------------------------------------------- // --> </script> <script src="/js/flex/AC_OETags.js" language="javascript"></script> </head> <body scroll="no" > <script language="JavaScript" type="text/javascript"> <!-- // Version check based upon the values entered above in "Globals" var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision); // Check to see if the version meets the requirements for playback if (hasRequestedVersion) { // if we've detected an acceptable version // if we've detected an acceptable version // embed the Flash Content SWF when all tests are passed AC_FL_RunContent( "src", "/swf/HelloWorld", "width", "100%", "height", "100%", "align", "middle", "id", "HelloWorld", "quality", "high", "bgcolor", "#869ca7", "name", "HelloWorld", "allowScriptAccess","sameDomain", "type", "application/x-shockwave-flash", "pluginspage", " http://www.adobe.com/go/getflashplayer" ); } else { // flash is too old or we can't detect the plugin var alternateContent = 'Alternate HTML content should be placed here. ' + 'This content requires the Adobe Flash Player. ' + '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>'; document.write(alternateContent); // insert non-flash content } // --> </script> <noscript> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="${application}" width="100%" height="100%" codebase=" http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab"> <param name="movie" value="/swf/HelloWorld.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#869ca7" /> <param name="allowScriptAccess" value="sameDomain" /> <embed src="/swf/HelloWorld.swf" quality="high" bgcolor="#869ca7" width="100%" height="100%" name="HelloWorld" align="middle" play="true" loop="false" quality="high" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer"> </embed> </object> </noscript> </body> </html>

