Nothing, but a screen empty / TimerClass problem? EventListener?

When I test the code below does nothing. I just get a white screen.

What's supposed to happen?

When the program opens a splash screen should be added for 3 seconds and then fade out. Then excerpts from film main screen should be added to the stage.

package

{

STATEMENTS IMPORT *.

import flash.display.MovieClip;

import com.greensock.TweenLite;

import flash.utils.Timer;

SerializableAttribute public class Main extends MovieClip

{

//***************** Variables ***************************

private var MainScene:Main = new Main();

private var PopUp_MoreApps:MoreApps_mc = new MoreApps_mc();

private var PopUp_About:About_mc = new About_mc();

SPLASH SCREEN *.

private var mc_timerSplash:Timer;

private var splashScreen:mcSplashScreen;

//*****************CONSTRUCTOR CODE ********************************************************************* **************

public void Main()

{

mc_timerSplash = new Timer (3000,1);

mc_timerSplash.addEventListener (TimerEvent.TIMER, StartTimer);

When the timer is finished, stop the timer;

mc_timerSplash.addEventListener (TimerEvent.TIMER_COMPLETE, timerCompleted);

splashScreen = new mcSplashScreen();

Adds the start screen

addChild (splashScreen);

splashScreen.x = stage.stageWidth / 2;

splashScreen.y = stage.stageHeight / 2;

mc_timerSplash.start ();

}

//*********** FUNCTIONS *********************************

private void timerCompleted(e:TimerEvent):void

{

mc_timerSplash.stop ();

mc_timerSplash = null;

}

private void StartTimer(e:TimerEvent):void

{

TweenLite.to (splashScreen, 1, {alpha: 0, onComplete: SplashScreen});

}

private void SplashScreen (): void

{

removeChild (splashScreen);

addMainScene();

}

Adds the main screen of movieclips

private function addMainScene (): void

{

addChild (MainScene);

MainScene.x = 489;

MainScene.y = 350;

TweenLite.from (MainScene.wbbIntro_mc,.5, {alpha: 0});

TweenLite.from (MainScene, 1, {alpha: 0});

TweenLite.to (MainScene.girls_mc, 1, {y: 395, delay: 3.});

TweenLite.to (MainScene.boys_mc,.5, {y: 396, delay:. 6});

TweenLite.to (MainScene.Joe_mc,.5, {y: 339, delay: 1});

TweenLite.to (MainScene.Paul_mc,.5, {y: 322, delay: 1.2});

}

private function removeMainScene (): void

{

removeChild (MainScene);

TweenLite.to (MainScene.girls_mc,.1, {y:690});})

TweenLite.to (MainScene.boys_mc,.1, {y:693});})

TweenLite.to (MainScene.Joe_mc,.1, {y:636});})

TweenLite.to (MainScene.Paul_mc,.1, {y:619});})

}

}

}

Then your problem is with the hand.

What is your document class?  What is the class of your MainScene variable?   (and those who may not be the same).

Tags: Adobe Animate

