ActionScript Error 1083: Syntax error: doubledot is unexpected.
var intLat:Number = ((Math.random()*1)*..00060
ActionScript 3 Error #1083 Description:
AS3 error 1083 says that you have too many dots. Look carefully at the line of code and you will most likely see that your speedy typing fingers hit the period one too many times. This can happen while targeting an object or when you are using decimals. Doubledot is valid in AS3 but only in the context of E4X. You use doubledot otherwise known as the descendent accessor (..) operator to access child properties of an XML object.
Flex / Flash Error 1083 Fix:
Remove the extra dot.
Bad Code 1:
var intLat:Number = myNumber * ..0006;
Good Code 1:
var intLat:Number = myNumber * .0006;
Bad Code 2:
this..myObj.x = 100;
Good Code 2:
this.myObj.x = 100;
This should help you resolve Flex / Flash Error #1083
Thanks and as always Happy Flashing
Curtis J. Morley
You’re time saver, thanks a lot 🙂