Flash Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignFlash Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 15th, 2009, 08:27 AM
adam_a adam_a is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 2 adam_a User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 9 sec
Reputation Power: 0
Shape & motion tween in discrete steps

hi hope someone can help me out. i'm new to flash and haven't used actionscript before.
i put a shape tween on the timeline that shrinks a shape a certain number of pixels in a given time. my problem is that it shrinks too smoothly in the movie - I need it to shrink in a step by step fashion, and i'd like to be able to specify the number of steps. i'm hoping that there's a simple parameter that i can use to do this, may be in AS. or may be there would be a way to slow down this tween ? by changing the fps locally without effecting the rest of the movie?
but i'm stuck
i'm looking for a solution that will work for motion tweens too, but imagine that the principle will be the same
also, as a second question, is it possible to tween a bitmap tint color style so that it changes from say red to green over a number of frames?
i'd be very grateful for your advice
many thanks
adam

Reply With Quote
  #2  
Old June 15th, 2009, 04:33 PM
scottyp2 scottyp2 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 13 scottyp2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 26 sec
Reputation Power: 0
Timer

Can't you put a timer in between the steps?

Reply With Quote
  #3  
Old June 16th, 2009, 07:18 AM
adam_a adam_a is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 2 adam_a User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 9 sec
Reputation Power: 0
hi there, thanks for your message, if i understand you right, you're saying that i could set up a timer object in action script that triggers an event to shrink or move my object by x number of pixels. in which case i wouldn't need a tween at all.
hope i got that right?
i've got a major question about this approach
would it mean i couldn't see the actual position or size of objects on the stage while i build the animation? generally i work frame by frame, its like cell by cell animation, so i need to know exactly where objects are on the stage when i click on any frame on the timeline. as far as i understand, an AS timer driven event would only appear at run time, no?
hope this makes sense
cheers

Reply With Quote
  #4  
Old June 16th, 2009, 12:12 PM
scottyp2 scottyp2 is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2009
Posts: 13 scottyp2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 9 m 26 sec
Reputation Power: 0
Something like that.

Something like that. Event --> timer delay --> Next event

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignFlash Development > Shape & motion tween in discrete steps


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
Stay green...Green IT