ActionScript 3.0 :: Have A User Generate A File?
Feb 26, 2011
it's possible to have a user generate a file (.txt is fine), using a flash module i created, and based on their answers to certain questions within my flash module, all created in flash cs3.
View 18 Replies
Similar Posts:
Aug 21, 2008
how or where i could learn about embeded links. In other word, i want to generate a link that will send the user to a page where my swf will be, therefore nobody can come and get the source of my file or even decomplile it.
View 6 Replies
Jul 6, 2009
I'm using AS3 in timeline. I have a three page movieclip (dynamic_mc). Each page is labeled p1..p3. On p1 I have an input text box named userName and button named next_1. On p2 I have a dynamic text box named greetings_1, an input text field named schoolName and two buttons (back1 and next2).On p3 I have another dynamic text box named greetings_2 and two buttons (back_2 and next_3).
On p1 user enters name, which is captured on p2. Once a click next button on p1, I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at FlashCS4_Curriculum_fla::lesson9_pg6_dynamic_122/frame10() at flash.display::MovieClip/gotoAndStop() at FlashCS4_Curriculum_fla::lesson9_pg6_dynamic_122/goP2()
Why do I get an error when using buttons? Is there a better way to capture input text?
Here is the code by page.
//page 1 = p1stop();
var hisName:String;
next_1.addEventListener(MouseEvent.CLICK, goP2);function goP2(evt:MouseEvent): void{ hisName =userName.text; gotoAndStop("p2");
} // page 2 =p2 greetings_1.text= "Welcome :" +hisName;var school:String;
//next buttonnext_2.addEventListener(MouseEvent.CLICK, goP3);
[Code] .....
View 5 Replies
Jun 25, 2009
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 Replies
Apr 4, 2010
which is the best flash swf file decompiler which will generate an fla file and actionscript code from an swf file
View 2 Replies
Sep 15, 2009
How can I generate a swf file output from another swf file?
View 5 Replies
Apr 20, 2011
I have an actionscript file which is displaying a button. I want to remove the button from my display. So i need to make changes to the actionscript code and generate a new SWF file after doin the changes.
how to generate an SWF file from an actionscript file.
View 3 Replies
Jul 29, 2011
How to generate mxml(flex code) from excel file.how to Create flex code from xls file.
View 1 Replies
Oct 4, 2010
I have a problem with a dynamic video player that I have created in flash. The video player is "SCORM" compliant so that when the user clicks the "exit" button a class file is called to mark the user complete in an LMS.I have tested the SCORM Code previously and it works with out issue. Usually I have the completion code embedded in an Actions Layer of the movie. This is the first time I have attempted to call the completion status in a class file, I have added a "trace statement" when the movie is tested within flash it runs the trace statement properly, but when uploaded to the LMS environment the course does not complete properly
View 3 Replies
Apr 2, 2010
I'm just beginning to learn to generate xml with actionscript here's what I have so far:
var xml:XML = <ErikPhotos> </ErikPhotos>; while (xml.photo.length() < 20){ var item:XML = <photo /> var photoIndex = xml.photo.length() + 10001;
item.@name =
[code].....
View 5 Replies
Jul 27, 2011
I wan to generate an xml file with AS 3.0[code]...
why do I get < and /> instead of chars < and >? What should I do to get < and > chars?
View 3 Replies
Dec 23, 2009
how put images and text to a new pdf file by flex? I think I should use an opensource to put images and text to pdf file but I don't still find it.
View 2 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
Mar 21, 2012
Is it possible to create a program using AS3 that would allow the user to download a copy of a dynamic, self generated video into an AVI, MOV or MP4 format?
View 1 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
May 14, 2010
I am trying to generate a play list from my XML file. In the function videoList produces a list of url for specified node, the trace(vidSource) shows:
Top level: Our Services [URLs]
How can I loop thru these urls and pass them into my stream_ns.play(vidSource); ?
Code:
function videoList(categoryName:String, loadUrls:XMLList):void {
//trace(categoryName);
if (categoryName=="Our Services") {
trace("Top level:", categoryName);
for (var i:int = 0; i < loadUrls.length(); i++) {
[Code] .....
View 1 Replies
Jul 31, 2011
Feel a little stupid to ask this question. I have searched the forum for answers, but I havn't found any.I have a developer certificate from apple, and I need to convert it to a .p12 file.I double clicked the "developer_identity.cer" file and it gets imported into keychain access.The file does NOT show up in the "my certificates" or "keys" categori, but it is listed in the "certificates" categori.When trying to export I can not choose .p12 as format.
View 2 Replies
Jul 14, 2009
I'm using a compination of actionscript's getPixel and php's imagecreatetruecolor and imagesetpixel to generate a png image of an swf movie inside a browser. At the moment it will output a 72 dpi image at the same resolution as the swf movie, but I've been asked about the possibility of generating a 300 dpi image instead.
View 4 Replies
Jun 17, 2010
I'm working on Flash ActionScript.My Movie Load some data like photo, sounds and photo to the Movie Stage. Each of loaded MovieClip have own animation.Is it possible to generate (record) FLV or other Movie file from ActionScript with ActionScript?
View 3 Replies
Oct 18, 2010
[URL] Looks like MVC to me,but I'm not sure if that's the exact framework used. UPDATE Now I know it's using the Cairngorm framework,and I've downloaded all the source files,how can I generate a .swf file? UPDATE 2 How can I know the exact version of Cairngorm used?
View 3 Replies
Jun 2, 2011
I can create SWC files. I can create ASDOCs.
Is there any way of combining this in Flash IDE or FlashDevelop? I would like the ASDOCs to "live" in the SWC.
View 1 Replies
Jun 17, 2011
The bitmap resource, It's usually make the bitmap generate the SWF file ,and use Loader class to load into the application. I search some answers from google, find two ways to generate SWF File, one. use mxmlc tool. and another, use jsfl. I know we can embed the bitmap or swf file into As code. and use mxmlc command like this: the as file is Vip.as , and the code :
package
{
public class Vip
{
[Code]....
I don't know how to use mxmlc generate swf file . And no error when debug the code.
Another way is that use JSFL to generate SWF in flash cs5, But I don't know how to use this. Ah, very pain.
View 3 Replies
Dec 1, 2011
I would like create a application that can can create folders and short cuts to folders in the file system. The user will click a button and it will put a folder on there desktop that has short cuts to files like //server/folder1/folder2 Can you create a desktop shortcut with code in adobe air? How would you do that? How do you create a folder? I keep thinking this should be easy but i keep missing it.
View 2 Replies
Mar 16, 2012
I am trying to generate XML file in Adobe Flex 4.6. This is my code.
public var prefsFile:File;
[Bindable] public var prefsXML:XML;
public var stream:FileStream;
[code].....
View 2 Replies
Jul 28, 2003
if is possible to generate a source code from a FLA file?
View 2 Replies
Mar 12, 2009
I have some code that parses an external XML file and reads the HTML inside the CDATA block. But it does not read HTML form elements like <input> or <textbox> is there anyway to do this? Is there anyway to have it parse an MXML file to generate the form on the fly?[code]...
View 1 Replies
Dec 15, 2011
I would like to generate a sound in Adobe Air using ByteArray. The sound should be a silence of x seconds. I found this code that I am using to generate the bytes:
private function encode(data : ByteArray) : ByteArray
{
var channels : uint = 2;
var bits : uint = 16;
[Code].....
But when I save the file using Filereference and import it into a flash file I get an error message saying that there were problem reading the file.
View 1 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
Dec 11, 2009
step1- 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]....
View 3 Replies
Mar 7, 2009
I want to know the 'file path' when an user selects a file from 'any location' on his hard disk. I like to know is it possible to fetch the entire file URL instead of the file name alone?
Code:
var fileRef= new FileReference();
fileRef.addListener(mylistener);
mylistener.onOpen = function(file){
[Code]....
View 7 Replies