Inconsistencies between the mxml and flash jsp tags were resolved in
Flex 1.5.  This accounts for the difference in functionality.


In Flex 1.5,

The 'param' tag should be used when sending params directly to the flash
player.  These would be parameters understood by the Flash Player and
added using the <PARAM> html tag, for example, AllowScriptAccess or
wmode.

<prefix:param name="param_name" value="param_value" />

The 'flashvars' tag should be used for your flashvars.  Flex will take
care of correctly encoding your flashvars.

<mm:flashvar name="firstname" value="Nick" />
<mm:flashvar name="lastname" value="Danger" />

Since the flashvars tag simply renders an <PARAM> html tag, it is
possible to simply add a param tag instead but be sure you're using
proper parameter names and value format.  This is what the flashvars tag
does for you.

<param name='flashVars' value='firstname=Nick&lastname=Danger'>


For additional notes,

http://livedocs.macromedia.com/flex/15/flex_docs_en/00002253.htm

- Cathy 

> -----Original Message-----
> From: Andrew Spaulding [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 11, 2005 1:44 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: flex and jsp
> 
> 
> 
> Hi Dan,
> 
> yeh I had the param code working in flex 1.0 (i will try it again when
> I get back to the office).
> 
> I wonder why it doesnt work in 1.5? It is in the docs too .. and has
> also been written up in the performance article on devnet. 
> 
> I'll give the flashvars a go. But would also like to find out why
> param doesnt work,
> 
> Thanks
> 
> Andrew.
> 
> 
> 
> 
> 
>  
> 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/
 



Reply via email to