Actionscript 3 :: Adobe Air: Save Files To A Network Path (osx)?
Apr 22, 2010
I was wondering if it would be possible to write a file, not to the local system, but to a connected server or other network path. Would i have to use an external php interface for this or can i entrust this to the AIR framework?
View 2 Replies
Similar Posts:
Sep 16, 2010
I've been fooling with this problem since AS2.0 (and shared Objects) and I'm not much closer to solving it, partly because every article I read on it is focused on php and server-side stuff that doesn't apply. How to load a String Array from a txt file in local user space (the folder from which the .swf is run). What I need to know: The easiest way for the user to save/load a file. The file has to contain Objects and Arrays reflecting his current status in the game. The goal is to avoid non-Flash apps and languages, and external Classes if possible (I do everything right in the main fla). I don't mind that the user has to initiate and approve the upload/download.
View 1 Replies
Dec 28, 2011
I want to create a simple game (Adobe Air) based on 2 players using ActionScript 3.Let's assume I want to create online chess game.So that I can play with my friend at work, at home, from anywhere via internet.Should I use flash server? Or something similar for this purpose, or there is simpler way to connect 2 players and make fully functional interaction between them?
View 2 Replies
Apr 18, 2011
I need to open media files from a network path like this "\drivefolderfile", is it possible, if yes how? else is there any other alternative?
View 1 Replies
May 17, 2011
This isse occurs in flash player 10.2 but not in 10.1. Im sorry if my rusty english is making this hard to understand. I have an issue that causes my hair to turn grey. I think it has something to do with security sandbox when accessing file over networks share from http. I have an swf wrapped with swfobject in html on a intranet: [URL] That swf tries to access/stream/load a flv file on a network share unc path:[URL] I get an NetStream.Play.StreamNotFound error when i try to load that flv file. I catn even load an image from that share. The code works fine when accessing files on the same http domain and when locally on my hd.
I've tried both with single and double backslash i the path so that it isnt broken.. cause I noticed that flash removes single back slashes. It actually seem as if I cant access any file on the netwrok drive. So therefore I cant load a policy file (crossdomain) from that network as well. I've added the network path to the Global Security settings panel, I can provide you with more info if you want to.
View 2 Replies
Nov 26, 2009
What Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
View 1 Replies
Apr 16, 2011
For example, in local network, when Adobe Air is reading files from local server (\Serverstorage) and network will be in down for a second, Air becomes eat a lot of memory and it is increasing up to 1GB (while normal memory use is 100 kb or less).Just reading file with File('file path on local server'); from unstable network can cause this error.
Have anybody seen that in projects?
private function init() : void
{
file = new File("\Serverdragracing
[code].....
View 1 Replies
Sep 8, 2010
We have 10 Windows computers on a small unmanaged gigabit network with a DD-WRT Linksys WRT-54GS router and Dlink 2208 hubs, and were having problems with the network dieing, and nobody able to reach the internet or other computers on the network. It started happening suddenly. There are additionally 3 VOIP lines on this network too and they would be killed.
In troubleshooting, I could see an enormous amount of activity coming from one section of the network. Disconnnecting this segment brought the network back online and functioning correctly. Further tracing based on the flashing lights on the front of the hubs narrowed the problem to one computer, a new Windows XP-64 bit computer. When I brought up the Local Area Connection Status in Windows, I could see an enormous number of packets being sent.
Close to a million packets per second were being sent from this computer.Adobe Flash Player (ver 10,1,82,76) was taking a tremendous amount of CPU time for an idle computer, and killing this in task manager resulted in the network coming back alive immediately. Is this a known problem with Adobe Flash going nuclear and killing an entire network?
View 7 Replies
Nov 3, 2011
I manage a number of academic computer labs, three of which are Mac OS X 10.5.8 units with Adobe Flash CS5 installed. Users log in using AD credentials and the client computers are managed with settings in OD Workgroup Manager (MCX records). The AD plugin is set to not force local home directories and users' home directories are located on network storage. ~/Library/Caches/* has been redirected locally, but no other folders are redirected.
Users have been reporting an issue where Flash sometimes appears to freeze during loading. I've been told this has been happening for about two semesters, but I was not aware of the issue until today. It sounds like students have been powering off the machines and logging back in, and hoping Flash will work on that attempt. When a 'freeze' is encountered the Flash splash screen appears and the status below the "Adobe Flash Professional CS5" text states it is "Copying First Run Files..." Checking the console, I can see that Flash appears to be attempting to access files, but is encountering issues. Dozens of times, I see errors like the following:
11/3/11 3:17:41 PM /Applications/Adobe Flash CS5/Adobe Flash CS5.app/Contents/MacOS/Adobe Flash CS5[2801] Allocator race detected: transaction is not verified for -112/2 - Library/Application Support/Adobe/Flash CS5/en_US/Configuration/ProcScripts/svg/LineBrushArt10.svg [code]....
Messages like these, but listing different files, have been going on since I launched Flash at 11/3/11 3:06 PM.
View 2 Replies
Aug 20, 2011
I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?
View 1 Replies
Jul 27, 2009
The reason Ordinarily I would just host everything on the server, the swf file and images and serve them out using something like apache. However, we're working with an embedded device with hardware limitations. So we thought we could avoid this by hosting the images locally on a cd.But Flash player moans about the security settings. I know a way to overcome this would be to give the user instructions to change the global security settings- hence allowing both network and local access. But we feel that this would be too much to expect the end user to do.We want our model to work out of the box so to speak. Or as best as possible.
View 1 Replies
Jul 13, 2010
Is it possible to access both network and local files, flash player 9/10?
Here is the situation:
I have an SWF which runs locally on the client's machine.
It communicates, via XML socket, to a C++ server.
It also needs to read some configuration files from the local file system...
c:config.xml <---> test.swf <---> C++ server
So I need the SWF to be fully trusted, as if it was ran from the Flash IDE.But I can't tell my clients to set it to be fully trusted using Adobe's Global Security Settings Panel
What I can do is alter my C++ server code, somehow granting permissions to the SWF.
View 3 Replies
Nov 2, 2009
I am creating a web page that allows users to upload their own swf files to my web page, which are then used by the main web page as components. This creates a security issue though because I don't want the uploaded swf files to access other files on the server.
when the main webpage starts, it loads whatever third party swf files the user specifies. Is there a way for my main web page to change the security settings of the loaded swf so that the loaded swf is treated like it was loaded from another domain? Or is there another way I can provent these uploaded swfs from accessing local files on the server.
View 5 Replies
Sep 6, 2011
I have the following scenario:
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
View 1 Replies
May 30, 2011
I have a webcam that takes a snapshot in AIR. I understand that the code below is to write/edit a .txt file.
var file:File = File.desktopDirectory.resolvePath( "Text.txt" );
so how do I save multiple snapshots .jpg to my local network/C drive?
View 1 Replies
Feb 20, 2012
I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?
Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?
View 1 Replies
Oct 14, 2010
I mean that FMS save streams to storage card priority, once the storage card is full, then FMS save streams to a standby path on hard drive.
View 1 Replies
Jan 19, 2006
I need to open a popup(html) form a Flash projector.
And I need save Files with "Save as window" from a CD to user choice...
View 1 Replies
Jun 24, 2010
I m trying a make a database on sqlite using actionscript3 and flex.I can browse through file and select a file using browseForOpen().I can get the url by Filename.url and storing it into a string type variable fileUrl:String.I m creating table like:
CREATE TABLE IF NOT EXISTS test_table (id INTEGER PRIMARY KEY AUTOINCREMENT,user_name TEXT,password TEXT ,fileurl TEXT)
i made a text input form for entering user_name and password like:
<mx:TextInput x="50" y="10" width="117" id="user_name"/>
<mx:TextInput x="50" y="10" width="117" id="password"/>
Now i want to insert values into the table like:
sqls.text = "INSERT INTO testt_table (user_name, password,fileurl) VALUES('"+user_name.text+"','"+password.text+"',fi leUrl);";
but its giving errors.How can I enter the url or path of the file chosen into the table.
View 0 Replies
Oct 3, 2011
I have an Adobe Air application(based in flash) that loads in PNG files from a directory, there is a text file to specify the path, however it doesn't seem to be working on OSX while it works just fine on Windows Windows path
[Code]...
View 2 Replies
Feb 16, 2011
I'm using the Flex3 File.browseForOpen() method. Is there a way to specify a initial path that the file browser starts in?
View 1 Replies
Oct 4, 2011
I wok on desktop Adobe AIR application. It creates .DMG for mac os builds. It is actually command line application. What I want is the ability to call it from command line - add it .../*.app/Content/MacOS to $PATH. Is there any standard way to do it with AIR ? I need it to work on Windows as well.
View 1 Replies
Dec 22, 2010
When ever I try to save a cs4 file as CS5 the adobe flash cs5 will stop responding for no reasons
also, some times and only for some files when I save the cs4 file as uncompressed cs5 and then save that uncompressed cs5 to normal cs5 the conversion works and some times not.
ofcourse any of the cs5 files cannot be saved as cs3 or cs2 for no reasons..
p/s: microsoft office can be saved to any previous versions..
View 1 Replies
Sep 9, 2011
I'ld like to save variables to an Encrypted Local Store. This example is working but how can I extend it to save more than 1 variable?
[Code]....
View 1 Replies
Mar 24, 2012
i made a flash air application for android and i need to download file and save to application local directory
View 1 Replies
Dec 19, 2010
I am making a desktop Flash application (AS3). It provides to users an opportunity to save and open their projects.I've used FileReference to open project file
var fileRef:FileReference = new FileReference();
var ourTypes:Array=new Array(new FileFilter("Map Editor type (*.xml)", "*.xml"));
fileRef.browse(ourTypes);
and use file content by using fileRef.data.
var mainXml:XML;
mainXml=new XML(fileRef.data);
User must have an opportunity to add some data in this file (not only read). How can I save new data in the same file?
View 1 Replies
Oct 10, 2011
I found the below snippet to save an image to a specific folder with Adobe AIR. How to modify it that the "Save As" OS-window comes up first? (So users can choose where to save the image on the hard-drive)
[Code]...
View 1 Replies
Dec 7, 2011
I use the following [code]...
in order to capture a frame from a videoDisplay object
1) is it correct or am i doing something wrong?
2) what can i do to store the bmpData as .jpg at my computer?
View 4 Replies
Feb 26, 2012
I need to figure out a way to allow users to save their galaxy in an outer space game that I'm building. At the most basic level, I need to write the randomly generated galaxy (which is an instance of a custom class) to disk and then read it from the disk later. I've not used Air's filestream abilities before and I'm having a bit of trouble. [code]...
View 2 Replies
Mar 7, 2012
I'm trying to write a XML file to save the position and size of the app window in it. I'm running into this error: TypeError: Error #1010: A term is undefined and has no properties. MainTimeline/setupWindow()[code]
View 1 Replies