Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Protect Swf File



hi, how can i prevent people from decompling my swf files?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 11-28-2004, 11:38 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

How Tp Protect PDF File?...
Hi,

I design a web^site with flash. Is not big deal. Use 2 layer and jump frame to other frame to access few pages. Oneof frame has memeber list that user enters ID and password and jump to another frame. The second frame shows link for pdf file.

But I want to protect the pdf without copying the link in explorer toolbar that always be accesible from using ID and password. How do I do that.

I might contact the server to protect the say "manual" folder. And I want to access only using Flash. Is it possible.?

Now user can enter ID and password and opens blank html and from address bar you can copy the link for next time without entering id and pass.
I want to make more secure. And I thank you all of you for your advice.

Thank you.
Niyaji

[F8] Protect The Swf File
what the best way to protect my swf file i heard there is some programs can extrat the swf file and export it as fla file is't true ??????????/

please help and thanks for listen

Protect Swf File
hi, how can i prevent people from decompling my swf files?

How I Can Protect My Swf File >>>>
hello >

i want to know how i can protect my swf file , to be unable to convert it to fla file .. please please please , very necessary ..

i cant,t put any design into the internet ,, because any one can convert it to fla file , and show all action and object in file .. or convert the designer name "" put his name ""

please , if any one know how i can .. tell me


thnx

[Tip] How To Protect Image File
Hello,

If you have ever wanted to protect your image file, especially within your Flash content,
this article will be helpful.

First of all, there are some points you need to protect when you deliver image data with Flash.

1. Internet Browser Cache.

Even though you use 'HTTPS' protocol when you deliver your file,
if it is pass the 'Network (or Protocol) Layer' of your machine, it is already in 'plain' data
(not encrypted), and can be read by Internet Browser.
Those 'plain' data will be stored in Internet Browser's Cache directory.

There are many Internet Browser Cache reader programs, and they can intercept those
data before the Internet Browser program deletes the cache files.

So, just using 'HTTPS' is not an answer. You need to encode your image data
with your own (or with well known cypher algorithms) encoding/decoding methods.

In this article, I want to explain more detail about this. I scramble the image
so that make it hard to figure out what the original image was, not only with human eyes
but also with 'strong enough' 'Key' length.

2. Screen Capture.

Even if you encoded your image data, it will be finally shown on your screen,
without any noises, or any other ugly filters.
So, you can 'Capture' your monitor screen itself.

There can be many ways to avoid this. First, you can erase the system's 'Clip board'.
You just can erase it regularly, or you can detect whether the Internet Browser -which is
showing your image data- is active or not and erase clip board when it is active (in foreground),
and hide your Flash area when the browser is inactive (in background).

If a hacker just take a picture of monitor screen with high quality Camera,
you still can avoid that, by showing some black rectangle, or any layers on the screen
regularly only in very short period (like mili-second). But I think this way sometimes you feel
tired or be annoyed when you watch that kind of blinking screen.



== About my code ==

What I want to present here today is 'modifying(encoding) the image' data itself.
There are many ways you can try for modifying your image data and revert it back to original data.

You can use legacy block cipher algorithms like DES, AES, for encoding and decoding the
image data, because the image data (RGB values) what Flash uses is actually a combination of 'bit's.
But if you decode the 'encoded image' data, you probably use 'get pixel'/'set pixel' function for
reconstructing the proper 'RGB' value of each pixel. But I am sorry that this function is extremely slow
so that you need to wait for a couple of minutes to see an image.

