What about adding;
[Bindable]
public function set someValue(value:Number):void
{
trace("value changed", value)
// do something
}
I don't know if that is what you are looking for..
Peace, Mike
On 6/13/06, Claudia Barnal <[EMAIL PROTECTED]> wrote:
Hi Michael, thanks for your reply.
> So it's not subclassed from the Flex framework?Exactly, it is a non visual AS component.
Example:
<!-- In the MXML -->
<MyComponent someValue="10" >
// In the AS
class MyComponent{
public var someValue:Number;
public function MyComponent(){
trace(someValue); // I am not getting the value set in MXML
}
}
I am using the mx.binding.utils.ChangeWatcher to check when the var
receives the value from MXML, but I don't think it is the way to go,
but it is the only solution I could find :|
Any ideas?
Thanks.
--
What goes up, does come down. __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
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.
__,_._,___
- Re: [flexcoders] Re: creationComplete on custom non UI co... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on custom non ... Claudia Barnal
- Re: [flexcoders] Re: creationComplete on custom ... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on cus... Claudia Barnal
- Re: [flexcoders] Re: creationComplete on... Michael Schmalle
- Re: [flexcoders] Re: creationComple... Claudia Barnal
- Re: [flexcoders] Re: creationCo... Michael Schmalle
- RE: [flexcoders] Re: creationComplete on custom non ... Gordon Smith
- Re: [flexcoders] Re: creationComplete on custom ... Michael Schmalle
- Re: [flexcoders] Re: creationComplete on cus... Claudia Barnal
Reply via email to

