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