> If you switched to AS3, teh for in loop does not work on > 'sealed' classes, only on the legacy AS2 style prototype > based objects - like > > myObj:Object = { prop: 1 , prop: 2, prop: 3 ...}; > > For sealed classes like iterating thru the, say, props of a > ByteArray or NetStream class, use the ObjectUtil.toString // > new Reflection API myClass.getClass .... > Hope that helped a bit
Thanks, that's helpful to know, although in my case we're in AS2, so that's not the issue. I only needed it for debugging and I found the solution to the problem in another way, so I'm reasonably ok now, but it's still a mystery. Danny _______________________________________________ Flashcoders@chattyfig.figleaf.com 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