Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
doug777 #1
Get image from local file system for printing
If a user clicks Print, I would like to be able to print the stationery header
if the user wants to print on plain paper. Can I pick up the image from the
users local file system and add it directly to the print send object? Prior to
this the user would simply upload the location of the image to the remote
server where the swf resides, or do I have to ask him to upload the image
itself and then download it again every time he uses the program?
Doug
doug777 Guest
-
Printing to local printer
I have developed a web page using VB.net which prints data from a MSSQL database. I cannot figure out how to get a list of the local printers for... -
Problem with local file and local link
Hi to everybody, I have installed a new version of flash player (9,0,28,0) and when I open a local file like: c:\test\index.html When I click... -
Read local file system from Flex2 app
Is it possible to read local file systems from a Flex2 app by changing some security settings? If yes, which ActionScript Class/methods can be used... -
flv playback works on local system, not on web server
I am hoping someone has a quick answer to this question, many thanks in advance. I am using the new component flvplayer that comes with Flash 8 and... -
Problems printing a Quark file with an illustrator placed image
Hi Sometimes I have problems printing from Quark Xpres passport on my laserwriter, if there is a placed Illustrator 11 eps file. After I print the... -
Sreenivas R #2
Re: Get image from local file system for printing
I can think of two possible solutions (2nd one is what you have mentioned).
1. User can trust the SWF which would allow it load local files.
2. Ask user to upload it once and start using it. I hope browser cache would
help in preventing the download every time.
Sreenivas R Guest
-
doug777 #3
Re: Get image from local file system for printing
What does the user have to do to make his computer trust the swf? Or is it something I have to do in the swf?
Doug
doug777 Guest
-
JKohn99 #4
Re: Get image from local file system for printing
Here is a snippet from the Flex 2 user guide about urlloader:
When using this method, consider the Adobe? Flash? Player security model:
For Flash Player 8 and later:
Data loading is not allowed if the calling SWF file is in the
local-with-file-system sandbox and the target resource is from a network
sandbox.
Data loading is also not allowed if the calling SWF file is from a network
sandbox and the target resource is local.
As far as I know there is no way for a user to "trust" an swf file. This is
not like an activeX control.
JKohn99 Guest
-
doug777 #5
Re: Get image from local file system for printing
OK thanks. So from a browser I have to upload and then download each time
(because I've set no-cache in the cf application file for a different purpose).
Does anyone know if this problem can be overcome by the user choosing to use a
version of my program that would work with AIR?
Doug
doug777 Guest



Reply With Quote

