Flash :: Encrypting A Sensitive Parameter In A SWF Embed Statement?

Jan 4, 2010

Just looking for some advice/leads on "best practices" for protecting a sensitive id (personally identifiable information) I've got a Java-based webapp (JSPs, Servlets, etc) that is going to need to embed a SWF file running on a trusted 3rd party site.

As part of embedding the SWF file, I'm going to need to pass a parameter in the block containing the currently logged in customer's ID. Question: knowing that I have a Java stack and not really knowing (or caring) what technology stack the SWF hoster has, what's the best way of encrypting that customerID such that someone who views source and starts trying to change the customer ID parameter can't suddenly get a SWF that's not related to them?

View 1 Replies


Similar Posts:


Encryption - Encrypting Flash Files

Dec 8, 2009

what's the recommended method to encrypt flash files? i'd like to make some flash programs that are commericals, how can i made sure that they won't get decrypted or to make sure that i used to strongest file encryption possible.

View 2 Replies

ActionScript 3.0 :: Flag The If Statement As False Based On The First Parameter?

Jan 12, 2011

Code:
var run:Boolean;
var jump:Boolean;
if (run && jump){
//
}

is flash smart enough to flag the if statement as false based on the first parameter? or will it still process both booleans, even though it is known the if statement must return false based on the "run" Boolean alone. just wondering if its a waste of processing, although trivial at this level.

View 7 Replies

ActionScript 3.0 :: Protecting/Encrypting Flash 9 SWF Files?

Jun 22, 2008

protecting SWF files written in AS3? I've tried some trial software but they didn't seem to do very much.

Its sad when a developer spends months developing an app/game only to have it stolen, edited, recompiled and sold by some moron without principles or ethics.

View 21 Replies

Flash :: Encryption - Encrypting Data Using Blowfish

Dec 8, 2009

how can i encrypt data in flash? is there a toolkit or class or something that can help me do that?

View 3 Replies

ActionScript 3.0 :: Memory Usage With Embed Statement

May 18, 2010

how memory is assigned for an embedded graphic? I'm using an embed statement to include a 240kb splash screen into my code and it seems to massively increase the memory usage out of all proportion to its size.

ActionScript Code:
[Embed(source = '../splash.png')]public var splashScr:Class;
private var ss:Bitmap;

[Code].....

With a 1kb splash screen an ongoing trace of system memory bottoms out at ~3500kb, whereas with the 240kb screen it never drops below ~6500kb.

View 4 Replies

ActionScript 2.0 :: Parsing XML Loaded From Embed Statement?

Jul 7, 2007

I don't know if I'm using the correctly terminology but I've made a movie rater in flash for MySpace. The problem is it doesn't allow script access. The music players on MySpace load xml files through the embed statment.

Now, I've done the same thing using this:

[URL]

I know how to read xml files in actionscript (variable=moviedata.xml.firstchild.firstchild.node value; ) and all that good stuff. The problem is, I don't know how to read an xml file that has been loaded this way with out the actual load commands being in the swf itself.

View 5 Replies

Flex :: Encrypting An Unencrypted SQLite Db?

Aug 26, 2011

This link: [URL] has an interesting class to do just that! Encrypt an unencrypted database: but I'm having difficulty with a few things: You can find where the author, @probertson! Now I've got the following error: Compiler Error: Error #2044: Unhandled error:. text=Error #3125: Unable to open the database

Let me start by saying the source file works, since I've been using it (and the path) in another application. The error arises in the call to attach the source db to the newly created db.

View 1 Replies

ActionScript 3.0 :: Protect Encrypting Part Of .fla Code?

Apr 6, 2010

How do you protect part of a .fla file? I see how you can encrypt a swf file, but if it's the raw source code, and you want to protect a part of the file that would never need to be modified, how would you go about it? I had a look at [URL], but it can't encrypt .as files that have global variables that are referenced internally to your .fla. Ideally, I'd like to be able to encrypt an integral part of the code that makes the component unique, but would not need to be modified if the developer needed to add something to the component.

Also, on a similar note, how do you go about including domain name checking in the source, so that the component can only be used on one domain? I've seen articles on using this type of code in swfs, but is there a way if the component is a .fla file?

View 2 Replies

ActionScript 2.0 :: WTG Not Case Sensitive - Getting Unknown Errors?

Apr 28, 2003

I have been working on a large sized movie lately and found that I was getting some unknown errors. So naturally I placed trace statements, still I had no idea what was going on. Then low- and -behold I noticed that I had two varaibles one name xPos the other Xpos. Now of course noramally I would assume like other programming languages such as java and C++ variables are case sensitive. I found that If I assigned xPos a value and wrote a trace statement (with different case) ie

[Code]...

View 2 Replies

