Jump to content
Search Community

cachedOrphan error #1069

schugabug test
Moderator Tag

Recommended Posts

Hi!

I am trying to load an external swf into a swf, and keep getting this error. What does it mean? Thanks!

 

ReferenceError: Error #1069: Property cachedOrphan not found on com.greensock.TweenMax and there is no default value.

at com.greensock::TimelineLite/addChild()

at com.greensock::TimelineLite/insert()

at com.greensock::TimelineLite/insertMultiple()

at nutroBanner_fla::MainTimeline/frame1()

Link to comment
Share on other sites

Sounds like you are using mis-matched versions of the tweening classes. For example, maybe the parent swf uses a more recent version of the tweening platform and you're subloading a swf that has a stale version and you're not segregating the subloaded swf into its own ApplicationDomain. Or maybe you updated some of your tweening classes but not others.

 

Two solutions:

 

1) Republish both (all) swfs with the same version of the platform.

 

-or-

 

2) When you're subloading, make sure you define a LoaderContext that has a new ApplicationDomain() so that classes aren't shared between them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...