Solved

getURL from tweening-to-fade animation

Posted on 2003-11-07
8
2,699 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Does Flash have a Firefox problem? 5 312
Flash being Disabled - help! 20 337
Adobe Flash Free Transform Tool 2 128
Flash builder 4.13 list scroller does not work 1 37
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

911 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now