JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#642 AS3 imported classes outside SWF (?)
Author: user marianux
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3
State: postponed Help

I started this issue with a mail to Jindra. Here is the reply and the original mail at the end. Hi Mariano, hmm, your problem is interesting. I think it could be problem if some classes are outside the same SWF (imported?). In this case, the compiler won't index them. Could you please provide any sample of SWF files which do this? Or some tutorial how to create such flash file in Flash Professional. We cannot figure out anything from just list of imports you provided. I would be fine if you create an issue in our issue tracker for it. Issue can be private too. We usually do not solve anything via email, because there are too many feature requests and we will be then flood by the emails. Thanks. There is no forum for FFDec users. We have issue tracker only - for reporting bugs and requesting new features. I don't want to end up with discussions about how to hack any games or other commercial software (like sometimes users want). There are surely many other forums for this kind of talks. We focus to fix bugs or adding features in our software. We do not provide support with how user SWFs work. Jindra Petřík aka JPEXS 2014-08-12 12:40 GMT+02:00 Mariano Llamedo Soria <llamedom@gmail.com>: Hi JPEXS ! thanks for all good work you did ! Just a little question about FFdec, I am trying to port some cheat engine scripts I made in LUA to FFdec. I did a lot of effort trying to dodge the AS3 in time compiler, but in that time I was not aware that the AS3 source code could be updated and recompiled. I think that the idea of changing the AS3 source code is more robust that my current approach changing ASM code in memory, after the compiler did it job. I did some minor modifications to the source code, using the Proxy tool, and checked that the changes were replicated to the new SWF, but unfortunately there is some missbehavior in the actual recompiled SWF. I guess this could be a missing library, the project is about a videochat, and maybe the import section may give you any clue about what could be missing. import flash.display.MovieClip; import flash.media.Sound; import flash.net.URLLoader; import flash.events.*; import com.meychi.ascrypt3.*; import flash.net.URLRequest; import flash.net.URLVariables; import flash.net.URLRequestMethod; import flash.net.URLLoaderDataFormat; import flash.filters.BlurFilter; import flash.text.TextFormat; import fl.events.ColorPickerEvent; import flash.filters.GlowFilter; import flash.display.StageDisplayState; import flash.net.navigateToURL; import fl.controls.RadioButtonGroup; import flash.utils.Timer; import flash.media.SoundTransform; import flash.net.NetStream; import fl.events.SliderEvent; import flash.net.SharedObject; import fl.data.DataProvider; import fl.events.ListEvent; import flash.media.H264VideoStreamSettings; import flash.media.Camera; import flash.media.Microphone; import flash.media.SoundCodec; import flash.media.VideoStreamSettings; import flash.media.H264Profile; import flash.media.H264Level; import flash.system.Security; import flash.system.SecurityPanel; import flash.display.Loader; import flash.net.SharedObjectFlushStatus; import flash.net.NetConnection; import flash.net.LocalConnection; import com.google.analytics.AnalyticsTracker; import flash.display.StageScaleMode; import com.google.analytics.GATracker; There is no error message during the recompiling, maybe I can check some log or smth. Is there any forum for the FFdec users ? Many thanks in advance ! Mariano.
DownloadAug1a.swf (228 KiB)DownloadvipAug1.swf (223 KiB)
developer
Aug1a is the original and vipAug1 is the modified version which was created with FFDec? They are totally diffrent, what did you do exactly?
user
No, you are right, they are different programs, but using the same libraries. The problem is that when editing an SWF captured with the proxy tool, and with the ActionScript source code editor, the recompiled and chached in the proxy SWF loose some functionality. Check it at www.chatvideo.es Regards !
developer
And what do you want to do exactly? Do you really need to recompile the AS code... the P-Code modification is not enough?
user
Recompiling would be really good. I am actually editing P-code using cheatEngine, but I would prefer to recompile the whole project via the Proxy, and that it continue working.
developer
But you can change the p-code in FFDec, too.
developer
user
Yes, but I do about 40 changes in the Pcode via a LUA script, is it posssible in FFDEC also ? we can chat via gtalk in llamedom@gmail.com THanks !
developer
Yes, it is possible. I added you.
user
Ok thanks, I can not see you, please send me something. M.
admin
Have you two figured out something?
Title: →AS3 imported classes outside SWF (?)
admin
State: new→postponed