laylo
04-19-2012, 10:27 PM
Im trying to load an external swf which has a class.
my opening scene which is trying to load this swf also has a class, Do i need to put the name of the external swf class within my opening scene because i keep getting an output error:-
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spaceWars()
spaceWars being the name of document class name of the external swf im trying to load.
i do not get any compile errors though, so the code seems alright.
my opening scene which is trying to load this swf also has a class, Do i need to put the name of the external swf class within my opening scene because i keep getting an output error:-
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spaceWars()
spaceWars being the name of document class name of the external swf im trying to load.
i do not get any compile errors though, so the code seems alright.