Groups | Blog | Home
all groups > flash (macromedia) > february 2007 >

flash (macromedia) : Working with keyframes


Signas
2/28/2007 9:59:48 PM
Ok, just was hoping to get a little bit of help in this forum on a bit of an
issue I'm having with Flash.

Currently, I'm working on a project for class -- which is building my entire
portfolio in flash. I have different sections of my work and I'm having a
problem with transitions. This is what's going on.

I have different sections for different works. For example, I have a 2D
section, 3D, Interactive, Film, all that stuff. Each has a button, obviously,
that will take you to that corresponding section. Each button has its own
customized transition.

For example, when you click on the 2D button to navigate to the 2D section,
text comes across the screen that just says, "2D" and the same with every other
button. Each one of these transitions are on the root timeline. Also, each
transition is identified by a frame label.

btn_2d.onRelease = function() {
whereto = "2d";
gotoAndPlay("twodee");
};

"twodee" is the name of the frame label that the transition is on. The
"whereto='2d'" is simply lingo code because I'm publishing this in Director.

Now here's the problem. Each button plays their corresponding transition, but
then cycles through all the other ones for the other buttons also, so I've got
about six transitions that play before the right page displays.

So in other words, if I was to click the button to take me to the 2D section,
that 2D transition would play, then the 3D transition, and all the others. Once
all the transitions have played, I'm finally at the 2D page.

So my question is, is there a way to have Flash play only a certain number of
keyframes and then stop? I've tried a few things, but none have worked and have
been pondering this for a few hours trying to make it work, but haven't been
able to.

Any help would be greatly appreciated.




Signas
2/28/2007 11:41:24 PM
AddThis Social Bookmark Button