RE: [flexcoders] addChild problems

2007-04-30 Thread Paramjit Jolly
Jethani Sent: Saturday, April 28, 2007 10:20 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] addChild problems On 4/26/07, Jason C Reynolds [EMAIL PROTECTED] mailto:jreynolds%40thewritesource.com wrote: MainApp contentHolder = new Canvas(); this.addChild(contentHolder

RE: [flexcoders] addChild problems

2007-04-28 Thread Tracy Spratt
: [flexcoders] addChild problems Does not work just means it isn't showing up on screen - something is wrong with how I am adding stuff to the display list. MainApp has the canvas object, and the content object - creates an instance of any class that extends my ContentTemplate class. I don't

Re: [flexcoders] addChild problems

2007-04-28 Thread Manish Jethani
On 4/26/07, Jason C Reynolds [EMAIL PROTECTED] wrote: MainApp contentHolder = new Canvas(); this.addChild(contentHolder); contentScreen = new SampleScreen(); contentHolder.addChild(contentScreen); // HERE is what I want to work, contentScreen extends UIComponent - so in my mind it should

Re: [flexcoders] addChild problems

2007-04-26 Thread Jason C Reynolds
for looking... Jason - Original Message - From: Manish Jethani To: flexcoders@yahoogroups.com Sent: Wednesday, April 25, 2007 4:11 PM Subject: Re: [flexcoders] addChild problems If you can show the heirarchy of your objects and which one you're trying to add that's

[flexcoders] addChild problems

2007-04-25 Thread Jason C Reynolds
Sorry for the vauge subject... here's what I'm trying to do that does not work. I am creating a MainApp class instance in my mxml project file. I want to use this to control the basic common stuff throughout the application, and I have made an instance of a Canvas object that I will be using as

Re: [flexcoders] addChild problems

2007-04-25 Thread Manish Jethani
If you can show the heirarchy of your objects and which one you're trying to add that's failing, that'll help. Also explain what does not work means (do you get an error?). On 4/26/07, Jason C Reynolds [EMAIL PROTECTED] wrote: Sorry for the vauge subject... here's what I'm trying to do that