Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: help, with fading image! |
From: | Joseph Troha |
Date: | Mon, 4 Oct 1999 10:27:28 +0100 |
Hi,
I am kind of new to all this aswell but I will try:
Make sure the image is a symbol. Make a new movieclip (MC) and in the very first keyframe position your image symbol and apply a "stop" action, on the second frame make a new keyframe and label it "play1", tween this frame to fade from 100% to 0% between two key frames (set your alpha on both key frames before tweening). Apply another stop action at the keyframe at the end of the tweened sequence.
Also make another symbol and fill a box with a colour roughly the same size as the image, this will act as a dummy button.
Now, within the main movie time line and in only the first keyframe, place that MC into position onto the stage and once in place, double click on it to bring up the "instance properties" dialogue box. Give your MC an instance name like "mc_image1" and make sure the behaviour is set to movieclip.
Place your dummy button symbol onto another layer in the same keyframe and bring up the "instance properties" for that aswell. Here select the "button" property and the "track as button" option, set your alpha to 0% and then select the "action" tab and apply the following:
on mouseevent:
on (Release)
tell target (mc_image1) <<place the instance name as above,
in the lower right field named "target"
goto and play (play1) << the "play1" is the label you
placed in the second frame of the tweened MC.
end tell target
End on
Now test your movie and click on the image, the image should fade from 100% to 0%.
I hope this is O.K and that you can understand it.
cheers, Joe.
Then within the main time line add an action to the keyframe
Jonas wrote:
How do I get a picture to fade out upon clicking on it?!--
I just can´t get it to work.Jonte!
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managerchinwag [dot] com. Problems to: helpchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managerchinwag [dot] com
Joseph Troha
Creative Factory
Level 3, 30 Inkerman Street
StKilda, Melbourne, Australia
v> +61 3 9593 8882
joecreativefactory [dot] com [dot] au
www.creativefactory.com.au
Replies
Re: FLASH: Lockup Problems with Flash4, Marc Hoffman (Dart Frog M
FLASH: help, with fading image!, Jonas
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]