Error when connection is rejected

Hello! I am working on a project that connects to flash media server. When my server side code rejects the connection, I get this error in the debuger:
[SIZE=2][COLOR=#ff0000][SIZE=2][COLOR=#ff0000]ReferenceError: Error #1069: La propriété close est introuvable sur FlexApp et il n’existe pas de valeur par défaut.[/COLOR][/SIZE]
[SIZE=2][COLOR=#ff0000][COLOR=black](French computer:-/)[/COLOR][/COLOR][/SIZE]
[COLOR=#000000][/COLOR]
[COLOR=#000000]I hope I can fix this, I need to be able to reject connections…[/COLOR][COLOR=#ff0000]
[/COLOR][/COLOR][/SIZE]