?
Solved

Dreeamweaver animation timings a crapshoot?

Posted on 2004-08-25
2
Medium Priority
?
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
alexhogan earned 2000 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

765 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