Hi, > When deploying a flex app as a precompiled swf file, the flex jsp tag > <mm:flash source="foo.swf"/> appears to generate the same code as the > Flex html wrapper as described in livedocs.
That's I believe, History Management code in JavaScript. > Does anyone know what sort of flash player detection is and isn't > handled by the flash tag versus the mxml tag? > Does anyone know what is meant by this statement in Livedocs: "When > using the Flex JSP Tag Library to define a Flex application, Flex does > not include the complete Flash Player detection scheme. However, the > <object> and <embed> tags do include minimum version information and > download locations." As you have already gone through "Flash Player detection and deployment" section of doc. If you use mxml file, Flex server generates HTML wrapper with detection code, that is multi-step process like: - Users are initially directed to a SWF file that detects the Flash Player version. - If they have the specified version or later, the SWF file redirects the user to your content fil, and your SWF file plays as designed. - If users don't have the specified version, they're redirected to an alternate location to download an updated Flash Player. This location is specified in the flex-config.xml file. The actual location depends on the type of player they are upgrading. Ok, if you use Flex JSP tag or <object> and <embed> tag to directly embed precompiled swf or app.mxml.swf, above mentioned steps are not performed. However, Object and Embed tag contains the url of Flash Player download page and minimum version required. In that case, if user doesn't have required version of Flash Player, user would be prompted to install Flash player from Macromedia website. The difference between two is, in former approach(with default html wrapper), you can configure flex-config.xml to send user to different location than Macromedia site, say to internal server for Flash Player download. I believe, you can also specify fallback page which is shown user doesn't have required version of Macromedia Flash Player. > And finally, when I load an mxml file directly via http://foo.xml, > flex appears to do extra version testing optimizations (referred to in > the LiveDocs under "Optimizing version detection"). When we use the > mxml or jsp wrappers, does flex use these optimzations under the > scenes? If not, does anyone know if these optimizations affect the > client alone or the client and the server? Using MXML and JSP depends on requirement. JSP is used when you have other content in same page. Use MXML when you know Flex app is the only thin in the page. These optimization are client side, all detection is done client-side. Hope it helps.. -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Raymond Sent: Saturday, May 21, 2005 5:22 AM To: [email protected] Subject: [flexcoders] Flash version detection, precompiled swf's and the <flash> jsp tag. When deploying a flex app as a precompiled swf file, the flex jsp tag <mm:flash source="foo.swf"/> appears to generate the same code as the Flex html wrapper as described in livedocs. However, it is not clear what sort of Flash player version detection this does versus the detection which is performaned when one uses the <mm:mxml source="foo.mxml"/> tag. The livedocs imply that there is a bit more going on with version detection than you can see by simply viewing the source of the resulting html page. Does anyone know what sort of flash player detection is and isn't handled by the flash tag versus the mxml tag? Does anyone know what is meant by this statement in Livedocs: "When using the Flex JSP Tag Library to define a Flex application, Flex does not include the complete Flash Player detection scheme. However, the <object> and <embed> tags do include minimum version information and download locations." And finally, when I load an mxml file directly via http://foo.xml, flex appears to do extra version testing optimizations (referred to in the LiveDocs under "Optimizing version detection"). When we use the mxml or jsp wrappers, does flex use these optimzations under the scenes? If not, does anyone know if these optimizations affect the client alone or the client and the server? Thank you! Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

