How to set the delay between 2 controls

I do two tests.

I want to run first test

After 5 sec run 2nd test. How to do this?

I play small preloader in that mouth of time 5 sec?

Code:

//OS Version Test

osVer.text = Capabilities.os;
osResult();
function osResult():void
{
          if (osVer.text == "Windows XP" || osVer.text == "Windows 7" || osVer.text == "Windows Vista" || osVer.text == "Mac OS X.Y.Z")
          {
  Pass1.visible = true;
  Fail1.visible = false;
          }
          else
          {
  Pass1.visible = false;
  Fail1.visible = true;
          }
}


// Screen Resolution Test

screenRes.text = (String(Capabilities.screenResolutionX))+ " x " +(String(Capabilities.screenResolutionY));
screenResResult();
function screenResResult():void
{
          if (Capabilities.screenResolutionX >= 1024 && Capabilities.screenResolutionY >= 756)
          {
  Pass2.visible = true;
  Fail2.visible = false;
          }
          else
          {
  Pass2.visible = false;
  Fail2.visible = true;
          }
}

It is deprecated but still used and it is easier than a timer:

import flash.utils.setTimeout;

NOTE: do NOT put in brackets at the end of the function name.

setTimeout (screenResResult, 5000);  Run screenResResult() after 5 000 milliseconds (5 seconds).

Tags: Adobe Animate

