Jump to content
Search Community

Error #1069: Property cachedOrphan not found...

isaacalves test
Moderator Tag

Recommended Posts

I´ve been having this error:

 

ReferenceError: Error #1069: Propriedade cachedOrphan não encontrada em com.greensock.TweenLite e não há valor padrão.

at com.greensock::TimelineLite/addChild()

at com.greensock::TimelineLite/insert()

at MethodInfo-784()

at hype.framework.core::MultipleObjectPool/request()

at hype.framework.core::MultipleObjectPool/requestAll()..........etc

 

"property cachedOrphan not found in com.greensock.TweenLite..."

 

I upgraded Gaia Flash Framework to 3.2.3 and it automatically upgraded GreenSock to 11.38 (as in Gaia Panel), which is weird cause on GreenSock page it seems that the latest version is 11.36.

 

does anyone kjnow what´is going on here ?

 

Thanks in advance!

Link to comment
Share on other sites

Sorry about the confusion with the version numbers, but it's a little tricky because of the inner dependencies - TweenLite is indeed at 11.36 but TweenCore (which it extends) is at 1.382. That's actually where the cachedOrphan property was added. It sounds like you've got a mish-mash of old and new files OR you're subloading mis-matched versions - make sure you publish your parent and child with the latest version. Make sense?

Link to comment
Share on other sites

Thank you greensock. I´m not sure if I got what you meant... but I´ve updated the last version of greensock, from the website, then I replaced in my main actionscript files folder (which is included in my projects files source paths) as well as in the 'src' folder of my projects which is automatically generated by Gaia.

And I still get this error ...

 

ReferenceError: Error #1069: Propriedade cachedOrphan não encontrada em com.greensock.TweenMax e não há valor padrão.
at com.greensock::TimelineLite/addChild()
at com.greensock::TimelineLite/insert()
at com.greensock::TimelineLite/insertMultiple()
at com.greensock::TimelineLite/appendMultiple()

 

Though in another project, It seemed to me that I solved this problem by 'deleting ASO files' from the Control Menu in Flash.

 

how could I fix that ? could there be something wrong with this code ?

			mainTimeline = new TimelineLite();

		mainTimeline .appendMultiple([
						  TweenLite.to(bar.base, 0.4, {width: stage.stageWidth, scaleY: 1, ease:Quint.easeOut}),
						  TweenLite.to(bar.novidades, 0.4, {x: xBar[0], alpha: 1, ease:Expo.easeOut}),
						  TweenLite.to(bar.vida, 0.4, {x: xBar[1], alpha: 1, ease:Expo.easeOut}),
						  TweenLite.to(bar.pub, 0.4, {x: xBar[2], alpha: 1, ease:Expo.easeOut})
					 ], 0.3, TweenAlign.SEQUENCE, -0.2);

 

or this one?

 

			novTL.appendMultiple([
					TweenLite.to(mc3, f, {y: 100}),
					TweenLite.to(bar.novidades.hit, f/10, {height: 500}),
					TweenLite.to(mc3, f, {y: 140, ease:Back.easeIn}),

					TweenLite.to(mc3, f/10, {autoAlpha: 0}),
				    TweenLite.to(mc, f, {rotationX: 360}),

					TweenLite.to(mc2, f/10, {autoAlpha: 1}),
					TweenLite.to(mc2, f/10, {y: -140}),
					TweenLite.to(mc2, f, {rotationX: 360}),

					TweenLite.to(mc3, f/10, {y: -280, autoAlpha: 0}),
					TweenLite.to(mc3.container, f/10, {rotationX: 180}),
					TweenLite.to(mc3, f/10, {autoAlpha: 1}),
					TweenLite.to(mc3.container, f, {rotationX: 360})],
					 0, TweenAlign.SEQUENCE, 0);

thanks !

Link to comment
Share on other sites

Yes, 3.2.3.

I actually solved the problem by switching back to the previous version of TweenLite/TimelineLite. :roll: I got a very short deadline.

But I hope I can help you with that!!

 

By the way, I can´t want to try LoaderMax ! It sounds really nice. Thanks!

Link to comment
Share on other sites

Yes, 3.2.3.

I actually solved the problem by switching back to the previous version of TweenLite/TimelineLite. :roll: I got a very short deadline.

But I hope I can help you with that!!

 

