Fade

This movie requires Flash Player 9

6 Responses to “Fade”

  1. Karsten Gerber Says:

    Hi!

    First I want to thank you for your great work! I really like it but i have a problem and i already spent hours debugging your code and the flex core classes. I have tryed to use the fade-effect an it works, but only for the element in the view-stack that is to be shown. The one to be hidden will always stay at alpha=1 until the the other one has reached alpha=0 and then is suddenly hidden. I have changed your example to show what i mean:

    I have also tryed to define a fadeIn and a fadeOut-effect with alphaFrom and alphaTo set. I am affraid, that the Movieclip to be hidden is set to visible=false inside of flex-classes and so the tweening-engine ignores the change on the alpha-property.

    Do you have any idea? It would help me very much, so i will not have to write my own ViewStack and Effect classes.

    Greetings from Germany
    Karsten

  2. Karsten Gerber Says:

    okay… sorry, the code has been removed…

    so i will have to explain the changes i made to the code. very simple. i just changed the height-properties of the three canvas from 100% to first 100, second 250, third 500 and the height of the viewStack to 500.

    Greetings again

  3. Tink Says:

    Hey Karsten

    “The one to be hidden will always stay at alpha=1 until the the other one has reached alpha=0 and then is suddenly hidden.”

    This is the expected functionality, you either fade the new child in on top of the old one, or fade the previous child out, to reveal the new child underneath. You can specify which you child you want the effect to apply to using the “effectTarget” property (’nextChild’ or ‘prevChild’).

    It might be clearer to look at the explorer.

    If I’ve mis-understood the problem, please can you host your example somewhere with ‘view source’ enabled, and I’ll take a look at it.

  4. louie Says:

    Hi..

    Im a student from the philippines..Taking up Info tect..
    Im just wondering where I can get codes for this effects..Im currently working on our project..Im fascinated by this effect in viewstack..I really want to know where to get it..

    Hoping for your response..

    thanks..

    God Bless you all..

  5. Tink Says:

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

  6. louie Says:

    Thanks a lot…

    but i don’t how to apply what i had downloaded??..the efflex 0.01.swc..

Leave a Reply