![](public_html/YaBBImages/1pix.gif) |
Author |
Topic: screenGrab() online ? (Read 505 times) |
|
ezdac
|
screenGrab() online ?
« on: Sep 1st, 2002, 12:32pm » |
|
i tried to grab the screen of the applet i put online, where users can draw a picture, and then save it by pressing space bar. but i couldn't find any output file on the server, does this function works online, do i have to modify my code ??
|
|
|
|
fry
|
Re: screenGrab() online ?
« Reply #1 on: Sep 1st, 2002, 10:35pm » |
|
screenGrab() isn't available in applets, because it writes to a file, which is a big no-no under the java security model. the solution is a bit difficult.. you'd want to grab the pixels() array, and then somehow send that data to a web server. i've done this in the past but it requires a bit of additional scripting etc on the server.
|
|
|
|
|