actionscript 3 - getDefinitionByName "Variable Not defined" workaround -
ok have game info parser creates game out of info file basically, using extensively getdefinitionbyname has 1 problem if class not loading somewhere else throw variable not defined error information=referenceerror: error #1065: variable {myclass} not defined. workaround using class holds list of components , instantiate create these classes available compiler. ok question part there more efficient way or playing compiler argument or ? there export in first frame in flash professional compiler argument ?
i think want have library project "callable" classes, , reference library project in game.
in flash builder, library project, can check classes compiled (and available getdefinitionbyname). (info here)
actionscript-3 flash
No comments:
Post a Comment