IDE :: Set File Extension With Adobe Air?

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


Similar Posts:


Actionscript 3 :: Adobe AIR Doesn't Save File With File's Extension?

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

ActionScript 3.0 :: Adobe.utils.Extension Not Found In Adobe Flash Professional CS5

Dec 23, 2010

In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?

View 12 Replies

Android :: Get OnActivityResult To Run In An Adobe Air Native Extension?

Jan 7, 2012

I am writing an extension that will allow a Flex application to access Android's native image picker. I am able to launch the image picker activity without issue, but after it returns to the caller, which is an FREFunction object, onActivityResult is not called. Because of this, I am unable to figure out what image the user has chosen.

When I use the exact same contents of the FREFunction in a native Android app, The app works fine, and I am able to retrieve the URI of the chosen image in onActivityResult. How can I get onActivityResult to fire, or at least retrieve the information returned by the image picker activity?

View 1 Replies

ActionScript 3.0 :: Compile A Droid App That Uses The Adobe Air3'sNative Extension For Mobile Devices?

Oct 29, 2011

I'm trying to compile a droid app that uses the adobe air3'sNative extension for mobile devices. The trouble is that you have to compile it in the command line and the tutorial I was going from gave me a compile script for mac..

Code:
# path to YOUR Android SDK
export AIR_ANDROID_SDK_HOME="/Users/leebrimelow/Documents/SDKs/android-sdk/"[code]...........

View 3 Replies

Javascript :: Deploying A Google Chrome Extension; Adobe Flash Player Has Stopped A Potentially Unsafe Operation

Feb 20, 2012

how to best handle the issue of not having enough permission inside of a Google Chrome Extension. I am interacting with the YouTube API, but I am not using swfobject.js, just using am embdeeded div. I do not believe this is introducing my security issue, but perhaps it is. In development, I had to navigate to Adobe's flash player security page and designate my development folder as a 'safe' location. In deployment, I do not have the ability to do this. I do not want my users to have to click 'Allow All' on flash player security, but I do not see another way to achieve my results.Seems to be a duplicate of SWFobject in a Chrome Extension - API Unavaiable but remains unanswered.Source: https:[url].....

To run: Pull from the repo, load up Chrome, click the wrench, go to extension, check 'Developer Tools' -> Load Unpacked Extension and browse to the folder.

View 1 Replies

ActionScript 3.0 :: Determine A File Type From Url When The File Extension Is Not A Reliable Indicator?

Feb 8, 2010

Is there any way to determine a file type from a url when the file extension is not a reliable indicator? Since there are different APIs for playing video, audio, or displaying images, you need to know the filetype beforehand.

View 5 Replies

ActionScript 3.0 :: Lock Down File Extension When Using Flash To Save A File?

May 21, 2011

We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.[url]...

Problem:When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?

Technique 1? Set "Save As Filetype" to SWF by default.

Technique 2? Click "Publish as Flash". User specifies the filename. File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's downloads.com)

View 2 Replies

ActionScript 3.0 :: Adobe Has Removed The "Flash Professional CS5 Extension For AIR 2.5"?

Apr 9, 2011

I do not know why Adobe has removed the "Flash Professional CS5 Extension for AIR 2.5"?

View 4 Replies

Professional :: Change The File Extension From .doc To .fla?

Mar 22, 2010

Is there is a way? ASAP

View 3 Replies

ActionScript 3.0 :: Load A Xml File With A .lic Extension?

Nov 4, 2010

when i load an xml file with a .lic extension with .pl in it,  eg  blahblah.pl.lic it errors on me, as if the file is not there.
 
However, if i rename the same file to blahblah.com all works fine.
 
i call the file with
<s:HTTPService id="hsLicAddressCheck" fault="hsLicAddressCheck_FaultHandler(event)" result="hsLicAddressCheck_ResultHandler(event)"  />

[Code].....

View 2 Replies

Flex :: Forcing Extension On A File Name?

Jul 28, 2009

In flex when I allow user to download a file using :

dwFile = new FileReference();
dwFile.download(downloadURL, dwFileName);

Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar, but as of now the user can tamper with filename, including its extension. Can I prevent him from doing so?

View 1 Replies

Disallow A Particular File Extension From Being Downloaded?

Dec 17, 2009

[I posted a similar question on serverfault.com, but had very little feedback so trying here]

I can do this just fine under Apache with htaccess

But at work its all M$ all the time...

I need to lock off access to any .fla files that might come up on a virtual host. We keep them next to the few .swf we use on some of our sites, I just want to be sure they are not being downloaded by people or spiders that may scrape the site.

There isn't really anything sensitive in the fla's but I'd rather keep them in the same folder and have them forbidden to downloaders.

I've tried the MIME type route (check if MIME type is defined under HTTP Headers > MIME Types, remove if it was, etc;), but there is no FLA defined, but I can still download the file by default. I recall this was the opposite if you WANTED to serve .flv files, but not .fla's[code]...

