Can not build successful for flash11

I am trying to look flash11 “molehill”
but i get a “cannot found Class flash.display3D::Context3D” when i build the test project using IDEA,
I have set the  correct flash player version and add the compiler condition -swf-version, without surprise, i have successed on flash builder,
but i failed in IDEA
Here is the complete compiler error info,

exception, information=VerifyError: Error #1014: 无法找到类 flash.display3D::Context3D。
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at flash.tools.debugger.concrete.DManager.getFrame(DManager.java:669)
at flash.tools.debugger.concrete.PlayerSession.pullUpActivationObjectVariables(PlayerSession.java:1106)
at flash.tools.debugger.concrete.PlayerSession.requestFrame(PlayerSession.java:1084)
at flash.tools.debugger.concrete.PlayerSession.getValue(PlayerSession.java:1199)
at flex.tools.debugger.cli.ExpressionContext.memberNamed(ExpressionContext.java:430)
at flex.tools.debugger.cli.ExpressionContext.locateParentForNamed(ExpressionContext.java:532)
at flex.tools.debugger.cli.ExpressionContext.determineContext(ExpressionContext.java:482)
at flex.tools.debugger.cli.ExpressionContext.resolveToVariable(ExpressionContext.java:342)
at flex.tools.debugger.cli.ExpressionContext.lookup(ExpressionContext.java:161)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:160)
at macromedia.asc.parser.ThisExpressionNode.evaluate(ThisExpressionNode.java:34)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1029)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1029)
at macromedia.asc.parser.ListNode.evaluate(ListNode.java:44)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1063)
at macromedia.asc.parser.ExpressionStatementNode.evaluate(ExpressionStatementNode.java:50)
at flash.tools.debugger.expression.DebuggerEvaluator.evaluate(DebuggerEvaluator.java:1304)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
at flash.tools.debugger.expression.DebuggerExpression.evaluate(DebuggerExpression.java:105)
at flex.tools.debugger.cli.ExpressionCache.evaluate(ExpressionCache.java:100)
at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:3648)
at flex.tools.debugger.cli.DebugCLI.evalExpression(DebugCLI.java:3640)
at flex.tools.debugger.cli.DebugCLI.doPrint(DebugCLI.java:3566)
at flex.tools.debugger.cli.DebugCLI.processLine(DebugCLI.java:6551)
at flex.tools.debugger.cli.DebugCLI.process(DebugCLI.java:734)
at flex.tools.debugger.cli.DebugCLI.execute(DebugCLI.java:576)
at flex.tools.debugger.cli.DebugCLI.main(DebugCLI.java:373)

---
Original message URL: http://devnet.jetbrains.net/message/5300013#5300013

3 comments
Comment actions Permalink

This is known issue, here's the YouTrack ticket: http://youtrack.jetbrains.net/issue/IDEA-66277

This should be fixed in IDEA 10.5, which is currently in "early access program" status.
You can find EAP builds here: http://confluence.jetbrains.net/display/IDEADEV/IDEA+10.5+EAP
(EAP builds are not guaranteed to be production quality, but typically work quite well)

-tt

0
Comment actions Permalink

As a workaround you can choose fcsh or mxmlc/compc compiler at File | Settings | Compiler | Flex Compiler

0
Comment actions Permalink

Thx all, I have found the solution with google searching

0

Please sign in to leave a comment.