This method can be useful if you want to export graphics and button images, because the FLA files that they are contained within will already have the stage size to match the graphic you’re exporting.Īs for the ActionScript code, if there was any code placed inside timelines of the FLA, they will be preserved in the conversion process, which is super. I find FLA useful for things like buttons and actions. I opted to try the latter option, and to my surprise, they were able to successfully extract assets from the SWF!ĭeciding to take a risk, I went ahead and bought the full version of the decompiler, and took on the client’s request to convert all his requested games (or to let him know of any that could not be converted).Īnd so far, the decompiler has delivered! I’ve been able to extract the main FLA file, as well as all the necessary code and assets from the every SWF encountered.įor some resources, you can specify the format you want them to export to. They even allow you to send them a SWF file, and they will decompile the SWF and inform you the test result (albeit they keep the resultant FLA file). I told the client that there may not be a guarantee that the decompiler might not be able to assist with converting all his SWFs (because you don’t know what you’re dealing with – it would be dumb to assume you can do the job without having seen how anything works yet).įortunately, the makers of the decompiler, SourceTec Software, allow you to download a trial. Without the FLA files, I decided to give Sothink SWF Decompiler a try. And the only way for me to even get SWF files was to download them by accessing the developer console within the browser. He does not have the FLA files for most of them. I’ve been working with a client who has several Flash games that needed to be converted. Remember: When converting a Flash game to HTML5, you will need to rebuild the game from scratch, particularly, the coding and functionality. The tool can even extract any FLA files it finds, and there is even a function to export to HTML5 format (more on this later). This tool is designed to extract code and assets from Flash files so you can use them to rebuild the game in HTML5 canvas. But!… You do not have this FLA file or any of its assets! And without that FLA file, you’re f*cked right? Well, maybe not! That’s where a tool called Sothink SWF Decompiler may come to the rescue! Usually, that will not be the case…īut for the sake of this article, let’s assume that is the case. Some smaller Flash projects (and I mean very small) may use a single FLA file with all the code and assets built into it. Now, when doing the conversion, if you have the all the original code and assets, including any Flash FLA files that Adobe Animate use, that’s the best option. I’ve done this with the game Blasteroids, which was originally a Flash game I coded for a client. If you’ve been following me for a while, you’re aware that one of the services I offer is to convert Flash games to HTML5 canvas.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |