1. #1
    Sencha User
    Join Date
    Mar 2013
    Posts
    3
    Vote Rating
    0
    spragueminger is on a distinguished road

      0  

    Default Newbie question: Issues in creating a replay button

    Newbie question: Issues in creating a replay button


    New Animator question here. I'm trying to create a replay button that displays a quick animation when you hover over the button and then replays another animation all when clicked. I'm using the Scenes and Actions panels to do this.

    I have the Scenes broken up like this:
    1. Main Animation (this is what I want to replay).
    2. End Scene (the last frame of the Main Animation with no animation)
    3. Replay (the End Scene with the replay animation on continuos loop)
    Using Actions, I have Scene1 go to Scene2 when it's finished playing (End). Then on my replay button in Scene2, I have go to Scene3 with mouseover and go to Scene 1 with click.

    The replay of Scene1 works fine except when the mouse scrolls off the button. Then the animation stops and jumps to Scene3. How do I set my file up so that the replay runs all the way through Scene1 even if the mouse scrolls off the replay button?

  2. #2
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Hi,

    Would you be willing to share your project? You could either send me a PM or post it here.

  3. #3
    Sencha User
    Join Date
    Mar 2013
    Posts
    3
    Vote Rating
    0
    spragueminger is on a distinguished road

      0  

    Default Here's the file with the replay button issue

    Here's the file with the replay button issue


    While I can't share the original project, I've attached a stripped down version that mirrors my issue.

    I can get the Replay button to play the Main Animation, but if I scroll off the Replay button, the animation stops and snaps to the either the End frame Scene or the Replay Scene.

    Any ideas are greatly appreciated.
    Attached Files

  4. #4
    Sencha User arnebech's Avatar
    Join Date
    Jun 2010
    Posts
    498
    Vote Rating
    10
    arnebech will become famous soon enough

      0  

    Default


    Thanks, I took a look at it. It is not exactly clear to me what you want to accomplish so let me know if I am answering the wrong question

    I found two issues.
    1) When in the replay scene, and you click the replay icon, the mouse out event gets fired because we moved the element the mouse was over since we change scene, and the browser will fire that even on first mouse move. To work around this, I added a flag to the start action of the scene, and the reset the flag when the replay button is clicked. If the mouse out action is fired, we can check and see if the flag is set and decided to do nothing if the flag is not set.

    2) I removed the mouse over action in the first scene for the replay_arrow. This doesn't really affect much since the arrow is just faded it fast at the end of the scene and then it will switch to next scene where the action is attached.
    Attached Files

  5. #5
    Sencha User
    Join Date
    Mar 2013
    Posts
    3
    Vote Rating
    0
    spragueminger is on a distinguished road

      0  

    Default Thank you.

    Thank you.


    You fixed the issue that I was having. Thank you!

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."