Skip to main content
edwinmerced
Inspiring
October 29, 2012
Question

Loading an external MC with Tween

  • October 29, 2012
  • 1 reply
  • 684 views

I am getting this error when I load an external movie (which has Tween Animations):

TypeError: Error #1009: Cannot access a property or method of a null object reference.

    at MethodInfo-46()

    at flash.events::EventDispatcher/dispatchEventFunction()

    at flash.events::EventDispatcher/dispatchEvent()

    at fl.transitions::Tween/set time()

    at fl.transitions::Tween/nextFrame()

    at fl.transitions::Tween/onEnterFrame()

The MC loads but once I unload the main movie locks and does not allow interaction.

Any ideas why?

Thank you

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
October 29, 2012

click file/publish settings/swf and tick "permit debugging". retest.

the problematic line of code will be in the error message allowing you to pinpoint the null object.

edwinmerced
Inspiring
October 29, 2012

Hello Kglad:

I followed

I still get this:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

    at MethodInfo-46()

    at flash.events::EventDispatcher/dispatchEventFunction()

    at flash.events::EventDispatcher/dispatchEvent()

    at fl.transitions::Tween/set time()

    at fl.transitions::Tween/nextFrame()

    at fl.transitions::Tween/onEnterFrame()