ActionScript 2.0 :: [FMX] Make IndexOf Not Case Sensitive?

Jun 30, 2003

Is there a way to make IndexOf not case sensitive?

View 5 Replies

ActionScript 2.0 :: Not Case Sensitive Input Of Username?

Jan 20, 2008

I have a login section that has a username and password input field. I am not sure if I am doing this right, but since there is only one username and one password, this is how I did this.

[Code]...

My question now is how can I have the username not be case sensitive. Is that possible?

View 3 Replies

IDE :: Make A Vertical Mouse-sensitive Scroll

Feb 16, 2009

I am trying to make a vertical mouse-sensitive scroll that I created a while back work going horizontally. You can see the one I created at [URL] and click on the "CUSTOM" link. I have been fiddling with the x and y coordinates but can seem to make it work. If I sent someone the FLA file, could you possibly help me make it work scrolling HORIZONTALLY?

View 1 Replies

ActionScript 3.0 :: Text Search That's Not Case Sensitive?

Jul 30, 2009

I'm making a glossary. The glossary terms and definitions are in an xml file. I have read the terms (the words to be defined) into an array. I have included a search field, such that when I enter a term in the search field, a function loops through the array of terms and if the string I entered in the search field matches an item in the array, Flash traces out "match" (in this early part of coding).Here is my problem: If one of the terms in the glossary is "India Pale Ale", with capital letters, then a search on "india pale ale" turns up no matches.How do I remove case sensitivity in this scenario?

View 2 Replies

Flex :: MX Datagrids Sort- Case Sensitive By Default?

Sep 16, 2011

Is it just me, or do flex MX datagrids sort in a case sensitive manner be default? That is, they'll sort like this:

I know I can give a datagrid column a custom sort function, but do I really have to do that for every column in the app?

So this is a bug in a legacy app- updating every single grid to spark really isn't an option (if that's even a fix). Am I missing some obvious way to change the sorting pattern for an entire grid?

View 1 Replies

ActionScript 2.0 :: Tween Grow Onrollover / Shrink Onrollout Too Sensitive

Jan 25, 2012

I've been trying to have all of the movieclips on stage grow bigger when the mouse rolls over them, then shrink back to normal size on roll out. I have that working, but it seems that my mouse detection is sometimes too sensitive.I say that because sometimes my movieclip will alternate rapidly between rollout and rollover, usually when I place my cursor near the edge of a movie clip.I've tried only adding the rollout event after the tween finishes, but by then the user could have moved their mouse off the movieclip, and no rollout event fires. I was wondering if anyone knows of another way to manage a rollover grow effect without the stutter.[code]

View 2 Replies

ActionScript 2.0 :: Embed The Fonts Using The Embed... Button In The Flash IDE ?

Jan 30, 2007

I am using the following line before my class declaration .

[Embed(source="C:WINDOWSFontsVERDANA.TTF", fontName="VERDANA", mimeType="application/x-font-truetype", flashType = true)]

But there is no change in the appearance of the Text whatsoever.. I need the text to be crisp and clear.Just like the way it looks when we embed the fonts using the Embed... Button in the Flash IDE.

View 1 Replies

Win7 Pressure Sensitivity - Touch Sensitive Input Has Simply Disappeared?

Jul 2, 2009

I have a HP tx2500 tablet pc. I put the beta of windows 7 on it several months ago and had no trouble (64 bit). The service period expired, so I wiped it and put the windows 7 RC on it (also 64 bit). This has caused me problems with photoshop and flash (both cs3) as they will not recognize touch sensitive input! (aka when i press hard the line gets darker). In photoshop the option is set but nothing happens, in flash the button for touch sensitive input has simply disappeared, there is just grey where it used to be. I updated windows all the way and updated my flash and photoshop as well.

View 1 Replies

Actionscript 3 :: Skip An Optional Parameter And Assign Value To The Parameter After The Skipped One?

Dec 14, 2010

Can we skip an optional parameter and assign value to the parameter after the skipped one?

For example I have a function:

public function Dialog(message:String,title:String="Note",dialogsize:int=99):void
{
}

I can easily call the function with a message and a title:

Dialog("HELLO","Intro");

Is there a way to skip the title and just pass in the dialogsize? I've tried it but can't make it work:

Dialog("HELLO",,dialogsize);

Is it possible to skip some optional parameters without using (rest) parameter?

View 3 Replies

ActionScript 2.0 :: First Requirement Of The If Statement When Type In The Proper Input And Go Straight To The Else Statement

May 14, 2009

Having a few problems with what I thought was a simple if statement. Here is the code:

[Code]...

I can't quite figure out the small problem with the code. It seems to just bypass the first requirement of the if statement when I do type in the proper input and go straight to the else statement.

