Home
> FlashEff 2.0
> Topic
FLASHEFF2 ERROR: Target must be a non-null DisplayObject.
Posted by mareb
FLASHEFF2 ERROR: Target must be a non-null DisplayObject. October 26, 2010 04:17PM | Registered: 15 years ago Posts: 1 |
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. October 27, 2010 07:03AM | Admin Registered: 16 years ago Posts: 547 |
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. December 10, 2010 02:30PM | Registered: 13 years ago Posts: 2 |
Hello,
I have almost the same issue.
I load a swf dynamically, and when I want to apply an Eff fx, I've got the same error message.
Here a sample of my simple code :
Then, when the loading is complete I run a fonction like that :
And I've got this error msg " FLASHEFF2 ERROR: Target must be a non-null DisplayObject. "
Any ideas ?
Thank you and sorry for my bad english, I'm not fluent yet. :)
I have almost the same issue.
I load a swf dynamically, and when I want to apply an Eff fx, I've got the same error message.
Here a sample of my simple code :
var chargeur:Loader = new Loader(); var cli:LoaderInfo = chargeur.contentLoaderInfo; addChild(chargeur); var maRequete:URLRequest = new URLRequest (MySwf.swf); chargeur.load ( maRequete ); addChild ( chargeur );
Then, when the loading is complete I run a fonction like that :
function MyEff():void { var effect:FlashEff2Code = new FlashEff2Code(); addChild(effect); var showEffect:FESBrightSquares = new FESBrightSquares(); showEffect.tweenDuration = 2; effect.showTransition = showEffect; effect._targetInstanceName = "chargeur"; }
And I've got this error msg " FLASHEFF2 ERROR: Target must be a non-null DisplayObject. "
Any ideas ?
Thank you and sorry for my bad english, I'm not fluent yet. :)
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. December 10, 2010 02:53PM | Admin Registered: 16 years ago Posts: 547 |
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. December 10, 2010 03:03PM | Registered: 13 years ago Posts: 2 |
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. December 10, 2010 05:14PM | Registered: 13 years ago Posts: 3 |
I've had similar problems. I fiound that if you change the instance name (at least for text) AFTER you set up your EFF2 component, you will get that error. My only solution has been to re-create the component if I changed my instance name.
I wish I knew this ahead of time. I changed all my text instance names and now have to do the fx over again.
Make sure you have an instance name you can live with.
If I am wrong about this, please let me know. Thanks.
I wish I knew this ahead of time. I changed all my text instance names and now have to do the fx over again.
Make sure you have an instance name you can live with.
If I am wrong about this, please let me know. Thanks.
Re: FLASHEFF2 ERROR: Target must be a non-null DisplayObject. December 13, 2010 09:17AM | Admin Registered: 16 years ago Posts: 547 |
Sorry, you do not have permission to post/reply in this forum.