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"
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
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
--- 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 :-).
@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
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
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
; 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
[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
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
- 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
; tiletest.removeChild(_aChildren[iIndexClicked]);
> tiletest.removeChild(event.target);
> }// onClickUnload
>
>
>
> Try this. it is untested.
>
>
>
> Tracy
>
>
>
>
>
> From: flexcoders@yahoo
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
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
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
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:
16 matches
Mail list logo