Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-19-2012, 10:27 PM   PM User | #1
laylo
New Coder

 
Join Date: Jul 2011
Posts: 19
Thanks: 12
Thanked 0 Times in 0 Posts
laylo is an unknown quantity at this point
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.
laylo is offline   Reply With Quote
Old 04-25-2012, 12:07 AM   PM User | #2
Taro
Regular Coder

 
Taro's Avatar
 
Join Date: Oct 2011
Location: Geraldton, Ontario
Posts: 155
Thanks: 1
Thanked 1 Time in 1 Post
Taro is an unknown quantity at this point
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.
__________________
Element ID

Webs Support Helper

Your friendly neighborhood Taroman.
Taro is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:28 PM.


Advertisement
Log in to turn off these ads.