Move/delete A File (on The User Filesystem) In Flash Or Flex?

Mar 31, 2011

In need to move/delete files on the local file system of the user from a web page.

I know the flash player run all applications in a sandbox for security reasons. But maybe is there the possibility for the user to allow local filesystem operations (in some advanced settings). Or maybe to sign/join a certificate.

View 3 Replies


Similar Posts:


Flex :: Using Flash.filesystem.File And Tw.helpers.flv.SimpleFlvWriter?

Sep 13, 2009

may i know in order to use these 2 class in my actionscript. I need to use "adobe air and flex" ?

View 1 Replies

ActionScript 3.0 :: File Streaming - Error : 1172: Definition Flash.filesystem:File Could Not Be Found?

Apr 23, 2009

I'm trying to read  bmp fille byte by byte and then redraw it. For that I made a .fla file for veiwing and .as file for coding. I just started coding and made import to the follwing files in this scenario and I get errors while debugging.
 
Code:-  package
{
import flash.filesystem.File;[code]....
 
 Error Message:-
 
1172: Definition flash.filesystem:File could not be found.1172: Definition flash.filesystem:FileMode could not be found.1172: Definition flash.filesystem:FileStream could not be found.5000: The class 'FileStreamLive' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.
 
I've seen many samples on filestreaming but all were using the mxml scripting that I don't know

View 3 Replies

ActionScript 3.0 :: 1172: Definition Flash.filesystem:File Could Not Be Found

Apr 13, 2010

I get the error 1172: Definition flash.filesystem:File could not be found. when i attempt to import File class or any other class from the package flash.filesystem. I already installed Adobe AIR but it still doesn't work.

View 3 Replies

Flex :: How To Use Flash.filesystem.FileStream

Nov 1, 2010

How to use flash.filesystem.FileStream? FileStream.as file Where?

View 2 Replies

Flex :: Delete A File In The Application Directory?

Nov 19, 2009

We are writing log files to File.applicationDirectory and want to clean out old log files. The question is how do you delete files out of that directory? When I try and delete old log files out of this directory it gives a security exception. Is there anyway around this? I know you are not supposed to write to File.applicationDirectory, but we are writting are logs there anyways.

View 2 Replies

Flex :: Combobox Backspace Or Delete Key Does Not Delete Highlighted Text

Mar 26, 2010

I am implementing a flex auto-suggest combobox - as the user types in each character: Consider the string 'Stackoverflow' and user input = 'st'

1) the data provider is filtered to show all items starting with 'st'
2) text is set to auto-suggest string such that the un-typed part is highlighted.

So for instance, the combobox text may contain st'ackoverflow', where 'ackoverflow' is highlighted using setSelectedIndex()When I hit back-space or delete, and check the 'this.text' value, I expect that the last un-highlighted character ('t' in the above case) gets deleted and the data provider is filtered to show all items starting with 's'. However the text property contains 'st', as before

View 2 Replies

Professional :: SecurityError: Error #2028: Local-with-filesystem SWF File

May 29, 2011

I've created a small application that is loaded by a preloader. The preloader loads the app then loads some json data it passes the data to the application and then puts the application on stage. Everything works fine in FDT 4 but once I put it on a server it gives me this error - SecurityError: Error #2028: Local-with-filesystem SWF file. Does anyone know why its happening and what setting I need to change to stop it? I have set the load arrguments -use-network=true and false to no availe. The json data is coming from an external web address when I change and put it locally with the application I get SecurityError 2148.

View 1 Replies

Php :: Implement Virtual Filesystem With Flex?

Apr 9, 2011

I am creating an EDM (Electronic document Management) system which will use Flex for front-end, PHP at server side and Mysql as database. Since its an EDM a single file will have many versions old copies will be stored hence one to one files mapping is not a choice. Wondering whats the best way to do so.

View 1 Replies

Flex :: Load Image From Filesystem?

Dec 13, 2011

i have the following:

<s:Image source="{path}/imageName"/>

how can i determine that path to load the image from filesystem lets say from
C:UserssstaurossDesktop ??

View 2 Replies

ActionScript 2.0 :: Prevent User From Delete The Text?

Jan 14, 2010

Is there a way I can prevent users from delete a text or a character? Say I want the textfield to always show the "$" in front of the number they enter. I was successfully able to do it when they click backspace or delete and then started typing any alphabets. BUT no luck when they highlight the entire textfield and typed the number. The "$" will get deleted, which I don't want that.

