Flasher Archive

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


Subject: Re: FLASH: another question...
From: Cheri Harder
Date: Sat, 4 Dec 1999 17:29:37 GMT

Hi, Michiel:

I have a button in a movie clip on the main timeline. The following
action script is on the instance of the button in the movie clip. The main
timeline goes to frame 5 when button is pressed & released, and the movie
clip goes to frame 2:

On (Release)
Begin Tell Target ("../")
Go to and Stop (5)
End Tell Target
End On
On (Release)
Begin Tell Target ("")
Go to and Stop (2)
End Tell Target
End On

A couple of easy mistakes to make would be

1) Incorrect placement of the action script. "Event Handlers and Actions on
buttons must be placed only on button instances on the stage, not on the
four frames in the timeline of the original button symbol. Though the
Actions tab is available in the Frame Properties dialog box of button
frames, Actions placed on those frames are ignored." from an excerpt from
the upcoming THE FLASH 4 BIBLE (IDG BOOKS) by robert reinhardt and jon
warren lentz (with chapters by colin moock) quoted from colin's web site at
http://www.moock.org/webdesign/books/flash4bible/eventhandlers.html

2) Wrong path reference. Referring to your paths to your targets is easy
to confuse. There is an excellent table at the "other Flash Bible"
(maintained by John Croteau, whose book is also due out shortly) at
http://www.flashbible.com/members/TellTarget/Paths.htm and a great
interactive diagram by Dorian Nisinson at
http://www.flashbible.com/members/TellTarget/TTdiagram.htm

Hope this helps (& hope I got all the credits right!)


~~~~Cheri Harder~~~~~
Advantage Web Solution
"For all your web site needs!"
www.awsolution.com

> Now I've got another problem. I've got an animating movieclip with a
couple
> of buttons in it.
> When a user clicks on those buttons the movie (main timeline) should jump
> to other sections.
> However, the tell target ../, go to and play function does not seem to
work.
> Neither does it work when, for example,I try to control the movie clip in
> which the buttons reside using those buttons (e.g. tell /[movieclipname]
to
> stop or play in case of a rollover).




flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: another question..., Michiel Overeem

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