Hello,
This might be a very simple question. I have a class called ‘document’.
I would like to import this class on the first layer of my flash file.
I’m using Flash 9 with as3
would this be sufficient?
import document;
:hat:
Hello,
This might be a very simple question. I have a class called ‘document’.
I would like to import this class on the first layer of my flash file.
I’m using Flash 9 with as3
would this be sufficient?
import document;
:hat:
If it’s in the same directory as your FLA, you don’t need to import it.
then how does it get reference?
Using the class name . . .
If the custom class is not in the same folder in the fla, you’ll have the
File > Publish Settings > Settings >
Then add the class path of where the document class resides
Then you won’t need to use the import statement
:: Copyright KIRUPA 2024 //--