Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: [flasher] Help with action script to play movieclip
From: Karin Christensen
Date: Fri, 09 Mar 2001 19:33:25 -0000

Wow, what a well prepared question. It is a little hard though to
tell where your movie clip instance is. If a movie clip will not play
there are generally a few common reasons. It looks like your movie
clip exists in the layer btn1 right? If so there are three keyframes
where the instance resides. You need to make certain the movie clip
instance is named in all three of those key frames. It is a common
mistake to have a movie clip tween then only name it in the last
keyframe. It will not target correctly if you do that.

The movie clip should have an instance name then in the button action
tell target it to go to and play. I don't see that you have done that
in the button actions. You are telling the main time line to go to a
frame number and play. In addition the button action just states on()
You have not selected release.

So in essence your splash movie clip should have an instance name,
I'll call it splash then your button action scripting would look
something like this:
on mouse event (release)
tell target ("splash")
go to frame label 2
play
end on
(the syntax isn't correct, just suggestive)


The main problem I see it that you are not using tell target, which is
what you need to do to make a movie clip play from a button.


Karin



> 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
>





[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]