Not really, creating a new instance and
copying any relevant values is what you’ll need to do.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stephane De Jonckheere
Sent: Friday, October 14, 2005
9:09 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] [Clone]
Cloning UI object
It seems to come from
Movieclips that aren't clonable.
Is there a way to clone these objects?
-Original Message-
From: Stephane De Jonckheere
Sent: vendredi, 14. octobre 2005 11:29
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Clone] Cloning UI object
Hi,
I'd like to clone an instance of a custom UI
component (a panel with a lot
of components in it).
I tried the "copy" furnished by
ObjectUtil, I corrected it as described by
Darron Schall. But it wasn't giving the expected
result.
The fact is that even if the object is copied in a
new instance, there are
missing things (while debugging):
- functions associated to events
- stuff contained by the panel is copied but they
aren't displayed
I also tried homemade clone function but they all
give the same result.
I know that I can create a new object which will
create its content when
being contruct. That's certainly what I will do ;)
.
But I'd like to know if it's possible to REALLY
copy/clone an UI object and
if if can be reinserted with a createchild
function.
Regards,
Stephane
***
This email and any files transmitted with it are
confidential and
intended solely for the use of the individual or
entity to whom they
are addressed. If you have received this email in
error please notify
the system manager to [EMAIL PROTECTED]
***
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to: [EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.