So, what I want to show you today is 'Scrambling the image' like 'picture puzzle',
with using 'copyPixels' function which is 'extremely fast'.
(Actually, there can be many other solutions for this, so please don't hesitate to proceed your own research)


Let's say you have 8*8 pixel size of image blocks, and you completely disorder those blocks for
entire image area. That size of block is too small to figure out where it should be, with our
humble human being's naked eyes. So, you need to know the 'answer', which is saying what image block
was originally on which 'cell'. This 'answer' is the 'key' for my simple 'image scramble' logic.
The 'key' I said here, you should understand that, is the 'key' value of normal 'block cipher' algorithms.

So, if you know the key, you can rearrange all those 'blocks' back, but if you don't know the key,
simply you can't do that, or you need to wates tremendous time for that.

Here, I use 16*16 size block for your eye's convenience, and with 8*8 size of 'matrix' which is
comprised of each 16*16 size blocks. I mean, one 8*8 matrix has 64 blocks, so each block of
one 'matrix' can be at '1st cell of matrix or 64th cell of matrix. So, the 'odds' is 'Factorial of 64',
which is 64! == 1.268869322e+89 .

Let's say you know my algorithm (complete source code), and you try every different 'matrix' values.
If it takes 0.001 seconds to test one 'matrix' value you have chosen, it will take
"(64!) / (1000*60*60*24*365) = 4.0235582250724303685766549129617e+78" Years!!!! to find exact matrix value.




== FLA sample ==

In my sample *.fla file, I embedded all those 'key' values. So, you can not use my sample directly for your
own project. But I think this sample will give you an useful idea for your own implementation.


<* Exchanging the key values *>

For example, you need to get the 'key' values from the server, only when it is needed.
You can use 'loadVariables()' function for this purpose. But, all data delivered by 'loadVariables()' or
'getUrl()', or any other functions of Flash, are 'Cached'.... So, you need to exchange that 'key' values
more safer way.

One of that 'safer key exchange' is to use 'token'. For example, when the client requests the key value
to the server, the client should generate an random value (I will call it 'token') and send it to the server.
Now the server modifies the 'key' value 'with the token', and sends back to client. Finally, the client
decode the 'key' value with the token value it generated.

As you can see, my logic is just 'rearranging each blocks' with respond to the given matrix values (key).
It is really really simple. There in the ActionScript code, you can see 3 matrix, and some other variables.


var chessunit = 16 // Size of block
var arrayw = 8 // Width of Matrix
var arrayh = 8 // Height of Matrix
var arraysize = arrayh * arrayw
var chessarray = Array (arraysize) // Matrix for decoding
chessarray = Array (64,37,5,35,45,25,52,38,12,61,34,23,3,26,39,58,32,28,17,2,60,16,59,19,57,48,43,18,47,21,40,15,31,6,44,46,30,51,27,56,20,24,13,7,42,1,49,54,36,53,9,50,4,8,10,14,33,11,22,63,55,29,41,62)

// In case of the width of an image is not exactly the multiple of the width of matrix,
// we need to encode the right most area of the image.
// So, I simply use another matrix for only that area.
//
// Maybe You can generate more bigger image, of which the width of it is exactly the multiple of
// the width of matrix. And you let the decoder to show only the original size of the image.
// Please try yourself. :)
var dwArray = Array (32,19,3,18,23,13,26,6,31,17,12,2,20,29,16,14,9,1,30,8,10,24,22,11,15,28,7,4,21,25,27,5)

// In case of the Height of an image is not exactly the multiple of the Height of matrix,
// we need to encode the bottom most area of the image.
// So, I simply use another matrix for only that area.
//
// Maybe You can generate more bigger image, of which the Height of it is exactly the multiple of
// the Height of matrix. And you let the decoder to show only the original size of the image.
// Please try yourself. :)
var dhArray = Array (40,23,4,22,29,16,33,24,8,38,21,15,2,17,37,20,18,11,1,10,12,36,30,27,13,25,28,14,19,32,35,7,5,26,3,31,34,6,9,39)


You can change the block size, matrix size, any values you want.
By the way, if the block size becomes smaller, you'll get more stronger security level. But you have to
compensate it with the slow down of the performance.

** Ooops, I can not attach my sample *.fla file, but only ActionScript code here...
But I believe you can try without testing my *.fla sample.
If you really want to test it, please mail me. (brucewang.korea@gmail.com)

** You need to 'export' image object, with the name of "img0".


== Image encoder ==

Encoding (Scramble) the original image is also simple. You just need to copy each blocks in reverse of
the 'ActionScript code'. That's all. You just use same 'matrix', but copy source and target reverse of
ActionScript code. I think you can write it with any languages you like, C/C++, C#, Java, and
anything.... right?




== Block cipher ==

Now, you know that my implementation is kind of 'intuitive' representation of 'block cipher'.
More precisely, it is called 'ECB', which encodes each encoding block (matrix) with the key values
from the beginning to the end. You can twist the matrix every time you pass one matrix area of an image.
It is called 'chaining'. There are some 'chaining' block cipher methods like 'CBC'...
(If you want to know more, please look up "http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation ")



Thank you for your time to read my humble article,
and wish you Good luck. :)









