Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 743
  • Last Modified:

flex - scanning image

dear experts ..
today i have a new task to do which is scanning an image from flex application ..

i want also to add zoom in , zoom out , rotate ,  previuos , next , save and print ..

i hope some one could show me an example on how to accomplish this task .

Thanks a lot
0
mokatell
Asked:
mokatell
  • 2
1 Solution
 
ChristoferDutzCommented:
Do you want to make a "screenshot" of a flex-application from within Flex?
0
 
mokatellAuthor Commented:
nope i want to make a scan from the scanner and on how to use the features i listed above .
0
 
ChristoferDutzCommented:
Well I have to tell you that this will not be possible.
Flex can only acces WebCams. If you want to access a scanner, you will need to acces the TWAIN adapter of a Scanner that is installed on your system. This can only be done by using Signed Java Applets or an ActiveX Control. If you use the Applet approach you should be able to use the Flash ExternalInterface to communivate with a JavaScript function in your HTML wrapper and in this you could access the Applet. But I have to admin that this would be the only solution I currently could immagine.

Here's a link to an Applet TWAIN control:
http://asprise.com/product/jtwain/index.php
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now