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
Similar Posts:
Aug 23, 2005
What is the best way to protect the source code in a .as file? Right now if you access the .as in a web browser the source code is displayed. The problem is that when the .swf file is loaded on the client's machine, so is the .as file.
View 4 Replies
May 18, 2011
Is there any way to protect our code from flash decompilers like Sothink etc.
View 1 Replies
Aug 18, 2010
I would like to protect my flash files. I would like to block any decompilers,protect actionscript and also protect graphics. Some time ago,I tried to decompile a swf and when I placed it inside a decompiler , it showed me a login form and no graphics.I believe that is the ultimate protection method.Do you have any idea what software can do that ?
View 2 Replies
Aug 13, 2009
I was wondering if there was anyway to pause as2 at a specific part of the code. For instance I want to pause for 2 seconds before I enable a button. Most of my code is all held on one frame of the main timeline so pausing the timeline using setInterval is not an option.
So i guess what I am really trying to do is pause a function. Is that possible?
View 6 Replies
Aug 17, 2009
I have some code on the main time line which basicially just says when this button is pressed go to this frame indicated by the frame label. In this case "answer". This is done inside a movie clip, which isn't on the main time line.
View 24 Replies
Jan 4, 2007
I try to understand this code ( taken from a tuto). I am learning empty mc and AS... I catch it until a certain point, however some terms are still very very dark for me :So as far I see, there are only 2 objects in the file :An empty mc called Menuholder and a mc called menuitem ( a picture for example)I can track back those 2 objects in the code, however I can not understand what is the object "menu" doing there ???I highlighted it bellow your explanation :align = bottom;centerx = Stage.width/2;width/2;menuitems[i]._x = xpos;}};
View 4 Replies
Oct 22, 2010
Main Class:package {// Flash Classesimport flash.display.MovieClip;import flash.events.Event;import flash.display.StageAlign;import [code]........
Now, I'd like to move the script between --- Start --- and --- End --- comments, to the separate package. When I do that, I've got many reference errors. how the code should look like, when it's in separate package, with all the references to variables that work? And how to call this function from Main class?
View 5 Replies
May 11, 2011
I have this issue with actionscript 3.0 where i can't seem to get a String to convert to executable code.Below is a part of the XML I use.
Code:
<Import>
<Row>
[code].....
View 2 Replies
Apr 7, 2010
Is there a way in flex (Flash Builder 4) to make regions like in c#, to group a part of the code allowing us to collapse it and see through our project more easily?
In c# it's like:
#region exammple
// my funtions I want to group
#endregion
View 3 Replies
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
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
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
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
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
Dec 8, 2010
I am fairly new to Flash. I have a stage up with a simple button; the Instance Name is init. My .as script (MainTimeline) is accessed externally from the stage:
[Code]...
View 1 Replies
Jan 15, 2009
i just would like to know how to create an "hitTest" script inside a movieclip that is actually part of that hitTest code?I mean... I have mc A, and mc B. and the current hitTest code im using (that is on the timeline) makes mc A, destroy mc B when collide with it... but there are many mc B on the stage (with the same instance name) so, when mc A collide with one mc B, it destroys ALL mc's B... but i want it to destroy only the mc B that he collides, not all the others... maybe an hitTest script inside a movieclip B would work (somethig like "if MC A hitTest ME = i die" (not all the others)).
View 1 Replies
Mar 9, 2011
Ok perhaps ive bitten off too much here...I know you are not supposed to parse xml/html to regex but the thing is there just arent many other options.Im using AS3.im parsing the source of textflowlayout text to a different format.
string to parse :
< fontFamily=Verdana encoding=unicode fontWeight="bold"> some text < fontFamily=Verdana encoding=unicode > some text < fontFamily=Arial encoding=unicode fontStyle="italic"> some text < fontFamily=Arial encoding=unicode fontWeight="bold" fontStyle="italic"> some text
what i really need is:
< fontname=Verdanabold encoding=unicode> some text < fontname=Verdana encoding=unicode > some text < fontname=Arialitalic encoding=unicode > some text < fontname=Arialbolditalic encoding=unicode > some text
logically i think of it as taking apart the string into substrings
checking if there are fontWeight or fontStyle in the substring
if there is then appending the font name with the weight or style so so that the font name becomes font NameWeightStyle.then rebuilding the string.The font could be any font with variouse styles or weights..so far:
pattern = /<(.*?)>/gixsm;
var matches:Object = pattern.exec(str);
var finalstring:String = "";[code]...........
View 1 Replies
Mar 11, 2012
I'am looking for a flv/video player which allow to seek for not loaded part of the video,just like on youtube.
View 1 Replies
Mar 17, 2011
i've got an AS3 project going out on cd. The project will consist of the SWF, several folder directories containing flvs, and folders containing ActionScript Classes used by the SWF. I'm not so much worried about protecting the FLV's or the Swf, but the cd could eventually be snagged by a rival company. is there a way to somewhat protect or encript external actionscript classes?
View 3 Replies
Aug 30, 2009
I have a flash application that plays .mp3 files. I use the Sound object and the .loadSound method. It is quite easy for someone to download the mp3 files from say a plugin for Firefox called DownloadHelper, or using the Safari Activity window. Is there a way to protect against this?
View 5 Replies
Jun 8, 2010
Is there anyway to protect an swf when it is placed on a webpage. I know I can copyright things, but this will not stop people from getting their hands on it. Is there any code I can do to stop any of these decompilers working on it or anything.
View 7 Replies
Mar 1, 2011
I have found heaps of preloaders that work on the time line of game but offer no protection.Does anyone know where I can get a sample code for this or where I can buy a preloader from so that it loads before the game and if someone tries to save the page they get the preloader instead of the SWF? flash designer I know said its possible but hasn't got time to create one. He gave me this code in a FLA but when I embedd the swf in to the site it doesn't load anything just displays the preloader
function setProgress(num)
{
_root.percentDone = int(num);
[code]....
View 10 Replies
Mar 24, 2011
I'm wondering if there's a way to protect a swf file from download, something like DRM video file.
View 1 Replies
Jul 29, 2011
My flash app is pretty much finished, before II put it online I was wondering how does one protect it? for example from someone just taking the swf and putting it somewhere or from someone using one of those flash decompilers that turns a swf to a fla?
View 7 Replies
Aug 23, 2011
i want to ask question about swf protector against swf decompiler.i saw so many protector using obfuscator,encryption like that..i want to use FMS (flash media server) that will invoke callback function..i'm afraid using encryption,will not detect the name of the functionmy question is :is there any other solution except using obfuscator to handle decompiler?
View 2 Replies
Oct 26, 2011
I like to protect, with a password and user name, the incoming stream to the FMS (application Live Packager). How can I instal a password (I don't mean SSL), to prevent that unauthorized persons can stream their own content over my server. This means, the Flash Media Encoder should ask for a password and username.
View 1 Replies
Jul 5, 2010
I have images that I need to manage access to. I've come across osmf and rtmp streaming which are flash/adobe technologies and would require me to install a special server. Anyone knows of other ways to get the same effect with php.By "manage access to" I mean that the average user would not be able to save the page and save the image with it. If they want to view the image again, they would have to revisit, re-request it. Flash streaming server offers that, but are there non-flash/adobe solutions to compare it to.
"Give up" is not something you say to your employer who is a publisher and has legalrequirements to protect the IP other entities license to them. Sorry, but I don't make management decisions, and I'm not a lawyer. I work in the technical department and need to find the best technical solutions to what's being asked. If it still fails occassionally, I would say this is the best technology has now, and I've given it to you. I don't want to be found personally negligible when I should have done my best. Some people don't seem to have real jobs?
View 5 Replies
Feb 15, 2012
I am developing a elearning site and we have developed our courses in Flash. I want to know how we can prevent our courses from getting download from our site. Technology used for developing website is ASP.NET with C#.
View 2 Replies
Sep 27, 2009
Is there any way I can prevent a swf from being downloaded? In IE I can use the temp folder to find the swf once I viewed it online. In FF I can download it using the page info window. In Safari through the activity window.
Does anyone know of a way to protect my swf's so people can only view them online, but not download them in any way?
View 1 Replies