Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2011
    Thanked 0 Times in 0 Posts

    External swf quick question

    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.

  2. #2
    Regular Coder Taro's Avatar
    Join Date
    Oct 2011
    Geraldton, Ontario
    Thanked 1 Time in 1 Post

    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.
    Element ID

    Webs Support Helper

    Your friendly neighborhood Taroman.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts