thanks
guys works like a charm
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Horn
Sent: Wednesday, July 06, 2005 17:47
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Is it possible to pass parameters to mxml and get them somehow in the client ?
declare a global variable of the same name.
If the request is: http://domain/app/main.mxml?showAll=true
Then you could use it like this:
<mx:Script>
var showAll:Boolean;
if (showAll) {
...
} else {
...
}
</mx:Script>
________________________________
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Barnes
Sent: Wednesday, July 06, 2005 9:53 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Is it possible to pass parameters to
mxml and get them somehow in the client ?
Yes,
what ever parameter you pass in, will be accessible by
mx.core.Application.application.param
eg:
trace(mx.core.Application.application.showAll) // would have
the result "true"
On 7/6/05, Shlomi Cohen <[EMAIL PROTECTED]> wrote:
>
>
> Hi
>
> i want to create a dynamic view that is displayed according to
parameters
> from external system ,
> to do something like
> http://domain/app/main.mxml?showAll=true
>
> is it possible ?
>
> thanks
>
> Shlomi
>
______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security
System.
> For more information please visit
> http://www.messagelabs.com/email
>
______________________________________________________________________
>
>
> --
> Flexcoders Mailing List
> FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
> ________________________________
> YAHOO! GROUPS LINKS
>
>
> Visit your group "flexcoders" on the web.
>
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
>
> ________________________________
>
--
Regards,
Scott Barnes
http://www.mossyblog.com
--
Flexcoders Mailing List
FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
________________________________
YAHOO! GROUPS LINKS
* Visit your group "flexcoders
<http://groups.yahoo.com/group/flexcoders> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>---- HM ADS ?>
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?>
SPONSORED LINKS
Computer software testing | Macromedia flex | Development |
Software developer |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.