Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com�s entire library of video tutorials.
Continuing my survey of interactive Director 11 behaviors we get to another very indispensable group and that is the animation behaviors, these are divided into three categories, automatic, interactive and Sprite transitions. Let me start with the interactive behaviors these contain several behaviors that I think are truly indispensable. The first one is one that I covered previously and that is the rollover cursor change, that will allow you to add a browser type cursor change to any interactive element in Director. In this case it adds a hand icon, queuing to anybody this is now a button, an interactive. Another very common behavior is the rollover member change, I think I have one right here, rollover member change, IÔve added to my photos label. What this does is allow you to swap out one cast member with another one, in this case notice that when I rollover photos in web I get a slightly different cast member for that button, one that has a border and its color, slightly lighter yellow there. Usually what you do is you create these cats members ahead of time, so if I open up my cast member window you'll see that I have a series of buttons here with borders, it's probably best to place these next to each other, makes it easier to find when you add the rollover member change behavior, but you'll see if I double click on this and I go to the Paint Window there's one of the photos buttons and I have others, not quite sure where those are located here in the student project, but ideally you want to put those together. There we go, there are the other type of buttons without the borders , so you'll notice that when you apply these behaviors, let's go back to the Code:Library and drag and drop a rollover member change on my main menu, I get a dialog here that says which cast member would you like to display when I'm rolled over that particular Sprite and you get a list there of cast members, you can see this is why its probably best to keep those cast members together so you can find it easily. For example now its going to swap out the monkey cast member when I rollover that main menu, not very effective but you get the general idea. Another of my favorite behaviors is the Avoid Mouse, probably easier to demonstrate this one then describe, notice that it has parameters here for the distance, what's going to happen here is that these Sprite will avoid my mouse and keep a distance of 53 pixels. Let's bring that up to about 75 or so, speed will be one thousand pixels per second and notice now when I play this movie back this Main Menu button will avoid my mouse, kind of a nice trick, perhaps for a game but its keeping away from my mouse. Also you have Avoid Sprite, let's go ahead and undo that behavior, again you can click on the Sprite, click on the behavior icon there to open up property Inspector once remove the Avoid Mouse behavior and now let's open up the code library and drag and Avoid Sprite behavior on that button. Here again I have avoid channel, this is going to avoid a Sprite in a specified channel, keep a distance and speed setting. Activate start, limited to Stage area, this will be a little bit unpredictable in that it avoids the Sprite in channel three, it's probably about me, that one there. Let's go ahead and remove the Avoid Sprite behavior and another one that I like to use is the, open up the Code:Library, the Sprite track mouse is interesting. Let's go ahead and for this one create a new Sprite here in one of the lower channels below here, let's go ahead, go down here to channel 34 and let's add this Sprite and stretch it out, good ways down the Score and now let's drag and drop the Sprite track mouse behavior to that Sprite and the parameters here are center Sprite on cursor, limited to Stage area. Let's go ahead and accept the default and now this time, the Sprite tracks where I'm moving my mouse cursor, again very nice for games and other kinds of interactive needs that you have in Director. But what's nice is, notice how easy it is to implement and use, gives you a lot of creative ideas for integrating interactive elements in your Director projects. Yet another very useful behavior here in the animation interactive category is the constrain to line, that's an excellent behavior to use if you want to set up a volume slider or scrub interface where that Sprite will constrain itself to another Sprite if that Sprite is aligned. Remember we also have here in the animation category the automatic category where you have something called color cycling; I can drag that onto that Sprite there. Here I have quite a number of parameters to set, color mode, palette or RGB, color cycles, color period, green, blue, you can see that what's going to happen here is let's go ahead and actually I need to take off that, oh there you go you can see that, that's transitioning the colors, cycling the colors for that graphic there. Let me go ahead and go back and remove that Sprite that's tracking my mouse and let's do that again, you can see that if I'm, wait for that to cycle through and now here its changing colors. I think at some point I lowered the opacity on that Sprite but its color cycling so its giving me an automatic animation for that picture. Let me now move onto the next movie and demonstrate additional behaviors as well as give you some more tips for working with behaviors in Director 11.
| Course: | Adobe Director 11 |
| Author: | James Gonzalez |
| SKU: | 33901 |
| ISBN: | 1-934743-84-4 |
| Release Date: | 2008-07-31 |
| Duration: | 9.5 hrs / 107 lessons |
| Work Files: |
Yes |
| Captions: | No |
| Compatibility: |
Vista/XP/2000, OS X, Linux QuickTime 7, Flash 8 |