Re: [Flashcoders] AS Files question [FIXED]

2006-03-21 Thread elibol
gt; > > Patrick Jean > Directeur de projets internet > Monac'OH Data Mercantour > http://www.monacoh.com > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of eric > dolecki > Sent: Tuesday, March 21, 2006 11:34 AM >

RE: [Flashcoders] AS Files question

2006-03-21 Thread Patrick Jean
That works. Thanks for the information :) Patrick Jean Directeur de projets internet Monac'OH Data Mercantour http://www.monacoh.com -Original Message- Yeah, you should - besides your issue - NEVER rely on values passed during variable declaration! These values sometimes are not stored

[Flashcoders] AS Files question [FIXED]

2006-03-21 Thread Patrick Jean
bject: Re: [Flashcoders] AS Files question would this work? import SequencerOBJ; class ComOBJ extends LoadVars { private var myTest:SequencerOBJ; public function ComOBJ() { myTest=new SequencerOBJ("It works"); } } On 3/21/06, Patrick Jean <[E

Re: [Flashcoders] AS Files question

2006-03-21 Thread Roman Blöth
Patrick Jean schrieb: [..] So in my 2nd Class , I put : - import SequencerOBJ; class ComOBJ extends LoadVars { private var myTest:SequencerOBJ=new SequencerOBJ("It works"); public function ComOBJ() {

Re: [Flashcoders] AS Files question

2006-03-21 Thread eric dolecki
("It works"); > > - > > Did I screw up on the syntax or something ? > > Thanks a lot > > > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of elibol > Sent: Tuesd

RE: [Flashcoders] AS Files question

2006-03-21 Thread Patrick Jean
age- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of elibol Sent: Tuesday, March 21, 2006 11:14 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] AS Files question There is, import class B within class A, having multiple imports of the same class won't cause the comp

Re: [Flashcoders] AS Files question

2006-03-21 Thread Roman Blöth
Patrick Jean schrieb: Greetings. I'm pretty new to the external AS files concept and I have a quick question. I made a first external class, let's call it "Class A" I also created a second external class. Let's call it "Class B" If I want to properly reference Class B from within t

Re: [Flashcoders] AS Files question

2006-03-21 Thread elibol
There is, import class B within class A, having multiple imports of the same class won't cause the compiler to compile the same class more than once. import B; class A { function A(){ var bInstance = new B(); } } you can also do something like this: import B; class A { private var _bInstanc

[Flashcoders] AS Files question

2006-03-21 Thread Patrick Jean
Greetings. I'm pretty new to the external AS files concept and I have a quick question. I made a first external class, let's call it "Class A" I also created a second external class. Let's call it "Class B" If I want to properly reference Class B from within the Class A AS file , what