Click to See Complete Forum and Search --> : I attended today's online semniar, nice, nice.


georgecalgary
08-30-2005, 10:42 PM
This afternoon there's a seminar about a brief introduction of Studio 8. I was exciting on new features of flash 8, it's so easy to get blur and shadow just like what Photoshop did.

There's a break because of some trouble, later it looks work nice but my browser still nothing following up. I think it should be some bugs of flash player 8 beta with IE, so I closed it and reopen with Opera 8, it worked well then. :)

cancerinform
08-31-2005, 03:16 PM
blur since flash 6:

http://flashscript.biz/components/blur/blur.html

shadow since flash 6:

http://flashscript.biz/MX2004/onions/shader.html

those effects you can easily achieve by playing around with alpha, x, y and duplicateMovieClip.

I am excited about flash 8 but not because of blur or shadow.

>flashl!ght<
08-31-2005, 07:20 PM
The type of blur and dropshadow(and glow and bevel for that matter), in Flash 8 was *not* achievable at all in previous versions. The new type being realtime raster effects... your scripts are nice, cancerinform, I don't mean to downplay them, but they are not the same as what is being implemented into Flash 8.

BTW:
My main wish for Flash 9
tellTarget ("MacroMedia") {
gotoAndWish ("A_Flash_Obfurscatoring_Object");//to protect scripts from being stolen by others
}

WHHHOOOOPS, that was flash 3, I mean of course this:

var MacroMedia:Company;
_root.MacroMedia.gotoAndWish ("A_Flash_Obfurscatoring_Object");

Funny. :)

Lexicon
09-01-2005, 09:41 AM
don't you mean


var M4cr0-M3d14:Company;
0.M4cr0-M3d14.gotoAndWish ("A_Flash_Obfurscatoring_Object");


:P

cancerinform
09-01-2005, 10:22 AM
>flashl!ght<, I know, just wanted to challenge :mrpimp:
Lexicon you got it :thumbsup:

georgecalgary
09-01-2005, 08:35 PM
I would like... :grouphug:

var pubKey = "-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (GNU/Linux)

mQGiBEMXnIoRBAC+5qkcvKX+zCC5/sajgxdRbSUQGb13gHCx8mvAWHdwTeOIr0yj
7+X9t9jFOYgV/kQoMiAOig+pAT0OKiMhm9ZqItXI1ALu1Z6qk26y22emiqUloWC J
axizwYvE9+ehzX/ZqYyDAW4UmO2KAY75N+HnQ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";

myScript.Encrypt = function(){
if( itEnabled){
this.validate(pubKey);
trace(" We have lots of jobs could do upon Flash! ");
}
else {
this.beCareful();
}
}

FlashGuru
09-01-2005, 08:54 PM
There is an MD5 actionscript algorithm here:

http://www.secureplay.com/product-docs/MD5-Message-Digest.htm

I should also note that is 'very very bad' practice to include the encryption key inside the .swf file.

>flashl!ght<
09-01-2005, 09:08 PM
I'm just curious, I'm not well versed in software security... if your scripts are obfuscated, can't they still be stolen?

FlashGuru
09-01-2005, 09:54 PM
Of course they can, an obfuscated script still functions correctly if you rip it out of a movie. Only problem is that if you want to make changes to that script, its pretty difficult because obfuscation renames variable names and functions and renames the references to them, so you end up with function names like dsjifishdfkd() which doesnt really explain much does it? however the same function with a name 'doSendtoServer' actually means alot more and it would be easier for a programmer to change the script as he can understand the flow.

georgecalgary
09-01-2005, 11:06 PM
Obfuscation should be the lowest level of encrypt methods early last century especially world war years. Any kinds of algorithm could be rip off if there's enough numbers of mainframe servers and enough time (days to months) but usually in commercial use, MD5, PGP or so are safe enough.

>flashl!ght<
09-02-2005, 10:18 AM
Interesting. I guess what I'm wondering, is I don't believe I've ever written any code thats really needed to be obfuscated... it's not like the code is so revolutionary that I want to protect how it works so others won't know it... it's more that I would want it to not be stealable at all. For instance, take a simple XML photo gallery. What is the point of obfuscating all the script, when the gallery can still be stolen and used? XML galleries have been done many times, there's nothing secret about the code I'm using... I just don't want people stealing my functional web application, thus not having to pay me to use it.

I suppose it would make modifcation of the gallery much harder/impossible... and if I was able to work some sort of security measures in the script it would make hacking them out much harder...

cancerinform
09-02-2005, 11:04 AM
I can see there is a big interest in encrypting code and that is not for little projects or tutorials of course but bigger applications, which are possible nowadays with flash.

I am creating a graphic-animation program for children, where they can import pictures, have squares, triangles, can draw lines of different thicknes and animate everything with each item have its own animation speed. Then they can save everything and they can save several files. It's like a flash program but with simple features. It is a big project and I don't want the next mother&*%$#@ to steel the code and create the same.

By the way does anybody know if projector files can be cracked as well?
I tried it with the program I am creating using gordon (trial version) but I get only the code from the fla file not the xternal .as class files and flare does not show any scripts.

georgecalgary
09-02-2005, 02:14 PM
I think (not so sure) external .as files are much easy to find. It's a simple URL without any protect, only when hackers find your URL link, maybe script from your .fla, maybe using sniffer to find whether there is a HTTP request to a URL, or from a cache server.

Atarsh
09-03-2005, 04:15 AM
External .as files are only used at compile-time, you don't need them on your server.
After compiling, they are just like any other piece of AS in your .swf, aren't they?

FlashGuru
09-03-2005, 04:25 AM
Yes they are compiled into the movie.

cancerinform
09-03-2005, 08:16 AM
I have mac and I checked my movie with flare. Flare will print all the scripts however not in the same way as the coding. The interpretation of the scripts is very different from the original scripts and is based on the MX syntax (Register class). Flare cannot interpret projector files only swfs. For a hacker using flare it will be difficult to interpret the scripts.

Then i tested Gordon 1.5 and gordon does not list any of the external class scripts only what is in the movie.

Anybody knows something about other compilers? These were free so it could be that the commercial compilers are much more powerful.

Thanks for the discussion by the way even this is not dealing with Flash 8. :)

georgecalgary
09-03-2005, 02:36 PM
Oh sorry I was wrong thinking about .as files. "Only the code necessary for the application is included from the library of external files."

FlashGuru
09-03-2005, 05:47 PM
Actionscript Viewer 4 can decompile Flash Projectors.

cancerinform
09-03-2005, 09:31 PM
Thanks for the information and sorry for the strange way this thread went.
I already sent my wish to MM a couple of weeks ago.

Now back to the original thread.

var flash:String = "great";
var version:Number = 8;

function Yeahhh(){
trace("FLASH "+version+" is "+flash);
}

The fact that there is already so much out shows that it will probably be a success and $$ for MM :D

Try HP PartnerONE's Full Menu of Marketing Tools.
Make it easier for every opportunity to find you: HP PartnerONE helps you drive demand and close sales by providing the marketing and sales support tools you need, from direct mail and email templates to a Web-based proposal builder that helps you win the business.