does anyone know how to encrypt the parameters that are passed to a flash movie? The case is, that the user should not be able to read the parameters in the source code in plaintext.
Is there a way to look at each variable passed into the paramaters of a function. For example, taken the given code.
Code: package {import flash.display.MovieClip; import flash.display.Shape; public class Dot extends MovieClip { color:uint; dotSize:uint; [Code] .....
So in this instance it would loop through color, dotSize, doughnutSize, and doughnutHoleSize and set the paramaters of the class to be the same value. Example for each loop: Code: for (var key:String in object){ trace(key + ": " + object[key]); // object[key] is value } So, is this possible?
<param name="FlashVars" value="nameCheck=boo&imageCheck=image01.jpg"> ...in the parameters section of the flash object code.
I know that to extract the info I need to basically use:
Code:
var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;
...in my as3 code but I am wondering what would be the syntax to return a text field containing the sent variable 'boo' and fill an image area with the file name from the variable 'imageCheck'?
How do I control what parameters are passed in a RemoteObject method? I noticed that when I directly download and run the code from this site, saving an object results in the following parameter set being passed back:
i want to make flash programs that send information to the web server that cannot be revealed by the user. of course the user will be able to see that HTTP request that is being sent, but i want to encrypt the data before transferring it. what's the best method to achieve that ?
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.
Anyway, i have this picture/movie clip inside the library which will be displayed partially in the flash and i want to secure the image/movie clip if there is somebody want to extract it and view it. What is the best method here?
I have a flash file that I am trying to debug. It loads a second flash file which it passes data to, and then that data is sent to a server. Unfortunately the data isnt coming out how it should.
I would like to know if anyone knows of a way to see what data is being passed to the embeded flash file from the original flash file. I need to make sure the data going to it is correct.
I am sending a string to asp from flash that looks like this;
[CODE].....
The problem is when asp (probably php too) reads this string, it reads it like this
[CODE]....
Now this sucks, is there a way to encrypt my flash string so asp will read the string corectly? I know asp is url encoding the flash string, but this bit of info does not seem to help.
I've created a simple script in PHP for retrieve the list of files contained in a directory. After that, i need to pass the "lista" variable to ActionScript.
I am getting questions from the database (just text) and then passing them to flash via flash vars.I want one question to be displayed then the user will answer (text) and click a button and then the next question will be displayed for them to answer and so on.I am not hoping for overly specific advice but as I am very new to flash/actionscript am just looking for broad advice (or links ?) on how to approach this. Can I do it all from one frame just using actionscript?I think what I am really after (assuming I am not way off track) is if all the questions should be handled at once which I guess will require some kind of loop that listens for some buttonclick event to move to the next question ..... or be 'reloading' the flash movie and dealing with only 1 question at a time.
Basically I want Javascript to pass a variable to Flash according to resolution. I realize my syntax might be off, but something like:
HTML Code: <script type="text/javascript" language="javascript"> if (screen.width <= 800) { expand = "false";
[code]....
Trouble is, I'm not sure what to do from here. I don't know exactly what I need to put in the <param> and <embed> tags, and how Flash would detect if the variable was true or not.
is it possible in flash that from an xml, a hexadecimal value of a certain color is passed to flash and be displayed as a background or text color.This colors are set by the users and it's just that the colors are passed into flash and i will display it in my movie as a background color or text color?is that possible in flash?if yes, how would i do this? please give me some samples or sites where i could see some samples.If not, is there any workaround for this? -- i'm thinkin by css but that's too troublesome..
I'm basically trying to extract a series of variables that are passed in URL from another flash movie. I have researched flash vars and the like and didnt really get far.[code]I was able to get the URL into Flash!So flash now has a variable called "section" that holds a string like this.url...My question is; how do i get the values held in each of these days, weeks, years, etc into a format that can be used with in the flash movie. Ideally into seperate variables where the values can be returned in a textbox.
I've noticed that some programmers animate objects based on the difference in time. I am not sure why or even if this is logical. Does anyone know the significance? Below is a snippet of code that explains what I mean:
I need to display a word passed to the flash movie through flashvars. My objective is to display this word centered inside a black rectangle which length adapts to the word length. The box should be on top of everything, aligned with the right margin of the Flash Movie and 100px from the top margin.
My employer is making a flash card and they want to customize it by passing a variable in the url that links to the card in order to fill in a dynamic text box.So the URL will have ?me=Bob on the end to but Bob's name inside the card.I've done this for them in the past but that was AS2 and I'm trying to use AS3 for this card. oward a code snippet or tutorial on the best way to accomplish this. If we could use an embedded font that would be a bonus.
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.
My company has a application developed by flash. We must encrypt it before release. So is some can tell me how to do it? Is there some very simple but efficient way? Or are there some good sofe for encrypting swf?
I wasn't to sure where to post this exactly since I'm not sure if this is a actionscript or some other problem.Ok here it goes. The problem is this if in the embed in the HTML document I put in wmode="transparent" for the flash movie the parameter I am passing to the flash movie never gets passed ... I don't see how wmode can do such a thing but then again this is really my first time working with wmode in general.I tested it numerous times to make sure it really does come down to wmode and it does.Here is the code I currently have I hope there is someone out there that could explain to me why it's doing this.
Update: I have isolated the problem to a single browser which is Firefox. I've tested it with IE8, Safari and Chrome and they all work without any issues except for Firefox.
I'm having a little trouble with my move to as3, (surprise surprise huh?) Basically when I create a movieclip, I wan't to pass some values into it, like so: