Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
So we know that with Flash Catalyst, we can use something called the Smooth Transition to have elements fade in gracefully inside of our application. In this case here, I have a transition that goes from MainView to Growing. That's from this page to this page. I haven't set a smooth transition for this Interaction. So I can click on the Play button here inside of the Timelines panel to see that those elements instantly appear. However, just having the elements fade in itself, don't quite do it for me here. I'd like to do something little bit more different.
For example, maybe I want that dark background panel to slide into position. So let's see how I might to do that. First of all, we know that inside of Flash Catalyst in order for me to create any type of movement, I need to have a start and an end point. Right now on the Growing page, this black panel is just sitting here. So when I add a Smooth Transition that element simply appears in place. So what I'll need to do is change the position of this rectangle in the start point of my transition.That's going to be on the MainView page.
So by going back to the MainView page, I'm now going to go over here to the Layers panel and reveal the elements in the Panels folder. I'll scroll down and remember that we created that rectangle inside over here at the Screen folder. I'm going to turn on that Screen layer. I don't need to see the button, so I'm going to leave the button turned off, but now this Rectangle is visible both in the MainView page and also the Growing page. Let's go back to the MainView page, and now I'm going to change the position of this rectangle. That way it'll start in one position but end up in a completely different position on the Growing page.
I can either use my Selection tool here to click it and then drag it down. I'm going to hold down the Shift key as I do this, so it's constrained directly downwards. Or since I know that my application right now is exactly 400 pixels deep, I can just come here to my Properties panel, highlight the value for the Y coordinate and change it to 400. When I hit Enter, the rectangle will now be positioned directly beneath right outside the artboard. Notice by the way, what just happened here inside the Timelines panel. For this interaction MainView to Growing, I can see that the rectangle appears both in the MainView page and in the Growing page.
However, they appear in different positions between those two pages. So Flash Catalyst automatically specified a Move Transition. In other words, when I move from the MainView page to the Growing page, both the Growing (Layer) and the Close_Button layer, which are not visible right here in the MainView page, will both Fade In. The Rectangle though, which is visible in both of these states, will actually move into position. However, since I haven't specified any duration or since I haven't created a smooth transition, both of these things happen instantly.
So if I click on the Play button here to preview this, I can see that it simply goes from one state to the next. However, now I'm going to click on the Smooth Transition button. By adding a one second Duration to each of these affects, both the Fade Ins and the Move, now when I play this back, I'll see that bar actually slides into place and my elements appear. Let's preview this in our web browser to see how it looks. I'm going to choose Run Project here from the File menu, and in my web browser, I can now see that if I click on this first button, the actual black rectangle slides in from the bottom and the elements now fade into place.
So when working with Flash Catalyst, we can go way beyond just the usual fades. Making things move is really easy.
Get unlimited access to all courses for just $25/month.Become a member