Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-31-2004, 02:59 AM   PM User | #1
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
load flash animation on 'down' state rather than rollover

I've seen it before, and I can't remember, but I need the animation to play fully when a button is hit on the down state -- I've got the animation loaded into that state just fine, so building is not an issue... I know I can do it on the 'over' state easy since the animation will play as long as I have the mouse rolled over it... but it needs to play on the down state. Now, I'd have it click and animate a new movie, but the button IS the movie... we're making a bobble head I'll show when it's done!
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 07-31-2004, 03:46 AM   PM User | #2
mindlessLemming
Senior Coder

 
Join Date: Oct 2003
Location: Australia
Posts: 1,963
Thanks: 0
Thanked 0 Times in 0 Posts
mindlessLemming is an unknown quantity at this point
Bah?

I'm failing to see where the issue is arrising...
Care to share the .fla?
If you don't want to make it public, email it to me and I'll take a look
__________________

I take no responsibility for the above nonsense.


Left Justified
mindlessLemming is offline   Reply With Quote
Old 07-31-2004, 07:55 AM   PM User | #3
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
Ah, I'm just trying to get an animation to go on the 'down' state.

What I mean is, everything will animate fine on the down state, but only for the length you hold down the mouse button to activate the down state, if you release, it will stop animating right away. I want the down state animation to last 5 seconds.
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Old 07-31-2004, 11:46 AM   PM User | #4
mindlessLemming
Senior Coder

 
Join Date: Oct 2003
Location: Australia
Posts: 1,963
Thanks: 0
Thanked 0 Times in 0 Posts
mindlessLemming is an unknown quantity at this point
I'm having a very dumb day today
Ok, it's been 6 months since I even opened Flash, but how about putting a little AS on the down state that just tells a movie clip to play?
I believe the play() function is what you're after.
That suggestion seemed so obvious that I didn't want to say it first time round
__________________

I take no responsibility for the above nonsense.


Left Justified
mindlessLemming is offline   Reply With Quote
Old 08-01-2004, 01:08 AM   PM User | #5
bradyj
Senior Coder

 
Join Date: Apr 2003
Location: San Francisco, CA
Posts: 2,469
Thanks: 0
Thanked 0 Times in 0 Posts
bradyj is an unknown quantity at this point
I've scrapped it -- but the answer to that is that if you have the play button on the down state it'll effect the button look:
http://www.dotfive.com/russ.html

It was just a joke thing for my girlfriends brother, but we went with something else -- the head should bobble on the down state, not on the rollover state is what I'm after. If the play is added to the downstate, then I have to play that movieclip on top of the button, essentially showing the head.
__________________
// Art is what you can get away with. <-- Andy Warhol
...:.:::: bradyjfrey.com : htmldog : ::::.:...
bradyj is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:09 PM.


Advertisement
Log in to turn off these ads.