ActionScript 2.0 :: Encrypt And Decrypt The Static Text Available Inside The Output Swf File
Jan 12, 2010
I 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
I need to send data from flash to the server, so I'm looking for a flash ActionScript 3.0 script that will encrypt a text and a C# .net script that decrypt the text.
I am developing my application in flex and JSP, so when I am passing values through HTTP Service Post method with request object but these values are tracing and modifying by testing team so I am planning to encrypt values in flex and decrypt it in jsp.so is there any algorithms like SHA or MD5 more secure algorithms,
I would like to implement some security in some of the Flash/PHP applications that I have. I have some Flash apps that communicate with PHP files, and the PHP is sending the data as get string (E.g.: name=John&sname=Doe&age=24&balance=12.4). Instead of all these variables, I would like it to send a single variable (E.g.: flashvar=jr9afgaw9-fg90agfawf7gw) that would contain those values, so then Flash would decrypt the string and get the real and useful vars.
I want to encrypt this using a private key and use the same private key to decrypt this inside Flash. If someone would want to decode the message PHP sends, he would have to decompile the flash file and find the private key I'm using in Flash to decode the message and then decode it. The reason I posted here is because I want to use an encryption algorithm that allows only the use of a private key for encryption/decryption.
I'm working on an Windows application(created in .NET) which one of its functions is to play local FLVs using SWF components. Now I need to create an encryption application to make sure those FLVs cannot be played freely, only the SWF player will know how to decrypt that file(using a key received from .NET app). I was thinking of creating an Air app to encode my flvs (maybe ByteArray class?), using some algorithm to shuffle/unshuffle characters based in a key string. My main need is how to encode/decode a file using Air/Flash. I tried some times, just trying to load a FLV, convert to ByteArray, then save the new FLV, but this new FLV won't play. Opening into Notepad++, I noticed the file have a few characters before it's FLV header.
I found something about encrypt and decrypt for AS3 [URL] but the document is not very clearly, how can I do encrypt/decrypt in as3? BTW, what is the suffix of algorithms like ecb, cbc, cfb, cfb8, ofb, what's the means. Which should I use?
I want tp encrypt and decrypt string, with defined salt. But the result must be same if the code run in java and adobe flex.The main goal is: the app in adobe flex will be generate a string that can be decrypt in server using java.Try to 'Secret Key' Tab. I want to use AES Encryption, 'CBC' or 'PKCS5'.
var k:String = "1234567890123456"; var kdata:ByteArray = Hex.toArray(k); var txt:String = "hello"; var data:ByteArray = Hex.toArray(Hex.fromString(txt));;
I was using as3Crypto with no probs [URL] but it produces a string which includes equal (and probably other URL Query unsafe characters). Is there a way to encrypt like this? Current code below:
I need to put a long static text inside a scrollPane? I've got a custom font embed. When I enable "Anti-alias for readability" the text looks wired (overlaps) in the scrollPane. But when I change it to "Use device fonts" the static text shows fine. How can I overcome this? Basically I need to have a long paragraph inside a scrollPane with a custom font.
I'm trying to make a scroller for a movieClip, with a static text inside does any one Know how can i do it. (I don't need the arrowfor this case but only the code for the scrolling bar)
I'm teaching myself ActionScript and the book I'm reading just got into input text capabilities. The book shows me how to link input text to a variable and output that text to the output window using trace. My question is: how can I display the text that the user input onto the actual movie. For example... if I wanted the visitor to type their name into the input text box and click Submit and then a phrase shows up with their name such as "Hold on Name, my site will be done soon." How do I reference that variable and have it actually display in my movie?
can I de-crpypt a streaming file, (assuming that i encrpyting this file on the server side during upload) , in flex before it being processed for playing.
Does anyone know how to output to a text file. I've got a ticket machine and when a button is pressed at the final step i want it to output a boolean variable to a text file, preferably to the desktop this is a simple .swf which i have created.
I have created a static text in my FLA file and for some reason when I convert it to a movieclip symbol, my setting of the text - such as the letter spacing - are no longer. It scrunches together and looks pixelated. Any knowledge as to why? It was not doing this a while ago but I don't see what I have changed!
i have a .swf file which contains static text in it.. I have to get the static text from the .swf file... Is it possible to do in AS 2.0.. If it is yes means then show me a perfect direction to perform this one....
I managed to show the output of a shell command in TextArea of flex by calling following php file via HTTPService and then using the dataprovider attribute of TextArea to show the returned output.
I am traying to make some sort of a simple forum in flash. Problem occurs when I want to output contents of flash variable to file. For example: I have inputText = "hello world how are you" variable. How can I output this inputText to an text.txt file, so that in text.txt will bi written "hello world how are you".
I have an application that writes traces with a timestamp when certain items are clicked or accessed. I need to write these to a text log file so that they can be accessed remotely.. The device the app runs on doesn't have a web server and doesn't run the flash debug player, os is xp. How can I send these traces to a text file? I noticed Arthropod writes to an html file, but I need to do this automatically without interaction.
I am trying to save information that I have displaying in my output panel to a .txt fille. I have tried this tutorial here: [URL] but it is not working for me.
I have the output panel displaying information such as:
PHP Code:
[URL]
I need to somehow save this information to a text file so I can forward it onto my email. Or if anyone knows a way to forward information from the output panel to your email
When am importing the xfl type file to flash Many blank Static text box is appering. Is there anyways to remove the blank static text box without selecting one by one. Check by Ctrl+A
I have a quiz in Flash. It's working fine integrating with a LMS. We have concerns that some people who can access the reporting tool would be able to find the answers by looking at the other people's answers. If I can encrypt the answer strings into something else and output the encrypted answers to server. I searched and found a very nice tool at [URL] but it's rather complex to implement with many AS and different types of files inside. Is there a simpler one that all I need is a few functions I can include in my Flash file to encrypt and decrypt? It's internal and target audience is not programmers so it does not need to be complex. Just some scrambled texts should be enough.
We 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.
I want to import an html file that contains just plain tet inside of a dynamic text box. The things that I have tried jus tmake the html file pop-up as a new page, but i want the information inside of that textbox.
I know it's possible i saw it on several websites does some one know how i can use a static text in preloader counting to 100%? For an example look at ILOVETECHNO.BE The preloader a heart use a static text i think it cannot be a dynamic text because the font is not a normal average one
I need Mouse coordinates inside a static function. It isn't a mouse event function and there isn't anything passed in the function. // Main class MyClass.something(); // MyClass public static function something():void { // Get Mouse Coordinates // myclassclip.x = mouse coordinates }