Skip to main content
Participant
January 25, 2014
Question

Please Help.Transition effects between scenes.

  • January 25, 2014
  • 1 reply
  • 2323 views

Hello,

I am simulating an Ipad device in flash CS6, with AS3, and I have made one scene for the desktop (with all the app icons) and another scene for each app.

I'm using buttons to navigate between apps (each app icon is a button), and made another button for the Ipad home button to go back to desktop.

By the way , I'm using this code for the buttons;

          btn_music.addEventListener(MouseEvent.CLICK, abrerep);

          function abrerep (event:MouseEvent😞void {

          gotoAndStop("1","Reproductor");

          }

It works fine , but I would like to add a transition effect (like a fade out, or something similar to what ipad actually do)  when you open an app or go back to desktop (change scene).

Any advice on how to do this?!!

I apreciate your help, thanks in advance.

PD: Also I would like to simulate a web browser app (like safari), that when you open it, it goes to a web site, for example www.apple.com

Any Ideas to this??


This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 25, 2014

Doing trransitions along a timeline using scenes is not very designer-friendly.  You are better off avoiding the using of frames and even the timeline.  Just have each section as a movieclip in one frame and control the visibility of each.  Then you can use Actionscript to fade things in and/or out as needed, while having the benefit of easily retaining the states of sections already visited.  You should be able to convert each scene into a movieclip by copying the timeline into a movieclip.

jaime2101Author
Participant
January 25, 2014

Thanks for answering,

Allright, It sound a little tricky, I though it could be easier.

What about the web browser thing?

jaime2101Author
Participant
January 26, 2014

I would like to open a web url inside the Ipad's frame.

Is there any way to do this?

Thanks in advance