473,408 Members | 1,728 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

looping a timeline with speed change..?

1
Hi all - first post!


anywho;

I need to create a function for speeding up and down a looping clip.

imagine a rotating object, triggered by an action, and slowly decreasing in speed, till it reaches a point 0 (compare a hand spinning a fortune wheel).
now, this is quite an easy this to achieve, since you just have to set an interval to increase rotation, with a value that decreases over time (on every call), till it finally reaches a stop.

BUT: how to create the same effect by playing a looping clip? say i want a 3D effect, which I cannot script since it's based on actual photos, and hence needs to be developed over a timeline, that needs to snap back to the beginning after every cycle.

since a looping clip (at least as far as I know) can basically only be achieved by having the last frame call a gotoAndPlay/-Stop(1), the playhead MUST hit the last frame, and so effectively every frame needs to be hit on every cycle, which means that to increase/decrease speed can only be done by changing the speed of the interval that calls the nextFrame().

so, how to do this? I have tried nesting one interval in another, where the containing interval changes the interval value of the inner on every cycle. but I can't get it to work...

appreciate all input/new ideas! think I might have dug myself into a hole here, as far as thinking "out of the box" concerns. :)
Jan 28 '07 #1
0 1945

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: krose | last post by:
I am looking for a control that would look like a timeline (12 hours) which would allow the user to click at a particular location on the timeline, then allow characteristics to be associated with...
13
by: JayCallas | last post by:
I know this question has been asked. And the usual answer is don't use cursors or any other looping method. Instead, try to find a solution that uses set-based queries. But this brings up...
17
by: jshanman | last post by:
I am working on a timeline API that devevelopers can use to add a dynamic timeline to their sites. Here is a *working* demo of the basic interface. (it works for me anyway on ie6 & firefox 1.5)...
1
by: Doug Laidlaw | last post by:
I am running a genealogy site. I want to implement a graphical timeline running horizontally, with events written at 45 degrees, for example. I can do that with a graphic, but the graphic would...
2
by: monteverest | last post by:
I have a movieclip with 15 frame of animation nested on the main timeline. I want to code a delay on the nested clip so that when the playhead reaches the final frame, the nest clip will stop or...
0
by: nbt725 | last post by:
Dear Sir, Hello ! I have use simile timeline. (http://simile.mit.edu/mail.html). I am new to timeline and would like to do following, please guide me. In my timeline I have created 2 bands one...
3
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
My boss would like a calendar looking webpage that shows events and a timeline on the calendar. Similar to something you see in Outlook when you schedule an event that lasts more than one day, but...
1
by: doublestack | last post by:
Hi everyone, I have a xml file that Simile Timeline uses to call events...Some of the events have links in them and I need to have those links open a new window. As it stands now the links replace...
5
by: doublestack | last post by:
Hi everyone, I have a xml file that Simile Timeline uses to call events...Some of the events have links in them and I need to have those links open a new window. As it stands now the links replace...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.