answersLogoWhite

0

http://theflashblog.com/?p=231

Basically create the timer, give it an event listener, and a function. Change your object using the function and start the timer.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

The tick event is found only in which object in visual basic?

The timer object or any object derived from a timer object. However, you can also create your own objects with a tick event. How that event is actually triggered is entirely up to you.


Timer in Flash - How to stop it?

Hello,I am learning how to make a timer to my game. It is something like "Who wants to be a millionaire?" I have 15 questions. There is timer for each question:60 seconds.... When I click on an answer I go on next frame, but my timer does not stop. What should I add ( and where ) to stop my timer when I clik an answer? My code for the timer is:timer = 60;countdown = function(){_root.timer--;if(_root.timer


In Actionscript 3 I want to set a timer so my object appears every 20 seconds?

var myTimer:Timer = new Timer(2000); myTimer.addEventListener(TimerEvent.TIMER, timerHandler); myTimer.start(); function timerHandler(event:TimerEvent) { if (myObject.visible false) { myObject.visible = false; } } If you have any more questions of this sort, go somewhere where people might actually help you, like ActionScript.org. 8)


How working of the microcontroller baesd industril timer?

There are different types of industrial timer like ON Timer, OFF timer, Cyclic Timer, sequential timer there basic function is the same to turn ON/OFF devices at particular time or after a specific durations check this link for a simple microcontroller based ON timer where where a device is turned ON for a specific duration after a switch is pressed http://www.dnatechindia.com/index.php/Code-Library/8051_ASSEMBLY/ON-Timer-Program.html here is another link for adjustable cyclic timer where a device is turned ON/OFF continuously for a specific duration http://www.dnatechindia.com/index.php/Kits/Microcontroller-Kits/Adjustable-Cyclic-Timer.html


When wanting to use a timer in JavaScript you should use?

In JavaScript, you can use setTimeout() to execute a function after a specified delay, and setInterval() to repeatedly execute a function at defined intervals. To clear a timer set by either function, you can use clearTimeout() for setTimeout() and clearInterval() for setInterval(). Always ensure to manage your timers properly to avoid memory leaks or unintended behavior in your application.

Related Questions

What is timer in vb 6.0?

A timer basically does an action every x milliseconds, this could be used to create a stopwatch function. You can set the delay time in the properties box for the object, bear in mind that you put the delay in milliseconds.


Need programming instructions for Noma Model 1506 timer?

instruction noma 1506


How can I set a timer for outdoor lights?

To set a timer for outdoor lights, you can use a programmable timer switch. First, plug the lights into the timer switch, then set the desired on and off times using the timer's controls. Make sure to follow the manufacturer's instructions for proper setup and programming.


How can I put a timer on a light switch?

To put a timer on a light switch, you can install a timer switch that replaces your existing switch. This timer switch allows you to set specific times for the light to turn on and off automatically. Simply follow the instructions provided with the timer switch for installation and programming.


The tick event is found only in which object in visual basic?

The timer object or any object derived from a timer object. However, you can also create your own objects with a tick event. How that event is actually triggered is entirely up to you.


How can I put a light switch on a timer?

To put a light switch on a timer, you can install a timer switch in place of a regular light switch. This allows you to set specific times for the light to turn on and off automatically. Simply follow the instructions provided with the timer switch for proper installation and programming.


Why is a timer function incorportated in a window heating system circuit?

A timer is often used in a heated rear window function to stop the circuit from over heating and blowing a fuse if forgotton about.


How do you measure height by dropping an object?

-- Take a heavy object and a stopwatch. -- Start the timer as you drop the object from the unknown height. -- Stop the timer when the object hits the ground. -- Read the time off the watch, in seconds. Square it. (Multiply it by itself.) -- Multiply that result by 16.1 . -- Now you have the distance the object fell, in feet.


How can I program a timer switch?

To program a timer switch, you typically need to follow these steps: Set the current time on the timer switch. Choose the desired on/off times for the switch. Program the switch to turn on and off at the specified times. Test the timer switch to ensure it is working correctly. Consult the user manual for specific instructions on programming your timer switch.


Can this be set to come on and off with a timer when I am gone?

Yes, this television can be set to turn on and off using the timer function. Just set the time in the menu.


How can you program onesto digital programmable timer switch PTS15A for a swimmingh pool motor?

To program the Onesto PTS15A digital programmable timer switch for a swimming pool motor, first, connect the timer to the power supply and the motor. Then, press the "Prog" button to enter programming mode. Set the desired on and off times for the motor using the hour and minute buttons, confirming each entry. Finally, exit programming mode, ensuring the timer is set to "Auto" to automate the motor operation according to your schedule.


How is the speed of an object measured?

By a timer and they see how long it takes the thing to cross the area