A couple of things.

In your first call - maxValue - envelope is spelled enveloppe.

I will play with color / text variables later this evening and try to give
you a ruling but I am not sure why it is not wrking for you.

Regarding using CF to generate your mxml files on the fly: I would think
that this would not be a good idea. The flex files have to compile and if
they are dynamically created they will then have to recompile every visit to
that cfm. Have you tried using a stylesheet to do what you are trying to do
on the style side and use HTTPService to grab the XML for validation in
realtime for the application?

Just a thought,
Jeff
http://www.flexauthority.com

----- Original Message ----- 
From: "deptquote" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, February 24, 2005 7:08 PM
Subject: [flexcoders] Binding attributes in Flex


>
>
> Is there a way to bind a value of the attributes
>
> Those one are not working:
> <mx:NumberValidator field="valeur.nombre"
> listener="chiffre" maxValue="{allo.enveloppe.valeur}"/>
>
> <mx:Label text="First Name" color="{envelope.text}"/>
>
> This one is working:
> <mx:Label text="Maximum: {envelope.value}"/>
>
> Our idea is to bind all data (labels,TextInputs, etc) to a XML file
> containing all the information (validation, style, etc) about those
> data.
>
> or would it preferable to use ColdFusion to generate MXML files on
> the fly for such task?
>
> Thanks
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>



Reply via email to