ActionScript 3.0 :: AIR Generate XML Of Selected Folders And Files?

Feb 28, 2011

I am trying to generate XML of a user selected folder and inner folders along with the files recursively. Structure of the XML generated should be as the user selected folder.

I am able to list all the folders and files in the selected folder. I am unable to find a way to generate the same structure, I am unable to think of a way to replicate the depth of folder in XML. Any ideas to find solutions??

Code:
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init(event)">

[code]....

View 2 Replies


Similar Posts:


Professional :: Compile Swf From Fla Files And Folders?

Feb 26, 2012

I have decompiled a swf file and got a fla file and also all kind of folders including action scripts.How do I run this? I mean if I make some changes how do I convert it back to a swf file?I created a swf file from one fla file but I got a file that was like 20x less in size then the original. I think it was not using the files in the folders.

View 1 Replies

Php :: Uploading A Folder Which May Contain Sub Folders Along With Files

May 9, 2011

I'm working on an application where client may upload any folder which may contain sub folders along with files. Is it possible to upload a folder instead of a file?

View 1 Replies

IDE :: Organising/Sorting Files Into Folders?

Jul 20, 2010

I was wondering if there is a way to store actionscript files which are the codes for classes into folders?Having 20+ AS files in one folder just seems to make things messy

View 5 Replies

ActionScript 3.0 :: Organize Files Into Folders?

Jul 24, 2011

Does anybody know how to organize .as files into folders?

Using Flash's publish settings, I can designate the .fla, .SWF, and document class to be in separate directories. That's great, but I'd like further organize my .as files into sub-directories within the folder for source code.

View 5 Replies

Media Server :: Streaming Files With Different Folders?

Jul 28, 2011

i am new to FMS4 and i am having a problem playing some files with different folders.

i have different folders in C:media3feeds
in that directory i have folder "1", "2" and "3"
other words C:media3feeds1
C:media3feeds2
C:media3feeds3

[Code]...

View 3 Replies

ActionScript 2.0 :: Reconnect To Classes Files Or Folders?

Jul 23, 2010

I am in cs3, publishing as version 7, using actionscript 2. It is asking to be linked to my classes because of the error messages I am receiving.

what to link to in classes. Is it the file, the folder or folders with sub folders?

View 0 Replies

ActionScript 3.0 :: Including Folders In AIR Installer Files

Apr 19, 2009

I am trying to create an AIR Installer file through CS3 that has my assets folder included. What I need to happen is, when the AIR Installer runs, it needs to create an assets folder along with everything else, in that folder it needs to have subfolders with a few files in them. At the moment, I can only add single files, not handy when I have images, music and xml I want neatly organised. I want to select whole folders to add, idealy just my assets, at the moment I can only add one at a time.

View 1 Replies

Media Server :: Store My Files In Separate Folders Under VOD?

Apr 8, 2009

We use FMS 3.5 for streaming IPTV. We have a number of channels and currently our mp4 files are all held in the Media subdirectory, below vod
 
We want to divide them into separate channels for the the stations with their own subdirectories for organised filing but cannot see any way of doing this and then referencing the correct directory with the rtmp: via XML.

View 3 Replies

ActionScript 3.0 :: Flash CS 5.5 Crash Has Deleted 4 Folders And 180 .as Files?

Mar 5, 2012

I was working on a large web site in Flash CS 5.5 on my hard drive Mac Pro V10.6.8, 6GB of memory. 176.78 GB of space left on the drive. I had set up the project in the Flash projects panel. I was opening files with"File open" and working on them. I have my fla files in a src folder and my classes in a com folder. This was the setup of my com folder.
 
I was working in Flash and it crashed, when it started up again. It didn't offer me a temp file and all the files in the com folder have been deleted except for the greensock folder. But even the greensock folder was missing files.
 
I went to the recent files when I click a file name I got this error. I have searched my hard drive by name for the files and can't find them. They are not in the Trash. I have talked to three different Adobe tech support people in India they all tell me the files can't be recovered and they don't know why it has happened and don't even seem to care that their program has deleted hours of work. I am waiting on yet another tech support person to call me back. Does anyone know why this has happened? I have been working in Flash for 11 years and never had it delete 186 files when it has crashed.

View 2 Replies

Professional :: Flash CS 5.5 Crash Deleted 4 Folders And 180 AS Files?

Mar 5, 2012