View 2 Replies

Javascript :: Swf File To Just Delete Flash Cookies?

Sep 2, 2010

I'm trying to find a javascript method to delete flash cookies on a page, but with no luck.I know it can be obviously done through flash or flex, but the problem is I know nothing about flash, flex and actionscripts...So my question is: Is there a way to just load a prebuilt flash movie in a page, which just programmatically deletes all the flash cookies it finds?I could find some actionscript code around the internet and didn't look complex, but I don't know how to use it

View 2 Replies

Ruby :: Storing A Filesystem Tree In Mongodb And Serve As Json To A Flex Application

Apr 17, 2011

I want to store a filesystem tree into MongoDB within a Ruby application, so we are talking about json/bson representation of something like:

/
/foo
/foo/one
/foo/bar/two
/foo/bar/three
/four

my aim is to store it efficiently and to serve it via json to an Adobe Flex application which will display it in a Tree component. which is the best solution in your opinion? this document suggests some options. i'd like to go for something like the first pattern (keeping in mind the limit of 16Mb document size) with this format:

[Code]....

View 2 Replies

Professional :: Delete Some Files From A Flash Template (.fla File) In Flash?

Jul 26, 2010

I am trying to delete some files from a flash template I purchased, when I open the .fla file in flash and go into the library, I would like to delete the contact box and the mp3 player, when I locate those files  in the library and delete the files, the website no longer opens up (it  will not work when I delete those files from the library)?

View 6 Replies

Professional :: Why Flash.filesystem.FileStream Is Not Available For Web

May 18, 2011

Is there any serious reason why flash.filesystem.FileStream is not available for web version of flash player?

View 3 Replies

Actionscript 3 :: Flash CS5 To IOS - Using Filesystem Causeing App Not To Run On IPhone

Oct 6, 2011

I'm in the final stages of designing a game for the iPhone using Flash CS5 and I'm running into a problem with it running on the iPhone. I am a registered Developer, so I'm doing this completely legit... I'm just doing it on a PC and with Flash so there are a few workarounds being done lol. I'm at a point where it runs perfectly in the simulator but not on the iPhone itself. I load up the game and the opening screen loads up where I have my PLAY button located. The problem is, it doesn't work. It doesn't click, change screens... nada. So I worked it out to be something I'm doing wrong with the way I'm using the Filesystem and my save game file. If I take out the filestream stuff and just put in hard values into all my save game variables, the game runs just fine. The PLAY button does its thing and the game is good to go, except of course that I'm stuck to just the hard set values instead of being able to do little things like change levels. So here is the code I'm using, and hopefully someone can see where I've gone wrong.

[Code]...

View 2 Replies

ActionScript 3.0 :: Flash And Filesystem - Can't List A Folder

Aug 21, 2009

I'm on a project where the main SWF loads some other swf file and show them. I told my boss that AS3 need the exact path and name of the file to load it, that it can't list a folder and take everything in! I'm almost totally sure I'm right ! I'm not talking about a php script that list the folder and send variable to flash.

View 2 Replies

Xml :: Flash - Umbraco - Automatically Make Changes To A File With A Media Item Upload Or Delete Event?

May 17, 2011

I'm looking for a solution to the following problem and I'm not sure if this is possible to do with Umbraco.We have a Flash movie which will read in images/paths to images and an accompanying title via XML and we need to be able to manage these through Umbraco.Is it possible to program an event for when an image is uploaded or removed from this specific folder so that it makes changes to the XML file and so it adds or removes the corresponding data?

View 1 Replies

Flex :: Load A Local File Without Having To Ask The User To Browse To It First In An AIR Application?

Jul 22, 2011

I'm writing a small application for myself and instead of using a database I'd like to just use Excel to store the small amount of data I have on my local file system. I want to be able to load that data without having to use the typical FileReference browse() method as it would just be annoying to do every time I use the application.

The code below seems to find the file fine as the file.exists method below and most of the other attributes seem to be correct but the file.data is always null.I'm guessing this is a security issue and that's why I'm running into this problem but I thought I'd ask and see if there is in fact a way around this problem.