Similar Questions

  • How to set the time between slides in a slideshow (iPhoto, el capitan)

    How to set the time to say - 5 seconds or 20 seconds - between slide show photos in iPhoto. I use el capitan.

    See the Settings button at the bottom right of the toolbar (at the bottom of the slide show). Click on it and you have a small window with two tabes, refers to all the slides, the other to the selected slide. You can make your choice

  • How to set the delay of frame for an animation in PS?

    I've created an animation I want to convert a gif to put on a Web site. When I put the gif on the Web site and check it out there is a delay of 5 seconds or more before it starts to play. I think it's because of the delay of the frame however it is not obvious to me how I can change the delay in Photoshop. Any advice?

    My apologies for the late reply.

    It turns out I had set the animation to start 6 seconds after that that he had loaded in revolution Slider on the timeline. I put it at the beginning and it worked fine.

    Thanks for your help on this.

  • How to set the time between workstations and Server 2008 R2

    Hello world

    I have problem with my Server 2008 R2

    all the workstations on my company doesn't synchronize the time on the domain controller

    I tried many ways to set up automatic synchronization via command prompt (Net time) and its does not work

    Please help me configure the time between the DC and the workstations

    Thank you

    Windows Server forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • How to set the type default XControl 'control '?

    Hi all

    LabVIEW 2009 + DSC

    How can I configure the type default XControl be 'control '? For example when I drag and drop the Xcontrol VI project is always kind of indicator, and I want it to be a control. Of course I can change it manually after a fall, but when there are many XControls that takes time.

    BR, Jim

    In the façade VI you can get the "change management event" uses the following code to be an "indicator only.

    The same code can be used in the init State.

    Tone

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • I'm using Labview TDS3000 Tektronix pilot measures the delay between pulses on two different channels

    I use the driver for Tektronix TDS3000 Labview to configure an TDS3034B oscilloscope and I try to measure the gap between the falling edge of a pulse on channel 1 and the edge failling from an impulse on channel 2. It seems that the TDS3034 can measure this in in-house by the use of the measurement on the front panel key, but how do I retreave using your labview driver?

    Hi Tori

    I am now in place and running, I already had the TDS3034B to measure the delay between the pulse on channel 1 and the pulse on two channels, as well as the pulse width tuned to channel 2. This was done by saving the settings on the scope on a diskette and cutting and sticking them in a modified version of the TDS3000 auto setup vi. I created from a simple VI which allowed me to manually enter orders for tektronix and found that the command "measure: meas1: data? went around.

    Thanks for all your support on this issue.

  • How to set the timeout of read when using channelReader.ReadWaveform?

    I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

    When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

    No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

    I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

    How to set the timeout so that ReadWaveform() is not the time?

    Here is the code:

    privateAnalogMultiChannelReaderchannelReader;

    privateAnalogWaveform awf;

    publicList GetWaveForm()

    {

    Try

    {

    Task getWaveform = newTask();

    getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

    RangeMaximum, AIVoltageUnits.Volts);

    getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

    SampleQuantityMode.FiniteSamples, NumSamples);

    getWaveform.Control (TaskAction.Verify);

    channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

    AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

    AWF = data [0];

    samples As new List();

    for (inti = 0; i)

    returnsamples;

    }

    catch (DaqExceptionexception)

    {

    MessageBox.Show (exception. (Message);

    }

    List of l = newList();

    return l;

    }

    Thank you

    Curt

    Hi Curt,.

    Here is a Knowledge Base that can help you to set the timeout setting in your code:

    The property using Timeout of DAQmx task in Visual Studio

  • How to set the zoom settings menu for lecroywaverunner 6050A

    Hello

    I am trying to initialize the zoom settings of a track of the labview on a Lecroy WaveRunner 6050 A fft. I found how to set the parameters of the fft with the manual of the remote control for LeCroy scopes  http://cdn.lecroy.com/files/manuals/wm-rcm-e_rev_d.pdf ) but I have not found how to set the menu zoom settings.

    I also tried with find command using the command of automation of Lecroy. ( http://cdn.lecroy.com/files/manuals/automation_command_ref_manual_wr.pdf ). but I think that there is a problem with the settings of the commands I send to the scope.

    I just need to put the horizontal and vertical centers and scales.

    If anyone can help,

    Thank you.

    Hello

    I use F1 as my FFT here track.

    Commands to change the scales are:

    Vertical Center: VBS ' app. Math.F1.Zoom.VerCenter = XXXX"

    Portrait/div scale: VBS ' app. Math.F1.Zoom.VerScale = XXXX"

    Horizontal at the Center: VBS ' app. Math.F1.Zoom.HorCenter = XXXX"

    Horzontal scale/div: VBS ' app. Math.F1.Zoom.HorScale = XXXX"

    I also want to point you to an application on the scope that will help you.

    If you go to the file menu and select cut, to the office, there is a shortcut to an application called "XStream Browser"

    The browser is an interactive application that will present all automation methods and properties that are available on the scope.  He acually connects to the scope of the request, so you can use it to test various components to see what they do on the scope.  It is very intuitive and I use it exclusively. (this is where I went looking for the commands above for you).

    Here is a link to Chapter 1 of the manual of automation: http://cdn.lecroy.com/files/manuals/04_xstreamautomation_ch1.pdf

    Page 1 - 5 has a quick introduction to the browser and its use.

    I hope that it becomes operational.

    Kind regards

    Leonard Brown

    LeCroy sales engineer

    1-800-5LeCroy

  • How to set the color depth

    try to set the color of amd's message color depth less than 24. How to set the highest color depth?

    If your computer allows you to change this setting, it will be located in the "Control Panel > display > resolution > Advanced Settings > Monitor tab > screen colors.

  • How to set the timing correctly?

    Based on the following batch file, I would like to raise the window at 11:05 and 11:07.

    Because he wanted to wait 1 minute before you restart, if the batch file is executed at 11:05, which wait a minute before you restart the window at 11:06.

    If the window does not always complete restart until the 11:07:36 or after 11:08, I would like to know about the question of whether or not the second restart at 11:07 process would be treated. On other words, if the window si la fenetre termine end relaunch 11:07:36, because the schedule at 11:07 is over, window would still go this annex missed 11:07?

    Does anyone have any suggestions?
    Thanks in advance for your suggestions

    Batch file: restart.bat

    %windir%\System32\shutdown.exe - r t 60 f

    How to set the timing correctly?

    Hello

    Sorry for the delay in responding.

    You run a batch file, your Windows question is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the TechNet forums.

    Please post your question in the Windows 7 IT Pro TechNet Forums: http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w7itpro

    Thank you.

  • How to change the spacing between the icons on the desktop?

    How to change the spacing between the icons on the desktop? xxx

    Blog of Andy Rathbone"setting spacing icon on the desktop in Windows 7:
    http://www.andyrathbone.com/2009/09/08/adjusting-desktop-icon-spacing-in-Windows-7/
    Ramesh Srinivasan . The Winhelponline Blog
    Microsoft MVP, Windows desktop experience

  • The delay between starting the virtual machine folder.

    I used some teams a lot in workstation 7, but in work stations, 8, they were replaced by folders.

    One of the great thing about the teams has been the ability to control the delay between the start of virtual machines.

    8 I can only find a general option under change preferences in my computer. I gues the only way around is the starting order of script or is there an option that I missed?

    According to an analysis last week of one of the developers of VMware, yes - scripting is the best answer.  He said that the old method of delay the start was not exactly accurate anyway and recommended script.

  • How to set the number of e-mail messages that are stored on my iPhone

    How to set the number of e-mail messages that are stored on my iPhone – so when I don't have a network connection I can see a 'large' number of messages in my Inbox etc.

    This is series is not defined in the world

    You must go to settings-> mail, contacts, and calendars and check the settings of your e-mail provider offers in this area

  • How to set the time that my screen stays on?

    How to set the time that my screen lights up.  I have an iPod Touch 6?

    Settings > general > auto-lock

Maybe you are looking for

  • New tab not default Safari in the address bar

    I just problem when opening the new active cursor not default tab(cmd+t) in the address bar. I already have the trial change new windows/tabs open with: empty Page. and uninstall all the extension. He cannot solve this bug.OSX: 10.11.4Safari: Version

  • 3T to Toshiba Canvio DWC130 quite dead external HARD disk

    My external DRIVE of Toshiba drive gives no sign of life. Connect the power supply, absolutely no noise is heard. I measured current consumption. There is no power. Sounds like a fuse is broken.It could be easy to repair, but if I try to prosecute, I

  • Printer problem!

    Hey there, I have a big problem! I can't connect my new deskjet 5740 to my laptop. I almost tried everything! Does anyone have a solution? Please, I beg you!

  • I have HP pavilion g6

    I have HP pavilion g6 I want drivers for this pc/laptop MSN It's product number: B9K02PA #ABG Please help me Please send to my email (Personal information)

  • How to determine which service pack of Windows I have?

    I'm just curious as to how where to find service pack windows vista I use. In my hp laptop when I look insystem in the Control Panel, he said the pack he uses. I did it in the dell desktop, but it doesn't have the informationin the information window