The way I did this (and it's probably not the most efficient) was this:
- User clicked a button inside the mx:component tag.
- The click call passed a reference to the VBox container to the
outer document function.
- In the outer document function, I'd use the reference like this:
var vb:VBox
--- In flexcoders@yahoogroups.com, dnk d.k.emailli...@... wrote:
Is there something the opposite of outterDocument to access vars and
methods inside of a mx:component tag?
or is it as simple as (no where near my flex machine):
mx:Component id=something
custom:mycomp /
Well I tried refernecing it that way, but no go.
The other thing is that you are not allowed to put an id on the root
tag of a component. Ends up with this error:
id attribute is not allowed on the root tag of a component.
So I am not sure how you would be able to reference the child of the
On 22-Jan-09, at 9:00 AM, Amy wrote:
--- In flexcoders@yahoogroups.com, dnk d.k.emailli...@... wrote:
Is there something the opposite of outterDocument to access vars and
methods inside of a mx:component tag?
or is it as simple as (no where near my flex machine):
mx:Component
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: opposite of outterDocument?
Well I tried refernecing it that way, but no go.
The other thing is that you are not allowed to put an id on the root
tag of a component. Ends up with this error:
id attribute is not allowed on the root tag
@yahoogroups.com
Subject: Re: [flexcoders] Re: opposite of outterDocument?
On 22-Jan-09, at 9:00 AM, Amy wrote:
--- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , dnk d.k.emailli...@... wrote:
Is there something the opposite of outterDocument to access vars and
methods
6 matches
Mail list logo