the loading time of the mc control

I'm creating a game that will take care of mangoes with numbers on it... i'm using numbers 08:51

I want to set the time of each mango to load... for example: mango #2 load every second of 48 and 15 at the time, mango 5 load every second 38th, 15th, 3rd time left... How do I code?

I have a code that loads the mangoes in random x position... but when the caught character mango, it still does not load...

Here is a jpg of what I'm doing...

khigh game5 - page1.jpg

This is the code I use: this code is attached to the mango-(2)

onClipEvent (load) {}

If (_root.time == 50) {-> I tried to put an if statementto determine the loading time but does not work}

function reset() {}

This._x = Random (550);

This ._y =-250;

_root. SPEEDB =-5;

}

Reset();

//}

}

onClipEvent (enterFrame) {}

If (_root.time == 50) {-> I also tried to put here but does not work too...}

This ._y = _root.speedb;

If {(FLF > 380)

Reset();

}

If (_root.mango_mc.inMango_mc.hitTest (_root.caloy_LR.caloy_Right.inBaske t_mc) |)  _root.mango_mc.inMango_mc. HitTest (mc _root.caloy_LR.caloy_Left.inBasket_).  _root.mango_mc.inMango_mc. HitTest (mc _root.caloy_LR.caloy_stop.inBasket_)) {}

_parent.mango_mc.gotoAndPlay (2);

_root. Score-= 2;

}

//}

}

I hope you guys could help... Thank you!

Here's how to create two mangoes, mango12 and mango 13:

var tl:MovieClip =;
var dep:Number = 0;
tl.attachMovie ("mango12", "mango_" + dep, dep ++);

tl.attachMovie ("mango13", "mango_" + dep, dep ++);

var mangoI12 = setInterval(mangoF12,30000);     If I remember this, all the mangoes will load every 30 seconds? -No, only mango12

var mangoI13 = setInterval(mangoF13,45000);     mango13 is created every 45 seconds

function mangoF12() {}
tl.attachMovie ("mango12", "mango_" + dep, dep ++);
}

function mangoF13() {}

tl.attachMovie ("mango13", "mango_" + dep, dep ++);

}

Tags: Adobe Animate

