Man, I picked the wrong week to stop sniffing glue

Thanks :-)




>From: "Tim Hoff" <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: [flexcoders] Re: Bindable Error
>Date: Thu, 18 May 2006 21:41:38 -0000
>
>Try changing [bindable] to [Bindable].
>
>-TH
>
>--- In [email protected], "Darren Houle" <[EMAIL PROTECTED]> wrote:
> >
> > I don't know if I'm tired, dumb, or just missing something obvious.
> >
> > Why does this...
> >
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
> >      <mx:Script><![CDATA[
> >                [bindable]
> >                public var myNum:uint = 0;
> >      ]]></mx:Script>
> > <mx:Label text="{myNum}" />
> > <mx:Button
> >      label="Push Me"
> >      click="myNum=10; mx.controls.Alert.show('myNum
>= '+myNum, 'myNum');" />
> > </mx:Application>
> >
> > ...return this error?
> >
> >      Data binding will not be able to detect assignments
>to "myNum".
> >
> > The Alert box shows the value is changed on click, but sure enough
>the label
> > does not change.  This seems like about the simplest example of
>Bindable I
> > could possibly think of.  Sorry to whine, but why is this so
>hard?  And why
> > can't I find the answer in the help files?  I think Flex is
>amazingly cool,
> > but dang it's hard to find the answers to some things that should
>be really
> > basic.
> >
> > Like I said, maybe I'm just over-tired :-)
> >
> > Thanks!
> > Darren
> >
>
>
>
>
>
>
>
>--
>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
>
>
>
>
>
>
>




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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

<*> 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