Using jsc with VS2008Express to compile C# to ActionScript (using the
template), i get this error :
(version: 20080925)
Snippet OK:
===========
string textToDisplay = "w="+this.root.width.ToString() + " h=" +
this.root.height;
Snippet KO:
===========
[Script, ScriptApplicationEntryPoint]
public class MyClass : Sprite
{
public MyClass()
{
string textToDisplay = "w="+this.root.width.ToString() + " h=" +
this.root.height.ToString();
script : error JSC1000: statement cannot be a load instruction (compiler
fault?): type: MyNamespace.ActionScript.MyClass offset: 0x0021 method:Void
.ctor()
}
}
Nobody/Anonymous
jsc
None
Public
|
Date: 2008-10-05 06:43 The code is almost equal to this pseudocode: |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2008-10-05 06:47 | zproxy |
| resolution_id | None | 2008-10-05 06:47 | zproxy |
| close_date | - | 2008-10-05 06:47 | zproxy |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use