View 1 Replies

Changing File Extension From F4V To FLV - Any Negative Effects?

Sep 2, 2010

I am uploading videos to my new site (aspirin creative) and the player will not recognize any .f4v videos. I changed the extension on one to .flv and it now appears to recognize and play the video. Also, I didnt build the site myself and the developer not Define terms of video playback (which has been less than great so far) the player seems to be a rather strange resolution (600x340) which is not native 16:9 and wont recognize 4:3 encodes without stretching and warping. I have tried to encode close to this in media encoder but as soon as I select .flv over .f4v in the options my ratios seem to go mad, not keeping the preset and not letting me set to anything that is actually 16:9?!

View 2 Replies

Flex :: How To Attach File Extension With AIR Application

Feb 23, 2012

I made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?

View 2 Replies

ActionScript 2.0 :: FileReference Download File Extension

Jul 25, 2008

I'm trying to get my flash movie to allow the user to download a file of a specific extension, at the moment i use:

[Code]....

Two problems:

a) If the user changes the file name in the browser before clicking save (and doesn't re-add the .xml extension) then the file is saved without an extension

b) Randomly, tested on two windows xp systems both in IE one included the extension in the filename on the browser download window and one didn't (which doesn't make it clear to the user they have to include the extension as part of the name) but both saved to the correct xml extension file

a) If there is a work around so I can specify the exact file type, in the adobe reference manual it states you can parse in extra parameters to server with the file location to download. How would i do this?

b) If can't do a, how can I get it to always display the extension in the browser download window (unlike in problem b )

View 7 Replies

ActionScript 3.0 :: Adding Extension To Saved File?

Oct 14, 2011

Just as title says is there a way to automaticly add extension to file name. when i create a new XML via flash it works but i have to type in the text field name of the file and extension i.e: full.xml, to save the file as xml, and i want to write just the filename and extension is added automatically

View 3 Replies

ActionScript 3.0 :: Use Flash To Create And Save A File With Preset Extension?

May 21, 2011

We used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.http:[url].........

Problem: When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?

Technique 1? Set "Save As Filetype" to SWF by default.

Technique 2? Click "Publish as Flash".User specifies the filename.File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's [url]...........)

View 2 Replies

ActionScript 3.0 :: Check File Format / Extension Of Loading Content?

Nov 4, 2010

However that content is being served without extension,- "myMovieClip", "myPicture".

So I need to find a way for checking extension or file type of my loading content - *.swf, *.png, *.jpg ?[code]...

View 4 Replies

ActionScript 3.0 :: Import File Names Of Songs Minus The .mp3 Extension Into Flash?

Jul 1, 2011

I'm wondering what the process would be for importing the filenames of songs minus the .mp3 extension into Flash would be? I want to import the filenames, and then create a for loop that goes through and adds some html tags to each name, and eventually I'll spit out a text file of it all for me to copy and import into a search function on a webpage. I think I can work through the latter, but I was wondering how to originally import the filenames into a swf?

View 5 Replies

Flash :: Swf - Using Amazon S3 To Host Videos - Why Does The FlashVar Show No File Extension

Jul 8, 2010

I'm using FlowPlayer to replace an existing FLV player on my site that plays videos from Amazon E3. I have many pages and each should show a different video. For each page, I have a value stored in my CMS that is the "streamName". The stream name corresponds to a flashvars paramenter in the object/embed tags that show the video player:&streamName=my-great-video

On my new player, I'm able to get the video using a URL similar to [URL] How Does Flash (or Amazon???) know to add in the .swf extension? There are several video formats used on the site, and the current player works with them all... But, as I mentioned above, on each page the value store for the video (ex="my-great-video") includes no extension.

View 1 Replies

Actionscript 3 :: Play MP3 With No File Extension In Flex 4 Spark Video Player

Sep 30, 2010

I have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".

UPDATE!!!
// in the creation complete handler
var audioElement:AudioElement = new AudioElement();
audioElement.resource = new URLResource(path);

[Code]....

It seems the audio is cued up in order when added to the creation complete meaning that if one audio file is loading another will not start until after the first has completed.

View 1 Replies

Actionscript 3 :: The Details Of Adobe AIR File Permissions - Append To A File On The System?

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

Professional :: Adobe Media Encoder - Unable To Create A FLV File From A MP4 File With High Bitrate

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

ActionScript 3.0 :: Adobe Flash CS5 Generating SWF File Size More Then Fla File?

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

Flex :: Run BAT File From Adobe AIR?

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

Actionscript 3 :: Adobe AIR. Get MD5 Of A File

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

Flash :: Make .swf File In Adobe

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

Osx :: Uploading A File On Mac Osx Using Adobe Flex 3?

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

Adobe Flex File Uploader?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved