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
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
: 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
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() {
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
5 matches
Mail list logo