Flasm (Action Script Decompiler) Question
I am trying to take an swf file and update some of the action script in it. Basically I want to add a function that I define and then replace all calls to getURL with the function I define.
I found the Flasm tool (http://flasm.sourceforge.net) and this works perfectly (though I do have to enter some DOS commands)
So if there is any frames defined in the Flash file - I am fine - I can shove the function in that frame. But if there is no frame, I can't figure out where to put the function - I get unexpected swf file format when I just dump it in the file or try to insert a frame myself. Is there something here I am missing.
If not, is there another tool that does something similar. It is a rather minor update - and I don't want to do anything else.
Thanks a lot for any help.
Ed Brandmark
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-23-2002, 04:08 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flasm
does any one know how to use flasm... i got it but i dont know where to begin.
-why isn't my footer working...
Is Trillix Flash Decompiler The Best .fla Decompiler?
hi everyone,
one of my longtime clients is a non-profit organization that has 2 main websites, i've been working on those for the last 5 years.
they have just received a new mandate from the government: they will now need to update and maintain 6 already existing microsites, that offer public resources and information for teenagers on several topics of general interest.
those microsites got transfered to the main server now, and we will soon start to receive text updates for them and other various requests for modifications.
most of the microsites use Flash to various extents: some have Flash intros and menus, others have Flash-based Q&A games, etc.
all these sites were created by different design agencies through the years, and it looks like it will be very problematic to track down all the .fla source files that were used to create all this content.
to solve this issue, i've been reviewing several Flash Decompiling solutions and i will soon have to advise my client on the best one to buy for the job, as we move forward with these projects.
so far, i like Trillix Flash Decompiler; it looks like it has all the tools to correctly decompile .swf files into .flas, but i'm not sure that it works as advertised, because the demo doesn't decompile actionscript (it's a demo limitation).
i'd like to have feedback from anyone who has actually used Trillix Flash Decompiler: is it the best solution for decompiling .fla files? are there any show-stopping bugs in the app, etc? if there are such bugs, are there other / better software solutions you'd recommend for the job?
i want to avoid recommending a decompiling solution, paying for the software and then having to go back and say that it doesn't work properly.
thanks to everyone!
Martin
Flasm - Can I Add One Line Of As To A Swf File.
Hi guys i have a number of swf adverts compiled source only swf's , itll take me a week or more to remake them into proper fla's, so i dont want to do that, all i need to do is to add a lockroot statment code into the 1st frame so the root is maintained when i load in the advert swf into my advert movie player. At the moment it looses the root and so the dynamic txt boxes dont display , but if i can just add a lockroot statement itll all work, soooo
can i use flasm to add one line of as code to a compiled swf?!
as far as ive read on there site i think i can,
so far i have manage to download it and view the as code of my swf.
soooo....
1) whats the syntax to add a new line code to frame one , what commands do i use?
2) lockroot, will i be able to use this or is it just assembly language commands in flasm?
thanks
arran
Weird Errors In Flasm
Hi all,
I'm trying to decompile an swf with flasm (I like to do so to learn more about flash bytecode). Now I've come across some really sketchy swf file that apparantly crashes flasm, 'cause it only outputs garbage. Her is the FLASM error log:
________________________
Fri Feb 09 22:15:58 2007
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -16361
branch target not found: -2132
branch target not found: -23202
branch target not found: -15173
branch target not found: -1677
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -17993
branch target not found: -14448
branch target not found: -21663
branch target not found: -1268
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -32734
branch target not found: -585
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -382
branch target not found: -28722
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -3002
branch target not found: -21312
branch target not found: -17670
branch target not found: -2660
branch target not found: -1494
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -501
branch target not found: -10037
branch target not found: -1384
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -617
branch target not found: -22115
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -31335
branch target not found: -523
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -26525
branch target not found: -806
branch target not found: -13072
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -232
branch target not found: -17886
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -346
branch target not found: -13813
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -32534
branch target not found: -20895
branch target not found: -1056
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -17593
branch target not found: -23271
branch target not found: -914
branch target not found: -4948
branch target not found: -24896
branch target not found: -30846
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -6636
branch target not found: -11038
branch target not found: -16912
branch target not found: -24083
branch target not found: -27044
branch target not found: -1954
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -509
branch target not found: -19491
branch target not found: -23514
branch target not found: -23087
branch target not found: -15430
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -131
branch target not found: -10354
branch target not found: -25544
branch target not found: -31268
branch target not found: -2399
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -315
branch target not found: -29770
branch target not found: -18930
branch target not found: -25174
branch target not found: -21315
branch target not found: -5669
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -26337
branch target not found: -32407
branch target not found: -1048
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -13294
branch target not found: -32283
branch target not found: -14819
branch target not found: -1374
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -29136
branch target not found: -6625
branch target not found: -29123
branch target not found: -11506
branch target not found: -22088
branch target not found: -1929
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -24467
branch target not found: -9772
branch target not found: -15154
branch target not found: -939
branch target not found: -25932
branch target not found: -27827
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -6768
branch target not found: -25107
branch target not found: -15445
branch target not found: -17605
branch target not found: -1982
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -31539
branch target not found: -11745
branch target not found: -1189
branch target not found: -10859
branch target not found: -11562
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -11857
branch target not found: -28451
branch target not found: -6558
branch target not found: -11538
branch target not found: -29040
branch target not found: -1343
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -4819
branch target not found: -743
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -27463
branch target not found: -31382
branch target not found: -1258
branch target not found: -14340
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -5459
branch target not found: -31208
branch target not found: -19058
branch target not found: -31768
branch target not found: -1685
Branch into the middle of an action, label2 (off by 5 bytes) is placed before next action
branch target not found: -14834
branch target not found: -24953
branch target not found: -1051
branch target not found: -26334
branch target not found: -26078
And this goes on for about 22 kilobytes :s ...
Could someone please tell me what I can do about this?
thx,
Steven
******* Decompiler
Hi I am using ******* decompiler to understand how some flash sites are made, and i must say, it helps a lot. Some flash sites cannot be decompiled , how come ? Do they have a kind of protection ? And is there a way to by-pass this protection ?
Decompiler
how do you protect your swf from import and decompilation?
Swf Decompiler
Just wondering if anyone can help...
I have a client whose previous web-developer ran off with the flash files for their site - leaving just the live flash movie on the web. (Please no comments about this, I know it's a ridiculous and totally avoidable situation).
They need it changing slightly, so require the source flash files. I've heard of decompilers, but are they any good or do they generate loads of excess crap, are there any fully functional free ones around that someone might recommend?
Thanks for your help.
******* SWF Decompiler Help
hi ppl, i have a client who wishes to make basic text changes to this flash animation... click here yet the previous developers will not release the fla files to him without $1000's of the folding stuff being paid.
I haven't used ******* before, but I need to get some ideas on how i can edit basic text without having to rebuild the entire site. From waht i can see, ******* will only export SWF files for most elements apart from the images and sounds. how can this help if you cannot import a swf?
anyone have any ideas on how i can edit the text without spending weeks on it??
cheers
Luke
Decompiler
I was wondering if there was any software that decompiled swfs into fla files again. I made the mistake of not backing up my work but I can still get my files off the server so if anyone can help I would really appreciate it.
Decompiler
Is there any software to decompile an swf back into a fla? If anyone knows about any it would be a great deal of help. My hard drive fried and I lost some files, but I can still get my swfs off my ftp folder
Decompiler
I was wondering if anyone knew where I could download a decompiler, preferrably FREE or little cost would ok. Thanks
Need A Decompiler
Anyone know where I can download a decompiler |(preferribly FREE).I didn't save the flash file just the .swf and I can't add my text to my movie Thanks.
.swf Decompiler?
so i accidentally erased my FLA....really need get it back at least as much as i can....
...whats the best optoin out there? I am using a mac so thats my platform...please let me know asap...
thanks
I Need A Decompiler
I've heard it called decompiler, not sure if that's the correct term. Something that will take a .swf file and convert it to a modifiable .fla file.
I'd be interested in the best free one out there, but also the best one out there no matter what the price.
Thanks.
Swf Decompiler ... Is It A Con?
Hi All,
I am worried that the purchase of the ******* and Eltima swf decompilers is a con and these companies do not exist. I purchased one from Eltima and did not receive a serial no. so i emailed them with and received no reply.
Because i am in desperate need of this i looked into the purchase of the ******* product ... only to find that it is essentially the same company "gmbh" .... have i been conned and if so is there no decompiler software to get my fla back ????
I am pannicking ... any help by anyone would be appreciated.
Lawro
Use Of A Decompiler?
I was wondering if anybody here could help me out.
I was using Flash over a network, when the computer the file was saved on was shut off. For some reason, the file was deleted, so now I have nothing but the SWF.
I was wondering if anyone with a decompiler could decompile this SWF into an FLA I could continue to work with.
http://bernard.asen.us/Stellarsis%20II%20B.swf
If the FLA is too large to email or upload, go ahead and delete the audio; I can add it back in later as long as the keyframes are in the same places.
Thanks in advance!
Decompiler
I have to edit some .swf files for a client. Has anyone used any of the flash decompilers out there? are there any good free ones?
Somebody Please Decompiler My Swf
attached is a small swf. Could someone please decompile it and post the code? I would like to see if it decompiles correctly because I use a custom Class for all of the movement.
Thanks
SWF Decompiler
I'm trying to find a SWF Decompiler so that I can look at example ActionScript and Flash MX ... stuff.
I'm absolutely new to ActionScript, and Flash MX, but I have a short-but-sweet background in programming (i.e. I have a basic understanding, but lust for more).
The thing I want to decompile and look at is located at http://www.sorbose.com/ind_products/spider_design.swf, origionally on http://www.sorbose.com/spider_design.html being sold for ~40.00. I am NOT trying to take this template FYI, I actually have a very similar idea in mind. Something about Black Widow spiders... ^^
AS3 Decompiler?
Hi,
I lost my .as files due to a mysterious crash! now I've only got
my .swf file. Does anybody know whether a AS3 decompiler is available?
I saw that a new alpha version of 'Action Script Viewer' is compatible with AS3.
Does anybody own this program and maybe cares to help me out?
Thanks!
SWF Decompiler
Hi,
Does any one know of a swf decompiler for Mac, I have searched but they only seem to come in the PC flavour.
s.
How To Use Decompiler ?
i been thought that i can use Decompiler software to trace scripts from .swf files. but the problem is, how to crack .swf files from website and how to do it ?? plz help me...
beside, can anyone give me cool preloader scripts??
SWF Decompiler
How do u guys keep your script from those swf decompiler on the market? I have tried to use it on some swf sometimes it render as corrupted file. and sometime it display "script error" on the script panel.
I have tried a swf encryptor. it dint work well, adding extra lines to the swf, making the file size heavier and behave weirdly.
SWC Decompiler
Ok here's an easier way to put it, is there a program that will decompile swc's for me?
SWF Decompiler Q
Hi all. I want to ask something regarding SWF decompilers. If you've protected your finished Flash movie from import, would the decompilers still be able to break down your movie, down to the AS codes?
mynewt
SWF Decompiler Q
Hi all. I want to ask something regarding SWF decompilers. If you've protected your finished Flash movie from import, would the decompilers still be able to break down your movie, down to the AS codes?
mynewt
What's The Best SWF Decompiler?
I've heard of www.sothink.com as well as others.
What's the best one? Do any of them allow you to decompile password protected SWFs?
Best Decompiler
I have a website that was built for a couple of thousand dollars and the developer is suggesting that the FLA files are his proprietary information. I want to have someone else work on the pages.
What is the best decompiler on the market?
Will it extract the fonts used?
Will it extract the action script accurately?
Decompiler
The other day I reformated my computer and lost a few files that I want. One of my friends had a .swf file of one of my programs. I was wondering where I could get a decompiler so I could get my files back.
I know everyone here hates decompilers but this would help me out.
Thanks for any help.
AS Decompiler
hello!
I have this AS decompliled from this website: http://www.dreamweaverhulp.nl/
Code:
// Action script...
// [Action in Frame 1]
v = [2.000000E-001, 7.000000E-001, 10, [], [], Stage.width / 2, Stage.height / 2, 110];
for (i = 0; i < v[2]; i++)
{
v[3][i] = this.createEmptyMovieClip("point" + i, i);
v[3][i]._x = v[3][i].defaultX = v[5] + Math.cos(6.283185E+000 * i / v[2]) * v[7];
v[3][i]._y = v[3][i].defaultY = v[6] + Math.sin(6.283185E+000 * i / v[2]) * v[7];
v[3][i].onEnterFrame = function ()
{
if (Math.sqrt((this._x - _xmouse) * (this._x - _xmouse) + (this._y - _ymouse) * (this._y - _ymouse)) < v[7])
{
newX = _xmouse + Math.cos(Math.atan2(v[6] - _ymouse, v[5] - _xmouse)) * v[7];
newY = _ymouse + Math.sin(Math.atan2(v[6] - _ymouse, v[5] - _xmouse)) * v[7];
this.vx = this.vx + (newX - this._x) * v[0];
this.vy = this.vy + (newY - this._y) * v[0];
} // end if
this._x = this._x + (this.vx = (this.vx + (this.defaultX - this._x) * v[0]) * v[1]);
this._y = this._y + (this.vy = (this.vy + (this.defaultY - this._y) * v[0]) * v[1]);
};
v[4].push({});
} // end of for
_root.createEmptyMovieClip("Quicksilver", 100);
_root.onEnterFrame = function ()
{
with (Quicksilver)
{
for (i = 0; i < v[3].length - 1; i++)
{
(v[4][i].x = (v[3][i]._x + v[3][i + 1]._x) / 2, v[4][i].y = (v[3][i]._y + v[3][i + 1]._y) / 2);
} // end of for
clear();
beginGradientFill("radial", [13421772, 10066329], [0, 40], [0, 255], {matrixType: "box", x: 125, y: 25, w: 200, h: 200, r: 0});
moveTo(v[4][0].x, v[4][0].y);
v[4][i].x = (v[3][i]._x + v[3][0]._x) / 2;
v[4][i].y = (v[3][i]._y + v[3][0]._y) / 2;
for (i = 1; i < v[3].length; i++)
{
curveTo(v[3][i]._x, v[3][i]._y, v[4][i].x, v[4][i].y);
} // end of for
curveTo(v[3][0]._x, v[3][0]._y, v[4][0].x, v[4][0].y);
} // End of with
};
But it doesn't work :( I think i must clean it up, but i'm a beginner,, Can someone help me?
P.S. Sorry if my Englisch is bad, I'm from Holland :wink:
Mvg, Artie
SWF Decompiler Editing
Can someone tell me if I can edit actionscripts in SWF Decompiler?
I cannot find the commands the scripts with flash MX which I did find with Decompiler.Now I want to edit these commands but Decompiler doesn't allow me to.
Maybe there's some other program with the same simple interface as Decompiler??
SWF Decompiler Software
Hi all,
I read about SWF decompiler software on the Internet.
Q1) Can I open SWF-files with this, even if they have a password?
Q2) Could I convert to the original FLA??
Q3) Does this mean giving away the SWF is giving away the source code???
Q4) Could you pick an SWF from a website????
I'm asking cause somebody wants my (briliant ) SWF file so desperately and I don't trust it.
Thanks for feedback !
******* Flash Decompiler
Does anyone have a registered copy of ******* Flash Decompiler?
Goto: http://www.digicc.com/fido/fido.swf
7UP have produced a swf which asks you a series of questions then "guesses the number you are thinking of" by applying an formular to your responce. I am desperately trying to figure out what that formular is, and if anyone can extract the actionscript for me I would really appresiate it. Alternatively, if any of you algorithm gurus can crack it the old fashioned way, I'd love to know how they do it.
(Me and my collegues gave it a try, and it "guessed" it right, four for four!)
Cheers,
Neil
The Best Flash Decompiler
What is the best software to convert swf to fla?
I've seen ******* and asv mentioned. Has anyone had good or bad experiences with them?
I'm buying one today, but I want to make sure I get the best one.
Thanks.
Flash Decompiler ?
erm i heard this was possible ?
I lost the FLA i only have the SWF
can i get the FLA by decompiling the SWF
(it is the movie clip that i need)
Dom
Flash Decompiler?
Hey, i recently started a new forum www.webdevforum.net/forum/
I downloaded a template that i really like d(open source) and when you view my page, at the top you see the "Logo Here" swf. I'm trying to use a flash decompiler (is this what im looking for?) so i can turn that swf into a fla and edit the text, but i want it to remain as a flash graphic and keep the animation. Is this possible? and with what software?
I downloaded *******'s Flash Decompiler http://www.*******.com/flashdecompiler/download.htm
i attached the swf i got, from using the decompiler. It basically came out as a gif, with only one frame.
EDIT: i just looked at the file, it does have an animation. but the swf the decompiler generated comes out to one frame, so theres no way to edit it. or atleast i dont know any way, can anyone do it for me or teach me how? i want the Logo Here to say WEBDEVFORUM.NET
Crashing Decompiler
Does anyone know or is familiar with actionscripting that will detect flash (then play normally) as well as detect a decompiler then crash it... ?
SWF To FLA Converter (Decompiler)
Anyone have experience with these programs that claim to convert a SWF file back to an FLA? If so, which of these would you recommend if any? Have a few files I can not find the originals FLA files for... any help would be appreciated. Thank you.
Flash Decompiler?
I'm new to flash, but as I was overlooking a friend who uses this program he seemed to be able to "take" flash sites directly off of a web browser and edit in Flash CS3. I asked him how he did that and he told me it was from a "flash decompiler?" I can't really remember if that was what its called, but is there such a tool that can be used for those purposes? I want to learn how flash developers create flash animated websites and I feel that this is an easy way to do it, by reviewing their work.
Or, if you all have another way of doing this, please let me know!
Decompiler Not Gettin All?
Alrite so I dl'd the trial version of the SoThink Decompiler and it does show me theres 40 audio clips but when I open up the flash file nothings there.
Would anyone be able to decompile a swf for me and see if their results differ?
Problem only seems to be with NO audio.
Thanks a ton, folder got deleted and only backup was a swf on the server.
EDIT: Link to swf
or can send via email
About Sothink Swf Decompiler
Hi all.
sothink swf decompiler can completly decods swf to fla with all actions and labels and etc.
I want to know is there any way to protect my swf project against decoding.
Thanks.
SWF Decompiler That Saves As Is
I need a Flash SWF decompiler or reverse-engineer type program that will allow me to resize some object in the movie and then save out again and have it work correctly.
Any specific program out there to do this? Thanks.
Prevent From Decompiler
Hi,
I have developed some program in flash (as 2.0 class based). I want nobody can copy my codes. I have checked it in few famous decompilers and i found nothing is hidden. One can easily copy it. Is there any way to hide them in flash 8.0
Regards,
Gunjan
Flash 9 - Decompiler
Hi All,
Has anyone every worked with a decompiler which extracts actionscript from the flash 9 swfs?
Thanks,
AS3 Flash 9 Decompiler
Let's talk about AS3 decompilers
Where can find it? And which one is better?
I couldn't find any direct answer. And I've seen than many people are looking for decompilers.
Thx for answers
Swf To Fla Decompiler/Converter
Hi everybody, i need your help, I am looking for a swf to fla decompiler, i am working on a project and I need a free one, i dont care if its a free trial but it has to be able to decompile a swf and keep the actionscript it the fla, most free trials lose actionscript when decompiling,
i would greatly appreciate any help
|