Similar Questions

  • When I try to use the parental controls, I tells me that this page could not load any ideas

    When I try to use the parental controls, I tells me that this page could not load any ideas

    Hello

    Since when are you facing this problem?

    If it worked before, then do a system restore to restore the computer to an earlier point in time before the problem started.

    See these articles for help:
    http://Windows.Microsoft.com/en-us/Windows-Vista/what-is-system-restore
    http://Windows.Microsoft.com/en-us/Windows-Vista/system-restore-frequently-asked-questions

    Kind regards
    Afzal Taher
    Microsoft technical support engineer

  • I can't open all the Web sites in firefox(version 25), its long loading time, help please

    I can't open all the Web sites in firefox(version 25), its long loading time, help please

    Hello, normally these problems are caused by a security/firewall software which does not recognize and therefore blocks the new versions of firefox: solve connection problems to websites after Firefox update

  • Is any application of Benchmarking available in FFOS? Basically, I want to compare the performance as 'time to load application', "Image load time", etc.

    I'm basically performing team. Working in porting gecko 1.2. We did successfully porting. But we believe that it is not as big as gecko 1.1 performance. If we want any tool/app to measure performance.
    (1) application of loading time
    (2) time of image rendering
    (3) audio integrated
    (4) key response time
    (5) browser, loading time
    etc.

    Hello

    Thank you for your interest in Firefox OS. In the application settings click the device information > more information > developer. You will find tools for dev for load time, frames per second, etc.

    Best regards
    Michelle Luna

  • Standard user changes time clock to circumvent the time limits set in the parental controls, how to stop this?

    Original title: clock change

    I put deadlines for my daughter in the parental control. my daughter just changed the clock time to get around this. It has a standard user account and I have the password to the administrator account, which she could not possibly know that I keep changing. How does do and how can I stop this happening?

    The date and time system can be changed using a control panel applet - timedate.cpl file.

    If you have the administrator account, you can refuse his user account access to the said folder.

    1. go to start > type cmd > press and hold shift + Enter (this will open CMD with Admin Access)
    2. on your type CMD in the command below

    Cacls timedate.cpl /p : n

    3. press ENTER.

    The command will refuse access to user account in the file so that it could not change the time and date.

  • The last was held 2 times a auto update, I lost the Volume control icon

    The last one was held 2 times a auto update, I lost the volume icon on the toolbar control.  Only if I restore my computer to an earlier date, he returned.  I presume I need updates, but how can we retrieve icon so that I can cut and adjust the volume?

    When I got to the tab area of Notification, the volume and the box is grayed out, so impossible to check the

    99.99% of the time, you will find that box grayed out. It's almost a waste of time to go through this query.

    Use this tutorial and keep the reg file to desktop instead of remove it as advised by the tutorial.
    You will need this file reg again someday. It is preferable that it is handy as the fish for the tutorial again.

    http://www.Vistax64.com/tutorials/106787-notification-area-system-icons.html

    Scroll down to three method.
    Use #2 - for the Volume icon

    To activate the Volume - icon Enable_Volume.reg< click="" to="">

    Do you to restart the computer to complete the procedures.

  • The loading time of a Web page takes about 30 seconds. How can I improve this

    It comes to this page: http://www.barronstudio.nl/hoogstraat-2-bergen-op-zoom.html

    Hello CreativeBarron,

    I checked your site at my end and observed that you used several large images in Muse that contributes to the load time. Please look at the screenshot below.

    By reducing the size of these images, you can certainly reduce the loading time of the site.

    Kind regards

    Vivek

  • How can I speed up the load time of my site?

    Hello

    How can I speed up the load time of my site hosted on BusinessCatalyst.

    http://www.PW-energy.co.UK

    Is there a way to compress?

    Any help much apprecated.

    Thank you

    Hello

    The page/site seems to load very well at the moment.

    However if want to inspect what could slow down the loading of your page I recommend using 'firebug' and select the 'network' tab to follow every chronology file loading.  Then you can see which file takes more time to load to help make adjustments accordingly.

    http://getfirebug.com/

    Kind regards

    -Sidney

  • improve the load time, or view the progress of the loading iOS app?

    Hello

    I have a 75 file ipa meg that takes about 30 seconds to load. Is it possible to improve the loading time or to show the progress of the load somehow?

    I am compiling with air 3.1

    I build my project with Flash Professional 5.5

    OK, I have an update that can be useful to others. This is probably common sense for many of you already... Here is my solution:

    1 table Push statements are very expensive CPU. Eliminate the 1500 of these shaved eight seconds off my boot time

    2. no device font text is expensive to load. Remove all my text vector and its replacement by bitmaps saved 10 seconds of boot time. This meant a major term in my program, but there are benefits to exercise more than the beginning of time.

    3. Turning off the coast of the compilation and the CFC option saved 5 seconds of loading time. Normally I would have this on so I can get better indicators of code inside Flash Builder. But in the last step, turning off saves a lot of startup time. I discovered this because I have a full and a lite version of my application (lite version had the swc compile option off, was much faster as the full version which had the SWC to compile on). For a few hours a day, I tried to understand why the lite version has been commissioning of 5 seconds faster that the full version even if the lite version had more assets.

    Start-up time full version:

    version 1.3:

    25.6 seconds

    version 1.4:

    2.5 seconds

  • How to display the loading time of the page?

    Hello

    I would like to know how to display the loading time of the page? I know there is a var that must be in the footer, but I don't remember.




    Thanks in advance
    Antonio

    >
    You can use #TIMING # footer region the region to display the time taken to make this region - not sure about a whole page of
    >
    How about this the understands it in the front page template header...

    
    

    And then this in a div in the footer of the page template...

    
    

    See you soon

    Ben

  • Is there any problem in the planning of the GATHER_STATS_JOB during peak load times?

    Hi all

    The default DBMS_STATS (GATHER_STATS_JOB) job runs during our peak load time.

    It will have a performance impact on normal database transactions?

    Is it better to postpone this window?

    That all the problems can we expect during the execution of the task (locks object, IO high due to table / index readings, high use of the CPU etc.)?

    Please help me to get the answer. I could not find the net information.

    Thanks and greetings
    Smail

    Sissi C V wrote:
    I'm fighting to find a suitable period for the task that this database is active 24 * 7 in the world.

    I want to know how the activity must be measured. It will be based on the number of sessions or number of transactions or number of cursors or net i/o or a combination of all these?

    Satish,

    If you have the license of AWR, you can consult the AWR reports to see when your database is no longer idle. In the 10 chronological model g, the most significant aspect is the DB time has passed, so the period where the DB time is less could be a good candidate.

    You can also check the number of logical/physical i/o performed every second, the number of sessions and other ratios that appear in the upper part of the AWR (for example the "Load Profile" section) report.

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • The volume control has mind of its own

    I have a HP1428 DV7 ca, Win 7 Home Prem 64 bit running. Recently my volume control seems to have achieved a clean mind. At first I thought it was related to HP MediaSmart, so I removed it. It stopped at the volume control bar to constantly and irregularly flashing on the screen. However, when I open the mixing table under windows I see that it is always very strange, the volume increases in fits and starts. None of the volume controls at the top of the keyboard do not work. The MediaSmart button stays on and the mute button is not the drawer of the volume control does not work either. I thought that removing MediaSmart and put it back in place, it should correct the problem, he didn't.

    Thank you.

    Hello

    It may be a hardware problem with the band capacitive itself, but about the audio, try the following.

    Download IDT Audio Installer on the link below and save it in your downloads folder.

    http://ftp.HP.com/pub/SoftPaq/sp45001-45500/sp45073.exe

    One time finished, open windows control panel, open Device Manager and open sound, video and game controllers.  Right click on the IDT device and select uninstall - also, you should get a command prompt to delete the current driver, check the box to enable this and then proceed to uninstall.

    When finished, restart the computer and let Windows load completely.  Open your download folder, right-click on the IDT Installer and select "Run as Administrator" to launch the installation.  Once this done, do a right-click the speaker icon in the taskbar and select playback devices.  'Speakers and headphones' left click once to highlight, and then click the Set Default button - check if you now audio.

    The MediaSmart you make reference to the application's HP MediaSmart SmartMenu, which can be downloaded and installed from the link below - you must have at least a MediaSmart application installed before installing SmartMenu.

    HP MediaSmart SmartMenu.

    Kind regards

    DP - K

  • How could I possibly remove the default image in the image control?

    I use the image control and a bit of code to create a zoom on a picture effect. Everything works fine however I get a picture of labview when the Vi is loaded for the first time. I'm trying to get a blank area instead cause it looks like not really tidy!

    I have attached a picture and my code.

    Thanks for your help

    The image is configured to be the default value of "Photo". In other words: you must get rid of the default value. You can do this either by:

    (a) 'Image' of delete and recreate. Disadvantage: You have to re-create all the nodes property associated with this control.

    (b) load an image empty and select "data operations > use current default value.

    hope this helps,

    Norbert

  • Is it possible to change the values of particular #define of the various controls in CVI.

    In my application, I have different panels to file single .uir. When I save the .uir file, I get the same values of #define for different controls in different panels. For this reason, I am not able to use these #defines block switch. Is it possible to change the values of #define according to my condition.

    Hi, a little more Wolfgang post. It is the combination of the Panel to manage and control the unique ID: as you know, you can load the same panel more than once, so even if you recover the full chain of PANEL_CONTROL you have duplication. items that exactly identifies a particular control in a particular group are the combination control panel manage AND panel_control ID.

    On the one hand which guarantees more flexibility to your application, you can design only a few panels and reuse them whenever you want, even having some of them loded several times in the same instant. On the other hand, as you have discovered, there is the possibility (Finally, almost certain) duplicated in your app ID.

    To resolve the problem of duplicated IDS you can act in two ways:

    1. If you know that no Panel is never loaded several timer in your application, you can retrieve the name of constant of Panel with GetPanelAttribute (panelHandle, ATTR_CONSTANT_NAME, string); and to distinguish between the name of constant, then switch between control ID

    2. If you happen to have duplicate panels you will need to store each panelHandles in the non-volatile variables, switch between them and then switch between the control ID

    An alternative might be to use Panel callbackData attribute and assign a significant value during the loading of the Panel, other callbackData finally from a control ID. Something like this:

    Loading panels:

    panelHandle = LoadPanel (0, "myfile.uir", PANEL1);

    SetPanelAttribute (panelHandle, ATTR_CALLBACK_DATA, (void *) 1);   Assign different callbackData in each instance

    During the failover between controls:

    void * cbkd;

    GetPanelAttribute (panelHandle, ATTR_CALLBACK_DATA, &cbkd);)
    Switch (cbkd (int)) {}
    case 1: / / elements of the PANEL1
    switch (command) {}
    case PANEL1_NUMERIC:

    your code here
    break;
    case PANEL1_STRING:
    your code here
    break;
    }
    break;
    case 2:
    // .....
    break;
    }

    One final note: it seems to me that all this is necessary in a very limited situation, where you have the same callback called on various panels/controls. Whenever the reminder is unique to a specific panel or controls on a single panel you don't need to work that way.

  • Latitude E5430 - problems with the fan control

    Hi, I just bought a Latitude E5430 expect to get some laptops Dell Business quality. I use Windows 8 x 64 (in mode UEFI) BIOS A09 and the latest drivers available at dell.com.

    The problem I encounter is that as soon as the fan turns on, it does not turn off for a long time (blow fresh air), even if there is no high load system (only Internet Explorer open) and the temperature is lower than 50.

    Basically, the fan starts at a temperature threshold, cools the processor at 38-40 ° C, and even if the fan running does not cause the CPU more cool, it continues to operate for a long time (10 minutes or more) (while the CPU temperature constantly remains at 38-40 ° C). :-(

    Please forward this issue to the Ministry of development of the BIOS so that they can provide an update that improves the fan control.

    Everyone also having this problem, please take a look at this post from Dell-Terry B:

    http:/en.community.Dell.com/support-forums/laptop/f/3518/t/19480918.aspx?PageIndex=3#20294684

    where it asks more information to the users concerned.

    Same problem here. A09 BIOS update did not help. My specs: i7 - 3520M, 8 64-bit Windows

    Fan noise continuous ist boring and a fix would be appreciated.

Maybe you are looking for

  • Pavilion dv8: problem with Pavilion dv8 (treble/bass control) Windows 10

    I had my Pavilion dv8 for awhile.  I started having problems with the slider treble/bass control. He would sporadically pop-up and begin to change the treble or bass at irregular intervals. He also unplug randomly my wireless connection. I tried to s

  • Satellite L10 151: I can't install Wireless Lan

    Since September, I have this Toshiba Satellite L10 151 with wireless card. I tried to activate the card, but it still shows as disabled when I look at the properties. I am currently using a Modem BT Voyager 2000 Wireless ADSL, I have to use it with a

  • Lenovo Y40, false accusation of 100%.

    My Lenovo Y40-70 has a 100% charge left in the battery, but it will be at the off chance or go to 0% of costs. It is under warranty, but I would like to be able to fix it myself. What is the problem? Is it just a bad battery. (The Lenovo I is 9 month

  • Manipulation of the data in table

    I would like to be able to manipulate certain data (columns 2 and 3 of the txt file) that I collect according to time (column 1 of the txt file). Now, as the VI is running, these data are plotted on a graph in wave form and stored in a txt file. What

  • Aero and the on-board video card in PC Home Premium

    Recently, I tried to run the Aero to my system feature and found it does not work because the video card was not able to manage this feature, but it's the video card that was shipped with my purchase of the home edition Premium 64 bits of the system.