Flash :: Replace SWF Resources Without Having To Decompile?
Sep 23, 2011I want to replace an image inside of a SWF File without the need to decompile it.
View 1 RepliesI want to replace an image inside of a SWF File without the need to decompile it.
View 1 RepliesI am the maintainer of a site that has allegedly 'lost' the source code to a flash swf file. How do I decompile this source?
View 8 RepliesHow do you decompile a swf file
View 3 RepliesI am looking for a script that will go through ~75,000 SWF files that we have, will decompile each and find all the Shapes/Elements which size is greater than x.The output should look smthng like:SWF Filename "SWF Path" "SWF overall Size" "Element Name" "Element Size".Does anybody know of a software that might be able to handle that task?How do decompile scripts work ? would it be easy to write something to handle the above task?
View 2 RepliesI tried hard to do this myself, but it isn't working. I would like to offer $20 to anyone who can decompile this flash program, edit the actionscript to load an xml settings file from URL (instead of loading the one compiled with the program), and package it up for me. My main problem is that it doesn't decompile in a way that runs when recompiled with the programs I use.[code]...
View 2 RepliesI have a small project that requires me to decompile a few SWF files in order to make some modifications to them. However, I do not own any Flash decompiler software.
I have searched for a freeware but, unfortunately, I cannot find one that outputs the FLA file.
Can someone that has a license to a Flash decompiler software please assist me and decompile the files so that I can work on them ?
The new Flash 10 player was released. [URL] To get things running you currently need to use the Flex3 sdk. More details are described here: [URL] Click the link on my footer.
View 16 RepliesI have the following javascript to embed a flash in my page.tpl.php
<script type="text/javascript">
<!--
var flashvars = {
xmlUrl: "xml/banner.xml" //Use to change XML filename or location
};
[Code]...
This is sort of a two part question. I'm building a flash image viewer to be a portable age-restricted module (violent video games). Basically, it will load any number of images from a CDN and require the user to enter their birthday before viewing it. Simple stuff. The problem is that, per company policy, we can't allow those images to be directly accessible by any means of sniffing (eg, watching your Resources/Net tab in Webkit/Firebug, or watching XHR if we loaded them that way). So, I'd like to get your opinions about the best way to approach this.
At first I thought to have a server-side script that loads the image (eg via PHP) by passing a var that can be decrypted but with a dynamic salt, eg, using a method that is very unlikely to be discovered (for example, having the salt be embedded throughout the string), but that defeats the purpose of the CDN as all requests would be geolocated to the server.
Then I thought that loading the images via sockets would be a good solution, however, I'm having trouble converting the binary image (after removing the response headers) to a Bitmap.Is there a better way to go about this? I know that realistically it's impossible to completely prevent the content from being linked to (eg someone could screenshot the flash) but my goal is just to take steps on our side to prevent that from happening by native means. Below is the socket code (irrelevant parts removed), if that helps any.
package com.std.socket {
import flash.system.Security;
import flash.net.Socket;
import flash.events.*;
[code]....
As I'm writing I'm thinking that in SocketRequest::evt_socketResponse(), the this.sock.readUTFBytes() bit should really be:
this.request.response_parts.push(this.sock.readBytes(this.data, this.data.length, evt.bytesLoaded));
and then remove the headers from this.data, but TBH I'm not super ByteArray-savvy.
Is there a way to load graphics externally when in development but package the graphics into the project's swf when it is published?
View 1 RepliesCan I set a maximum percentage of CPU resources a specific program or process can use? I want to use the executable name instead of its pid, because I would like certain executables to always run with constrained resources.
The reason I ask for that is that I am bored of the way Shockwave Flash behaves. It is not possible that to draw a few stupid things in my browser it takes 50%, 80%, 99% of my dual core CPU!
MacBook Pro 2009 -
MacOS X 10.6.4 -
Chrome 6.0 -
Firefox
P.S.: Now, when my fan starts running I now the reason and I know how to temporarily fix it: I kill Shockwave Flash and everything is back as normal.
We are developing an epic game using flash cs5 and actionscript 3 (no flex at all). There are lots of images and other media stuff in library that we need to use. Early i just kept them in my main .fla, but then compiling swf became very slow (more images - more time to compile). So i put all my images to filesystem outside flash, and it helps. But then some lags and bugs appeared, especially when we were testing the game on remote server. Seems like files just don't have time to load (or they loaded uncompletely) - though i did it pretty correct, sequentially, with events like onload and so on.
Finally i've created another swf with all the images and resources. I'm loading it once in my main swf and i compile it only when i need to add a new image. It works rather well, but i have feeling that i'm doing it wrong or there is another right way to organize resources more easy. Also there are some minor troubles with second swf; for example, i have to make user wait until it loads inside my first file, and if i want to run from my desktop, i always must keep these two files near in one place. And, as amount of images growth and growth, it becomes annoying to compile my 2nd swf again, even if i need to do it not so often.
Can anyone recommend some good flash website resource sites like [url].....
View 0 RepliesI was just wondering if there are any good books/resources out there that helped someone out that is pretty terrible when it comes to Math when programming in actionscript, or I guess programming in general. I guess I'm after some sort of resource where it had basic problems which would involve a bit of math, then went through the problem in a detailed way solving the problem but at the same time explained what was going on so I would learn the math and also solve the problem using code.
I don't want to just be told how to do it with a bunch of code I don't understand. Really hoping there is some awesome book out there called '101 guide to maths in programming' or something like this, (hopefully more geared towards flash/actioncsript)
how I can protect SWF file, from being download and decompile??
do i need to purchase some software ?
I'm having some real trouble getting .replace to actually replace something. Here's my code...
[Code]...
I can trace both newFiles[i] and keywords[i][whatever], but the replace doesn't replace anything. The regex is valid as well. I'm using regexr to test it, and it works perfectly there... but will not for me and I don't know why.
What I'm wondering though is, are there any good resources out there for making games in Flash CS4. I know I'm going to get some "learn the basics first" replies, and yes I know I need to get a solid grounding in those, but I want to be able to start gathering resources, and look ahead to what I'll be able to do with Flash in the future. By resources I mean books, other websites, your own advice about game making, etc...
View 1 RepliesI've got to construct a basic xml file listing website assets (pictures and text strings) that a flash photo gallery references.
I'm using a Mac and OpenOffice. I've got Dreamweaver, dashcode, and a couple of open source IDE's. I'm not a programmer, so scripting gets a little difficult.
I'm hand typing the file right now, but the task is very slow because of the number and order of the "fields" and values for each record in the xml.
Is it possible to set up a spreadsheet of the data and then parse an xml file from that? I've got to follow this format for each record:
<photo imageurl="url" linklabel="text"linkurl="url" showFlipButton="true"><title>text</title><description>text</description></photo>
I am running an online flash multiplayer game. However, I have been facing a problem lately where some users cannot actually completely load all the resources required to run the game. The percentage that users get stuck at is different for different users (for instance, one could get stuck at 43% and some other at 91%). I don't think there is any problem with the files as such because the resources are completely loaded for the majority of the users and the game works just fine for them. Has anyone faced such a problem before?
View 1 RepliesAny way to dynamically see how much memory the Flash player is taking up? I am loading in hundreds of thumbnails using a search box, and I want to make sure assets are off-loading properly. Also, the thumbnails are being loaded in one at a time in a for-loop. The thumbnail addresses are being received via an XML page. When I load them through the for-loop, some of the thumbnails never load. Most of them do, but I find spots where they don't. Most important question is about the flash resource manager! Is there one?
View 12 RepliesMy mission here (and I'll try not to convolute it too much!) is to edit a flash based form from a decompiled SWF. The form's main purpose is to record user information in text fields, attach a file and email both to an external address using a few PHP scripts (I'm presuming) to dictate how the information is delivered. My problem is that SO THINK decompiler does not attach ACTIONSCRIPT to the layers and frame in the timeline, instead it exports each Action-script as a seperate .AC file. I have not yet been able to export an FLA that allows me to edit the scripts effectively, and am wondering if there is a more effective way to use a decompiler in this case, or if there is another solution to the problem.
View 4 Replieshow I can protect SWF file , from being download and decompile?
do i need to purchase some software ?
I prepared a project and i can published it without any error.Action folder includes actionscript files.But when i decompile the swf file there isn't action folder and actionscript files are missing.
NOTE : On CS4 I didn't face a problem like this and i could see Action folder when i decompile the swf file.
Does anybody know any way or any software which could decompile swf file to generate the source code mxml file and actionscript file?
View 2 RepliesI'm trying to decompile a .swf doc and extract the formulas embedded in it, in order to create a .xls document with the same formulas and creating the same charts shown in the .swf. I can't manage I will forward the .xls.
View 1 Repliesi need to share a preview banner to my cliend , but i want to evite the decompile risc. The cliend may decomple my banner and stole it . I need a safe way to do it .
View 1 RepliesWhat are good books / site where you can learn the best practices for event driven programming in actionscript (3 obviously).
I've got a big project coming up and, to be honest, my flash is usually a big mess of classes and I don't want the the next one to turn into a ball of hair behemoth.
Under Visual Studio 2010, I'm developing an asp.net application.I added a folder to my project called Flash. Under Flash folder I added a swf file with its external resources to run. The folder content:
1- ScrollingImages.swf file to lunch the flash
2- ScrollingImages.xml file that the swf file uses to read images from thumbnails folder
3-thumbnails folder which content images used by swf file. I can embed the swf file to html easily using this code:
[Code]...
how to retrieve the Computer Name using actionscript. I need to do this because I want to automatically redirect my Flash client to other resources when I am running it on my Test server.
View 8 RepliesI've got a strange situation where I'm replacing the text in a string that I've taken from an XML, but the .replace function for the string keeps failing. I've tried running the example given on the Adobe site, so I know the value I'm trying to replace ("%20") isn't at fault - it's something about the string I have! I've included the code below, but it seems correct. Is there a particular tip I should know when taking XML values into AS3? I'm putting them in strings for this project.
[Code]...