v0.03

Efflex v0.03 released, which will solve the transparent background issue. You need to set the ‘transparent’ prop to true on the effects itself.

Other Changes

The following affects have been added:

org.efflex.viewStackEffects.Pixelate

55 Responses to “v0.03”

  1. Mike Says:

    hi again! thnx for the feedback!
    I get an error: 1046: Type was not found or was not a compile-time constant: Matrix3D.

    might just be me, any1 else getting this?

  2. Michael Kroll Says:

    Yes, same here… do I need to add the papervision3D as well?

  3. JKuf Says:

    I’m also getting the error: 1046: Type was not found or was not a compile-time constant: Matrix3D.
    When I down grade to the previous version it goes away.

    My 2 cents

  4. Fernando Colaco Says:

    I am getting 1046 error too.

  5. Tink Says:

    This will either be from Papervision3D or some of the new Flash Player 10 stuff that I’ve built some effects for, are in the SWC, but I haven’t announced.

    Hopefully if you don’t use those effects, you shouldn’t need the Matrix3D class.

  6. Mike Says:

    I’m using Slide and coverFlowPapervision3D and i’m getting it. I’ll try some other effects instead, and tell u if it works.

  7. Tink Says:

    CoverFlowPapervision3D will required Papervision3D

  8. L337_Haxs Says:

    I tried downloading the papervision 3d swc and including it in the project but it is a no go. It appears as if the swc was compiled incorrectly.

  9. Mike Says:

    I tried only using GridZoom and Slide but the same, how can I exclude the ones that need the matrix3D? I’d appreciate it if someone that figured it out can give a hint. Again thnx for your work Tink!

  10. Fernando Colaco Says:

    Yep, still stuck too and back to 0.02 (with the background issue)

  11. Denis Mars Says:

    Awesome effects.. love your work..

    Just a heads up that your banner is not hyper linking to the correct destination – get a googleCode error when clicking on your top banner

  12. sebestenyb Says:

    I have a strange error with the examples:

    http://pastebin.com/f23ed6021

    Any idea about it?

    Also had problems using it in Air applications:

    http://pastebin.com/f10b2bcdf

    thx

  13. Tink Says:

    For those with the Matrix3D error I’ve uploaded a new SWC where I have removed Flex 4 / Flash Player 10, specific code.

    Efflex_v0.03_fx3_fp9.swc

  14. Tink Says:

    sebestenyb, you sure those errors are to do with Efflex?

  15. Mike Says:

    thnx so much man! works like a charm!

  16. sebestenyb Says:

    Hi Think.

    Well, if not, then I’ve got no idea. I only thing I did is imported the project linked in the http://www.efflex.org/orgefflexmxviewstackeffects/pixelate/ example’s view source page, http://www.efflex.org/examples/org/efflex/mx/viewStackEffects/Pixelate/srcview/MXViewStackEffectExample.zip I had to remove the Efflex library project linkage from the project settings, and instead of that I put the Efflex 0.03 swc into the lib folder, set the player version to 10 to get rid of the matrix3D error, and after compiling, it raises that RTE about the ColorPicker. Do you use some special version of Flex SDK, or anything, that is not out-of-the-box? There must be something in the swc, that conflicts with the framework I use, the 3.3 – or 3.2 too, I tried that. But sadly I have no idea – but that would be great, if we could track down the problem. Thank you, sebi

  17. sebestenyb Says:

    Hm in the meantime I tried the Efflex_v0.03_fx3_fp9.swc version, and thats working. Maybe the other is created in Flash Builder 4?

  18. Tink Says:

    Yep the other is Flex 4, Flash Player 10. Glad its working,

  19. OmegaSupreme Says:

    possibly dumb question… can these effects be used in “normal” flash without using Flex ?

  20. Tink Says:

    No, they require the Flex framework.

  21. tsemer Says:

    Hi Tink! thanks for this wonderful work.

    I have downloaded the src from google code (svn) and some of the effects are not there (coverflow effect).
    I have problem using your swc file because it conflicts with other libs of my projects and I get errors due to compiled libs with different SDKs.
    Is it possible to get the right source code of 0.03 version ?

    thanks again man

  22. Paul Says:

    Hi Tink,

    I apologize if the problem is just me, but I just can’t seem to solve this one error message.

    I’ve added both of these swcs to the library build path: fflex_v0.03_fx3_fp9.swc
    Papervision3D_2.0.883.swc

    and all effects work just fine as long as they don’t require papervision.

    But whenever I use an effect that requires papervision, I get this error during run time:

    ArgumentError: Error #1063: Argument count mismatch on org.papervision3d.render::BasicRenderEngine/renderScene(). Expected 3, got 4.
    at org.efflex.mx.viewStackEffects.effectClasses::Papervision3DViewStackInstance/render()[/Users/tinktink/Documents/tink/libraries/as3/org/efflex/mx/viewStackEffects/effectClasses/Papervision3DViewStackInstance.as:134]
    at org.efflex.mx.viewStackEffects.effectClasses::Papervision3DViewStackInstance/doubleRender()[/Users/tinktink/Documents/tink/libraries/as3/org/efflex/mx/viewStackEffects/effectClasses/Papervision3DViewStackInstance.as:128]
    at org.efflex.mx.viewStackEffects.effectClasses::FlipPapervision3DInstance/playViewStackEffect()[/Users/tinktink/Documents/tink/libraries/as3/org/efflex/mx/viewStackEffects/effectClasses/FlipPapervision3DInstance.as:100]
    at org.efflex.mx.viewStackEffects.effectClasses::ViewStackTweenEffectInstance/play()[/Users/tinktink/Documents/tink/libraries/as3/org/efflex/mx/viewStackEffects/effectClasses/ViewStackTweenEffectInstance.as:240]
    at mx.effects::EffectInstance/startEffect()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\EffectInstance.as:569]
    at org.efflex.mx.viewStackEffects.effectClasses::ViewStackTweenEffectInstance/startEffect()[/Users/tinktink/Documents/tink/libraries/as3/org/efflex/mx/viewStackEffects/effectClasses/ViewStackTweenEffectInstance.as:217]
    at mx.effects::Effect/play()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\Effect.as:930]
    at mx.effects::EffectManager$/createAndPlayEffect()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\EffectManager.as:716]
    at mx.effects::EffectManager$/http://www.adobe.com/2006/flex/mx/internal::eventHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\effects\EffectManager.as:575]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
    at mx.containers::ViewStack/childCreationCompleteHandler()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\containers\ViewStack.as:1212]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
    at mx.core::UIComponent/set initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
    at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]

  23. Rob Says:

    Fantastic!

    Thanks for the work Tink

    Rob

  24. Rob Says:

    Hi,

    I have noticed a rather big bug in the FadeZoom. If you change any of the properties:
    scaleXTo
    scaleYTo
    scaleXFrom
    scaleYFrom
    alphaFrom
    alphaTo

    The effect behaves in very strange ways, popping/flashing around. You can recreate this with the explorer by moving any of those sliders.

    Ideally I would like to reverse the effect on the previous child, so it fades out (like quitting an app on the iPhone).

    Thanks

    Rob

  25. Tink Says:

    @ Paul

    Efflex current uses the following version of Papervision

    Public Alpha 2.0 – Great White
    24.03.08

    @ Rob

    I’ve done some testing here and I believe this is down to incorrect values being used in the explorer. All values should be in between 0 and 1. Using these you should be able to achieve the effect you after.

  26. Brian Says:

    We are considering incorporating Efflex into a flex version of our website. I’m a bit concerned about the download size. Is it possible to get an swc with a stripped down set of features to minimize the download size? Or maybe a “core” edition with the base framework and additional swc files for individual effects?

  27. Tink Says:

    Hi Brian

    When you export a SWF only the classes that are referenced in the file are included in the SWF itself. I’m pretty sure this is still the case when using SWC’s.

    Alternatively you could checkout the source from the SVN.

    Be interested to see where you using it.

  28. din Says:

    when the effect is applied between two canvases why the intermidiatry color
    is white ,
    is there a way to make it trasperent where only the css applied color will be visible ?

  29. Tink Says:

    Hi din

    What effect are you using? Can you upload a sample of what your trying to do with source enabled?

  30. ramz3 Says:

    Hi,
    i want to use efflex with dynamic components added in a viewStack.
    can somme help

  31. Tink Says:

    http://www.efflex.org/examples/DynamicChildrenExample/

  32. Djam Says:

    I just checked out the code from http://efflex.googlecode.com/svn/trunk
    and faced some simple problems:

    1) org.efflex.mx.viewStackEffects.effectClasses.FlipPapervision3DInstance and
    org.efflex.mx.viewStackEffects.effectClasses.CubePapervision3DInstance
    at line27 have
    import ws.tink.utils.MathUtil;
    which is not present, I think it should be:
    import org.efflex.utils.MathUtil;

    2) org.efflex.mx.viewStackEffects.effectClasses.Papervision3DEffectInstance at row 88:
    Papervision3D.VERBOSE = false;

    and at row 134
    _renderer.renderScene( _scene, _camera, _viewport, true );

    are giving errors (I have Papervision3D_2.0.883.swc). I removed row 88 and removed the last parameter at 134, worked fine, but there might be a better workaround.

    Thanks for the awesome collection of effects!

  33. Adam Says:

    If I am compiling an app with Flash Builder 4 and Flex 4, can I use the MX viewStackEffects with Halo based components.

    I’m trying to use the List Effect with a component that extends HBox.

    For some reason I keep getting the following errors:

    1120: Access of undefined property hideEffect.
    1120: Access of undefined property showEffect.

  34. Tink Says:

    @ Adam

    Should work fine. Can you mock up a quick example with ‘view source’ enabled so I can take a look at it.

  35. Zee Says:

    Are there any install and usage documentation anywhere in a complete step by step process? Can someone email me if they have any or a link to installing and using this?

  36. neven Says:

    Yeah that sounds even more complicated as I do not have the external projects. Basically I am trying to create a new swc file because the one they have offered for download does not have some of the effects such as

    FlipPapervision3DTile and some others listed in http://www.efflex.org/EfflexExplorer.html

    why is that? Can someone produce a new swc for flex 3 ?

    thanks for your help!,

    Neven

  37. Andy Says:

    I believe at least the Efflex_v0.03_fx3_fp9.swc release is affected by the
    memory leak described here:

    http://sebleedelisle.com/2008/11/memory-leaks-in-papervision3d-patched-up/

    Profiling my application which uses CubePapervision3D seems to point to
    org.papervision3d.materials.BitmapMaterial having a Dictionary with a
    key/element which reference the same object

  38. Andy Says:

    Would it be possible to update the releases to fix the memory leak? If I can be of assistance in providing an example and more info, let me know.

    I checked out the source to try to fix myself, but I am unsure of the version of the dependencies. Using recent versions of Papervision, Flint and Tink have some incompatibilities. Addressing the incompatibilities with quick, obvious fixes caused changes in the effects.

    If it isn’t already specified somewhere that I am missing it, it might be helpful to indicate the dependencies in the Efflex project.

  39. Nic Says:

    Hello, Tink.

    I download the Efflex_v0.03_fx3_fp9.swc and combined it into my project. but when I used the flint2D effect, clicked the button and hoped to change the view as the sample, but the fact is the view that did not change as your sample. and no error when the app compiled. I want to know how to use the Efflex_v0.03_fx3_fp9.swc’s all effects. could you sent me a sample demo code?

    thank you for your help.

    Nic

  40. Tink Says:

    I would suggest you use the source not the SWC for the time being.

  41. Nic Says:

    ok, thank you very much.

  42. fisad Says:

    Hej Tink:

    You suggest use the source code but, your source code is not complete, the org.efflex.mx.viewStackEffects.effectClasses.FlipAway3DInstance is missing.

    Any idea???

    Thanks in advance;

  43. Tink Says:

    Should be in there now mate.

  44. fisad Says:

    Thanks Tink, you are great!!!

  45. Nic Says:

    hi, Tink
    the method called redrawBitmapDataTiles which is not in the package efflex\utils\TileUtil.as. and some effects will use this method.
    hope for your help. thank you!

  46. Alex Says:

    Hello Tink,

    First your job is very nice :) !

    Can I found somewhere the source code of the flex 3 version because my boss want me to have to sources and not only the swc. And I can’t move to Flex 4.

    Thanks for the good ideas.

  47. Tink Says:

    http://code.google.com/p/efflex/source/checkout

  48. Alex Says:

    Thanks Tink :)

    But :( The only project that I found in the repository is the flex 4 version.

    I have a Flex 3.0 version.

    Can you help me please because I really want to use your lib.

    Thanks in advance.

  49. Steve Says:

    I’m now hitting some Away3d issues around Vector type:
    Any ideas anyone ?
    Hopefully this is the final hurdle!
    (I’m trying to use the CubeAway3D effect)

    Type was not found or was not a compile-time constant: Vector. MXViewStackEffectExample/src/away3d/core/render AbstractRenderSession.as line 653

  50. Tink Says:

    Efflex currently uses version 2.3.6.

    You fancy taking up the challenge of making Efflex easier to use for others by compiling a new SWC?

  51. Steve Says:

    Last Issue with Away3d RESOLVED.

    Followed the instructions at:

    http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10

    All Efflex I’ve tried so far are working.

  52. Tink Says:

    The effects that use Away3D do not require Flash Player 10.

    The only reason I can see for this is that you have d/l a version of Away3D that requires FP10. If you get version 2.3.6. the effect will run in FP9.

  53. Steve Says:

    Tink:
    >>You fancy taking up the challenge of making Efflex easier to use for >>others by compiling a new SWC?

    I’m so pleased with the efflex effects now that honestly I would be glad to help but I’m guessing by that fact that this hasn’t been done yet that it might be beyond my current abililty to get it right :-(

  54. Jose Carlos Fiel Says:

    Hi Tink!
    Efflex is excellent, but I have a problem when using Google Maps API, the error occurs Sandbox (Security Error: Bitmap.draw). He cannot draw the Google Maps for lack of access policy. This can be solved? Have you seen this problem before?
    Thank you!

  55. Tink Says:

    Unfortunately this one is down to Google

    http://code.google.com/p/gmaps-api-issues/issues/detail?id=853

Leave a Reply