Posting this for completion... it's a Manish's copy func with Joe's hack... should work for deep copy... i KNOW i'll be using this...
On 12/2/05, Dirk Eismann <[EMAIL PROTECTED]> wrote:
Jesse,
I wonder why Joe's (Berkovitz) approach didn't worked for you. What went
wroing?
Dirk.
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of JesterXL
> Sent: Thursday, December 01, 2005 7:24 PM
> To: [email protected]
> Subject: Re: [flexcoders] instanceof on Object
>
> Having parameters in your ValueObject doesn't screw them up?
> For ColdFusion, it doesn't seem to matter, but for AMFPHP &
> OpenAMF, it didn't seem to fly... guess I need to re-investigate.
>
> I tried doing:
>
> function clone()
> {
> var sub = super.clone();
> var me = new ThisClass();
> for(var p in sub)
> {
> me[p] = sub[p];
> }
> me.prop = this.prop;
> return me;
> }
>
> ...but, she's missing props still, so I gave up.
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
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
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
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.

