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

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 the

Re: [Flashcoders] AS Files question

2006-03-21 Thread eric dolecki
: 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 compiler to compile the same class more than once. import B; class A { function

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 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