Easy answer for someone? error #1009

[COLOR=#000000][FONT=arial]got a quick as3 coding question, which someone might be able to answer just by looking at this.[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]child.swf needs to load into a parent.swf; child.swf is a game that relies on an external class called “GamePackage”[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]child.swf plays fine standing alone, even if you move it to a new folder/location, etc, b/c the class script “GamePackage” is compiled at runtime – but it becomes a problem when you attempt to open it by loading it through parent.swf[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]this is the error it generates in the output window:[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]TypeError: Error #1009: Cannot access a property or method of a null object reference.
at GamePackage()

any ideas on how to resolve this? is it a matter of defining the class in the parent.swf? i imagine any code would have to be added to the parent file. i’ve 3-4 approaches, none of which work. yes, there are a few threads related to error 1009, but none that seem to pertain to this case.

[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]
[/FONT][/COLOR]
[COLOR=#000000][FONT=arial]thanks!

rob[/FONT][/COLOR]