Home
> FlashEff 2.0
> Topic
Errors in AS3 Usage Doc
Posted by TerryG
Errors in AS3 Usage Doc September 05, 2009 08:52PM | Registered: 14 years ago Posts: 31 |
First, none of the code examples for the listed properties and methods will work because the import statements are incorrect.
This:
Second, after correcting the import statements I'm getting runtime errors when I try the code example for the swapTargetInstanceName property:
The _swapTransitionStartCommands and _swapTransitionEndCommands properties don't seem to be documented anywhere. I'm using Flash CS4 on Win XP.
This:
import com.jumpeye.flasheff2...Should be:
import com.jumpeye.flashEff2... // upper case 'E' in flashEff2
Second, after correcting the import statements I'm getting runtime errors when I try the code example for the swapTargetInstanceName property:
FLASHEFF2 ERROR: ReferenceError: Error #1069: Property _swapTransitionStartCommands not found on FlashEff2Code and there is no default value. at FlashEff2/transitionEffect() at FlashEff2/hide() at FlashEff2/hideCaller() at flash.utils::Timer/_timerDispatch() at flash.utils::Timer/tick() ReferenceError: Error #1069: Property _swapTransitionEndCommands not found on FlashEff2Code and there is no default value. at FlashEff2/dispatchEvent() at com.jumpeye.flashEff2.text.blur::FETBlur/motionFinish() at Function/http//adobe.com/AS3/2006/builtin::apply() at com.jumpeye.transitions::TweenLite/complete() at com.jumpeye.transitions::TweenLite/render() at com.jumpeye.transitions::TweenLite$/updateAll()
The _swapTransitionStartCommands and _swapTransitionEndCommands properties don't seem to be documented anywhere. I'm using Flash CS4 on Win XP.
Re: Errors in AS3 Usage Doc September 07, 2009 06:55AM | Admin Registered: 15 years ago Posts: 405 |
Re: Errors in AS3 Usage Doc September 07, 2009 01:58PM | Registered: 14 years ago Posts: 31 |
Re: Errors in AS3 Usage Doc September 20, 2009 02:28PM | Registered: 14 years ago Posts: 31 |
Version 5.2.4 of FlashEff2 released on Sep. 17, 2009 fixes the import statement errors in the AS3 Usage pdf, but the code example in the doc for the 'swapTargetInstanceName' property is still throwing the same runtime errors. This code example is basically repeated for the descriptions of the 'swapDelay', 'swapTarget', 'swapTargetVisibility', 'swapTransition', 'swapTransitionName', and 'swapType' properties, and these all examples throw the same errors.
Does anyone have a working example using the swap properties?
Edited 1 time(s). Last edit at 09/20/2009 02:45PM by TerryG.
Does anyone have a working example using the swap properties?
Edited 1 time(s). Last edit at 09/20/2009 02:45PM by TerryG.
Re: Errors in AS3 Usage Doc September 27, 2009 05:53PM | Registered: 14 years ago Posts: 3 |
Re: Errors in AS3 Usage Doc September 29, 2009 12:36PM | Registered: 14 years ago Posts: 31 |
This isn't an error in the pdf, but it relates to ActionScript usage.
When you install FlashEff2 (not the free version), a folder named "Document Class Example" is created inside the "Tutorial Files" folder. In the document class MyExample.as, there is this line:
When you install FlashEff2 (not the free version), a folder named "Document Class Example" is created inside the "Tutorial Files" folder. In the document class MyExample.as, there is this line:
import FlashEff2;You might think it would be more appropriate to use this instead:
import FlashEff2Code;As it turns out, though, neither import statement is necessary -- you just have to drag the FlashEff2 or FlashEff2Code component to the .fla's library.
Re: Errors in AS3 Usage Doc October 12, 2009 02:28PM | Admin Registered: 15 years ago Posts: 310 |
@ TerryG
You are right, there was a typo in the previous version of the FlashEff2 documentation but it was fixed with the release of the current version. You are also right regarding the swapTransition issue which actually seems to be a bug in the FlashEff2Code component. I have tested the swapTransition with both version of the component FlashEff2 and FlashEff2Code and noticed that the error occurs only with the FlashEff2Code component. We have already added that bug to the Bug List and it will be fixed with the next major update. Till then you can only use the swapTransition with the FlashEff2 component. Thank you for your understanding on that matter and for your report.
You are right, there was a typo in the previous version of the FlashEff2 documentation but it was fixed with the release of the current version. You are also right regarding the swapTransition issue which actually seems to be a bug in the FlashEff2Code component. I have tested the swapTransition with both version of the component FlashEff2 and FlashEff2Code and noticed that the error occurs only with the FlashEff2Code component. We have already added that bug to the Bug List and it will be fixed with the next major update. Till then you can only use the swapTransition with the FlashEff2 component. Thank you for your understanding on that matter and for your report.
Re: Errors in AS3 Usage Doc October 12, 2009 04:48PM | Registered: 14 years ago Posts: 31 |
Re: Errors in AS3 Usage Doc October 14, 2009 11:41AM | Admin Registered: 15 years ago Posts: 310 |
Sorry, you do not have permission to post/reply in this forum.