Solved

getURL from tweening-to-fade animation

Posted on 2003-11-07
8
2,706 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

688 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