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
Similar Posts:
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
Jun 4, 2011
Not sure that I understand how the Reader engine for AS 3.0 handles "load" requests. Following is a problem that I try to solve for a customer: there a three - 3 - swf files, each contains a short video of 10 sec's in full hd, stage is 1920x1080 px, let's call them a,b and c
The request is the following: start with swf a and let it run, loop, and during that time offer the possibility to select or swf b or swf c to run in stead of a when swf b runs, loops, offer the possibility to select or swf a or swf c to run in stead of b idem for swf c or with words: each of the swf's offer the possibility to invoke one of the 2 other swf's.
I tried various code snippits, and when running a it starts b but a contineous to run, so it seems ihe engine does not pass control to b. Maybe I have to put everything in 1 swf? But that is not what the customers want, he wants the 3 swf's.
View 4 Replies
Oct 30, 2009
how to open a new SWF(about.swf)(i used the addChild method) when clicking on a button. In the 1st original SWF(home.swf) i let a song begin to play via AS3. This piece of code consists of a play and stop button, which works according to if the song is playing or not. It automatically starts playing when the home.swf opens.
now here comes my problem...I need my play and stop buttons in about.swf to be able to control the song in home.swf when the addChild method was used.
Here is the code that loads the music:
import flash.media.Sound;
import flash.net.URLRequest;
var music:Sound = new Sound(new URLRequest("SoundTrack.mp3"));
[Code]....
To break it all down....in home.swf i load about.swf with buttons play_btn and stop_btn. These two buttons need to work with the song loaded in home.swf
View 8 Replies
Sep 24, 2011
how can i order a movieclip to do something at another class file?
ActionScript Code:
package {
import flash.display.*;
import test2;
[code]....
View 2 Replies
Jan 31, 2003
I wish to be able to use a Flash animation (call it "one.swf, loaded into "one.html"") as a control panel to control the activities in another animation (say "two.swf" which of course will reside in "two.html")The control panel ("one.swf") will have 10 buttons for the navigation around "two.swf" and "on release" of the butons, I would like for BOTH 1. the navigation in "two.swf" to happen AND 2. "one.swf" to be (preferably) minimised or else closed.What sort of coding is needed to enable this interaction between the two swf files?here will be a button on "two.swf" which will be used to call up "one.swf", but presumably the coding there will need to be different if "one.swf" is minimised to how it is if it is closed. Whilst I can hack opening "one.swf" from fresh if it has been closed, how do I code the button to restore it from being minimised?
View 1 Replies
Sep 27, 2011
The code flow is as follows: user clicks 'download details' button on the page -> on button click handler a call to a RPC method is made using s:CallResponder -> RPC method generates and returns a URL from where to download the file -> the success event handler of the CallResponder gets the url where FileRefrence.download() is used to download the file but throws following error:-
Error: Error #2176: Certain actions, such as those that display a pop-up window, may only be invoked upon user interaction, for example by a mouse click or button press.
[Code]...
View 3 Replies
Nov 16, 2011
Is there anyway to export JSON data to CSV/Excel without any interaction with the server side? Using Javascript only? or Flash? I'm currently using ZeroClipboard to copy the value into the clipboard but I'd like to open directly the generated value into Excel from the browser (FF, Chrome, IE, etc...).
View 1 Replies
May 25, 2009
As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
Sep 11, 2010
I would like to do some iPhone development from my Windows box using the Adobe iPhone packager. I get how to do pretty much everything except creating / obtaining the certificates and provisioning files needed to complete the packaging process. What is the easiest and quickest way to get up and running?
View 2 Replies
Feb 10, 2011
I'm using Amazon EC2 and AFMLE 3.2. How do I generate a report that will tell me how many viewers I have watching?I figured out how to report on the Kb out in an hour but that only tells me average viewers, asuming they all watched an entire hour I need unique viewers and average viewers at different points in the webcast.
View 3 Replies
Jun 20, 2011
i've done an as3 application that record a video stream (webcam) with fms4. The problem is that the files generated have a weight of only 1kb.[code]
View 2 Replies
Sep 14, 2011
We've set up a recording service that constantly populates an FMS application with new .mp4 files. How can we automate the creation of html files on the webserver to point to and stream these new videos? We use the webserver included in the FMS installation.
View 1 Replies
Mar 21, 2012
I have a situation where I need to generate SWF from the FLA that user uploads on to the server. We use python and bash scripts, and work on Ubuntu Server 10.04 (64bit), any help on how to generate the SWF would be a great help.
View 3 Replies
Jul 6, 2009
I have failed in generating core.I have added a line "ulimit -c unlimited" in server's start function. I killed the fmsedge process by "killall -6 fmsedge". The process do be killed but no core. file is seen in /opt/adobe/fms finally.
View 1 Replies
Dec 10, 2009
Do you have any ideas? how to generate screenshot and send it to server (not using FileReference.upload)?
View 2 Replies
Sep 8, 2009
iam streaming my web cam to FMS .... i have got a latency of 1 -2 second,,,,,, What should i do to reduce the latency,,,,,, is ter any change i can make in FMS files(xml files) in order to reduce the latency......
View 6 Replies
Jul 8, 2009
can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?
View 2 Replies