Flex :: Encrypt A Local File Using / Actionscirpt , AIR?
Aug 28, 2009I want to encrypt a local file using Adobe Flex, Actionscript or Air.
...or I would like to know of other options but not vc++ or activeX.
I want to encrypt a local file using Adobe Flex, Actionscript or Air.
...or I would like to know of other options but not vc++ or activeX.
I am now thinking of encrypting the flv file . is there any way to do this by flex? do you have some tutorial of example to do encrypt the flv file.
View 2 RepliesWe are trying to create a sqlite db file using java on the server, and encrypt it.Then we send the encrypted db file to a client's pc, which has an Adobe Air desktop app running.The air app then needs to be able to open/read-from the encrypted db file (client is read-only).We are using java 1.6, flex/actionscript 4.5, and Air 3.1.We can create the sqlite db file on the server and send it to the client, and it can be read by the client without issues, when we do not encrypt it.But we are having trouble with the encryption part. We've read quite a lot of documentation about Actionscript's ability to open encrypted sqlite files using AES + CCM (URL...).And we're trying to use java's crypto package to encrypt the sqlite db file.The encryption is important because we don't want the client to be able to open the sqlite db file with any sqlite browser, only with our Air application.
View 1 RepliesIs there any way to encrypt my swf file against hiker?
View 2 RepliesI am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this?
View 3 RepliesI have an ant task <encrypt file="${something}.swf"/>. I need the same for Gradle however Google returns zero results about this.
View 1 RepliesI am creating a Flex application for intranet use.I need the application to execute files, with different file types (txt, emails, etc.) at specific known locations on the clients computer.Is it possible to give permissions to the Flex application to execute local files? (I have administrative rights on the clients computer)
View 1 RepliesI want to save XML data into a XML file. So I can load it on the next startup.
View 2 RepliesI'm testing Adobe AIR with flex, and I wanted to play a mp3 via an open file dialog, I did that [code]...
I can't find anything related to that on Google or another documentation, all the docs I find is related to play a sound using URL and not Local files
all i want to do is have a screen and items on the screen that the user can move around the sreen by clicking on it(drag) and left go when they lift their finger on the mouse (drop). oh and what do i write it too
View 2 RepliesI have a swf file which contains static text.... Now i want to encrypt and decrypt the static text available inside the output swf file.. Is it possible to do in AS 2.0 .... If it is means then provide some idea to perform these operations
View 8 Repliesi'm pretty new to flex 3 but it's really cool so far. now in the center of the screen when i try to load an swf file using the SWFLoader object i get the following error:
Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/GamePage.swf cannot load file:///C:/Users/ufk/Documents/Flex%20Builder%203/GamePage/bin-debug/crazy_counting.swf. Local-with-filesystem and local-with-networking SWF files cannot load each other.
[Code]...
I am using FDT for Flex development and when I compile, and it tries to access a flv file, I get the error "cannot access local file". This is obviously a security sandbox thing.Now I tried adding crossdomain.xml to the root and it still makes the same error. I know somehow I need to add to my project use-network=false, but i cant for the life of me work out where the flex compiler additional arguments area is. I know in eclipse how to do it, but with the slightly modified FDT, i havent got a clue
View 1 Repliesis there a way to save, not save as, from an online flex app onto someone's local machine?asically, if a user opens a file local to their machine in an online flex app, is there a way to allow them to save it locally without going through dialog boxes and picking file names?
View 2 Repliesi am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){
getURL("folder/folder/file.htm","_self");
}
[code].....
How do i send a text file between air applications using local connection?Sender AIR
private var conn:LocalConnection;
public function init():void
{
[code]......
In a very simple first AIR application (I'm using Flash Builder 4.5), I am trying to accomplish the following on my MacBook:
Read a local file (JSON format) into the AIR app. Parse through the file. Display some selected contents in a grid.
That's it.
I've found an example that does some simple JSON parsing in Flex, but the problem is that it loads the JSON source from a remote web site.
So do I need to load any file-specific libraries to make this work in AIR? Or can I simply refer to the file by using the Mac file-path? I just want the local file to be the JSON source. The parsing is already taken care of.
Yes, you can access Local File System in Flex and that too with a standard SWF without resorting to Adobe Air.Check out the link below for full details and the SWF.
View 0 Repliesyou can access Local File System in Flex and that too with a standard SWF without resorting to Adobe Air.Check out the link below for full details and the SWf
View 0 RepliesI want to read data from an xml file (say located in c: drive of my computer)I am programming in flex 4.0. Normally when I take data from a Url I use http service. I do not want to use AIR.
View 0 RepliesI am sending password text to the http service request object.like pass.text now this password i am giving in navigate url also.but password is visibleing when load url and it is hacking.how can i encrypt password string and send it to jsp?
View 2 RepliesI would like to play AAC audio format file from local disk. I got example to play through netstreaming but I need to play it from local disk. I got an example to play mp3 file from local disk using Sound class.URL...
View 1 RepliesI'm trying to access local file system from Flex web application. I know it is pretty difficult, but I think there must be a way. Is there a way that Flex app can use AIR components or maybe web application can call some AIR module in order to choose files and upload?
View 2 RepliesWe have a Web login feature. We will offer Free calls to a large campaign.
Scenarios:
Because of free calls, we will offer a unique file to be downloaded and stored After a week or month we will call them and offer them our desktop application to scan and see how trusted, the user is If we dont find the same file again, we will never start business and more our own statistics Based on that report we want to do some follow ups campaign We can do this with cookies but we want user experience and trust analysis
Example: if you play a music in youtube.com, without notice your file is actually in /tmp/Flash....flv with lot of data on it.
Question: How can i do the similar using Flex/Flash from the web browser ?
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;
}
So I've tried to build a small utility to view the contents of a JSON file in an easy-to-understand manner (for non-tech people).I have Googled far and wide, high and low, but every example that shows how to consume a JSON file in Flash Builder uses the HTTP service, pointing to a file on the web.Here I am, sitting in front of my MacBook, wondering why I can't make this work. In the documentation I've found (sort of relating to this issue), they always show Windows examples, and they seem to work fine:That doesn't work. I've tried some "resolve to path" syntax, but the HTTP service does not seem to allow for anything but file paths in quotes.
View 1 RepliesIs 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 RepliesI have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.
View 1 RepliesI trying to play a flv file in a flex mobile (flex 4.6) The files will all be locally stored and on the device. Would it be better to use the video even if it is not supported or can i use a movieClip? I am going to try and fade out a picture and then play the video with out any user controls and then fade back to the picture. The this will all be on a tablet. I am using Flash Builder 4.6.
View 1 RepliesI'm having some trouble getting around a security restriction of flex. Saving a file is apparently an action that can only be invoked upon user interaction. The problem is that after my user clicks on the save button, I need to perform a database query to get the data for the file I want to save.
Because Flex works asynchronous, I have to make the database call and then catch the ResultEvent in a different function. In that function, I no longer have the user's mouseclick event. How am I then supposed to save this file?
[Code]...