Janis,

I'm just wondering why you would try and do this.  I don't belive this is
possible, maybe why you would want this would help with a solution...

Sam



On 11/30/05, Janis Radins <[EMAIL PROTECTED]> wrote:
>
> hey ppl
>
> I'm wondering is there a way to chech wether some class function
> exists from constructor?
> smthn like:
> class foo {
> function foo(){
> if(this class has property named fooProperty) dothis()
> else doThat()
> }
> public function set fooProperty (smthn):Void {
> someFooProperty = smth;
> }
> }
>
> As far as I've tried it this["fooProperty"] returns only undefined.
>
> I know more than one possible workaround, just this way seems to me
> more elegant.
>
> Tnx in advance.
>
> Janis
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to