actionscript 3 - Deployed Applet Suddenly Not Working -
i put applet uploads images via as3httpclientlib servlet. applet works fine in debug mode (through flash builder) , until today worked when deployed.
from servlet logs, appears servlet never receives image(s) byte stream, therefore hunch applet not posting multipart data.
can suggest should next find cause of problem?
i suppose ran problem described here:
in flash player 10 , later, if use multipart content-type (for example "multipart/form-data") contains upload (indicated "filename" parameter in "content-disposition" header within post body), post operation subject security rules applied uploads:
- the post operation must performed in response user-initiated action, such mouse click or key press.
- if post operation cross-domain (the post target not on same server swf file sending post request), target server must provide url policy file permits cross-domain access.
so think should run application using debugger , check flex client logs exceptions described above.
Comments
Post a Comment