     }
     public static function create_RATED(rating:Number, contentType:String, contentId:String, maxRatingValue:int):FBEvent
     {
-        return FBEvent.createEvent(FBAppEventsConstants.EVENT_NAME_RATED)
+        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_RATED)
                 .setValueToSum(rating)
                 .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_TYPE, contentType)
                 .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_ID, contentId)


    public static function create_ADDED_TO_WISHLIST(price:Number, contentType:String, contentId:String, currency:String):FBEvent
    {
        return FBEvent.createEvent(FBAppEventsConstants.EVENT_NAME_ADDED_TO_WISHLIST)
                .setValueToSum(price)
                .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_TYPE, contentType)
                .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_ID, contentId)

    }
}
}

class Private{}