liveacoustic
January 15th, 2002, 04:54 PM
I'm kind of embarrassed I'm having trouble with this, but I guess I'm still just a Young Flash Padwan...
I'm trying to use switches in a Flash project I'm working with right now, but in the process I've discovered that either there's something I don't know about setProperty, if, or both.
The first thing I wrote was for a button's actions:
on (release) {
        set ( dog, 1 );
                gotoAndPlay (2);
        }
... and then on frame 2 it transists until frame 10 where, for the frame's actions, I typed:
if (dog == 1) {
        gotoAndPlay ("Film", 1);
}
... but for some reason it just goes back to frame 1 in the same scene.
Thanks in advance.
I'm trying to use switches in a Flash project I'm working with right now, but in the process I've discovered that either there's something I don't know about setProperty, if, or both.
The first thing I wrote was for a button's actions:
on (release) {
        set ( dog, 1 );
                gotoAndPlay (2);
        }
... and then on frame 2 it transists until frame 10 where, for the frame's actions, I typed:
if (dog == 1) {
        gotoAndPlay ("Film", 1);
}
... but for some reason it just goes back to frame 1 in the same scene.
Thanks in advance.