Well, to dig deeper, it's hard to comment because I don't know what
"_root.menu_ds.hasNext()" does, or how "_root.menu_ds.Type" is set, or
how "dupButton" is determined.  There could be any number of things
wrong there.  Why are you using a while loop out of curiosity?  Also, I
usually avoid duplicateMovieClip because I always see people complain
about it - either buggy or it's limitations.  For those situations, I
usually create an empty movie clip and attach from the library.  Not
saying that's the right approach, just what I have found works best for
me in most situations.

eval() is the old way, Adobe is pushing Actionscript to sctrict ECMA
specifications, which means using the [] operator instead.  If
"this[newName]" doesn't work, then something is wrong with the scope,
and I don't know where your clips are set up relative to that statement.
Have you tried sprinkling some traces in your code to find out what's
failing and where? 

Jason Merrill
Bank of America 
Learning & Organizational Effectiveness
 
 
 
 
 
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to