Solved

getURL from tweening-to-fade animation

Posted on 2003-11-07
8
2,703 Views
Last Modified: 2010-04-03
I have built an animation of seven products that fade in and out. (On each of 7 layers I placed an image in four keyframes. The color of the first and the last were set to alpha: 0 and all keyframes were tweened. Each layer plays, in sequence, another product). Now I want the user to be able to click on any one of the 7 product images and be linked to a page of information about that product. How should I do this? Could someone please point me to a tutorial on how to produce something like this? I've browsed so much of the help files I'm cross-eyed and don't know where to start.

If you want to read some of the details:

I made sure that every instance was a button instance, and I attached action code to each one (with variatons on the id=###):

on (release){
getURL("http://www.beaconsglow.com/Category.asp?id=148", "self");
}


I put the action on the first frame of each animation sequence (which is color=alpha 0), on the second (color=none), on the third (color=none), and no action on the last keyframe (color=alpha 0).

You can see on http://beaconsglow.com/slideshow/bg_anim5a.html that the links work on the first (woolly bear), and the last three products (cluster of bears, three dolls, and blonde doll in black dress). The links do not work on the other three items. I have made sure the code was identical for all items, and that each instance is a button symbol....

Despite being certain that every instance is a button symbol, when I publish, I get these error messages (they pertain to the last two images in the sequence.)

Scene=Scene 1, Layer=wakeen, Frame=180: Line 1: Mouse events are permitted only for button instances
on (release) {

Scene=Scene 1, Layer=ginny, Frame=180: Line 1: Mouse events are permitted only for button instances
on (release) {

Scene=Scene 1, Layer=wakeen, Frame=185: Line 1: Mouse events are permitted only for button instances
on (release) {

Scene=Scene 1, Layer=wakeen, Frame=210: Line 1: Mouse events are permitted only for button instances
on (release) {


All advice will be much appreciated!!! Thanks in advance.

0
Comment
Question by:KKre
8 Comments
 
LVL 5

Expert Comment

by:zenlion420
ID: 9709246
can you please post your .fla?

j
0
 

Author Comment

by:KKre
ID: 9709805
Hi. Thank you for your response. I don't see a way to post files here on teh Expert Exchange, but you will find it on http://beaconsglow.com/slideshow/bg_anim5a.zip (http://beaconsglow.com/slideshow/bg_anim5a.html) and http://beaconsglow.com/slideshow/bg_anim5d.zip 
(http://beaconsglow.com/slideshow/bg_anim5d.html)

The 5d version works better, but not perfectly. The Actions were removed from the timeline, but the second (boy/girl dolls) and forth products (long-haired blonde doll) still do not show the links they should have.

0
 

Author Comment

by:KKre
ID: 9710510
I have resolved the problem!! Thank you for your interest in helping me. The problem was that I did not have the actions attached on every keyframe in the animation sequence.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 5

Expert Comment

by:zenlion420
ID: 9710700
Good deal!

I'll request that this be PAQ'd and pts refunded.  Glad it's working.

j
0
 

Author Comment

by:KKre
ID: 9710726
Thanks. I am new to Experts Exchange and don't really understand all the PAQs and Pts.  Best wishes, KK
0
 
LVL 5

Expert Comment

by:zenlion420
ID: 9710752
Welcome to EE.

This will help you get more familiar:

http://www.experts-exchange.com/help.jsp

j
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9711161
PAQed, with points refunded (50)

Computer101
E-E Admin
0
 
LVL 1

Expert Comment

by:GipsyKing
ID: 10229219
Hi,

I think ur problem is cuz u have put the code on the frame in wich the movieclip or button is and not on the button or movieclip itself,
remove the code and try to rightclick on the movieclip or button and choose actions.

good luck,
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question