ActionScript 3.0 :: Extract Data From An SWF?
Aug 8, 2009The (what i figure to be) the ultimate question. If i publish an swf, how can i extract the code from it...Is there a tool? a website i go to?
View 3 RepliesThe (what i figure to be) the ultimate question. If i publish an swf, how can i extract the code from it...Is there a tool? a website i go to?
View 3 RepliesThe ultimate goal is to create a dynamic slideshow with a variable length, depending on how many pics were submitted by the user. Since the associative array object returned by loadVars does not share the "length" property of indexed arrays, my guess is that the values need to be converted into a new indexed array before being able to use them in the slideshow.
View 5 Repliesextract bitmap data from an flv stream?
View 2 RepliesCurrently I have an XML document and I can access attributes and elements just fine if I manually type them... however I am trying to make a more abstract method to help shorten my workload.[code]...
View 2 RepliesHow would I extract the data attribute from the following XML into an array?
<node>
<node label="catagory1">
<node label="exibitor1" data="1, 2, 3" />
[Code].....
What is the easiest way to programmatically extract structured data from a bunch of web pages? I am currently using an Adobe AIR program I have written to follow the links on one page and grab a section of data off of the subsequent pages. This actually works fine, and for programmers I think this(or other languages) provides a reasonable approach, to be written on a case by case basis. Maybe there is a specific language or library that allows a programmer to do this very quickly, and if so I would be interested in knowing what they are.
Also do any tools exist which would allow a non-programmer, like a customer support rep or someone in charge of data acquisition, to extract structured data from web pages without the need to do a bunch of copy and paste?
I have a specific type url and i need to identify some parts of it and replace with some data, url would be www.something.com@param1={{^User Name^}},param2={{^user id^}},....What i need to do is, identify {{^User Name^}} and {{^user id^}} and replace with my values,Anybody have an idea to do this with flex?
View 3 Repliescreate a function that enables flash to:1. trace the path of a text file stated on an xml file2. extract data from the text file and display on a TextFieldHere are the current scripts I'm working on and they work on separate files.how I can combine these codes & carry out the functions indicated.
//trace the path of a text file stated on an xml file
var myXML:XML;
var myLoader:URLLoader = new URLLoader();
[code]........
I would like to construct a RegExp/Actionscript3 statement/routine that will do the following:
1. Locate the link containing the favicon. Note that there can be many <link>s in the <head> so I am looking for the one that specifically includes the : <link rel="shortcut icon" ...favicon.ico">,
2. Most favicons are in the ".ico" format, but I have seen favicons that are .png and .gif formats. The next step is to save the .ico in a .png format
I know
insideInput = String(xmlNode.childNodes[0].attributes.insider)
virusTarget = insideInput.indexOf("kz", [17]);
endTarget = insideInput.indexOf(".", [virusTarget+2]);
trace("VTTT"+virusTarget)
trace("ET"+ endTarget)
//endTarget = local.indexOf(".", ["vitesting"]);
clipTarget = virusTarget+3;
zebra = insideInput.substring(clipTarget, endTarget);
trace(zebra)
I'm trying extract info from a string, increment through it and add the data to an array. I can't get the startIndex thing to work.
I have been trying to extract information from this file on YouTube using AS3. I have managed to access ytID (YouTube video ID) along with the ytName (YouTube video name) from a specific channel (called through the loader). I am stumped on how to get the thumbnail URL. I have managed to find out that through YouTube, its tag is media:thumbnail, however, Flash gives me an error for trying to use a semicolon.
ActionScript Code:
I am using the following to extract the byte info from a sound object - however if I go back to the same sound object and run this again, The byteArray has no bytes available.
var data:ByteArray = new ByteArray;
sound.extract(data,sound.length*44.1);
data.position = 0;
return data;
Is this the correct behavior? Is there not a way to do this multiple times on the same sound object?
I'm trying to play a sound using a technique found here (play the sound by sampling raw sound data gathered from the original with extract()), with the difference that the mp3 sound is embedded in the swf, not loaded externally. This is my code:
var soundBytes:ByteArray = new ByteArray();
var mp3sound:Sound = Sound(new Sound1_design()); // this is the embedded sound
mp3sound.extract(soundBytes, int.MAX_VALUE);
[Code]....
This works, in a way, except that the resulting sound is distorted (it has a kind of a metallic ring).
I have a URL[code]...
The str might be like this, But i need to get the value of "conn" and "fileId" from the string.
I've no experience in action script and just need to find where the files that are referenced in this script are located on the server. I believe the referenced files are SWFs and it appears that the URLs are dynamically written, but I can't crack the code.
// Action script...
// [Action in Frame 1]
var movie_magWidth = 1400;
var movie_magHeight = 1400;
[code]....
After installing Adobe Flash CS4 and saved some of my files in that application they suddenly can't open anymore!
I've tried to re-install both CS3 and CS4 and none of them will open my .fla anymore :-(
I've even tried to format my entire computer, installed it again but still no luck.
Therefor I have re-coded my entire web-site from scratch once again (pheww!) but I need all the text which is saved in my .fla (or .swf).
We've got a client who wants to update an existing flash course and they want to move all the text from the existing static text field into xml.Is there any way to have flash somehow export all that text?I suppose I could write a function that executes on every frame and traces out the html text of every field on each frame and then just copy and paste that and wrap the xml tags around it...Also, the client wants to be able to make updates without having to know any html. Is the best way to do that to create a little RTE exe that they can use to "page" through the nodes, make their updates and use something like SWF Studio to write a new xml file?
View 2 RepliesI have a load of FLA files with large libraries of vector graphics. Is there a way of forcing Flash to create an export(jpg or swf)of all the graphics in a library without having to manually drag them onto the stage or into a scene before publishing or exporting them? I'm thinking there might be an SDK or utility or something that can read fla files and export everything programmatically.
View 3 RepliesI have been sitting here watching it tell me this might take a while for a lot longer than a while. I can't even cancel the d/l and start over.
View 1 RepliesThere is an .fla file that has a sound wave in it's library. However I do not have this sound wave saved on my computer so I can not edit or open this sound in another application. I was wanting to know if its possible to extract this *.wav file from out of the fla library? I did some research and they said to goto export movie and export it as an *.wav file. However I tried this it exported the whole fla file as one big *.wav dud. I tried to play it and nothing happened which makes sense.
View 4 RepliesWhat software is available for extracting metadata from an FLV? I'm testing an flv streaming module for apache (mod_flvx) and need to extract keyframe info from an flv for debugging purposes. I was only able to find FLV MetaData Viewer, but its dated, from 2006, and doesn't install properly on Win7. [URL] Edit: I'm open to any method of extraction, either app or library.
View 1 RepliesAre there any tools or ways to extract DPI from image (gif, png) in ActionScript?
View 2 RepliesI am trying to extract images from flash on the following web-site: [URL]
I noticed that every time I click on "Next image", an images is requested from sever. Sample URL is [URL]
So, this URL is exactly what I need, but I don't know how to extract all these URLs from the .swf file I have. I don't have any experience with flash, but I think that URLs should be in the .swf file. I tried "grep '110206os_o_003_T1C1_2pw26' adspage_slider-2.swf", but didn't get any result :(((
Is it possible to programmatically extract image files from a SWF file using C#? If so, how would I go about doing that? I know this question doesn't have a lot of detail but I'm just getting started on this and know very little about Flash.
View 2 RepliesIs there a way using C# to extract the ActionScript from a .SWF file? I know it can be done as there are third party command line tools that will do it, but I need to do it programmatically using C#. I'm open to using third party libraries (free or paid) as long as they are from reliable vendors, but I haven't been able to find any .NET libraries that will do it, just command line or Windows programs so far.
EDIT: Are there any options other than SWFTools? I'm a little hesitant to include unmanaged code in my application.
Does anyone know how to extract a class reference from an SWC file? I know I can right click / "Go to definition", and view the class definition. I need to extract these for each class in an SWC. Can anyone provide a method to do so automatically?
View 3 RepliesI found a solution on net which suggests, to copy a bitmap from flash and paste in photoshop. I don't want to go for such a solution as in past I have seen such things result into bad quality as ctrl-c might copy as per the resolution etc etc. (Link to this solutionI also don't want to go for tools available on net which promise to extract data.
View 0 Replieshow can I extract the bitmap from a .ico file? ( preferably in .png format )
- this must be done _without_using_php_
What I want to do is to extract a zip file to a specific folder.I am using the code below that promts the user to choose which directory the zip should be extracted to and the extracts it succesfully.Now I would like define a fixed folder where the files should be axtracted to instead of letting the user decide.
Actionscript Code:
function extractZIP():void { output.text = "extractZIP MANUAL"; zipOutput.browseForDirectory("Select Directory for extract");
[code].......
How should I extract html formatted text from an XML document, intended to be used in html TextFields or text components? [code]...
View 12 Replies