Actionscript 3 :: Generate A Shortcut File With Adobe Air?
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.
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.
Does anyone know if there is an option to not create a shortcut to an AIR application after its installation?
Currently, all I have found is an option to choose the location of the application shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option)
Does anyone know of a method or strategy through which a shortcut can be created through Flex for the various platforms? I've been examining the various flash.filesystem.File methods but did not notice anything that seemed noteworthy.
I want to build an air app that takes input (for example a list of filenames to be generated) from the user and generates sound files with desired naming. The sound files should be an "empty/silence" sound (wav, aif or mp3). Is it possible the generate such a file? If not, can I use an existing sound and embed it into the app and have that as a source when generating the files? The purpose of this is to get a structure of files ready in the project that will be replaced by our Sound Director. This way, we can trigger all sounds before they are created.
Why not have the Adobe Flash CS5 product directly generate mp4 and other formats in addition to SWF?From my chair (as an Adobe Flash CS5 user) it
-Going about using other additional software has direct effect on a software budget. -Costs extra manhours to gather information of how it is done. -Costs extra manhours/user time to process. -Perhaps even increases the likelihood for errors and noise in re-processing already processed files (SWF->{F4V,MOV,MP4}) (F4V->{MP4,MOV},)relative to the original source FLA file?
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.
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'
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.
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?
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.
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] .....
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.
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.
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?
[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?
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.
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]...