And you're sure there are not assets that are using a stale version? It definitely sounds like you have mis-matched versions somewhere in there.

 

By the way, I can´t want to try LoaderMax ! It sounds really nice. Thanks!

 

Yeah, very exciting - enjoy.

Link to comment
Share on other sites

  • 2 weeks later...

Since upgrading Gaia and Greensock, I've had the same error on two websites now. How do I make sure that I have no "assets that are using a stale version?" I deleted the com>greensock folder in the project, downloaded and inserted a new one. I deleted the ASO files. I republished all the files in Gaia. Incidentally, while the Gaia panel says version 3.2.3, the output says 3.2.0 Here is the error:

 

Gaia Framework (AS3) v3.2.0

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/append()

at pages::NavPage/transitionIn()

at com.gaiaframework.assets::PageAsset/transitionIn()

at com.gaiaframework.core::TransitionController/pageIn()

at com.gaiaframework.core::TransitionController/onTransitionInComplete()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at com.gaiaframework.assets::PageAsset/onTransitionInComplete()

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at com.gaiaframework.templates::AbstractBase/transitionInComplete()

at Function/http://adobe.com/AS3/2006/builtin::apply()

at com.greensock.core::TweenCore/complete()

at com.greensock::TweenLite/renderTime()

at com.greensock.core::SimpleTimeline/renderTime()

at com.greensock::TweenLite$/updateAll()

 

Thanks for the help. I really enjoy all the added features that Greensock brings. It's a great product.

Link to comment
Share on other sites

Hmm, I'm not sure - sounds like a question you should post in the Gaia forums. It definitely sounds like something in Gaia or one of your files is using an outdated version. I'd love it if you'd report back with any solutions you find.

Link to comment
Share on other sites

  • 4 weeks later...

I just started getting this error when I used LoaderMax for the first time.

I have a base.swf with the LoaderMax code that loads a main.swf. main.swf works fine on it's own but when I use the base.swf to load it I get the Error #1069: Property cachedOrphan not found.

 

This is my first time using SWFLoader...any thoughts?

 

import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.events.LoaderEvent;
import com.greensock.loading.*;
import com.greensock.loading.display.*;
import com.greensock.plugins.*;

// SWF goes here
var _swfLoader = new SWFLoader("main.swf", {noCache:true, estimatedBytes:900000, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler});
var _progressDisplay = new ProgressCircleLite({radius:25, thickness:4, color:0x000000, textColor:0x000000, trackColor:0xFFFFFF, trackAlpha:0.9, trackThickness:4, autoTransition:true, smoothProgress:0});

addChild (_progressDisplay);

_progressDisplay.mouseEnabled = false;
_progressDisplay.x = stage.stageWidth / 2;
_progressDisplay.y = stage.stageHeight / 2;
_progressDisplay.addLoader ( _swfLoader );

_swfLoader.load( true );

function progressHandler (event:LoaderEvent):void {
//trace ("progress: " + event.target.progress);
}
function completeHandler (event:LoaderEvent):void {
removeChild ( _progressDisplay );
addChild ( event.target.content );
}
function errorHandler (event:LoaderEvent):void {
trace ("error occured with " + event.target + ": " + event.text);
}

Link to comment
Share on other sites

That error has nothing to do with LoaderMax - it's caused by having mis-matched versions of the tweening platform in the swfs (like the subloaded one uses a stale version while the parent has a more recent version). You could force the subload into its own ApplicationDomain if you want by declaring a LoaderContext, like:

var _swfLoader = new SWFLoader("main.swf", {context:new LoaderContext(true, new ApplicationDomain()), noCache:true, estimatedBytes:900000, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler});

 

(don't forget to import Adobe's LoaderContext and ApplicationDomain classes)

Link to comment
Share on other sites

I tripled checked to make sure my AS files were ok but then I went back and checked my SWFLoader code...since I'm new at using it

 

I added the container and now it's working!

 

so this

var _swfLoader = new SWFLoader("main.swf", {noCache:true, estimatedBytes:900000, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler});

became this

var _swfLoader = new SWFLoader("main.swf", {container:this, noCache:true, estimatedBytes:900000, onProgress:progressHandler, onComplete:completeHandler, onError:errorHandler});

 

I'm still learning your classes...thanks for the fast help. My bad!

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