• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

Dreeamweaver animation timings a crapshoot?

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
metalaureate
Asked:
metalaureate
1 Solution
 
alexhoganCommented:
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
 
metalaureateAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now