Hi,

Sorry, AS3, although my little test works fine with your code