473,804 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

looping a timeline with speed change..?

1 New Member
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 1965

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

Similar topics

5
5675
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 that point. Free or For Profit either one. The idea is I am developing an activity tracking system for a manufacturing environment where they want to track activities that are occuring throughout a shift. Activities have start and stop times...
13
5030
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 several questions / senarios: * I created several stored procedures that take parameters and inserts the data into the appropriate tables. This was done for easy access/use from client side apps (i.e. web-based).
17
5060
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) http://www.endeavorpub.com/wiki/timeline.html Please tear apart my code and tell me what I'm doing wrong so far...
1
2949
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 need to be replaced every time. Could I implement it with CSS? I am open to all suggestions, and then I will migrate to the appropriate newsgroup. I already have a vertical "timeline" with no graphics at...
2
2039
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 freeze for several seconds. The problem, I think, is the main timeline is only 1 frame, thus my code does not persist long enough to recognize that playhead on the nested clip ended. here's my code: main timeline if (nestedClip._currentframes ==...
0
1971
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 for year and other for month and added the synchronization script between bands so that moving any of them scrolls other also. 1) What to do to scroll timeline vertically meaning if I have so many entries in one month to display in...
3
2235
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 using a start and end date stored in our application's database. I've never used Outlook like this and do not know if I can, so I am wondering how to tackle this problem. Can I do this using Outlook components? If so, is there a good example to...
1
4520
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 the timeline. Simile Timeline uses DHTML and AJAX. Any suggestions? Sample of code: <data> <event start="Jun 02 2008 09:00:00 GMT" end="Aug 02 2008 16:00:00 GMT" isDuration="true" title="Internship at LMC"...
5
3304
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 the timeline. Simile Timeline uses DHTML and AJAX. Any suggestions? Sample of code: <data> <event start="Jun 02 2008 09:00:00 GMT" end="Aug 02 2008 16:00:00 GMT" isDuration="true" title="Internship at LMC"...
0
9712
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10089
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9171
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5530
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.