...

View Full Version : External swf quick question



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.

Taro
04-25-2012, 12:07 AM
Hello,

Did you check to see if spaceWars() is at the correct target location? The correct target location is needed to run a program or function, otherwise it may repeatedly reproduce the error. Also, check your Action-script for the function and see if there are any internal bugs/ errors.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum