PDA

View Full Version : Protected Actionscript


pauliostro
06-30-2005, 12:26 PM
Hi,
I am wondering if someone might have an easy answer for this...

I am wanting to protect my Actionscript via some sort of external linking.
My envisaged thought is to instead of having all my Actionscript code in a swf, I would be able to link an empty swf to php and/or MySQL to download all the Actionscript load it into the swf and then execute... Is this possible?

... and if possible an easy way.
Hope to hear some responses

Cheers

Laguana
06-30-2005, 01:26 PM
I believe that what you would want to do is effectively use your main .swf as a preloader for the actual .swf which you then have all your code in and such.

Basically, you'd have your main clip (making sure to reference everything relatively, because the _root is going to be different) with whatever you want, and then in the .swf which you link to, you have preloader code.

Alternately, you could load the .swf with everything in it onto _level0, and i think that effectively replaces the first swf with the second.

Xeef
06-30-2005, 02:20 PM
hi and welcome to As.Org

the problem is even if you do so (as Laguana say) it's easy to get the loaded SWF
and decompile it

SWF is an open standart and there are plenty of decompilers for it so you not realy can protect it

a way coud by (not try it and not have expirience whit it ) to do the hole thing whit httpS then it shoudn't by cached on the user computer and also the trafic is scrambled

an other way coud by to REALY download all comands from a DB (which still coud by captured) you will need for this an "interpreter" there is a nice one
just not know the adres for it :p
think flashkit or flashprototype or what ever the side is called
there shoud by a couple of threads around whit the corect address if you search for it