Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: [flasher] RE: Jpeg 2 SWF - THANK YOU |
| From: | Jaguarwoman |
| Date: | Tue, 06 Mar 2001 19:36:25 -0000 |
Help request: What am I doing wrong with the Action Script for this little
Flash movie?
I am constructing a "practice" template, using Flash 4. The objective is
simply to combine some basic effects into a simple interface which I could
then expand on. This is the url:
http://www.jaguarwoman.com/jagflash/index.html
As you can see, there is a button that appears, and immediately after that,
a little Swish text animation. I'm showing it this way so that any kind
helpers can see the movieclip which I want to play on button release. I want
that button, on release, to CAUSE the Swish text effect animation to play .
. . and then stop . . . and then I will add other buttons. The end goal is
to have each button play a little movie when pressed.
I've tried the actionscipting according to both of the books I have AND
online tutorials at FlashKit, and I am obviously doing something wrong with
the actionscripting . . .
Here is a screenshot of the timeline, showing the button (which has a
10-frame motion tween from 0% alpha to 100% alpha), followed by a keyframe
where I've placed the Swish movieclip:
http://www.jaguarwoman.com/jagflash/example1.html
My first question is whether the button and the movieclip *should* be on the
same layer or whether the movieclip I want to play on button release should
be on another layer?
Here is a screenshot of the action I added to the button:
http://www.jaguarwoman.com/jagflash/example2.html
This *seems* to be according the instructions in all the books I have and in
the online tutorial at FlashKit.
Alas, the movie does not play on the button release.
Second question: is this the correct action script? What am I missing
here?
This is a screenshot of the movieclip timeline:
http://www.jaguarwoman.com/jagflash/example3.html
As per what I *perceive* to be the instructions in at least three different
places, I placed a Stop action in frame 1 of the movieclip, with the
intention that it would not play except on mouse release of the button.
Later, when I saw that the movieclip would not play at ALL on mouserelease,
I removed that Stop just so that I could show what I intended to do with
the movieclip. But . . . WITH the Stop in the movieclip, it did not play on
mouserelease. WITHOUT the Stop, it plays all righty, but automatically, at
it's own place in the larger timeline.
I hope I've given enough information for someone to help me troubleshoot
this, because I know it is such an elementary function that once I figure it
out, I'll be able to do a lot of things I want to do. I'm sure this is
something I'm missing as I go over the books and the online tutorials.
I'll bet there are some real savvy people on this list that could tell me
what is missing or awry in this equation?
Thanks in advance.
Dana
jaguarwoman.com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

