[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread sailorsea21
I got it working! Thanks Tracy. I removed the following line: "modulestile.removeChild(DisplayObject(event.target));" I removed the following id: "main_vbox.id = String(NewVbox);" and assigned it to the unload button Thanks for all your help :) --- In flexcoders@yahoogroups.com, "Tracy Spratt"

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread Tracy Spratt
Of sailorsea21 Sent: Tuesday, October 21, 2008 9:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Hi Tracy, These are the errors I received in the debug: _aChildren[iIndexClicked] = No such variable: undefined but the "_aChild

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread sailorsea21
Hi Tracy, These are the errors I received in the debug: _aChildren[iIndexClicked] = No such variable: undefined but the "_aChildren" variable is set as follows: private var _aChildren:Array=[]; and the "iIndexClicked" variable is set as follows: var iIndexCl

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-21 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Try the debug approaches I suggested. > > Tracy Please trim. Remember, digest is a perfectly valid way to get this newsgroup :-).

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-20 Thread Tracy Spratt
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Monday, October 20, 2008 12:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. This is what I am now trying to accomplish... I would like to have a VBOX container to wrap the

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-20 Thread sailorsea21
stead, and remove that. > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sailorsea21 > Sent: Friday, October 17, 2008 3:21 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: sai

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-20 Thread sailorsea21
stead, and remove that. > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of sailorsea21 > Sent: Friday, October 17, 2008 3:21 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: sailorsea21

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
; Sent: Friday, October 17, 2008 3:21 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. > > > > Thanks Paul, that fixed the error in my file but I still receive the > error when I run my application, load modules and then

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread Tracy Spratt
[mailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 3:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Thanks Paul, that fixed the error in my file but I still receive the error when I run my application, load

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
orsea21" <[EMAIL PROTECTED]> > To: > Sent: Friday, October 17, 2008 8:01 PM > Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. > > > > Here's my updated code: > > > > private var moduleloader:ModuleLoader; > > priva

Re: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread Paul Andrews
- Original Message - From: "sailorsea21" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 8:01 PM Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. > Here's my updated code: > > private var moduleloader:ModuleLoader; > private var un

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
; tiletest.removeChild(_aChildren[iIndexClicked]); > tiletest.removeChild(event.target); > }// onClickUnload > > > > Try this. it is untested. > > > > Tracy > > > > > > From: flexcoders@yahoo

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread Tracy Spratt
ailto:[EMAIL PROTECTED] On Behalf Of sailorsea21 Sent: Friday, October 17, 2008 11:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Hi Tracy, I don't think I'm successfully storing the reference of the children into the array

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-17 Thread sailorsea21
u think is in "moduleloader" when you click the remove button? > The last thing you put in it. > > > > Re-read my response. > > > > Tracy > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROT

RE: [flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-16 Thread Tracy Spratt
Behalf Of sailorsea21 Sent: Thursday, October 16, 2008 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: sailorsea21 - RemoveChild question. Hi Tracy, thank you for your quick response. I'm a little stuck on this one... I can't get it to work... I'm now able to load a mod

[flexcoders] Re: sailorsea21 - RemoveChild question.

2008-10-16 Thread sailorsea21
Hi Tracy, thank you for your quick response. I'm a little stuck on this one... I can't get it to work... I'm now able to load a module and unload it. But if I load several modules, I'm only able to unload the latest one. When I try unloading the other loaded modules I receive the follow error: