function
definition) are considered to be in the same scope.This error indicates that the ActionScript in the SWF is invalid. If you believe that the file has not been corrupted, please report the problem to Adobe.]]>var m0:int = 2147483648; // int.MAX_VALUE == 2147483647
You can also see this error when using the bitwise left shift operator (<<).For example, consider the following code:
var m0:uint = 0xFF;var m1:uint = m0<<24;
The result of left shift operator (<<) is interpreted as a 32-bit two's complement number with sign. In the example, the result is a negative value, which causes the error when assignedto the uint typed property. A workaround is the following:
var m0:uint = 0xFF;var m1:uint = uint(m0<<24);
]]>setConversionMode()
or setEnabled()
method, ActionScript 3.0 replaces thesemethods with the access
property.doConversion()
or setComposition()
method, these methods are not supported for Macintosh OSX.The two file formats and not interchangeable; you must use one or the other. For more information, see the FileFilter class in this language reference.
]]>SQLConnection.cancel()
or SQLStatement.cancel()
methods are called when a statement is executed using SQLStatement.execute()
or SQLStatement.next()
with a prefetch argument specified, and not all of the results have been returned.]]>SQLConnection.openAsync()
is called with the openMode
parameter set to SQLMode.UPDATE
and the database file doesn't exist. It can also happen if the operating system returns an error when the runtime attempts to access the database file.]]>blg
): var blg:String = "foo";var big:Sprite = new Sprite();var error:int = big.length();
]]>stage
property is set to null, and as such, its stage
property cannot have any properties. So the code generates the errror:import flash.display.Sprite;var sprite1:Sprite = new Sprite();var q:String = sprite1.stage.quality;
]]>var obj:Object = new Object();obj.a = "foo";trace(obj.b.prop);
You can also see this error because of a mispelling, for example in the following, wheremc
represents a MovieClip object on the display list, and the stage
property is misspelled with a capital S (it should be stage
):
trace(mc.Stage.quality);
]]>