Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
e you can't enforce this via interfaces (the name of the movieclip app thing), it's just 1 small thing. - Original Message - From: "Manuel Saint-Victor" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, February 17, 2006 5:25 PM Subject: R

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
- From: "Manuel Saint-Victor" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, February 17, 2006 12:12 PM Subject: Re: [Flashcoders] coding the main stage as if it were a class Okay- actually I like that approach. I had seen you do part of that in a tu

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
I've seen that technique used and wondered how well it would work. So then you would have that class extend MovieClip-right? Is there any weirdness that comes up that I would want to look out for in this case? Would you have the constructor in the class file just call init(); and do the setup in

RE: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Judah
:[EMAIL PROTECTED] On Behalf Of Manuel Saint-Victor Sent: Friday, February 17, 2006 11:13 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] coding the main stage as if it were a class Okay- actually I like that approach. I had seen you do part of that in a tutorial before but not with

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
view = mc; > } > } > > and then on _root: > > MyController.init(this); > > there are a few other variations. I like making _root a class, though! > - Original Message ----- > From: "Manuel Saint-Victor" <[EMAIL PROTECTED]> > To: "Fl

Re: [Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread JesterXL
m: "Manuel Saint-Victor" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Friday, February 17, 2006 9:19 AM Subject: [Flashcoders] coding the main stage as if it were a class I've seen this done in a few tutorial where the code placed in the main time line is w

[Flashcoders] coding the main stage as if it were a class

2006-02-17 Thread Manuel Saint-Victor
I've seen this done in a few tutorial where the code placed in the main time line is written as if it were in a class file. By this I mean things like writing addEventListener(this); and having the functions sitting in the main timeline that handles the event. I think this is a convenient approac