ActionScript 3.0 :: Creating A New File With The Use Of Adobe AIR?
May 2, 2010
Is the only way to create new files with AS3/Flash CS3 is with the use of Adobe AIR? or can you do this without using that?I'm trying to do this with a standalone desktop application, NOT a web-based application.I've spent most of the day searching google, and most of the results I've found were from 2006 and earlier and people used the fscommand function, but this seems to be obsolete now. There was one result I saw that mentioned that you would have to have Adobe AIR installed to do file manipulations and save/append to files, but I'm just wondering if there are other options now.
View 6 Replies
Similar Posts:
Feb 16, 2010
I'm just starting out with my first Adobe Air project (I'm a pure AS3 developer by trade).I'm planning to build an image editor which supports layers. I'm wondering what the best way would be to store an entire project including layer data (images) to a users hard disk.I'm wondering if there is any pros/cons in creating a custom file format for my application. The idea is I will be able to store an entire project in a single file. This will be done by writing meta data to the file's header such as the image dimensions, layer names, layer data offsets etc...I'm trying to be mindful of the issues which might arrise such as maintaining backwards compatibility after adding new project features/meta etc.I guess I'm asking whether people have any advice or experience with creating a custom file format for Adobe Air and if there are any other 'out-of-the-box' solutions to saving 'complex' data to a users hard disk.
View 2 Replies
Mar 20, 2011
I am working through an audio player demonstration in the book "Foundation Actionscript 3.0". When I try to publish my AudioDemo_final.FLA file I get the following error, "Adobe Flash CS3 - Error creating flash movie file. Destination directory does not exist. Change your publish settings."The following is displayed in my output panel >> Error opening URL 'file:///C|/Sites/flashcoder.net/FAS3/Audio/AudioDemo%5Ffinal.swf'My file directory is set up like this:AudioDemo_final.flasong1.mp3com.fas3.smc (folder)Main.asSounds.as
View 2 Replies
Aug 23, 2010
Is it possible to write text using Adobe AIR so that I can save it as an actionscript class file?
I want to generate my own classes using air, I just have not found anything that explains how I can save say a text file as a .as file.
View 2 Replies
May 21, 2010
Let's discuss about sell iPhone apps in an independent store, it is not crazy at all. If Apple denies us the right to choose the platform to develop apps, we can choose where to sell those apps. We cannot develop in Windows. Now Adobe gave us a solution. Now Apple doesn't allow to develop in Flash. Lets get together on this. All of we (a big WE) owe Adobe our support. Also MAC users do.
View 1 Replies
May 12, 2010
Well, the title said everything, I saw some very nice effects using After Effects, but I want to apply those to a Flash game.. will it be useful?, or After Effects only works on cut scenes, animations, etc?
View 1 Replies
Apr 27, 2011
I've been looking for some examples on creating a custom statusbar for an AIR application, but haven't found anything really useful. That was until I started looking around in the Tour de Flex AIR app for an example, and it was right there (part of the app itself). Would anyone have some suggestions on replicating this statusbar. The trouble I'm having is that I cannot seem to get the value of a dynamic variable to display. I'm attempting to display the current user.
View 2 Replies
Jul 9, 2011
I am working on a game in flex, and I am trying to figure out how to create menus in the game. I am was thinking it would be easy just to add and remove a child for the menu, but then it would be a pain to make interactive.I am trying to do both a pop up menu and an always on screen menu, like a bottom menu bar, so if anyone has any ideas please let me know. I am completely new to flash and flex and don't really know where to start past making the actual game.
View 2 Replies
Nov 30, 2011
I want to create 2 tables in a single adobe air database. I am using Adobe flash builder with the import flash.data.*;
I tried initializing the statement below. it give me the error on creating the second table. Do I have to use other API so that
private function db_opened(e:SQLEvent):void {
sqls.sqlConnection = sqlc;
sqls.text = "CREATE TABLE IF NOT EXISTS test_table ( id INTEGER PRIMARY KEY AUTOINCREMENT, first_name TEXT, last_name TEXT);";
sqls.execute();
[Code] .....
ERROR
Error: Error #3106: Property cannot be changed while SQLStatement.executing is true.
at Error$/throwError()
at flash.data::SQLStatement/set text()
View 1 Replies
May 5, 2011
I will create a voice chat application with Adobe Flex and I want use the opensource Red5 as a server.But, I confuse how to start it. it's possible just use NetStream and NetConnection?
View 1 Replies
Apr 15, 2012
I need to know what the details are of the file permissions of an adobe AIR app. Specifically, to where can may it write text files? Anywhere on the local system? I heard Adobe has a set of "Sandbox Permissions" but these just confuse me as I don't know where they apply. Additionally I wish to know if you need some kind of special permission to append to a file somewhere on the system.
View 1 Replies
Dec 28, 2011
For some reason I am unable to create a FLV file from a MP4 file with high bitrate. I even created a custom setting and specified bitrate as 2500 but the output file is always around 775.
View 9 Replies
Nov 9, 2010
I have developed a video player in adobe flash cs4 and used all vector arts but when I open this fla file in Adobe Flash CS5 and published it, the swf file size more then fla file.
Adobe Flash CS4 -
Index.fla file size: 523 KB
Index.swf file size: 55 KB
[Code]....
View 2 Replies
Nov 11, 2011
I am working on Adobe AIR application and some test users report to me about same issue.When they try to save the project file from this application, they have no possibility to add any extension (".txt", ".xml" or any other) to the file.
View 1 Replies
Aug 11, 2009
I am creating a SWF file using a MXML file. The MXML file define several MX:Button and uses an external stylesheet to style them. There is a problem I am facing at the moment, I am aiming to style the buttons in a way that is similar to the way I can style HTML button elements. However, I could not achieve such look and feel. For example, I could not find a way to define the color and thickness of the borders for each side of the button (top, bottom, left, right), the background color, the margins, the padding, the width, and the height of the button. Also, selector such as hover, active, focus are not available. I was only able to change the size and the font color of the button successfully.
View 2 Replies
Oct 19, 2010
Initially I had a 2039 error I resolved this by using a local testing server, which resulted in a 2038 error. So then I hard coded the url and now I dont get any errors but the file doesnt upload.
Instead a file is created (FileUpload.cs) in the directory where the files should be.
Does anyone know what this FileUpload.cs file is?
View 0 Replies
Jan 10, 2012
I am a web designer and I do like to hand code using jquery however, I think it would be much faster to use gui applications like flash to create animations especially on the fly as well as support for writing and editing source code.
View 1 Replies
Jul 26, 2010
To package an .air file into a native installer you have to use a batch program called adt.
The command on Windows will look something like this:
C:Usersjisaacks>"C:Program Files
(x86)AdobeAdobe Flash Builder
4sdks4.1.0inadt" -package -target
[Code].....
View 2 Replies
Feb 17, 2012
I've done it this way, but Adobe Air hangs for several seconds.
private function test():void
{
fileStream = new FileStream();
[Code]....
How to make the process of getting md5 without hanging?
View 1 Replies
May 14, 2008
Is there way to set the extension of a file using Adobe Air's flash.filesystem? Using the browseForOpen function you can set the FileFilter, limiting the files types available. However when using browseForSave you can not set a fileFilter or fileExtension. The file extension has to be entered manually in the SaveFileDialog. The File.extension property associated with the selected file is read-only. Does anyone know of a work around or anything that I could do to not enter the file Extension manually.
View 2 Replies
Jun 9, 2010
I didnt even make my .swf file in adobe flash.. i made it (embarrassingly in keynote - and exported the file as a .swf file) ok. i'm working on this file for close to a week - yesterday i noticed the file when exported - was 1.4mb ... and today - when i exported it it was 6.9mb!
[Code]...
View 4 Replies
Feb 10, 2010
I've created a fileUpload.mxml component in flex 3 which basically uploads m4a's to a designated server. The general code is below:
private var uploadURL:URLRequest;
private var file:FileReference;
file=new FileReference();[code].....
Everything works fine on a windows pc, but not on a mac pc. It stops at file. upload (uploadURL)(and thus doesn't trigger Event.COMPLETE).
View 1 Replies
Mar 7, 2010
I've been scouring the web to find a tutorial on how to implement a flex uploader, but didn't find any :(
Some tutorials just give the code and doesn't explain how to use them(sorry, i'm a newbie to flex)
can u geeks suggest some good tutorials?
View 1 Replies
Mar 7, 2012
I'm trying to upload a file with Flex to Minus.com
The API Reference explain the upload with this example:
POST /api/v2/folders/0FQHJakL/files?bearer_token=[token] HTTP/1.1 Host: minus.com Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryxECY8varBqIXZW4f Accept-Charset:
UTF-8,*;q=0.5
[Code]....
View 1 Replies
Jan 22, 2011
I have an application that allows to user to select an image, write the text on the image and user can fade the image as well. I have created a canvas where user add all what s/he wants. Now what I want is how to create a swf file what the user has created and save it on the client machine.
View 7 Replies
Feb 23, 2010
I've created a flash animation (the backgroung is moving horizontally and vertically according to the movement of the mouse), the problem is that when I open my SWF file in Adobe Flash Player 10.0 the whole animation is shaking. (In Adobe Flash in preview mode it looks fine)
View 2 Replies
Jun 5, 2010
How can I import a .swf file in Adobe Flash CS4?
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
Aug 26, 2011
I try to open the macromedia flash 8 version flash file in the Adobe Flash CS4. At that time one "Font Mapping" window came. In that Window "The document "Name" contains one or more fonts currently not available on your system. The text will display and publish with the font mapping below".
View 5 Replies
Apr 11, 2012
I need to print sequence of static PDF files with out opening it in Adobe Reader. Is there any way to create a application which will print the PDf file with out opening it in Adobe Reader.
View 1 Replies