Re: [flexcoders] How to call container's method into component file

2011-08-29 Thread Srinivas Sandur Madhu Murthy
Nice advice TH! I hope lot of people in Flex development understands this. Since from introduction of Flex 1.5 I have seen lot of people using this kind of calls or accessing method using global application object. Thanks On Aug 28, 2011, at 9:50 AM, turbo_vb wrote: That's bad advice Rishi;

[flexcoders] How to call container's method into component file

2011-08-27 Thread shail
Hi Group, I have a customize container component in which i am using one sub-component. The customize container has one overriden method save(), i want to call this method in subcomponent. Can this be possible? my code looks like this - GraphDex.mxml CustPanel script overrides public void

Re: [flexcoders] How to call container's method into component file

2011-08-27 Thread Rishi Tandon
Use object oriented best practice. Mxml I'd nothing but a actionscript class. If u r initializing the custom component inside the other component, then u can directly access the method or else use the Application.application.componentiD.methodName if u are Where are u initializing globally.