There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell display driver drivers email error excel explorer firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware network networking outlook outlook 2003 outlook express partition password printer problem ram router security slow software sound trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
rollOver flash movie


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Gordian's Avatar
Member with 47 posts.
 
Join Date: Aug 2004
Experience: Intermediate
12-Sep-2006, 10:36 PM #1
Smile rollOver flash movie
Hi, I'm searching for some different ways to run a flash movie as a button. The movie starts out with an image, and then fades into some text, nothing fancy . The problem is flash isn't letting me use the on() event handler. I'm clueless as to how I could use
object.eventMethod = function () because I don't know if object.rollOver even works, and if it does, do I have to do something to the timeline in flash (add frame labels, put in stop functions, etc.) I've searched through google for some ideas, but I'm still too new to flash to understand any of it, and I only have a few days to get a site up and running with these rollOvers. If someone could help me through the steps It would be truly appreciated, Thanks.
covert215's Avatar
Account Disabled with 2,651 posts.
 
Join Date: Apr 2006
Experience: Web Designer
12-Sep-2006, 10:47 PM #2
Simply create a button symbol in flash. The button symbol has 4 frames, Up, Down, Over, and Hit.

Be sure to put a keyframe in each frame.

Up- What you see when the button is up
Down- What you see when the button is clicked on
Over- What you see when the mouse rolls over the button
Hit- This frame cannot be seen. Simply fill in the area that you want the button to be clickable.
covert215's Avatar
Account Disabled with 2,651 posts.
 
Join Date: Apr 2006
Experience: Web Designer
12-Sep-2006, 11:01 PM #3
Some other things:

The on() handler will only work with button symbols. The code must be applied to the button, not the stage.

Your whole flash file should be 1 frame with the button placed on it.

If you want to create animation within a specific stage of the button, use a movieclip symbol. Animate within the movieclip and place that in the button.
Gordian's Avatar
Member with 47 posts.
 
Join Date: Aug 2004
Experience: Intermediate
13-Sep-2006, 12:50 AM #4
There seems to be a problem. since this is my first button, it is most definitely my fault, but when I test the button, the rollover doesn't work, but it does show the different pictures when i loop it. I put the movie file in the "over" frame and added in the pictures im using into the up frame, hit and down frame. Its not just the test movie area, when i put it on a blank webpage the same thing happens. Any solutions?
P.S. thanks for quick reply!
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:28 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.