|
-
Handwriting capture in pocket IE
Does anyone know whether it would be possible to capture a signature with flash in pocketIE?
By signature capture, it doesn't need to extend beyond capturing an image, there are no fancy authentication bits etc. This is what I want to achieve:
User writes on portion of screen embedded in webpage.
User clicks a 'submit' button.
Image of signature is saved and sent to DB.(I use php)
So, A:how do I create a 'drawable area' in flash?
and B: Can it save as a printscreen?
Thanks
I wait in hope for your responses
-
U may not be able to do the printscreen kinda stuf but there is a workaround for this
I am not gonna give u the solution for drawing area but the logic for capturing sign
Usually what we do while drawing is on the press of a mouse button we stores its starting points, go on drawing lines on each mouse move and update the line starting position.
Well what u can do is before updating this starting pos u should store line start and end pos in array. and when user submits the resul we collect all the elements from that array and make a string out of it. Then u can pass this particular string to Ur php page to store.
And while retriving this sign u get the same data on which u draw the signature.
Actually on PPC this solution works faster than uploading and downloading images.
But to use this solution ur PPC shoul support atleast Flash 6 (For drawing APIs)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|