Please ignore.
my mistake (noticed it while i was trying to make a testcase)

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Yes, I would expect that to work.  Can you provide a complete
testcase?
>
> -----Original Message-----
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of bhaq1972
> Sent: Monday, April 24, 2006 1:56 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex2B2 - calling a function in the base
class to
> manipulate a base string var
>
> this is follows on from the post Matt recently answered(thanks
btw).
>
> i have a function on a base class (MyBox.as..extends a Box) as
follows
>
> public var myString="";
> public function someFunction():void
> {
>  myString = "helloworld";
> }
>
> if i now call this function from my extended component (see
below),
> myString equals "". Shouldn't it be "helloworld".
>
> (i also made myString into a getter/setter ...didnt work)
>
> <myBox>
> <mx:Button click="someFunction();trace(myString)"/>
>
>
>
>
>
> --
> 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
>






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




Reply via email to