1. This method has been removed. Just use dispatchEvent().
2. Yes. Private vars can only be accessed from within the same class
where they are declared.
3. I'm not clear on whether myBoxComponent is using myBox or myBox is
using myBoxComponent, but I suspect what you are looking for is
"parentDocument" to get at the component that is using you. So maybe you
want
parentDocument.someObject
- Gordon
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of bhaq1972
Sent: Thursday, April 13, 2006 3:38 AM
To: [email protected]
Subject: [flexcoders] Flex2B2 - few questions
1) DispatchChangeEvent doesn't seem to be available is that correct?
2) private variables no longer seem to be accesible in inherited
object. is that correct?
eg. myBox.as
package
{
public class myBox extends mx.containers.Box
{
public var string1:String="";
private var boolean1:Boolean=false;
}
}
in myBoxComponent.mxml can't access this.boolean1.
3) how do i access an object declared in myBoxComponent.mxml from
inside myBox.as i.e.
in myBoxComponent.mxml i have
public var someObject:Object; //i then create an instance of it
in myBox.as, i want to reference someObject. how? any help great
--
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
<*> 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/