Similar Questions

  • Windows not working-turn on computer and get nothing but a screen is empty

    Turn on computer and nothing else than a screen empty must cut the restart of the computer and you connect via Safe Mode scanned with my security system and Microsoft, but no problem what is wrong

    It could be that your video card has been set to a setting that your monitor does not support.  When you start using safe, try to change your monitor configuration to something different.
    Right-click empty space in desktop-> properties-> settings (tab)
    I suggest to change 'screen resolution' to something different.  No matter that you don't have many choices or screen looks terrible in this resolution, but simply change to something different and "OK" your way out.  Then, restart your computer in Normal mode and see if it displays now something.  If so, then change the resolution to anything that works for you.  You'll probably have more choice in Normal Mode.

    HTH,
    JW

  • Trials of Adobe download forever, but nothing happens, what could be the problem?

    Hello

    I m desperately trying to download for free Adobe trials. I tried creative cloud, InDesign and Lightroom. All these just keep saying "the program is downloaded...". ', but nothing ever happens after that. When you try to creative cloud, the .exe file appeared, and after clicking above, the creative cloud - box appears on the screen, but it remains empty, with anly the loading sign swirling in it. What can be the problem and what should I do to solve it?

    Hello

    Please try Adobe Creative Cloud desktop application does not open or shows a spinning wheel of progress

    Concerning

  • Equium L10-273: fan of CPU/HDD / lights come on but nothing on the screen

    I have an Equium L10-273 and had to put in a new power outlet in the mobo.
    I removed the wide and electronics. A friend of my put news on that to get back together.

    It sounds if the HARD disc / CPU fan / lights come on but nothing on the screen.
    Have unplugged the cable from the screen and he recovered but not good.

    Any suggestions welcome

    PS: A mobo out on a Toshiba Equium A60-155 will be mine?

    To me, this looks like a motherboard problem.
    In my view, replace the whole motherboard.
    But it s only my personal suggestion, if you want to be 100% sure what's exactly wrong with you laptop, then go you and technician of the notebook check.

    PS: Don't think that a card mother Equium A60 - 155 to insert in the notebook Equium L10-273.

    Greetings

  • I just tried to download Vista SP1 on my count, he went through all the motions and now my computer is nothing but a black screen.

    Very angry about this, until I tried to install this pack, my computer was working perfectly. Now, it seems that my entire system has been destroyed, and when I try to contact Microsoft, it seems that I have to pay $72 Australian, just to get him to talk to me. Seems hardly fair, that their pack which crashed my system. Someone has an idea of what he must do to either restore my system (without the use of disks to restart), or is anyone know how I can contact Microsoft without paying (since this is not a problem on my side). Any suggestion would be appreciated.  Regarding what happened, he went through the entire process of installation of the service pack, but when he stopped for the last time, the computer starts with a very simple beeps and then nothing, no white screen, no warning, no prompt, nothing.

    Will need you the DVD

    How to uninstall Windows Vista service packs as a troubleshooting step
    http://support.Microsoft.com/kb/948537

    FYI learn how to install Windows Vista Service Pack 1 (SP1)
    http://windowshelp.Microsoft.com/Windows/en-us/help/133c8953-c9cd-4FA5-8883-03e91bb6f2021033.mspx

    TaurArian [MVP] 2005-2010 - Update Services

  • My computer makes a noise but nothing on the screen, theres a light on the modem if

    for the past few weeks that my computer will not start up - which is nothing on the screen, yesterday he started upward and today for a few minutes then froze now cannot get on... I got a blue screen problem as well... do you think that there is nothing I can do or not? I am running windows vista

    Hey doz1990,

    I was not able to locate the specific page for this model computer. I suggest you email or by looking at the manual (if you do not find your they're online too, just use a search engine) and go to them via e-mail or a phone call.

    Looks like it could be a serious hardware problem, but I can't say without more information.
  • My touch screen has a problem after downloading the IOS 9.0.2. Already try apple advises the steps. But the problem still occur. Already done restart of strength. Factory setting Reset also possible. But still the same problem. Can only be used at one min

    Hello!!!

    IM Apple Fan.

    Purchased IM Ipad2, Ipad4, Iphone6

    Last month I already buy s Iphone6 +.

    Today I feel unhappy

    MY IPHONE 6 'history '.

    My touch screen has a problem after downloading the IOS 9.0.2.

    Already called and try apple advises the steps. But the problem still occur.

    Already done restart of strength. Factory setting Reset also possible. But still the same problem.

    Only can be used for a minute. After that... The problem comes in again & again & again...

    APPLE.COM

    Can U help me

    Only products of Apple of love before updating the version 9.0.2

    iOS 9.0.2 happened some time. The last iOS is iOS 9.2. If you have not updated, updated. If you restored to the factory, it must have downloaded iOS 9.2. Also, if you restore to the factory and the problem is still there, then you must make an appointment at the Genius Bar to the nearest Apple store or Apple authorized service provider or call the Apple Support to have the device examined by Apple. There seems to be something wrong with the screen.

  • I had checked "extend my desktop to this monitor". I have only 1 monitor though. Now the screen is empty. I rebooted the pc in the hope to go in safe mode but the screen remained blank.__How can I go back to single screen? __

    I had checked "extend my desktop to this monitor". I have only 1 monitor though. Now the screen is empty. I rebooted the pc in the hope to go in safe mode but the screen remains blank.
    How can I go back to single screen?

    Hi Bilipino,

    You have more than one display card? Try to connect your monitor to the another card and see if you can get the display.

    Reference: http://www.microsoft.com/windowsxp/using/setup/hwandprograms/monitors.mspx

    I hope this helps...

  • Screen reader works but see window empty when you open a Word document

    Original title: I am currently setting up my screen reader, Windows Vista Home Edition and have successfully by reading everything except the content of windows. Example, you open a word document and I see the text, but the screen reader sees an empty window.

    Thanks for any help you can give.

    Hi MacGyver Fan,

    Narrator Windows you use? Let me know if you are using a third-party application

    You can follow the steps mentioned in the link below

    Troubleshoot Narrator

    For more information, please visit the link below

    Hear text read aloud with Narrator

    Thanks and greetings

    Ajay K

    Microsoft Answers Support Engineer
    ---------------------------------------------------------------------------------------------------------
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • my windows vista (reboot) for 6 hours, but same screen comes to show that his research and nothing happened?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • Programs that you have problems with windows vista starts do not
    • Error messages, it's that my startup repair tool going but its still looking for problems
    • Recent changes were made to your computer no change, it's just stopped working suddenly and close
    • What you have already tried to solve the problem I tried startup repair, but that has not worked. I've tried off DURATION and attempted to start normally and then after a while my screen goes blank.i tried the system restore, but it did not work. I AM ALSO AFRAID THAT I LOSE MY DATA, CAN U PLEASE GUIDE ME THROUGH WITHOUT LOSS OF DATA
     
    Hello
     
     
    1. don't you make changes to the computer when you used the last time? For example, you have installed updates or a program of ny?
     
    Method 1.
    First check to see if there are external devices attached to the computer, if so remove and check.
     
    Method 2.
    Step A.
    Start your computer in safe mode and check if it starts.
     
    Step B.
    If it starts on the desktop in safe mode and then set your computer to the clean boot and check if it starts successfully. If it starts successfully can be a third-party application or service is causing the problem. We can use the approach 50 / 50 to narrow down the root cause of the problem.

    See the article below for instructions on how to start your computer in a clean boot state.
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: When the diagnosis is complete, don't forget to reset your computer to normal startup. Follow step 7 in the above article.
     
    Method 3.
    I recommend you to restore system using a Windows Vista DVD.

    Here's how:
    To open the Options menu system recovery using a system repair disc or a Windows Vista installation disc.
    If your system is damaged and cannot access the menu system on your computer Recovery Options, you can access it using the Windows Vista installation disc or a system repair disc previously.
    To use this method, you need to restart (boot) your computer using the disk.
    a. Insert the disc.
    b. restart your computer using the power button on the computer.
    c. If prompted, press any key to start Windows from the installation disc.
    Note: If your computer is not configured to start from a CD or a DVD, see the documentation provided with your computer.
    d. choose your language settings, and then click Next.
    e. If you are using the Windows installation disc, click on repair your computer.
    f. Select the Windows installation you want to repair, and then click Next.

    g. in the System Recovery Options menu, click a tool to open it and then choose the system restore and check.
     
    For more information see the articles below:
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I am developing photos in lightroom.  My photos are below the screen but the screen is lit in blue.  I double click on an image and nothing happens.  I can look in the library, but they don't come to develop.  Anyone know what

    I am developing photos in lightroom.  My photos are below the screen but the screen is lit in blue.  I double click on an image to display and nothing happens.  I can look in library mode, but not in the mode to develop.  Can someone help me?

    Hi pennym,

    Please follow the steps below.

    Open Lightroom

    Go to Lightroom preferences in the Edit menu

    Click the performance tab

    Deselect the graphics processor

    Restart Lightroom and try to use it

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • When I share the link to my site on Facebook or other social media, the preview image is empty, there is nothing there anyway to solve this problem?

    When I share the link to my site on Facebook or other social media, the preview image is empty, there is nothing there anyway to solve this problem?Screen Shot 2015-02-20 at 1.50.27 PM.png

    J-26 is a widget that facilitate...

    Adobe Muse SEO Widgets

    Steve

  • I just download the latest Java Version 7 update 25 update build 1.7.0_25 - b16 and all hell broke loose with FF, nothing, but nothing works.

    I just downloaded the latest updates of Java Version 7 update 25 build 1.7.0_25 - b16 and hell is loose with my FF.

    Just a few examples are when I open the browser, it opens as a band full-width in the upper part of the screen and I have to drag down and reduce the size and instead of being able to start the browser in the bar of me seems to have all the tabs online when I click on the FF icon nothing opens.

    All my previous tabs are no longer in the browser, but seem to be hidden. I disabled the 'Java' content in the "Java Panel" but nothing seems to work. I uninstalled and reinstalled FF (version 21) but nothing seems to have solved the problem - I need really your help in simple, easy to understand instructions for my beloved than FF back to a working state.

    Well, I have the theme 'default' in the guise of cat. and under the cat just «click to Call Skype» Extensions

    No one else in use.

    So now, it would appear all is well and (fingers crossed), I have confidence he's going to stay that way - my grateful thanks for your time and your support once again, I appreciate it.

  • Any page, I try to open in Firefox, the page is always white - page charge, but remains always empty.

    Yesterday, I downloaded the new version of Firefox, and now whenever I try to open a new page that is nothing more than a blank white page.
    The first tab is functioning normally, but the first tab is the ONLY tab that I can use. If I open another page in a second tab, it will load and at the top of the page, it will show the name of the page, but it will remain a blank, white page.
    If I open two new tabs, I can open for example Facebook in the second tab, but Facebook is open on the first tab and the second tab will be empty. If I then close the second tab, Facebook will disappear in the first tab, and this page will be empty again.
    It does not say that the page may not load or the page cannot watch, white pages says nothing, they are just empty.
    I tried to reinstall Firefox several times, but it didn't work.

    Try the Firefox Safe Mode to see how it works there. Safe mode is a troubleshooting mode, which disables most of the modules.

    (If you use it, switch to the default theme).

    • You can open the Mode without failure of Firefox 4.0 + holding the key SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    • Or use the menu option help and click on the restart with the disabled... modules menu item while Firefox is running.

    Do not choose anything at the moment, just use "" boot mode safe. "
    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.
    If it's good in Firefox Safe Mode, your problem is probably caused by an extension, and you need to understand that one.

    To do this, please follow article Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems .

    When find you what is causing your problems, please let us know. It might help others who have the same problem.

  • Satellite X 200 - 15 K power on but the screen is black

    Hello

    I have Toshiba Satellite X 200-15 K, two days ago, I have problem with screen, the screen I have noise, I think it's the same error in my display driver and I have stop near windows xp and try to after 1 min, but the screen has more noise when the startup boot image and I stop by button / stop on laptop.

    Then do what I ve tried again to turn on my laptop but on the screen, I see only artifacts (same squadrons of colors) and after that, my laptop can not work, I tried to power on him but I only power led and HDD light works only 5 sec and after off the coast, and the cooler works 5 sec too and after offshore.

    I tried to remove the battery and the RAM and the wireless and all that I can :), but nothing happens, but when I try to power without RAM I see on power light beep two red and two yellow (IE my motherboard work).

    Maybe it can help me. I think I have dead motherboard.
    And for me, it is interesting that someone may have similar problems.

    Thank you.

    P.S Sorry for my English :)

    Hello

    Let's summary.
    You had a few artifacts on the screen, and now, you are not able to start the unit.
    Nothing appears on the screen; Neither the Toshiba start screen appears is good?

    Hmm seems material issue I m thinking about GPU (graphics chip).
    What do you think of this?

    If it's really a problem of graphics card, then you will need to replace the motherboard.
    In most cases the chip belongs to the mobo anyway... something like this can be done by an ASP in your country.

    Then please get in touch with the guys to get more details about this

    I wish you good luck

Maybe you are looking for

  • How can I find Textarea Cache for Android?

    I use this wonderful point on my laptop and need for Android now.

  • XP installs - ntdlr.dll missing on the Satellite P300-133

    We bought the satellite P300 with preinstalled Vista. It worked fine except for some major programs for hardware configuration in our society. So, we tried to install XP Professional on the primary partition that has been formatted before that. The b

  • convert the entire 1 d array element

    Anyone know how I can extract the value (element) in a 1 d table so that the output value is a whole number?  I have problems of incompatibility signal (again).  I need to use the particular item of an array in various blocks of math that is add

  • Is there any way I can recover a lost file?

    I recently downloaded a document of my hotmail on a WordPad format account and continued to write about it once to open it on my computer in Microsoft Word and saved by pressing Control S. Whenever I pressed on that there was a message saying that a

  • at least that I share and reactivate the folder in the folder shared not accesible

    Win XP home edition: I have some folders that are shared, but if some files have been added after the folder has been shared, I am unable to access it from another PC in the House, unless I go back to the original pc where the records are, cancel the