Attach Code

import flash.geom.Matrix;
import flash.display.BitmapData;


//*
var chessunit = 16
var arrayw = 8
var arrayh = 8
var arraysize = arrayh * arrayw
var chessarray = Array (arraysize)
chessarray = Array (64,37,5,35,45,25,52,38,12,61,34,23,3,26,39,58,32,28,17,2,60,16,59,19,57,48,43,18,47,21,40,15,31,6,44,46,30,51,27,56,20,24,13,7,42,1,49,54,36,53,9,50,4,8,10,14,33,11,22,63,55,29,41,62)
var dwArray = Array (32,19,3,18,23,13,26,6,31,17,12,2,20,29,16,14,9,1,30,8,10,24,22,11,15,28,7,4,21,25,27,5)
var dhArray = Array (40,23,4,22,29,16,33,24,8,38,21,15,2,17,37,20,18,11,1,10,12,36,30,27,13,25,28,14,19,32,35,7,5,26,3,31,34,6,9,39)
//*/

var now:BitmapData = BitmapData.loadBitmap("img0");//linkageId);
var tempbmp:BitmapData = new BitmapData(now.width,now.height);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());

var wunit = Math.floor(now.width / (chessunit*arrayw));
var hunit = Math.floor(now.height / (chessunit*arrayh));
var xoff=0;
var yoff=0;
var dw = now.width-(wunit*(chessunit*arrayw));
var dh = now.height-(hunit*(chessunit*arrayh));


for(hc=0; hc<hunit; hc++)
{
xoff = 0;
yoff = int(hc*chessunit*arrayh);

for(wc=0; wc<wunit; wc++)
{
xoff = int(wc*chessunit*arrayw);

/*
// mix up the puzzle matrix again.
puzzmixfactor = 8;//chessarray[puzz]
for( puzz=0; puzz<arraysize; puzz++ )
{
chessarray[puzz] += puzzmixfactor;
if( chessarray[puzz] > arraysize )
{
chessarray[puzz] -= arraysize;
}
}
*/

// rearrange the each chess units
// by looking up the scramble matrix.
for(y=0;y<arrayh;y++)
{
for(x=0;x<arrayw;x++)
{
arrayindex= int(x+(y*arrayw));
xpos_d = int(xoff + int( (chessarray[arrayindex]-1) % arrayw ) * chessunit);
ypos_d = int(yoff + int( (chessarray[arrayindex]-1) / arrayw ) * chessunit);
xpos_s = int(xoff + x * chessunit);
ypos_s = int(yoff + y * chessunit);

tempbmp.copyPixels(
now,
new flash.geom.Rectangle(xpos_s, ypos_s, chessunit, chessunit),
new flash.geom.Point(xpos_d, ypos_d)
);
}
}
}
}
//*/

