PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sat Oct 20, 2018 3:36 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Jul 10, 2008 1:13 pm 
Offline
Forum Contributor
User avatar

Joined: Sun Jun 01, 2008 3:48 am
Posts: 158
Hi all,

I developed a little application which is supposed to do a certain action at specific times. Eg: at 0.35s it is supposed to move a semi-transparent bar and at 0.55 it is supposed to do it again. The moves are predefined in an xml file.
What do u suggest, what would be the best solution for this?

Thanx a lot...


Top
 Profile  
 
PostPosted: Sun Jul 13, 2008 6:53 am 
Offline
Forum Contributor
User avatar

Joined: Sun Jun 01, 2008 3:48 am
Posts: 158
Come on folks, I know that there is at least one person among you who knows the answer. :lol:


Top
 Profile  
 
PostPosted: Wed Sep 10, 2008 10:56 pm 
Offline
DevNet Master

Joined: Wed Feb 11, 2004 4:23 pm
Posts: 4872
Location: Palm beach, Florida
use settimeout function to add delays before function calls, put your moving logic in there

just call _root.obj._x += XincreaseAmnt;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group