Importing custom A.S classes
Posted January 8th, 2009 byCategories: straightguysca.com
And once it's integrated, it's there forever?
Don't mind me for asking this, I am trying hard to pick up flash. :-/
Once it's imported, you can reference it only on the timeline for which it is imported. You'll have to import it again for every other timeline you wish to use it on.
import com.myClasses.customClass;If its in the same directory as the fla then you can import just the classname as shown above. Importing is not always required explicitly in AS 2.0 but it is required in 3.0.
#If you have any other info about this subject , Please add it free.# |