Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-02 Thread Ian Thomas
I'm sorry, Steven, that's just not true. Test out the following code: package { public class A { public function A() { trace(A Constructor); } } } package { public class B extends A {

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-02 Thread Muzak
- From: Sajid Saiyed sajid.fl...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday, September 02, 2009 4:07 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue Hi, Thanks all of you for adding your valuable inputs, I am reviewing all

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-02 Thread Steven Sacks
You're right. I'm wrong. Sajid is doing something else incorrectly. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
. HTH Cor -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid Saiyed Sent: maandag 31 augustus 2009 12:06 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem understanding

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Jim Lafser
flash...@stevensacks.net wrote: From: Steven Sacks flash...@stevensacks.net Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Tuesday, September 1, 2009, 9:11 AM You're not calling super() in the ClassA

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
:     addEventListener(ClassC.moveUP, Delegate.create(this, someFunction); to get someFunciton to run in the scope that you expect. --- On Tue, 9/1/09, Steven Sacks flash...@stevensacks.net wrote: From: Steven Sacks flash...@stevensacks.net Subject: Re: [Flashcoders] Problem understanding Class

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Matt Gitchell
(this, someFunction); to get someFunciton to run in the scope that you expect. --- On Tue, 9/1/09, Steven Sacks flash...@stevensacks.net wrote: From: Steven Sacks flash...@stevensacks.net Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue To: Flash Coders List flashcoders

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Steven Sacks
In AS2, super() was called automatically (so to speak), so calling it was a matter of proper form more than anything else. In AS3, you have to call it yourself or it doesn't get called. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
@chattyfig.figleaf.com Sent: Wednesday, September 02, 2009 12:56 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue In AS2, super() was called automatically (so to speak), so calling it was a matter of proper form more than anything else. In AS3, you have to call it yourself

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
. When is the moveUP event dispatched? regards, Muzak - Original Message - From: Sajid Saiyed sajid.fl...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, September 01, 2009 8:12 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Muzak
@chattyfig.figleaf.com Sent: Tuesday, September 01, 2009 8:12 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue Ok, Here is a bit more information. ClassA (works pefrectly fine): --- package com.folder.subfolder { import flash.display.*; import flash.events

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, September 01, 2009 8:12 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue Ok, Here is a bit more information. ClassA (works pefrectly fine): --- package com.folder.subfolder

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-09-01 Thread Sajid Saiyed
, Muzak - Original Message - From: Sajid Saiyed sajid.fl...@gmail.com To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, September 01, 2009 8:12 AM Subject: Re: [Flashcoders] Problem understanding Class heirarchy issue Ok, Here is a bit more information. ClassA

RE: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Cor
To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem understanding Class heirarchy issue Hi, I have following Class structure: ClassA extends ClassC ClassB extends ClassC ClassC extends ClassD ClassD extends MovieClip Now, If I instantiate ClassB from ClassA, the constructor does

[Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Sajid Saiyed
Hi, I have following Class structure: ClassA extends ClassC ClassB extends ClassC ClassC extends ClassD ClassD extends MovieClip Now, If I instantiate ClassB from ClassA, the constructor does not execute. note: Inside ClassB, I am instantiating another ClassE which extends MovieClip Is there

RE: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Cor
2009 12:06 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem understanding Class heirarchy issue Hi, I have following Class structure: ClassA extends ClassC ClassB extends ClassC ClassC extends ClassD ClassD extends MovieClip Now, If I instantiate ClassB from ClassA

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread Sajid Saiyed
Subject: [Flashcoders] Problem understanding Class heirarchy issue Hi, I have following Class structure: ClassA extends ClassC ClassB extends ClassC ClassC extends ClassD ClassD extends MovieClip Now, If I instantiate ClassB from ClassA, the constructor does not execute. note: Inside ClassB

Re: [Flashcoders] Problem understanding Class heirarchy issue

2009-08-31 Thread jonathan howe
- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Sajid Saiyed Sent: maandag 31 augustus 2009 12:06 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Problem understanding Class heirarchy issue Hi, I have following