     }
     public static function create_PURCHASED(price:Number, contentType:String, contentId:String, numItems:int, currency:String):FBEvent
     {
-        return FBEvent.createEvent(FBAppEventsConstants.EVENT_NAME_PURCHASED)
+        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_PURCHASED)
                 .setValueToSum(price)
                 .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_TYPE, contentType)
                 .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_ID, contentId)

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

        return _paramsValues;
    }

    //----------------------------------
    // Private - checking limits https://developers.facebook.com/docs/app-events/faq#limits
    //----------------------------------

    private static function checkNameRules(name:String):void
    {
        if(name == null){
            throw new ArgumentError("Event name or parameter name cannot be null!");
        }
        if(name.length < 2 || name.length > 40){
            throw new ArgumentError("Event name or parameter name is too short or too long. Length must be between 2 and 40 characters!");
        }
        if(!name.match(/[ a-zA-Z0-9_-]*/)){
            throw new ArgumentError("Event name or parameter name must consist of alphanumeric characters, _, -, or spaces!");
        }
    }

    private function checkAddParam(eventParam:String, value:String = null):void
    {
        checkNameRules(eventParam);

        if(value != null && value.length > 100){
            throw new ArgumentError("Value cannot exceed 100 characters!");
        }
        if(_paramsKeys == null){
            _paramsKeys = [];
            _paramsTypes = [];
            _paramsValues = [];
        }
        if(_paramsKeys.length == 25){
            throw new ArgumentError("Maximum number of parameters reached!")
        }
    }

    //----------------------------------
    // Static constructors
    //----------------------------------
    public static function create_ACHIEVED_LEVEL(level:String):FBEvent
    {
        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_ACHIEVED_LEVEL)
                .addStringParam(FBAppEventsConstants.EVENT_PARAM_LEVEL, level);
    }

    public static function create_ACTIVATED_APP():FBEvent
    {
        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_ACTIVATED_APP);
    }

    public static function create_ADDED_PAYMENT_INFO(success:Boolean):FBEvent
    {
        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_ADDED_PAYMENT_INFO)
                .addBoolParam(FBAppEventsConstants.EVENT_PARAM_SUCCESS, success);
    }

    public static function create_ADDED_TO_CART(price:Number, contentType:String, contentId:String, currency:String):FBEvent
    {
        return FBEvent.create(FBAppEventsConstants.EVENT_NAME_ADDED_TO_CART)
                .setValueToSum(price)
                .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_TYPE, contentType)
                .addStringParam(FBAppEventsConstants.EVENT_PARAM_CONTENT_ID, contentId)
