[as3] Fixed compiler warning.

This commit is contained in:
Nathan Sweet 2021-06-29 13:50:06 -04:00
parent b8bf2a9bbb
commit 70e86e23a1
6 changed files with 39 additions and 40 deletions

View File

@ -1,11 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "swf",
"request": "launch",
"name": "Launch spine-as3-example",
"preLaunchTask": "Compile debug"
}
]
"version": "0.2.0",
"configurations": [
{
"type": "swf",
"request": "launch",
"name": "Launch spine-as3-example",
"preLaunchTask": "Compile debug"
}
]
}

View File

@ -1,10 +1,10 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Compile debug",
"type": "actionscript",
"debug": true
}
]
"version": "2.0.0",
"tasks": [
{
"label": "Compile debug",
"type": "actionscript",
"debug": true
}
]
}

View File

@ -1,17 +1,17 @@
{
"compilerOptions": {
"output": "bin/spine-as3-example.swf",
"source-path": [
"src",
"../spine-as3/src"
],
"default-size": {
"width": 550,
"height": 500
},
"target-player": "32.0",
"swf-version": 43
},
"output": "bin/spine-as3-example.swf",
"source-path": [
"src",
"../spine-as3/src"
],
"default-size": {
"width": 550,
"height": 500
},
"target-player": "32.0",
"swf-version": 43
},
"files": [
"src/spine/examples/Main.as"
]

View File

@ -7,7 +7,7 @@
"include-sources": [
"src"
],
"output": "../spine-as3/lib/spine-as3.swc",
"target-player": "32.0"
"output": "../spine-as3/lib/spine-as3.swc",
"target-player": "32.0"
}
}

View File

@ -618,7 +618,6 @@ package spine.animation {
animationsChanged = false;
propertyIDs.clear();
var tracks = this.tracks;
for (var i : int = 0, n : int = tracks.length; i < n; i++) {
var entry : TrackEntry = tracks[i];
if (!entry) continue;

View File

@ -6,13 +6,13 @@
"../../spine-as3/spine-as3/src"
],
"include-sources": [
"src",
"../../spine-as3/spine-as3/src"
],
"external-library-path": [
"starling-2.4.swc"
],
"output": "lib/spine-starling.swc",
"target-player": "32.0"
"src",
"../../spine-as3/spine-as3/src"
],
"external-library-path": [
"starling-2.4.swc"
],
"output": "lib/spine-starling.swc",
"target-player": "32.0"
}
}