Thanks Wei for getting back in touch,
Well, it's the same code that is working as an AIR app (<s:WindowedApplication...) and connects to cocoafish beautifully, Converted to a Flex/Flash App (<s:Application...) .
So I compile the code (the Web version aka <s:Application) by creating an Export Build Release, after finishing, to test, I go to the bin-release folder on my computer (locally) and doubleclick the html wrapper which has the swf generated, and try to login (as test to see if all is good with cocoafish), and surely, it works :)
The problem is when I upload these files (html, swf, assets...) to my host server that the calls (like loging in) don't go through anymore.
If I am not mistaken, this can only be the cross-domain policy xml file that it cannot find on cocoafish to let it make the calls go through, notify me if I'm missing anything or it's not feasible if it's a web app (flash based).
Thanks again.