///*
if(dh>0)
{
tempbmp.copyPixels(
now,
new flash.geom.Rectangle(0, hunit*(chessunit*arrayh), now.width, dh),
new flash.geom.Point(0, hunit*(chessunit*arrayh))
);

if(dh>chessunit)
{
dh = int(dh/chessunit);
// 2007-03-22 brucewang
//dhArray = new int[dh*arrayw];
//fillScrambleMatrix(dhArray, dh*arrayw);

/// 2007-03-22 brucewang
///
/// Scramble the image
rect_dest.Width = chessunit;
rect_dest.Height = chessunit;
//for(int hc=0; hc<hunit; hc++)
//{
xoff = 0;
yoff = hunit*(chessunit*arrayh);

for(wc=0; wc<wunit; wc++)
{
xoff = wc*(chessunit*arrayw);

// rearrange the each chess units
// by looking up the scramble matrix.
for(y=0;y<dh;y++)
{
for(x=0;x<arrayw;x++)
{
arrayindex=x+(y*arrayw);
xpos_d = int(xoff + int( (dhArray[arrayindex]-1) % arrayw ) * chessunit);
ypos_d = int(yoff + int( (dhArray[arrayindex]-1) / arrayw ) * chessunit);
xpos_s = int(xoff + x * chessunit);
ypos_s = int(yoff + y * chessunit);

tempbmp.copyPixels(
now,
new flash.geom.Rectangle(xpos_s, ypos_s, chessunit, chessunit),
new flash.geom.Point(xpos_d, ypos_d)
);
}
}
}
//}
}
}
if(dw>0)
{
tempbmp.copyPixels(
now,
new flash.geom.Rectangle(wunit*(chessunit*arrayw), 0, dw, now.height),
new flash.geom.Point(wunit*(chessunit*arrayw), 0)
);

if(dw>chessunit)
{
dw = int(dw/chessunit);
// 2007-03-22 brucewang
//dwArray = new int[dw*arrayh];
//fillScrambleMatrix(dwArray, dw*arrayh);

/// 2007-03-22 brucewang
///
/// Scramble the image
rect_dest.Width = chessunit;
rect_dest.Height = chessunit;

xoff = int(wunit*chessunit*arrayw);
for(hc=0; hc<hunit; hc++)
{
yoff = int(hc*chessunit*arrayh);

//for(int wc=0; wc<wunit; wc++)
//{
//xoff = wc*(chessunit*arrayw);

// rearrange the each chess units
// by looking up the scramble matrix.
for(y=0;y<arrayh;y++)
{
for(x=0;x<dw;x++)
{
arrayindex=x+(y*dw);
xpos_d = int(xoff + int( (dwArray[arrayindex]-1) % dw ) * chessunit);
ypos_d = int(yoff + int( (dwArray[arrayindex]-1) / dw ) * chessunit);
xpos_s = int(xoff + x * chessunit);
ypos_s = int(yoff + y * chessunit);

tempbmp.copyPixels(
now,
new flash.geom.Rectangle(xpos_s, ypos_s, chessunit, chessunit),
new flash.geom.Point(xpos_d, ypos_d)
);
}
}
//}
}
}
}

///////
mc.attachBitmap(tempbmp, this.getNextHighestDepth());
mc._quality = "BEST";

stop();

























Edited: 04/03/2007 at 07:16:25 PM by SunghyunWang (bruce)

Anyone Know How To Password Protect A Flash File?
Anyone know how to password protect a flash file?

How To Protect Cd File From Piracy? Any IDEA?
elow everyone!

actually, i don't know were to post this thread...anyway just bear with me guyz..

we actually make an interactive yearbook for our school using flash cs3 this year...its done already but the problem is anyone can copy it from the cd to their computer, is their another way to prevent user from copying cd files to their computer?

any suggestion please?

tnx in advanced...

Want To Password Protect Using An External Text File
hiya people
what i want to do is protect a section of a website using a password, but i want the password to be easily changed by the client. so i was looking for a way to get the flash to take the password as a variable from an external .txt file. i came across this:
http://www.myflashresource.com/flash...-external-text
tutorial, which looked perfect... but i can't make it work! have followed the instructions to the letter and then followed the instructions in some of the comments, but no luck. it always says i have put the wrong password in. does anyone know of another similar tutorial, or can someone tell me where i might be going wrong with this one?! thanks!!
emma.

*** PROTECT YOUR SELF... HOW?
Does anyone know the best way to protect your .swf files and another good progarm to break into them so i can test it.

Please VERY VERY important.

-Mr. Rich

Protect Swf
hello everyone,
how can i protect my swf filez so no bastards can rip them whit some swf-decompiler program or other of those type off programs.
just because someone is stealing my pictures (no problem whit sharing but simply ask) and some if my drawings... .

thnx alot sitraller

Protect Swf
Hi, how can I protect swf files from import, open or modify of a webclass I´m working on?

I´m already using the expression ASNative(666, 10)(0) on the first frame to block the menu and the option protect from import. But if I go to temp files of IE and open the swf on flash MX I can still see it by using the control+B.

Thanks

How Protect SWF?
How protect SWF?
I saw on internet much SW which can without problems open non protected SWF, read all Action cript and use all content.

Do you know some protection SW for SWF?

Is it free too or cost some money?Any experience?


Thanks a lot

Jan

SWF Protect V1.1
SWF Protect v1.1 can help you to Encrypt and Protect your Macromedia Flash® SWF Files from ActionScript Decompilers.
SWF Protect v1.0 updated.
Movieclip Actionscript obfuscation.
Button Actionscript obfuscation.
SWF Protect v1.1 can defeat the ******* deompiler mx 2005 and other decompiler tools.

Protect It Now.?
I know this question has been asked a few times but I would like to know any new and creative ways to protect action script code? Also way to protect the swf files? I use the no cache load now but looking for any others that work well.

Thanks

Protect Swf
hi guys,

i got a script to close the swf to protect the source as :

=====================================

Frame 1

testurl = "http://www.mysite.com";
if (this._url.substr(0, testurl.length) == testurl)
{
}
else
{
gotoAndPlay(3);
}

Frame 2

stop();

Frame 3

getURL("FSCommand:quit", "");
loadMovie("", this);

=====================================

somehow it's not working..

can any flash guru giude me on this...

i know to block or hide code is not good thing to do ...

the client requires such things..


thanx
suraj

Protect
Is there a way to protect my flash files from being decompiled by any user??

Protect Your Swf
Hello I know I have asked this question before, however I haven't really got a definative answer. I am trying to protect the work I have spent a year creating from being stolen.

1/ Most large sites have got a copyright for their sites? anyone know how one goes about this.?

2/ Is there a way to properly encrypt your swf so that it is not possible to decompile? as everything I have read so far basically says there is no ponit to encrypt because anyone who really wants to get at the file will be able to decompile it encrypted or not?

3/ Also my swf file requires a lot of comunicating with a database using php pages, therefore anyone wanting to decompile my work, would also need to have the php files, therefore should I not worry?.

Thanks to any responders. J

How Protect SWF?
How protect SWF?
I saw on internet much SW which can without problems open non protected SWF, read all Action cript and use all content.

Do you know some protection SW for SWF?

Is it free too or cost some money?
Any experience?

I think

Thanks a lot

Jan

How To Protect Swf?
how can i encode a swf to protect it from a decompiler?

How Protect SWF?
How protect SWF?
I saw on internet much SW which can without problems open non protected SWF, read all Action cript and use all content.

Do you know some protection SW for SWF?

Is it free too or cost some money?
Any experience?

I think

Thanks a lot

Jan

:::Protect Your SWF/SCRIPTS:::
Any new trick on protecting SWF? Any new program or script to embed so ASViewer can't decompile the script? Thanks in advanced.

Password Protect?
How can I password Protect a Flash site before they log on.?
Is this possible?

Protect From FlashGet ?
Hi all,

now i know i have seen this somewhere, but does anyone know if there is some code you can put within your flash file to stop people from being able to download your flash files and look at the coding with ActionScript viewer??

Would be very greatful for any help

thanks in advance


gilesb

How To Protect Password
I wanted to know how to protect the password database in the flash file movie........I came 2 know that v should encrypt......could anyone plz. explain how to do it in macromedia flash 5 ?

How To Protect My Images?
Although web users can not download my images, one could use Shift-PrntScrn buttons, capture whole screen and paste screen image into Paint.
I am sure I saw Sites where such action was disabled(?) or somehow did not allow me to capture seen images in Flash.