I was working on a large website in Flash CS 5.5 on my hard drive Mac Pro V10.6.8, 6GB of memory. 176.78 GB of space left on the drive. I had set up the project in the Flash projects panel. I was opening files with"File open" and working on them. I have my fla files in a src folder and my classes in a com folder. This was the setup of my com folder. I was working in Flash and it crashed, when it started up again. It didn't offer me a temp file and all the files in the com folder have been deleted except for the greensock folder. But even the greensock folder was missing files. I went to the recent files when I click a file name I got this error.

I have searched my hard drive by name for the files and can't find them. They are not in the Trash. I have talked to three different Adobe tech support people in India they all tell me the files can't be recovered and they don't know why it has happened and don't even seem to care that their program has deleted hours of work. I am waiting on yet another tech support person to call me back. Does anyone know why this has happened? I have been working in Flash for 11 years and never had it delete 186 files when it has crashed.

View 1 Replies

IDE :: FLV Player - Allow User To Browse Folders For Uploaded Files

Jan 30, 2009

1) I am working on a custom FLV player for a website. The users will upload various FLV files onto folders on the server and I would like the users to have the ability to browse those folders and select a video to play.

2) Also, as I will be having the users upload their videos via fileReference in Flash, as soon as their upload of a particular video is complete, I would like the video they just uploaded to begin playing or be loaded and ready to be played. Is there a good way to pass the video name directly into the FLV player on the completion of the download so it can begin playing or at least be ready to play?

View 1 Replies

ActionScript 3.0 :: Sub Classes & Folders - Make Folders Inside Of My Main Folder But It's Not Working?

Jul 11, 2010

I've worked wioth sub classes so I know how they work but I always work with everything all in one folder which can get messsy when there are a lot of classes to work through. So i started to make folders inside of my main folder but it's not working. Thought it may be to do with package names but as far as i know, for the whole "classes in separate folders" things that's how they are supposed to be.

View 2 Replies

ActionScript 2.0 :: Generate A List At The Side Of The "board" With The Names Of The Products Selected?

Mar 18, 2011

I am working on a project where the user can add items to a "board". What I need is to generate a list at the side of the "board" with the names of the products selected (there could be multiple inctances of the same product used). When I drag a product to the trash, I also need it to disappear from the list as well.

View 1 Replies

Media Server :: Way To Generate Swf Files?

May 1, 2008

I am looking for an automated/command line means ofgenerating .swf files for the media files I have in my application.At any given time there could be hundreds of videos in thedirectory and the application lets users upload media to theserver. I know how to create .fla, .as files etc for one file usingCS3, but I am hope there is an easier way to generate these swffiles. I am looking at Flex SDK (specifically mxmlc) to write a cronjob, but I wanted to see if people use other methods.

View 5 Replies

ActionScript 3.0 :: Generate .FLA Or .SWF Files Programmatically?

Dec 4, 2009

I need to generate SWF or FLA files programmatically using php. Because I want to create a movie(either swf or fla) using sequences of images at my sever.
 
How to generate .FLA or .SWF files programmatically using php?Are theres any libraries for that?Or at least any APIs for generating those files?

View 4 Replies

Flex :: Possible To Generate Complex PDF Files?

Sep 27, 2011

I'm trying to understand if it is possible to generate complex PDF files with Flex. By complex I mean add images, styled text (font-family, weight, columns) layout elements with large degree of control and so on. I was looking at AlivePDF library but cannot understand if it can handle more complicated PDF generation than plain text.

View 1 Replies

Flash :: Does BlazeDS Generate Files?

Feb 9, 2012

I've been giving a application to work on that uses a Java EE application for the backend, Flash for the front end, and BlazeDS to connect the two. I have never used Flash or BlazeDS, and am trying to get my head around how BlazeDS works.

So far, I understand that when you connect to BlazeDS in FlashBuilder, the remoting-config.xml file is scanned to determine what services exist on the Java end. FlashBuilder asks which of these services you want to import, and what "service package" and "data type package" you want to use.

