01.14.08

New Scenarios of AS3 Error #1084

Posted in Error, errors, Flash, Flex at 9:10 pm by Curtis J. Morley

I've added 3 new scenarios to AS3 error 1084.

You can find it here.

http://curtismorley.com/2007/07/14/flash-cs3-flex-2-error-1084/#comment-2482

The additions are:

1084: Syntax error: expecting leftparen before colon.
1084: Syntax error: expecting rightparen before colon.
1084: Syntax error: expecting rightparen before semicolon.

1 Comment »

  1. Marty Carlton said,

    January 20, 2011 at 2:31 pm

    i’m finding a #1084 error labeled ‘expecting identifier before void’
    it’s referring to this piece of code here

    public static function getBitmapDataByLinkageID(void:String) : BitmapData
    {
    var _loc_2:* = getDefinitionByName(void) as Class;
    return new _loc_2(0, 0) as BitmapData;
    }// end function

    the location it identified would be the (void:String) part
    i’m very new to programming, so i can’t even tell what this part of the code’s trying to do…if you can be of any help, i’d be very grateful!

Leave a Comment