[flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread oneworld95
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

[flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread Amy
--- 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 /

Re: [flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread dnk
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

Re: [flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread dnk
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

RE: [flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread Alex Harui
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

RE: [flexcoders] Re: opposite of outterDocument?

2009-01-22 Thread Tracy Spratt
@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