AS2 code edit to AS3 in Flash

Hi community! I am using a book to help me learn flash and
AS3 but the new book I have is awesome but uses Flash CS3 and codes
in AS2. Can someone assist me with this short bit of code to change
it to AS3 format?
First frame has this code below:
stop();
pauseAnim = setInterval (this, "nextFrame", 3000);
Second frame has this code below:
clearInterval(pausAnim);
play();
I am sure that the first frame needs to have the var in front
of variable. Then I think the variable needs pauseAnim:Object or
something but I have no idea. Any help would be great.

C_Programmer0101,
> I am sure that the first frame needs to have the var in
front
> of variable.
Yes, AS3 requires that variables are declared.
> Then I think the variable needs pauseAnim:Object or
something
> but I have no idea. Any help would be great.
Heh, with a name like C_Programmer0101, I'm surprised you
haven't
already found the answer in the documentation! ;) I opened
the Help panel
in Flash CS3, filtered by ActionScript 3.0, and searched the
term
"setInterval()", where I found a listing for that function.
There's a
Returns heading under the Parameters heading, and the Returns
section tells
me this function returns a uint (that is, an unsigned
integer; in other
words, a positive integer). So your next step, after adding
var, would be
this:
var pauseAnim:uint = setInterval (this, "nextFrame", 3000);
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Help! Convert simple Flash AS2 code to AS3

    Hi everyone,
    I'm a Flash beginner and followed a tutorial: http://www.webwasp.co.uk/tutorials/018/tutorial.php ... to learn how to make a "live paint/draw" effect. I didn't realize  that if I made something in AS2, I wouldn't be able to embed it (and  have it work) into my root AS3 file, where I've got a bunch of other  stuff going on. I've tried following tips on how to change AS2 code to  AS3, but it just doesn't work. I know it's simple code, and that some  genius out there can figure it out, but I'm at a loss. Please help!
    Here's the AS2 code:
    _root.createEmptyMovieClip("myLine", 0);
    _root.onMouseDown = function() {
       myLine.moveTo(_xmouse, _ymouse);
       ranWidth = Math.round((Math.random() * 10)+2);
       myLine.lineStyle(ranWidth, 0xff0000, 100);
       _root.onMouseMove = function() {
          myLine.lineTo(_xmouse, _ymouse);
    _root.onMouseUp = function() {
       _root.onMouseMove = noLine;
    Thanks in advance!
    Signed,
    Nicolle
    Flash Desperado

    Considering the code is on timeline:
    var myLine:Sprite = new Sprite();
    addChild(myLine);
    var g:Graphics = myLine.graphics;
    addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
    function onMouseDown(e:MouseEvent):void {
         var ranWidth:Number = Math.round((Math.random() * 10) + 2);
         g.clear();
         g.lineStyle(ranWidth, 0xFF0000, 1);
         addEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
         addEventListener(MouseEvent.MOUSE_UP, onMouseUp);
    function onMouseMove(e:MouseEvent):void {
         g.lineTo(mouseX, mouseY);
    function onMouseUp(e:MouseEvent):void {
         removeEventListener(MouseEvent.MOUSE_MOVE, onMouseMove);
         removeEventListener(MouseEvent.MOUSE_UP, onMouseUp);

  • Noob question: How to update very basic as2 code to as3.

    I've been asked to update a web banner with old as2 code, and not being a coder or a regular Flash user, I'm stuck with what I'm sure is a simple problem. The code in the opening frame is;
    function timeOut(pauseTime) {
      stop();
      pauseTimer = setInterval(this, "goPlay", pauseTime);
    function goPlay() {
      play();
      clearInterval(pauseTimer);
    After that there are a few frames that include timeOut(500); code, which seems basic enough, so I imagine my problems are all in the opening code.
    I get 4 errors that all refer to Frame 1;
    1120: Access of undefined property pauseTimer.
    1067: Implicit coercion of a value of type CapOne_MM_648x480b_fla:MainTimeline to an unrelated type Function.
    1067: Implicit coercion of a value of type String to an unrelated type Number.
    1120: Access of undefined property pauseTimer.
    Can anyone help or point me in the right direction? Thanks.

    For the code you show there would be no need to convert to AS3 since between AS2 and AS3 it hasn't changed.  One thing you do need to do is declare variables and since pauseTimer is used in mutliple functions it needs to be declared outside any functions.  Another thing you need to do is specify the variable types, including the arguments passed into function.  As for the setInterval call itself it appears to be written incorrectly....
    var   pauseTimer:Number;
    function timeOut(pauseTime:Number) {
          stop();
         pauseTimer = setInterval(goPlay, pauseTime);

  • Change as2 code to as3

    I used a tutorial http://www.flash-game-design.com/flash-tutorials/funky-flash-website-tutorial-5.html to make a menu for my application, I've tried following tips on how to change AS2 code to AS3, but it just doesn't work.
    menu = ["bulls", "about", "roster", "schedule"];
    var current = menu[0];
    for (var i = 0; i<menu.length; i++) {
    var b = menu[i];
    this[b+"_btn"].stars._visible = false;
    this[b+"_btn"].txt = b;
    this[b+"_btn"].onPress = function() {
    _root.site[current+"_btn"].stars._visible = false;
    _root.site[this.txt+"_btn"].stars._visible = true;
    current = this.txt;
    _root.site.content.gotoAndStop(this.txt)
    this[current+"btn"].stars._visible = true;
    this.onEnterFrame = function() {
    this[current+"_btn"].stars.s1._rotation += 1;
    this[current+"_btn"].stars.s2._rotation += 0.5;
    Thank you,
    Glenn

    Just a note. Function declarations in a loop is an EXTREMELY bad practice that will lead to many problems if it doesn't have some already. So, the following lines:
    for (var i:int = 0; i<menu.length; i++) {
        var b:String = menu[i];
        this[b+"_btn"].stars.visible = false;
        this[b+"_btn"].addEventListener(MouseEvent.CLICK,fn);
        this[b+"_btn"].txt=b;
        function fn(e:MouseEvent):void{
            this[current].stars.visible = false;
            var nam:String=e.target.parent.name;
            this[nam].stars.visible = true;
            current = nam;
            //MovieClip(root).site.content.gotoAndStop(this.txt)
    should be:
    for (var i:int = 0; i < menu.length; i++) {
         var b:String = menu[i];
         this[b+"_btn"].stars.visible = false;
         this[b+"_btn"].addEventListener(MouseEvent.CLICK,fn);
         this[b+"_btn"].txt=b;
    function fn(e:MouseEvent):void {
         this[current].stars.visible = false;
         var nam:String=e.target.parent.name;
         this[nam].stars.visible = true;
         current = nam;
         //MovieClip(root).site.content.gotoAndStop(this.txt)

  • Do  new  FLASH CS3  support s AS2  codes ?

    Hi folks . . .
    When we use AS3 development tools , will old flash codes (
    AS1 and AS2 ) work correctly after this ?
    And can we use AS2 codes by flash cs3 tools ?
    Do ADOBE support AS1 and AS2 codes for a long time ??

    Yes. Flash CS3 is pretty much Flash 8 with new features and
    support for what
    it supported before (AS1 and AS2) and more (now additionally
    AS3)
    "firatadobeturk" <[email protected]> wrote
    in message
    news:f2l4f9$9i3$[email protected]..
    > Hi folks . . .
    > When we use AS3 development tools , Do old flash codes (
    AS1 and AS2 )
    > will work correctly after this ?
    > For a long time , does ADOBE supports , AS1 and AS2
    codes?
    >

  • Slow Code Editing in Flash Builder 4.7

    For some reason my Code Editor works painfully slow. I see that other folks have experienced this issue. I don't want to switch to another IDE. I have already increased the values of Xms and XMX (Xms1024m -Xmx2048m) and also created a new workspace but it did not make a difference. Other appliations work fine. I am using a i7 laptop with 16GB of RAM.
    FB was working fine and then all of a sudden started to slow down. I believe that it happened after I  installed Apached Flex SDK but I am not positive. I have other IDEs that I use for testing things so that might be a problem as well. I would like some help to fix the slow code editing because it is making it difficult to use FB and I don't want to change.
    I have Creative Cloud account.
    The size of the project is 19mb.

    Hi Blake,
    In another page (http://forums.adobe.com/thread/1056583), Adobe states that it will be possible to download 4.6 in alternative to 4.7, to still have the Design View. However, I have not seen such possibility yet.
    I will not say that "real programmers don't use design mode". They do, if it works fine.
    However, the Design View was not very useful for mobile projects, if you wanted to create an interface which, at run time, adapts to different screen estates.
    It was very good to draw an initial mock-up, but only the simulator (and the device) can say how the app really looks like (if you want to know more, please have a look here: http://aliencoding.com/2013/02/22/adobe-flash-builder-4-7-has-no-design-view-is-it-blasphe my-no-but-the-software-contains-some-other-blasphemous-aspects/).
    If you develop for desktop, then I agree the Design View lack is a real drag. I think Adobe should at least lower the price of the program, now that it's been scaled down for (I think) copyright issues (the Design mode relies on Flash professional components that was not donated to Apache).
    I love this platform because it really saved my butt in cases of real fast devployment, BUT NOW it lacks support for Windows 8 that PhoneGap has...
    Can we say... it is a legacy framework by now? 

  • Dummy Guide needed for converting AS2 code into AS3

    I have to convert my existing AS2 code into AS3, but I might as well be reading chinese. I never even began to learn AS3, it was still fairly new at the time and the class ended before we had an opportunity to even touch on it. My major was not web design, it was the print side of design. I took an additional class, after I graduated, to learn web design and our teacher told us, basically, that we were designers, not coders so we won't be getting much into actionscripting, beyond the basics. At the time I was relieved, but looking back, I really wish we would have gotten more into it. Bottom line, I need to learn now.
    Is there ANYONE that can help me out? I will list my code below, buy I am way beyond lost any help that can be provided, I would be so grateful!!!!
    On the main timeline I have the basic..
    stop(); -- I found the AS3 version, but I don't know what I'm looking at. I get "not_yet_set.stop()" and there are are 8 options I can choose from. I just want the timeline to stop until I tell it where to go next. And what is "not_yet_set"
    Then I have my buttons, which are, basically...
    on (release) {
    gotoAndStop("Home");
    Or "gotoAndPlay("Whatever");"
    I also have buttons for scrolling...
    on (press) {
    play();
    on (release) {
    stop();
    AND
    on (press) {
    _root.AboutMe_Controller.gotoAndPlay(…
    on (release) {
    _root.AboutMe_Controller.gotoAndStop(…
    For the on(release) command, this is what I found as the AS3 version: not_set_yet.dispatchEvent()

    because that's really as1 code, you have steeper learning curve than going from as2 to as3.
    first, remove all code from objects, assign instance names to your buttons and you can then start on as3:
    // so, if you name your home button, home_btn:
    home_btn.addEventListener(MouseEvent.CLICK,homeF);
    function homeF(e:MouseEvent):void{
    gotoAndStop("Home");
    p.s.  the not_yet_set stuff is there because you tried to use script assist or some other actionscript shortcut.

  • Help plsss converting this AS2 code to AS3!!

    here is a little AS2 code that is in fact a photo gallery
    that i use in my site and i want to convert it to AS3 but i just
    cant seem to get it right... could someone plssss help me?!?!

    with what part are you having trouble?

  • Need assistance converting some AS2 code to AS3

    Hi,
    I have some simple AS2 code that brings in a MovieClip when
    you click a button. This is currently AS2, and I would rather
    convert it to AS3. I also have some code which closes the MovieClip
    upon button Click.
    The code I am currently using is below:

    addMC is the name of one of the event handler functions, not
    the button(s). the button instance names are: addButton and
    removeButton.
    To have three of them, duplicate what you see and have new
    variables, functions, and button names for all three sets, adjusted
    appropriately.
    I'm pretty sure this isn't over yet, I'm just giving you code
    per your defined scenario, which may have a hole or two in it. Try
    it out and see what you really want to do, then come back when you
    find out things need to be tamed in some way or aren't working as
    you want. There are more complicated ways to deal with a situation
    depending on what you really want, and I'm one who prefers to see
    some work done at your end that shows you've tried something (I'm
    not mean, much, I just have this thing about learning by doing).

  • Trying to find out which line of AS2 code is causing flash player crash in firefox & chrome browser

    Hello,
    I have a flash movie (AS2) created for the website visitors' registration and this flash movie is longer in size than the browser's window height so that site visitors need to browse down using browser's vertical scroll bar to see all of the contents in the flash movie.
    When users click the submit button in the flash movie then
    Firstly, the AS2 code attached to the      on(release){    event scrolls the html page back to the top (because the user must have scrolled down to view the flash movie content at the bottom of the page and I want the html page to go back to the top of the page)
    getURL("javascript:window.scroll(0,0)");    // this is the AS2 code I have used for scrolling the page back to the top. I suspect this code is causing the flash player crash in firefox and google chrome
    and also tells the _root of the flash movie to go to and stop at a frame named "StartEnteringData".
    _root.gotoAndStop("StartEnteringData")     //making the _root of the movie to go to the "StartEnteringData" frame
    this.gotoAndStop("Start")                                  //making this movieclip which contains the registation form to go to the first blank frame labelled "Start"
    The "StartEnteringData" frame on the _root of the flash movie has AS2 code for entering the registration data to the database by using loadVariablesNum( ... )
    Here's my question.
    Almost everytime the user/visitor click the Submit button, the firefox browser users and google chrome browswer users see the Flash Player CRASH...
    This doesn't happen often with the website visitors using MS Internet Explorer.
    I have read some www articles (by searching google) saying that Adobe Flash Player in Firefox and Chrome browsers crash a lot.
    But, for my flash movie, everytime the visitor clicks the submit button, flash player crashes. Therefore, I guess it is the AS2 code that I'm using (associated with the on(release) event of the submit button) is causing the flash player crash rather then the flash player compatibility with Firefox and Chrome browsers.
    So, someone please tell me what's causing the flash player crash.
    Is there a better code to make a web page to go back to the top?
    I am also using the codes shown below on the first keyframe of the main movie. (_root)
    //For custom flash right click menu:
    var myMenu_cm:ContextMenu = new ContextMenu();
    myMenu_cm.builtInItems.zoom = true;
    myMenu_cm.builtInItems.quality = false;
    myMenu_cm.builtInItems.print = false;
    myMenu_cm.builtInItems.save = false;
    myMenu_cm.builtInItems.loop = false;
    myMenu_cm.builtInItems.rewind = false;
    myMenu_cm.builtInItems.play = false;
    myMenu_cm.builtInItems.forward_back = false;
    _root.menu = myMenu_cm;
    //For tiling the flash movie background with bitmap picture
    import flash.display.BitmapData;
    var tile:BitmapData = BitmapData.loadBitmap("pattern");
    this.beginBitmapFill(tile);
    this.lineTo(Stage.width, 0);
    this.lineTo(Stage.width, Stage.height);
    this.lineTo(0, Stage.height);
    this.lineTo(0, 0);
    this.endFill();

    by repeatedly commenting out lines of code you suspect are causing the crush and retesting you should be able to pinpoint the problem.

  • Tweens don't work in multiple external AS2 SWFs loaded by AS3 SWF

    When I try to load a single external AS2 SWF in an AS3 parent
    SWF, scripted tweens using the mx.tween class work fine. However,
    when I load two or more external AS2 SWFs, the first will work, but
    in subsequent SWFs the tweens do not animate. Does anyone have a
    solution?
    Related post:
    http://www.actionscript.org/forums/showthread.php3?t=147637

    SymTsb,
    So what is the code to do that? To delete the TWEEN variable?
    easeTime = .5;
    var day_handlerX:Tween = new
    mx.transitions.Tween(daynightlabel_mc, "_x",
    mx.transitions.easing.Regular.easeOut, daynightlabel_mc._x,
    (left_point+daynightlabel_mc_leftDifference), easeTime, true);
    day_handlerX.onMotionFinished = function() {
    trace("day_handlerX="+day_handlerX);
    trace("day_handlerX onMotionFinished triggered");
    delete day_handlerX;
    trace("deleted day_handlerX="+day_handlerX);
    does not work. the TWEEN object is still there.
    Can ADOBE say something??
    AS3 is ...

  • What are changes between FP 10.0.42.34 and 10.0.45.2 that could cause AS2 code to run differently?

    Hi, I am trying to debug a large Flash reading literacy application which is written in AS2. Everything works in 10.0.42.34. When our school customers upgrade to 10.0.45.2 they get blocked from proceeding with training.
    The main movie has loaded an application to run a sequence of tutorial movieclips, driven by an xml input.
    The application waits for each background plus movie to load and the plays the movie.
    It then unloads the movie and background and proceeds to the next movie/background.
    I am running the debugger in CS4 in both FP 10.42.34 and FP 10.0.45.2, the two [UnloadSWF] trace outputs happens in both, but the next step is missed. I am delving into the code right now, but I hope that there may be a hint in the changes made.
    I see no errors or security sandbox issues in the trace output.
    Can someone tell me what main changes there are in FP 10.0.45.2 that could cause AS2 code to run differently?
    Currently we are going to tell our customers that they must downgrade Flash Player to keep their kids learning to read.
    Thanks,
    Sue W.

    All these bug reports are probably describing same problem:
    http://bugs.adobe.com/jira/browse/FP-3993
    http://bugs.adobe.com/jira/browse/FP-4137
    http://bugs.adobe.com/jira/browse/FP-4121
    Not yet any word from Adobe that this is considered a bug worth fixing.
    I would also like to add that the bug failing to load or run older AS1/2 swfs is present in both latest release version FP 10.0.45.2 and FP 10.1.51.95 (beta 3). So it does not look like it has been fixed with 10.1

  • Problem translating AS2 code

    Hi
    I'd appreciate it if anyone can help me with this.
    I have a basic menu that I created in AS2, this can be seen
    here:
    http://www.qwerty-design.co.uk/example2.html
    I have the menu working in AS3 but I just can't get the
    buttons to stay down like they do in this example. My scripting
    knowledge is limited and I need to get this sorted by Monday.
    Please help.
    if it would help I can post the AS2 code.
    My code so far

    Tried the code and I think we are nearly there, but there are
    two small problems,
    1. I need one the first button to be down at the start
    2. When I click one of the buttons an error is thrown up as
    follows
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at Test_fla::MainTimeline/onButtonClicked()
    The code now looks like this:

  • How to Play/Pause All for Adobe Air Application using AS3 in Flash CS4?

    I am new to Flash and I'm creating an educational application in AS3 in Flash CS4 for Adobe Air. I want to use buttons to play and pause all content (movieclips AND sound).
    I have created play and pause buttons that worked by switching the frame rate between 0 and 20, unfortunately I've realised that it's never really 0fps but rather 0.01fps and so it continues playing, albeit very very slowly. Also this doesn't affect the audio; I have set sound files to Stream which are synced to movieclips on their timelines, but even when the application is set to 0fps the audio continues.
    Since I have various levels with numerous movieclips each with synced audio, what i'd like is to be able to do is pause absolutely everything within each movieclip with one button and to be able to resume from the same place using another button. Is this possible? If not, is there a global function to pause/resume the entire application/program?
    Thanks in advance for your help!

    Its possible but you would need to tell each movieclip and audioclip to play/pause. You can create a for loop inside your mouse event function to find each movieclip and pause/play its timeline and a separate for loop for audio clips. Also instead of setting fame rate to 0 for pause just use a stop() command.

  • Hi i am getting Innternal Error in jdeveloper IDE in side preferences- code editer- java

    hi i am getting Innternal Error in jdeveloper IDE in side preferences->code editer->java
    if u know something about this error psease share here
    java.lang.NullPointerException
      at oracle.jdevimpl.java.editing.JavaOptionsPanel.loadSettingsFrom(JavaOptionsPanel.java:186)
      at oracle.jdevimpl.java.editing.JavaOptionsPanel.onEntry(JavaOptionsPanel.java:67)
      at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:1220)
      at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:1201)
      at oracle.ide.panels.MDDPanel.access$1200(MDDPanel.java:128)
      at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1657)
      at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1525)
      at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1519)
      at javax.swing.Timer.fireActionPerformed(Timer.java:291)
      at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
      at java.awt.Dialog$1.run(Dialog.java:1046)
      at java.awt.Dialog$3.run(Dialog.java:1098)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Dialog.show(Dialog.java:1096)
      at java.awt.Component.show(Component.java:1585)
      at java.awt.Component.setVisible(Component.java:1537)
      at java.awt.Window.setVisible(Window.java:842)
      at java.awt.Dialog.setVisible(Dialog.java:986)
      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
      at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
      at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
      at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
      at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:601)
      at oracle.ide.ceditor.CodeEditorController.handleEvent(CodeEditorController.java:956)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Hi,
    make sure the IDE is installed with the proper JDK version
    Frank

Maybe you are looking for