When you select your Java ExampleService, BlazeDS will create _Super_ExampleService.as and ExampleService.as and put them in your "service package" location. ExampleService.as is empty but extends _Super_ExampleService.as (which basically is a Flash service that you can use to call the methods in your Java service). If you need to add extra methods, you would add them to ExampleService.as. (Hopefully this is all correct, please correct me if I'm wrong)

My problem is I cannot figure out what BlazeDS does for value objects. When you select ExampleService in FlashBuilder (let's assume it's a service for the Example entity), what value objects does BlazeDS create? I would expect Example.as and _SuperExample.as. However, _ExampleEntityMetadata.as also appears.

[Code]...

View 2 Replies

IDE :: Generate Exe Files From Stand Alone Application?

Oct 7, 2009

Is it possible to generate an executable file from a flash executable file? A client has requested a quote from that will allow them to do the following: This whole thing needs to reside on a CD/DVD.

There is a bank of 10 images. The user selects any 5 images they want. The user saves those 5 images as a slideshow / powerpoint / executable file?

Are there other utilities that can do this kind of thing? Is flash the wrong development tool? Are there other tools out there that perform this type of function?

Google has provided no results for me. I've often lurked through the forums here and I thought that maybe the community here may have some answers as I can't seem to find them anywhere.

View 1 Replies

Generate IPA Files (iphone) On Flash Builder 4.5?

Oct 15, 2011

Flash Builder 4.5, and some lads told me that i can generate IPA file in order to generate iPhone apps from it.

View 1 Replies

Database :: Generate SWX Data Files Serverside?

May 12, 2009

By storing data in SWX files on the server, it can be interpreted automatically like loading one SWF into another.

Now I'd like this data to be modified by server side code, how can I do this? Are there any SWX libraries for PHP that I can use?

View 1 Replies

ActionScript 3.0 :: Generate Files With No Server Interaction?

Jan 15, 2011

I know Shared Objects are the standard way to store data from flash, but these seem to have a number of limitations.I'm wondering if it's possible for the flashplayer to manipulate regular files.It's my understanding that through FileReference you can load a file of the user's choice into memory. My question is, would it be possible to manipulate this file then present it back to the user for download? Possibly using javascript to assist?

I understand that it might be possible using server-side technology, but I'm wondering if it can be done without taking hard drive space and bandwidth from the server.

View 2 Replies

Python :: Library To Generate Flash Files?

Apr 24, 2011

I was wondering if there is any Python library out there which would allow me to generate Flash files (a simple slide show of a bunch of images). I tried installing Ming but was running into some problems, so was wondering if there is any other library out there with better documentation.

View 1 Replies

ActionScript 3.0 :: Generate And Save .mp3 Files From Flash?

Apr 13, 2009

I am making a training scheduler which does a 25 minute loop and plays sounds to instruct the user.

I want to provide an option to save out the schedule as an mp3 file so they can play it back on their mp3 player etc.

Is it possible to generate and save .mp3 files from flash?

View 2 Replies

Java :: Generate Flex Project Files Using Maven?

Sep 14, 2010

I've got a Java/Flex project that I'm building using Maven. After doing some research I'm using the Flexmojos project [URL] for the Flex part, and almost everything seems to work fine so far (after a bit of struggling). I'm using version 4.0-alpha-5 (4.0-SNAPSHOT didn't seem to work for me).The Flex projects isn't recognized by Eclipse as Flex projects though. If I manually change the .project file and add .actionScriptProperties and .flexProperties files, Eclipse seems to recognize the projects as Flex projects.

View 4 Replies

ActionScript 3 :: Generate Silence Audio Files With Adobe Air

Dec 13, 2011

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.

View 1 Replies

ActionScript 2.0 :: Generate A Keyframe Timeline Filled With External .jpg Files

Jul 15, 2005

anyone know if it is possible to use actionscript to generate a keyframe timeline filled with external .jpg files on each keyframe.

View 1 Replies

ActionScript 3.0 :: Swap Out Swift Files When Buttons Selected

Feb 25, 2009

I am pretty new and I am trying to swap out swift files when the Buttons (Cabs & Sleeper) are selected but I cant figure out where to add the ".swf" file correctly, the current code I created is working but I am sure there is a better way to swap them, plus if I add more then 2 buttons the removechild will not work correctly (if a child by that name is not loaded) I think I have the right concept but I do not know how to make a variable that will swap the .swf rather than adding and removing the child.

View 3 Replies

Data Integration :: Get List Of Selected Files From Swf To Javascript?

Jul 23, 2010

i want to make an upload script with swf and javascript. I want to do selecting files via swf then uploading files to server via javascript. I have searched SWFupload plugins but they are not working as i need. I am new here and i do some search, i see it is possible to save list of selected files in FileReferenceList array, but i dont know if is it possible to pass this array into javascript and then make upload progress via javascript ?

View 1 Replies

Flash:: Loading Different External Text Files When Different Value Selected?

Jan 19, 2011

I am having trouble trying to use actionscript to load different files when different values are changed. I am currently using a tilelist and they have different values so the code is something like this: (the title is just there, non-related)

if (startTileList.selectedItem.value == 1)
{
//textFile1 load here[code].........

So I want different text files to be loaded when different value is selected but I cannot seem to get it working.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved