Thanks. 

John

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Justin Haygood
Sent: Wednesday, August 22, 2007 5:06 PM
To: [email protected]
Subject: RE: [AFFUG Discuss] creationComplete

I believe:

dp3.addEventListener("creationComplete", someListener );

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Mason
Sent: Wednesday, August 22, 2007 5:05 PM
To: [email protected]
Subject: [AFFUG Discuss] creationComplete

Ok, I'm got a wacky problem. It's probably easy and I'm just not see it..

I have an app that is using some open source code. The code has a custom
Panel that in the mxml has a creationComplete call..

creationComplete="functionHandler(event);"

Now I'm wanting to custom create these Panels on the fly so I'm doing this
in AS...

Here's an example...
            private function createPanel():void {
                var dp3:customPanel = new customPanel;
                dp3.title = "Panel 3";
                dp3.x = 300;
                dp3.y = 50;
                dp3.width = 200;
                dp3.height = 200;
                    v1.addChild(dp3);
            }

Now what is the proper way to apply the creationComplete call to this so the
event handler can work properly?

Thanks in advance,
John Mason
[EMAIL PROTECTED]
770.337.8363
 
www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8
Enterprise hosting FREE Subversion hosting




-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------





-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------




-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------


Reply via email to