Solved

Dreeamweaver animation timings a crapshoot?

Posted on 2004-08-25
2
191 Views
Last Modified: 2013-11-19
Dear Experts,

Has anyone discovered problems with the accuracy of Dreamweaver's timeline timings? I get a margin of error of up to 2 to 3 seconds for wait sequences from about 40 to 300 frames in length. I have not been able to pin it down to anything: its a wait period, right, and nothing else is going on, so what could account for it other than flaky animation code?
0
Comment
Question by:metalaureate
2 Comments
 
LVL 8

Accepted Solution

by:
alexhogan earned 500 total points
ID: 11899321
The timeline is a wonderful addition to Dreamweaver as long as you are using it for DHTML.  The level of sophistication that you can achieve is truly amaizing considering the minimal amount of time that is required to develop the simple anims.

However it is not a reliable way to achieve true timing for something like a wait action.  The timeline will accurately achieve motion using frames per second once the initial download of the graphics is complete.

For something like a wait action you should use some simple javascript.  This will time off of the users machine and give you accurate results.

For example;
function mytime{
  setTimeout("moretext()",1000);
}
function mytext()
{
  document.myform.mytext.value="I have just waited 1 second.";
}

Will change the value on a text field named 'mytext' to read 'I have just waited 1 second' after a one second wait once the function mytime has been called.

0
 

Author Comment

by:metalaureate
ID: 11899414
Thanks, that is at least a workaround. I can split all the anims into separate Timelines, if there are delays between the animated object, and then use a JS function such as you describe to start the Timelines.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now