ActionScript 2.0 :: Output A CSV File From Flash?
Jun 30, 2007how I can output a CSV file from Flash?I want to develop a desktop application that reads in an a CSV and outputs a CSV file.
View 1 Replieshow I can output a CSV file from Flash?I want to develop a desktop application that reads in an a CSV and outputs a CSV file.
View 1 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 Repliesusing .lineTo(x,y) and .moveTo(x,y) i have created an image and i would like to save that image as a separate .bmp or .gif or .jpeg (format is not really important). Is there some way that i could acheive this? and would it involve calculating the color of every pixel?
View 1 RepliesI am traying to make some sort of a simple forum in flash. Problem occurs when I want to output contents of flash variable to file.
For example: I have inputText = "hello world how are you" variable. How can I output this inputText to an text.txt file, so that in text.txt will bi written "hello world how are you".
I have an application that writes traces with a timestamp when certain items are clicked or accessed. I need to write these to a text log file so that they can be accessed remotely.. The device the app runs on doesn't have a web server and doesn't run the flash debug player, os is xp. How can I send these traces to a text file? I noticed Arthropod writes to an html file, but I need to do this automatically without interaction.
View 4 RepliesI can't seem to generate any output when including the "link-report" compiler commands in Flash Builder 4.5. I've tried several different syntaxes that I've seen online:
-linkreport filename.xml
-link-report=filename.xml
-link-report C:fullpathfilename.xml
-link_report filename.xml
But absolutely nothing gets created when I run, build, or debug the project. Other application settings perhaps? The project is relatively young and doesn't have many custom settings so I'm thinking it is maybe application or config related?
I am new to flash and decided to start out using templates to gain a beter understanding. I grabbed a template - that when I went to save it said it was an MX version - once I began to make changes in it re-save and publish it I noticed that some of the elements were missing. I thought it was something I did so I copied the entire directory and just opened the .fla and saved it without making a change and then published it and the items were gone again. I saved it in the same directory only changing the output .swf file and used all of the same html files
View 5 Repliesvar nextY = 0;
var nextY2 = 18;
for (var count = 0; count < result_lv.typeCount; count++)
{
[code]....
The type count is correct but the information for the project is wrong.
How can I generate a swf file output from another swf file?
View 5 RepliesI am working on a new flash project that allows the user to prepare artwork using the .swf flash file and allows them to overlay hypertext links into their artwork. The output of this custom content is needed to be saved as a .swf file itself, so that it can be used independantly. The new .swf file would essentially just be a single frame with the interactive artwork on
View 3 RepliesA friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator'
View 3 RepliesI was wondering if it was possible to save the contents of the output window to a separate txt file like notepad. I'm doing a project that involves testing the execution speed of flash by putting more and more objects on the screen as it plays and I need it to save the result when it freezes up or crashes.
View 6 RepliesDoes anyone know how to output to a text file. I've got a ticket machine and when a button is pressed at the final step i want it to output a boolean variable to a text file, preferably to the desktop this is a simple .swf which i have created.
View 4 RepliesI'm developing a small flash application which needs to generate a DXF file as an output. The flash app has other elements which the user can manipulate, eventually producing a simple 2D image. I need this image to be outputted for use with CAD software. I've found a few solutions which involve using PHP to create a PDF file from the SWF.
I can then use a file converter program to convert from PDF to DXF. But ideally I'd like to do it all within the SWF, or at least eliminate the file conversion step.
I'm trying to trace the output of one value in my XML file:
Code:
<advertList>
<ad>
<name>AD0</name>
<picture>ad0.jpg</picture>
<caption>This is Ad0</caption>
[Code] .....
It's giving me the Error
TypeError: Error #1010: A term is undefined and has no properties.
at Function/<anonymous>()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I'm quite new to AS3 (coming from php/c#) and like it very much. My problem: trace doesn't output anything in the Output window anymore?!
View 2 RepliesI'm quite new to AS3 (coming from php/c#) and like it very much.My problem: trace doesn't output anything in the Output window anymore?!
View 3 RepliesI have an xml file that includes image paths.I'd like to read that image path from the xml and display theimage (a jpg or gif) on the stage.However, when I trace image_path from my xml file, the resultseems to knock off the "http:" part of the node.Also, when I load the image, the loader ends up being null(maybe this is because I didn't set up an event handler for it).
View 1 RepliesI'm attempting to create a template with one simple change to the file output location. I need the .swf file to placed in a subfolder, i.e. "output/filename.swf" Instead of the default "filename.swf"My problem is, if I edit the output file name field in publish settings in any way, the export file name is now locked, meaning if i have used my new template to create 3 fla files, they will all be named the same thing and replace one another in the output folder i've created. (trying to eliminate the need to open the publish settings menu here)I was hoping there was a variable like ${filename} or something i could use, but cannot find something like that.
View 1 RepliesI have a C executable (named myprogram). When I run it by ./myprogram I get some output statements on the standard output of my Linux shell. I used run.php to get access to whatever is being printed to the standard output:
#run.php
<?php
$output = shell_exec('./myprogram');
echo $output;
?>
Then I called an HTTPService having id="service" to access this run.php file and I also set the text attribute of a TextArea to {service.lastResult}. When I run my Flex app, the interface kind of halts for a moment and then the TextArea displays all the 20 lines at once. But if program is run from Linux shell they appear one by one. Is there a way by which I can display a line as soon as it gets printed to standard output? This will then make the TextArea show the output in real time.
Or is Flex unable to do this? Rather how can a PHP program achieve such effect i.e. showing, whatever is being printed on standard output, concurrently in the browser in real time? Myprogram outputs 20 lines each after some microseconds. I want only the first line of standard output to appear in TextArea of Flex or in the browser (but in real time) while the program may then continue running the program.
Now i am learning Oops concepts.... It going welll..... but i have doubt in some places....
[Code]....
I put this script in Brick.as file. Actionscript Code: import com.adobe.ooas3.Brick;var firstBrick:Brick = new Brick(); I put this script in my_flash.fla file. I got the out put from this example file. I am clear with this. Because the class name and function name are same. But,
[Cdoe]....
In the above script the class name and function name are different.... What script should i put in the fla file to get the output?
I managed to show the output of a shell command in TextArea of flex by calling following php file via HTTPService and then using the dataprovider attribute of TextArea to show the returned output.
<?php
$output = shell_exec('ls -l');
return $output
?>
Now i have a C file which prints some lines (by using printf command of C) when i run it in shell using
./myCfile
But following php code seems to not return anything as my TextArea remains empty
<?php
$output = shell_exec('./myCfile');
return $output
?>
I am using a dynamic nav menu edited using xml, when the corresponding button is pressed I want it to display some text in the text box and load a .swf into the loader m.c. It sort of works, however which ever button I click on it displays the content text and .swf for the last button listed in the xml file, when I try to set a var equal to the instance name of the button clicked on it shows the text as undefined and does not load the m.c? If I leave out the var 'currentIndex' I get a message in the output Error opening URL file undefined. I've checked everything and there are no typos.
Code:
var yPosition:Number = 0;
var myXML:XML = new XML();
myXML.ignoreWhite = true;
var links:Array = new Array();
var names:Array = new Array();
[Code] .....
I am looking for a way to store data I would want from a flash game of mine. I could just manipulate a highscore table but i was looking for the specific function to maybe try and create my own.
View 4 RepliesI am looking to convert a 2007 MS Excel file into a XML output for my AS3 project. I have tried to save as XML data and it errors stating that XML mapping is required. I also have an option to save as 2003 XML worksheet, which works but it provides its own tags and I cant get the order right. I have also attempted to add VB code to the macro screen, but I am lost in the MS world. I just need a clean consistent XML output, no formulas just cell info.
View 2 RepliesI have a problem with my video. On the Stage I have an input box (book_box) with a "submit" (submit_btn) button. The purpose is to read an xml file for a phrase (the input box) and then output the phrase when found. The problem is it only ever reads the 2nd item in the XML list... So In this case, test.
The XML
<root><books><book>
<title>Learning</title>
</book><book>
<title>test</title>
[Code] .....
I am trying to save information that I have displaying in my output panel to a .txt fille. I have tried this tutorial here: [URL] but it is not working for me.
I have the output panel displaying information such as:
PHP Code:
[URL]
I need to somehow save this information to a text file so I can forward it onto my email. Or if anyone knows a way to forward information from the output panel to your email
I am trying for first time actionscript as package document.And I am trying to make run a Doc class that load an XML file and output the results on trace.I don't know where are my errors:
Code:
package
{
import flash.display.MovieClip;
import flash.events.*;
[code]...
I have a swf file which contains static text.... Now i want to encrypt and decrypt the static text available inside the output swf file.. Is it possible to do in AS 2.0 .... If it is means then provide some idea to perform these operations
View 8 RepliesProblem that I want to share with you is that I have two external swf. One is swf generated by Flex IDE and second one is generated by Flash IDE. When I load flex swf, loading progress output is not showing until the whole file is loaded. This problem is not presented when I load flash swf as you can see on this testing page 90.157.198.254/test/test.php.
[Code]...