I was wondering if anyone could help. Not sure if I should post this message here or in the ActionScript section.
I was wondering if anyone know how to get a zooming effect… have a look at SoFake .
I can imagine how half the stuff can be done, but I’m not sure about the transitions. If you press the last button for example, and then the first button it plays through the whole lot.
I don’t want to use this for a website or for a project. Its just one of those want to know things. I’m always building a little library for myself with various flash things. Interesting to have.
I reckon you do that effect with just simple tweening.
If you use a picture bigger than the display area (with unwanted stuff round the excess space), you can put it in on a click then motion tween it out until only the bit you want is showing.
So it looks like it’s zooming, but you don’t have the trouble of making it go from tiny to large, as it already filled the screen when the picture loaded.
If that makes sense.
If it didn’t I can whip up a quick example for you…
If you mean what I think you mean, then you just have to make each section + transition into a separate movie, place them on the main timeline (off the screen for example), then assign each button an onClick() function with gotoAndPlay() to call up and make visible the correct movie.
Just keep a flag of the current movie - a single global variable that holds a number to say what movie you’re on. Then check that to see what other movies to run.
cool, thanx for that advice i will try it… don’t know when yet, because it was just something i saw and thought i want to do something like that… but if and when i do it i will most definately post a copy of it
i’m familiar with functions… why? what did you have in mind… so far i have a basic setup… zooming from one to two to three to four to five to six, and back… but i only have one button… only need to figure out how to do to make the multiple buttons work…
each level sets a global variable with a number… i traced the values and tested through all levels to make sure the numbers are correct.