ActionScript 3.0 :: Save Scene Content As A Graphic File?
Mar 30, 2010I think this is easy question because i'am just start to learning flash and as. So how can i save a scene content into graphic file (jpg)?
View 1 RepliesI think this is easy question because i'am just start to learning flash and as. So how can i save a scene content into graphic file (jpg)?
View 1 Repliesive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
[Code]...
I have a sample.txt file which contain a single word and I need to put this word into a variable on swf.[code]...
View 5 Replieshow it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.
View 2 RepliesI may be asking for something that is just too simple with this request, but is it possible to save information from one page without the use of PHP, ASP and other server scripts.
I have tried using Shared Objects but it just doesn't seem to work for my example as people have already been sorted into time order to create a leaderboard so not all information has to be stored.
I have attached a basic example of what my leaderboard looks like and all I want it to do is remember the leaderboard for the next time somebody logs onto that machine ... ? I may still be able to use Shared Object but I am not sure how to in this situation.
[Code]....
How do I go from 1 scene in a file, to a specific scene in another file? Must I use those Named Anchors, and whats the scripting then??This is what I've got at the moment:
Code:
on (release, keyPress "<Left>") {
loadMovieNum("presentation.swf", 0);
[code].....
How do we save file locally in Flash (ActionScript 3) without displaying dialog. I know we can use the following code to save file locally but it prompts Save dialog. I don't want this dialog while saving file locally.
[Code]...
I need to create a notepad in flash.here how could i save the file by prompting the save window?
View 11 RepliesI'm looking for help in something that I can't figure out I'm receiving in a PHP some data sent by a .swf...
var requestHeader:* = new URLRequestHeader("Content-type", "application/octet-stream");
var request:* = new URLRequest(url);
new URLRequest(url).requestHeaders.push(requestHeader);
request.method = URLRequestMethod.POST;
request.data = this.getByteArray(o, a, l, a2, l2);
navigateToURL(request, "_blank");`
I can't modify that code... that's a swf... but it works...
[Code]...
I have a problem that I have not found a syntax error or logic error to explain. It appears to be an obscure problem related to playing a sound file and graphic positioning in the same file. My next step is to look for any known bugs. I have posted the file at. URL] When the page loads you will see a list of selections. Do not click any of the html Play buttons In the graphic arrow pointing to the right is the play button click it and a default file will start. Click the pause button (which will be green while the selection plays) Then click the play button again. The knob that moves while the song plays, will begin moving from the position it was at the time pause was clicked.
Click the stop button (arrow facing left with vertical line at tip) Choose a selection from the html list by clicking the Play button next to it. Then click the play button in the player display. The title of selection will appear in the title area. repeat the original steps (play, pause, play) This time the knob that moves while song plays, snaps back to the start and moves from start, rather than from the pausedposition.
[Code]...
I am having an issue where if I import a graphic to the library or directly to the stage, it causes my movie to stop on frame #1, even though the graphic is on frame #40. I have tried a .png, .jpg, and .psd and they all cause this behavior. I have put other graphics in and never had this issue.
View 4 RepliesThere is possible to save as image a html content which is "under" flash of object ? I want to take a screenshot of web page and add text or graphics then save it to file.
View 1 RepliesCheck out this code:
[CODE]...
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
[CODE]...
I'm creating a side scrolling presentation that has logos from different companies moving from the right to the left of the movie. The images are high resolution, but the type becomes unreadable when they are in motion. Is there a way for me to have a smooth image from beginning to end without a loss in image quality? Here is the presentation: [URL]
View 6 Repliesstep1- I got an xml that is locally loaded(works fine)
step2- the content goes into a datagrid that is displayed (works fine)
step3- In AS3 I dynamically add some lines to this xml file(works fine)
step4- I save it locally (works fine)
step5-and want the datagrid to be updated..(works not-so-well)
So, in step 4, the data is saved into the xml file, but in order to finish the save, the user has to click on the "Save as" windows in order to have the file updated of course.. and that's where's my problem, how can i tell flash to wait till the user actually saves the file, before reload the xml file in the datagrid ? here's the code :
[Code]....
When i save the file as an .swf file to view it in my browser the video gets really big (sized the flash document 250x240 px) . How can i easily control my flash video sizes?
another thing: When im doing a video and work with things that are outside of my white document (in the gray area) for instance things that are to be faded into the document and so on. These things also show up in outside of my video when i view it in my browser.
I am working on Adobe AIR application and some test users report to me about same issue.When they try to save the project file from this application, they have no possibility to add any extension (".txt", ".xml" or any other) to the file.
View 1 RepliesIs it possible to save scores in a text file or xml file locally? Im not creating an online application but rather an application for personal use! I don't want to use cookies since they can be cleared by mistake! It would be really good if it was possible to save the score to an external file!
View 2 RepliesWe used Flex to build the web app below. It lets the user build an interactive activity and click "Publish as Flash" to save a SWF file on their local computer.[url]...
Problem:When saving the file, the "Save As Filetype" drop down is empty and end users can accidentally delete the swf file extension in the filename.How can we lock down the extension so it will always have SWF in the extension?
Technique 1? Set "Save As Filetype" to SWF by default.
Technique 2? Click "Publish as Flash". User specifies the filename. File is saved on the server. User presented with prompt to download file. File is downloaded from the server using the traditional browser windows explorer dialog box (the same dialog box if I downloaded a program from cnet's downloads.com)
Is there a any way to create a txt file in as3 and save reports in that file?
View 1 RepliesI'm working with a little bit of XML and have questions, first here are my steps:
1) Load XML
2) Append to XML
3) Save XML using PHP
Well, why when I load the same XML file does it read the file without the appendend nodes I just added?I can open the XML file in Dreamweaver and see the appended nodes, but once I load the XML back into the .SWF, it clears the appended nodes and only reads the original nodes again..[code]My .swf is local at this point and PHP and XML files are on a server running PHP5.Apparently the PHP script is correct because it DOES save the file correctly. I can save as many <persons /> as I want. But when I close the Flash .swf the URLLoader reads the original XML data again. Not sure how that's possible?When I change the location of the XML to load into the URLLoader it changes so I know it's reading the same file I saved to..
i'm trying to make a Top Score history for a flash game, which i load from an XML file. The problem comes to when i want to update the XML file. how do i do that automatically without prompting the user (ofcourse). I want it to be saved automatically to the same directory as the flash file.
here's my code right now, but it prompts the user where it wants to be saved, which i don't want to happen:
var xml:XML = <XML>
<topScoreList>
</topScoreList>
[Code]....
I created a flash banner with flash pro CS5 using windows 7. Can I save the file so my client can open it with a Mac OS?
View 1 Repliescan an an swf file save data to an xml file while running?
View 4 RepliesIs there a any way to create a txt file in as3 and save reports in that file?
View 2 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 RepliesI turn to you for help, dear sweet Kirupa Forumites. First, let me explain the problem: I have a flash file reading an external text file for the content. Everything works perfectly for nearly everyone - you click a menu button, and the content text comes up fine. However, a couple of people have found that the text shows up as "undefined". I have checked the player versions of the people where it doesn't work, and it is the same as for those where it does work, so that ain't the problem.
I don't understand why it works perfectly for nearly everyone, but a small number of people have this "undefined" text problem. It seems to be a problem with loading the external text file, but I don't know why. I have a main flash movie, and load the text in the first frame, using the following:
var my_content = new LoadVars();
my_content.load("content.txt");
my_content.onLoad = function(success){
if (success){
[Code]...
I then have a couple of dynamic text boxes in the main movie - one called ErrorText (for displaying an error message to the user) and one called ContentText (for displaying the content). I use an external menu swf which jumps to a specific frame in the main movie, depending on which button is clicked. Actionscript on the main movie frame for the first button does the following, with the other frames similarly configured:
ContentText.htmlText = my_content.content1;
stop();
My external text file is properly configured (content1=blah blah&content2=other blah blah) etc.
Does anyone have any advice on how I can solve this particular weird problem??
loadVariablesNum("testimonials.txt", 0);
gotoAndPlay("load");
This code works perfect when testing, and it works perfect viewing the SWF, but when you view the HTML file with the SWF embedded, it doesn't display the text file content.
how to have a php file save to a xml file? I want to send a php file xml data and have that xml data saved to a xml doc on my server.
View 4 RepliesI've created a flash banner and I need to send it by email as a flv file. Does any one knows how to convert from swf or fla files to flv?
View 6 Replies