I wonder how this was achived? In my simple test I was able to capture images from my Flash movie, how can I avoid this?

And one more quesion on "how to" - right click on flash can produce menu with number of lines to allow user to Play movie again, etc. and sometimes I see just one line which stated "About Macromedia ..." and that it. How this can be set?

Please and thank you in advance.

This is my first post here, Hi everyone.

Eugene

Protect Movie....
hi
i wan't to ask how can i protect my Movie from stealing??

Protect Art Work?
I have tons of art work on my site. I want to have a disclamer if someone tries to copy it. Is there a code I can put on the site that would pop up a warning if they try and steal the pics.thanks

How Can I Protect Any CD From Downloading?
i will put an flash player .exe file on an CD and i want to protect this .exe file from downloading .

- no one can download this .exe file from the CD to his HD.

is there a software or what ??

many thanks.

Right Click Protect?
hello

may i ask how to prevent users rewind my movie or game
by right click on the screen?

and how do i make the movie "allowscale" disabled?
i use the following script:

fscommand (allowscale, "false");

but it doesn'e work

can someone help me please.

Password Protect For XP...
For the life of me,I can't find where to go to password protect my screen saver. I have some little cousins over, and last time, I found they know the delete command well...

I went into

control panel > Display > screen savers


There is a littel box allowing me to turn it on, but I don't know ther password!

Any help would be appreciated, thanks.

Can You Protect Your .swf From Theft?
What's the best way to keep your flash movies from being stolen off the Web?

Protect From Import?
Hello, I am programming a website that has a bunch of flash games on it for a company. These games are played for real money and real money can be won depending on how the player does.

My question... how can I protect the game (written in flash) from being imported or edited. Obviously the user playing the game may be able to cheat the system and win lots of money if they could view the source code.

I am aware that you can choose the "protect from import" option in flash... but how well does that really work? I know there are tools out there that can open a flash swf file and allow you to view the actionscript and the other contents. And I think there are also tools to remove the protect from import (and passwords) from a swf file.

Is there anyway around this? Or is flash completely the wrong program I should be using to program these games? The company perferred flash so I am trying to figure out a way...

Any help at all would e greatly appreciated!... thsnx!

-Ryan

Password Protect CD Rom
My client is going to wants me to have the viewer of the flash CD Rom use a password in order to go on with the tutorial I am creating.

Should I supply the password for the viewer? What if they had to create their own password? Can this be done with Flash MX on a CD Rom? The more I think about it, I think I should supply the password. Sort of like when you are looking up a domain name, the website has you type in certain letters and numbers.

Or, am I totally way off base? What do you think I should do when it comes to the password request?

Protect Data On A CD
I have an application that I have developed in Flash and will be burning it to CD. The images and text for the Flash movie are drawn from a folder (of images) and a separate text file.

Does anyone know how I could protect the data on the CD so that no one can copy the data from the CD, modify it and then re-burn it to CD?

If possible, I would love to be able to complete scramble/encrypt/hide the files on the CD so that the user can't even see the images or text file at all, let alone be able to open it and/or modify it.

Thank you!

Password Protect...
I have a Button that needs to be password protected...I created a seperate swf file for the password...When i click on the password protected button i need it to call the other swf file and when they enter the correct pw i need it to call the appropriate flash page...
thank you in advance...

How To Protect Whats Yours?
How do you protect your SWFs from being decompliled, or rather, how do you stop decompiling thieves from downloading your swf files. Can we hide the swf adress? or do they get it from their cache files after viewing the site?

PLEASE HELP. I dont want anyone taking my ideas.

How To Protect Whats Yours?
How do you protect your SWFs from being decompliled, or rather, how do you stop decompiling thieves from downloading your swf files. Can we hide the swf adress? or do they get it from their cache files after viewing the site?

PLEASE HELP. I dont want anyone taking my ideas.

Password Protect
hello,

