Old 05-04-2008, 12:07   #1 (permalink)
Limbo
Bask
 
Limbo's Avatar
 
Join Date: Feb 2005
Posts: 5,175
Simple Flash Question

I want to replicate the functionality of the flash bar on this site: Web and Software Development - Switch I.T.

Thought it'd be quite easy, it probably is, but I can't get my head around the best approach.

Should I create a number of movie clips and have AS pull each one or do it from the timeline with layered transition tweens?

I started to do it via the timeline, but the transition effects I had applied will only work in a linear way - so moving from link 1 to 2 would be fine, as would 3 to 4, but clicking backward, e.g. 5 to 2 wouldn't work...

Any advice?
__________________
  Reply With Quote
Old 05-04-2008, 12:16   #2 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,293
Avoid the timeline as much as possible! Going back and making changes later is usually a right pain in the arse if you've animated via the timeline. Sometimes it's unavoidable, but not in this case thankfully.

Look into using Tweener. There's seperate AS2/3 versions and some examples to get you started.
__________________
Random goodness at The Blog

  Reply With Quote
Old 05-04-2008, 12:32   #3 (permalink)
Limbo
Bask
 
Limbo's Avatar
 
Join Date: Feb 2005
Posts: 5,175
Cheers Cam - I'll look at that - I can see that using the timeline would be a slow process, but I'd still be interested to know how, as classes are a book away from my knowledge...

__________________
  Reply With Quote
Old 05-04-2008, 21:26   #4 (permalink)
mconnors
Registered User
 
Join Date: Jun 2003
Posts: 8
I don't know if always avoiding the timeline is a good idea. Flash started as and still is an animation tool. I've programmed flash since version 3 and sometimes its just easier to move things around a timeline. When I have to fix a banner that has 1,000 lines of code I wish they had just did a stupid tween and I can call it a day. IMHO


PS- this tween class is pretty good...

hosted.zeh.com.br/mctween/doc_glowto.html
  Reply With Quote
Old 06-04-2008, 07:56   #5 (permalink)
cam
vague™
 
cam's Avatar
 
Join Date: Mar 2004
Location: Glasgow
Posts: 5,293
Quote:
Originally Posted by mconnors
I don't know if always avoiding the timeline is a good idea. Flash started as and still is an animation tool. I've programmed flash since version 3 and sometimes its just easier to move things around a timeline. When I have to fix a banner that has 1,000 lines of code I wish they had just did a stupid tween and I can call it a day. IMHO


PS- this tween class is pretty good...

hosted.zeh.com.br/mctween/doc_glowto.html

I said as much as possible, not always.

And fwiw, Tweener was developed as a successor for MCTween.
__________________
Random goodness at The Blog

  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8