ActionScript 2.0 :: [Flash 8] - Output Image File?
Feb 6, 2008
using .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 Replies
Similar Posts:
Nov 5, 2010
i try to create my logo from flash
i use export function in gif format.
the output color is not same as what i saw at flash.
may i know why? below is the screenshot.
flash
output
View 5 Replies
Jun 30, 2007
how 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 Replies
Nov 22, 2010
I 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 Replies
Aug 20, 2002
I 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".
View 3 Replies
Nov 12, 2009
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 Replies
Nov 4, 2011
I 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?
View 1 Replies
Aug 11, 2009
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 Replies
Jun 22, 2006
var 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.
View 1 Replies
Sep 15, 2009
How can I generate a swf file output from another swf file?
View 5 Replies
Apr 3, 2012
I 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 Replies
Feb 1, 2010
We're building a web-based application that requires heavy image processing. We'd like this processing load to be on the client as much as possible and we'd like to support as much platforms (even mobiles) as much as possible. Here's the info: Image processing is rasterization from some data. Think like creating a PNG image from a PDF file. We don't have a lot of server power. So client-side processing is a bit of a must.
So, we're considering: Flash - most widespread, but from what i read has lackluster development tools. (and no iPhone/iPad support for now). Silverlight - allows us to use .NET CLR, so a big ++ (a lot of code is in .NET). But is not supported for most mobiles ( rumored android support in the future) HTML5 + Javascript - probably the most "portable" option. The problem is having to rewrite all that image processing code in Javascript.
Clarification: I don't need further ideas on what libraries are available for Silverlight and Javascript. My dilemma is choosing Silverlight means no support for most mobiles choosing Flash means we have to redevelop most of our code AND no iPhone/iPad support HTML5 + Javascript we have to redevelop most of our code and not fully supported yet in all browsers choosing two (Silverlight + Flash) will be too costly Any out-of-the-box or bright ideas / alternatives
View 14 Replies
Feb 23, 2011
I am building a flash widget for uploading files, but I want to display the thumbnail with html/js, once I have the file loaded via Browse into flash and have access to the raw data, is there a way to convert that to a base64 encoded dataURL so I can send that back out to JS to create a thumbnail like ?
View 1 Replies
Mar 31, 2010
A 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 Replies
Oct 1, 2009
I 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 Replies
Feb 7, 2012
Does 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 Replies
Nov 2, 2009
I'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.
View 0 Replies
Mar 12, 2011
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()
View 4 Replies
Nov 20, 2009
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 Replies
Nov 20, 2009
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 3 Replies
Nov 21, 2008
I 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 Replies
Mar 16, 2012
I'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 Replies
Oct 31, 2009
I 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.
View 3 Replies
May 24, 2011
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?
View 2 Replies
Oct 29, 2009
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
?>
View 1 Replies
Mar 11, 2008
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] .....
View 1 Replies
Jun 1, 2008
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 Replies
Jan 31, 2009
I 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 Replies
Mar 11, 2009
I 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] .....
View 2 Replies
Apr 16, 2009
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
View 9 Replies