i need to make a flash page, that when a password is entered, it jumps to a specific html page for that password. i guess my question is, how do i make a password protected html page, and have flash send the variable to the browser to access it? thanks for anyhelp, i am proficient w/ actionscript, but am not sure where to start with this.
q

Password Protect?
I'm making a flash site for my mates band, there's going to be a staff area for all band members, site maintainers etc.
On my flash I have a page called "Staff Portal", how do I add password authentication to that?
I also want it so that on key press 'End', the entrance password is shown on the authentication page.

Here's the link to my .fla

http://www.exposelol.frih.net/1.fla

Protect Swf By Bytecode
hello
How can i want to protect my game or my swf file?
i heared ,there are bytecode method to protect your action script .
how it make? and is it safe?
......... thank you .......

How To Protect Flash
Hi

Is there a way to protect your flash from someone steeling it, not just the action scrip, the animations.
I have many animations on my site.

thank you

Password Protect
Hey guys, I was following this tutorial form tutvids.com on password protecting part of a timeline. Well the identifier Mouse Event in the function doesn’t work in 2.0. Any help (even a link to a tutorial that will show me) and i'd be grateful.
Here is the first part of the code:

stop();
submit_btn.addEventListener(MouseEvent.CLICK, subClick);

var myName:String;
var myPass:String;

function subClick(event:MouseEvent):void{
myName=name_txt.text;
myPass=pass_txt.text;
trace(myName+myPass);
}

Protect SWF From Reusing It
Can i protect my swf project from reusing it?? i mean so, that nobody cant import it to some program remake it and publish it again?
is it possible?
Fresh_ales

Can I Protect My Movie?
How can i protect my swf movie from Sothink SWF Decompiler ?

Protect From Import
I have two questions on this topic.

if 'protect from import' is not selected in the publishing process, is it possible to create a .fla from a .swf?

if 'protect from import' is selected, how do you enter a password, (how do you get to the screen), to open the file after published? I did a test and tried to 'save as' and it would not let me because it was protected.

Password Protect
to get into a certain area of the webpage i've created, you need a password. i've set it all up, but was wondering how i can automatically have the 'box' (where you type the password) clear if the password is incorrect?

this is the code i have used on the enter button:

on (release, keyPress "<Enter>") {
if (password eq "password") {
gotoAndStop(8);
} else {
gotoAndStop(28);
}
}


Thanks!

Protect LoadMovie
Hi

I have an .exe file, and the user enters a Serial Number and this loads a movie loadMovie("folder/happy.swf",0)

trouble is users can go into folder and click on happy.swf and bypass the exe file.

my idea is to have a variable on the _root of happy.swf
for instance ... good_to_go, which must =1 or else it goes to quit screen

I want to be able to get a value of 1 into the timeline of happy.swf
from the exe file (or some other means). but I'm stumped at how to do it.

is there a way of doing this...am i barking up the wrong tree here?

thanks in advance

Protect From Interaction (AS3)
Hey.

I have created a multiplayer flashgame with login, lobby and gameroom.
These are simply three frames on the main timeline.

When the flash is loaded on the gamepage I have set menu to false,
to disable any userinteraction like rewind, play and forward.

This is done with a swfobject-parameter.

What I havnt been able to stop is that any visitor types in the actual path to the swf-file. Then the right-click menu of course works, and the user can go from the loginframe into lobby, and game.


What is the most used and best method to stop things like this? I really need to make sure noone can access the game like that from anywhere.



Thank you.

Protect From Import... Really ?
Hi!
In flash 5, there was an option called "prevent from download" in the publish settings for SWF.
In flash MX, that option has been replaced by "protect from import".

So, with flash MX, it is now possible to copy a SWF file of a particular site from our Cache
and copy it in a local directory, then to use the loadMovie function to import it in our
own SWF... And then, to use a "For IN" in order to "spy" a protected file...
That was impossible with the "prevent from download" of flash 5, because the swf file
was simply not in our cache.

So here is my question : is there a way to protect data embedded in a swf file ?

Thanks.

Mathieu

Copyright © 2005-08 www.BigResource.com, All rights reserved