arduino& flash as3 glue online comunication

Hi guys I dont know if this actually possible, I have been playing around with flash as3 glue comunicating perfectly arduino and flash locally. But I was wondering if I could actually upload a swf file to my server and interact with arduino. I dont know which will be the better way of doing this... ;)