View 7 Replies

ActionScript 1/2 :: Execute Code In Previous If Statement If Second If Statement Is Executed?

Aug 31, 2011

if (variable == 1){
//code
//Execute this code.
} else if (variable == 2) {
//code

[Code]...
 
I dont want to copy the code from the first into the second and the first and second into the third.
 
My mind isn't working and there is probably an extremelly simple way to get this working.
 
I know I could used functions but for some reason it stops the instance referencing working: _root["bullet"+j] doesnt work in a function.

View 7 Replies

ActionScript 2.0 :: Loading Data From XMl File And Uses It To Run An If Statement. If Statement Fails?

Oct 10, 2008

The Flash movie contains 2 Text files, one Component button, and 1 component checkbox.The purpose of the application is to load an XML file(works)Populate 2 text fields with information from the XML file(works)Compare the two text fields, if they contain the same information then the checkbox, via AS is told to be selected. (Heres the problem);

Heres the code:

Code:
runCode_btn.onPress = function() {
data_xml = new XML();
data_xml.ignoreWhite = true;
data_xml.onLoad = function(success) {

[code]....

The idea behind this app is that its an electronic form. The user fills it out, the information is then sent to a newly created XML file, months later the open the XML file in flash, and Flash fills out text fields and check and or unchecks Checkboxes based on the XML data.CheckBoxes are mandatory.But I don't see how I'll be able to use them if i can't create and condition statements based on the loaded Data.

View 1 Replies

ActionScript 3.0 :: Flash To Embed Or Not To Embed?

Feb 9, 2011

I've been experimenting with learning game coding and have encountered an issue I'm curious about...

At the moment I have 3 GIFs and 1 sound effect being used, with more to come. Now, is it more recommended to embed these files, which I'm been doing, or is it better to load them externally? To be honest, I really hate the idea of having to load them and would much prefer to embed them directly in to my project. What is the general consensus as to which technique is better?

View 7 Replies

ActionScript 2.0 :: If Statement Inside If Statement Won't Work

Mar 30, 2011

why this code won't work

[Code]...

I'm sure you can put if statements inside other if statements, seriously I can't figure it out

View 4 Replies

ActionScript 2.0 :: Senocular XML Search Tutorial (search Query Case Sensitive)

Dec 3, 2004

I've just tried senocular's xml tutorials. [URL] The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

View 6 Replies

Flex :: Datagrid - Flex AdavcedDatagrid Sorting Is Case-sensitive

Jul 27, 2010

I have several datagrids with changing columns. For the text fields the datagrid's sort function neems to be making a case sensitive compare. eg. the following list sorted would look like this apples strawberries Autos Autos should be with apples but since the capital A is counted differently all capital letters come after. I've found a lot of information on setting a CASEINSENSITIVE flag, but I can't figure out where to do this. The best solution would be one where I can override the default behavior to be case insensitive for all my datagrids and all my compare functions.

View 3 Replies

ActionScript 3.0 :: Another 'if' Statement Inside An 'if' Statement?

Sep 22, 2010

I need to write an if statement inside an if-else statement. But no matter how I write it it keeps giving me a syntax error.The syntax error is "1083: syntax error: else is unexpected".[code]No matter how or where I place the braces, it keeps giving me errors.

View 13 Replies

ActionScript 3.0 :: Use A For Statement To Create An If Statement

Jul 12, 2010

what I'm trying to do is create an else if argument for each object in an array based on a user set number

Code:
for(var i:int=0; i < numberOfElseIfs; i++){
GENERATE AS3 CODE
}

to which I want it to GENERATE THE FOLLOWING CODE:

Code:
}else if(baskets[i].used == false){
baskets[i].used = true;
drawButton(i);
}

the problem is obviously that the compiler reads this code rather than understanding I'm trying to regenerate the code within the for loop...does that make sense :S? So basically I need as3 to read the code between the for statement as if it is going to echo that out later. Is this even possible?

View 4 Replies

ActionScript 3.0 :: Read A XML File And Check A Parameter For Duplicates Of That Parameter In The File

Dec 8, 2009

I am trying to read a XML file and check a parameter for duplicates of that parameter in the file. There could be up to 200 entries with this parameter which is a number. How can I check to see if there are any duplicates?

View 2 Replies

Flash :: "IF" Statement, Within A For Statement, To Control Movieclip Within Movieclip?

Dec 18, 2011

I have a movieclip on the screen called "mc_bg". Within this movieclip are 7 movieclips called "barrier1" through "barrier7".From main.as I want to be able to do this call:

for (var i: int = 1; i < 3; i++ ){
trace("got here")
trace(mc_bg["mc_barrier" + String(i)])

[code]....

View 1 Replies







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