var file:File = new File(fullPath + "\" + currentFolder + ".txt");
if(file.exists) {
var byteArray:ByteArray = file.data;
}

View 2 Replies

Actionscript 3 :: Download A File From Server Without User Interaction In Flex 4?

Sep 27, 2011

The code flow is as follows: user clicks 'download details' button on the page -> on button click handler a call to a RPC method is made using s:CallResponder -> RPC method generates and returns a URL from where to download the file -> the success event handler of the CallResponder gets the url where FileRefrence.download() is used to download the file but throws following error:-

Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.

[Code]...

View 3 Replies

Actionscript 3 :: Flex Swf Write To Local File If Given Authorization By The End User

Feb 2, 2012

Is it possible to write to a local file 'example.txt' from a Flex swf? FileStream class is available in Adobe AIR, not in Flex. I want to write to from a swf,not AIR application. I am developing a kiosk type application which has to log user interaction data to a text file on the machine. Is there a code example for doing this? [URL]

View 1 Replies

Xml :: Flex - Nodes Will Not Delete Despite Calling "delete"?

Feb 9, 2011

I'm trying to use the delete keyword to remove nodes from an xml file and it just plain won't work.Here's a stripped down example of what I'm working with. Every node has a child named "deleteme". If its value is equal to 1 I want to remove it from the xml file. If its anything else I want to leave it be. The delete method is deffinately gettig call but it's having no effect.

<?xml version="1.0" encoding="utf-8"?>
<stuff>
<i>

[code]......

View 1 Replies

Flash :: Storing Several Gigs Of Data Using Its Filesystem / Cache?

May 13, 2011

Is there anything preventing a Flash website from storing several gigs of data using its filesystem / cache?What are the limitations?

View 1 Replies

Flex :: Move File Assets From Src Into Bin At Compile Time In FDT5

Jan 26, 2012

Flash Builder has a nice feature that will allow you to have it move files such as images, fonts, xml files and so forth into the bin-debug directory an compile time. The reason for doing this would be to mock up some data or test pulling in assets dynamically but having them in source directory so you can version control the assets during development. Typically we don't add the bin directory to version control so being able to have the IDE move files over to bin for you is very helpful if you are on a large team.

Is there a feature within FDT5 that will do this like Flash Builder?

View 1 Replies

Java :: Flex File Upload With HTTPS - No Access To User Principal

Dec 29, 2009

We're trying to upload a file from a flex client to a JEE app.
In a full HTTPS environment
JEE server is JBoss 5
Using BlazeDS 'Custom' authentication (username and password are entered through a flex form)
Using BlazeDS per session authentication
In regular AMF calls, we can access user principal and use role mechanism. However, in our upload servlet, we have no access to user principal.
request.getUserPrincipal() // returns null

View 2 Replies

ActionScript 3.0 :: User To User File Transfer Via FMS Or RED5 In AIR Application?

Jun 25, 2009

It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.

View 2 Replies

Flash :: Program An Html Page To Move To A New Web Page On User's Clicking An Item Of An Embedded Movie?

Nov 21, 2011

Let me ask how to program an html page to move to a new web page on user's clicking an item of an embedded flash movie? But , in detail, I actually want to do a little different thing. I want that the parent html page remains there ,instead I want a child html frame has a new page after user's clicking the list item of the embedded flash movie.

View 2 Replies

Flash :: URLRequest - Send A Delete Method From Player (Flex)

Jan 14, 2010

Need to find a way to send a delete method from Flash Player (Flex). Currently it's not done by default (except for from AIR), but I am sure someone has augmented the URLRequestHeader to get it to work properly. I've tried this, it isn't working:

[Code]...

View 2 Replies

Flex :: Downloading A File From A Server And Saving It In A Specific Location Without User Intraction

Jun 23, 2010

I want to download a file from the server and save it in a particular location of the disk without user interaction. All this I want to do it in Flex.

View 1 Replies

ActionScript 3.0 :: Flex Library FileSystem (AIR) - Error "Ytpe Is Not Found When Compiled"

Apr 2, 2009

I created a new Library project in Flex Builder 3. In a few of the mxml classes I wanted to put in this library I use the flash.filesystem.File class. For some reason I can't use it in the classes in the Library project. The error says that the Ytpe is not found when compiled. In another project, which is a Flex project (so no Library project) I can use the File class without any problems. how to use the filesystem in an other way? (I now use it to read/write files on my HD).

View 2 Replies







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