Re: [Flashcoders] AS3 Dynamic class reference

2007-08-27 Thread Dimitrios Bendilas
Hi Frank, Ah! That's what I needed. I didn't know the existence of getDefinitionByName. getDefinitionByName("fl.motion.easing." + this._easeClassName)[_easeFuncName]; did the job. Thanks a lot. Dimitrios - Original Message - From: "Frank Pepermans" <[EMAIL PROTECTED]> To: Sen

Re: [Flashcoders] Iterator question

2007-08-27 Thread dr.ache
hi. dont delete the elements from your array. when you call page.destroy() method generate another array in which you push a "true", whenever onElementKilled is called.Check also, if the array contains as much elements as your children array contains. If true, delete the whole array with childs

[Flashcoders] HTML 4.0 parsing

2007-08-27 Thread Davor Bauk
Hello, Is it possible to parse HTML 4.0 natively in AS3 or do I need to write (or find) a custom parser? cheers, Davor ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailma

[Flashcoders] Iterator question

2007-08-27 Thread Jiri Heitlager | dadata.org
Hello list, i have a page object that contains has a Array that holds pageElements. This is a storage for elements with an iPageElement interface. The page object has an destroy() method. When page.destroy() is called, it will loop trough the page.pageElements Array using an iterator. Every iP

RE: [Flashcoders] AS3 Dynamic class reference

2007-08-27 Thread Frank Pepermans
In order to get a dynamic reference to a class, use this : getDefinitionByName("fl.motion.easing."+_easeClassName).easeIn; The compiler will need to include the easing class, so you could include this : import fl.motion.easing.SomeClass; private const _someClass:SomeClass; ... and repeat for e

[Flashcoders] AS3 Dynamic class reference

2007-08-27 Thread Dimitrios Bendilas
Hello, I need to dynamically get a reference of a Class and I'm not able to do so. I think an example will illustrate my point better: package com.zefxis.solarwind2.animations { import fl.motion.easing.*;

Re: [Flashcoders] AS3 Events, Delegates and passing parameters

2007-08-27 Thread Dimitrios Bendilas
Of course! I can't believe it was that simple. I guess I wasn't used subclassing native classes so much. Thanks a lot Muzak. Troy, thanks for your reply too, I think what Muzak said was what I was looking for. Best regards, Dimitrios - Original Message - From: "Muzak" <[EMAIL PR