ActionScript 3.0 :: Save/edit Text/xml Server Side?
Nov 17, 2009Can I do this with flash? Save/edit text/xml server side?
View 1 RepliesCan I do this with flash? Save/edit text/xml server side?
View 1 Repliesi'm passing vars from flash to php and trying to edit a mysql row from the db. anyone know php and can spot something going awry with my code here?
[Code]...
I have a requirement to do a flash program or something like that (not necessarily flash, it can be javascript or something in aspnet) that allow me to save audio in the client side of a web app, and save it on a file in the server side of the web app.
Ive found this but the only thing that it does its to recognize the microphone, I need the hability of saving the audio file, by the way the server is implemented in aspnet
I want to download files from the server side to client side without prompting a window to the user to download when any updates happen at server side.Right now I am using urlstream class but first file is downloading completely rest of the files contents downloading partially.
editCode sample taken from other post. Warning: it's a huuuge chunk o'code.
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:MyComp="client.components.*" layout="absolute" height="554" width="817"
[code]....
So, I've got a component that changes selected text fields case to Title, Sentence, or ALL CAPS.
Below is the code for all caps.
Code:
function fnAll(e:MouseEvent):void{
var numItems:int = int(MMExecute("fl.getDocumentDOM().selection.length"));
for(var i:int = 0; i < numItems; i++){
[Code]....
If you open a file, change the text case, then save it without doing anything else: It doesn't save the changes made with this control. If you change the case, then alter the file using the IDE (cut/paste the text, shift it, draw something and delete it, etc) THEN it saves the changes.
So it seems that the case alteration by itself is not recognized by the IDE, so it doesn't think the file changed, and doesn't actually save it.
Below is the code. When the swf is connected to FMS(the connection is successful) I use this application.user_so.send("enterContestGroup"); to call the client side mothed. You can see that in the client side I have defined the "enterContestGroup" mothed. However the fact is it doesn't call that mothed. Can anybody tell me what the error is
application.onAppStart = function(){ application.user_so = SharedObject.get("user_so", false); application.nextId = 0;}application.onConnect = function(newClient) application.acceptConnection(newClient);
[code]....
I need application with input text box and a button, user is able to write into the input text box, and when he press button, the written text will save on a text format file on server (like a notepad with .txt extension) and if this file exist before new information will over write!
View 2 RepliesI want to create an application that has these features
- At client side: Display a list of images, when user click on one image, data will be stored in MySQL database.
- At server side: Manage images used in client side, I can delete, add new images.
Is this possible for me to achieve this using Flex? And if it is able, will my output be 2 separate SWF files? And where can I find the materials to read on writing such applications?
User interacts with Adobe flex webpage to configure reports based on some data stored server side. They configure their view and have THAT view emailed to them daily. I've got the report builder, the part I'm trying to figure out is how to render the report server side and send it out as email (native flex functionality? convert to html? take screenshot? assume something is running client side?...)
View 2 RepliesI am writing a thesis and have been able to place all my frameworks under two categories (client-side frameworks and server-side frameworks), but I can't seem to finf where to place Adobe Flex...In which category should I place this or should I place it in some separate catgeory?
View 3 RepliesI am making an app where people upload a bunch of images and it thumbnails them and saves them to the server. Is it better to create thumbnails from the uploaded images, or to upload them to the server then re-download the thumbnails?
View 1 Replieshow to save a text file on the server with some data a user inserted?
I need to do this: I have a text box and after pressing enter I need to create/append a file with a log of what a user entered. I have created the box, add listener but I don't know how to create the file.
I cant find any script or something like that on google to find how to save textfield in flash to my webserver? I read i must have server side script... where i can get it? im using Flash 8 but its not problem change it to Flash 6-9.
View 3 RepliesI have a project that requires me develop an application that will load a PDF file, manipulate and edit it then save it as PDF file again.
View 4 RepliesI got some questions concerning .flv-files.
1. how do I edit an flv file?
2. how do I save a video as an flv?
Is there some way to edit/crop a flv file and save it as a new flv with as3?
Lets say that I record my webcam to fms, access it and see that I would like the first 10 seconds to be deleted. Can I possibly do that with code?
I have an app that allows you to save data into a database and gives you the ability to edit that data at a later date. Let's say the user saves
"Up to 90% off retail price"
Everything works fine, the % gets saved in the table etc. The problem is when they return to Flash it now reads
"Up to 90 off retail price"
All I'm doing is taking the value of the variable and sticking inside a text box, I can't see why Flash is having trouble reading that value into a text box. I am making this data into an html ready textbox.
Code:
The % can be in any of the array element values
listValues[10], etc....
Property Values Array
editedPropertyHighlights = new Array(listValues[10], listValues[11], listValues[12], listValues[13]);
// POPULATE TEXTBOX
for (i=0; i<editedPropertyHighlights.length; i++) {
_root.base_front.display_txt_6.html = true;
_root.base_front.display_txt_6.htmlText += "<li>"+editedPropertyHighlights[i]+"</li>";
}
I am new to actionscript. I have created a script that will play server side sound object and client side mp3 files alternately. Now, I would like to play the client side mp3 first then only play server side sound object alternately. However, I have no idea how can I do so. The following is the code that need to be swapped:
[Code].....
How to edit the .fla file code and save it in the .swf format? I downloaded the trial version of adobe flash.I am able to see the output frame but not source code.
View 3 RepliesThe $995.00 version is listed as not supporting server side playlists. Is it possible to implement internet TV station like functionality using that version? I would like to have a list of files to play out and have it so those connected are all viewing the same thing.
View 1 RepliesI'm creating an in-house application in flash for my company. I'm pulling a ton of info from a single XML file located on our server. Ten interns will be using the application on their laptops (Air 2.0). Having the data load and populate the application is not a problem. I would like them (in the application) to be able to edit an existing node value (loaded from the XML) and save it (back to the XML file) so that the XML file updates with the new value and the other 9 interns would see the change on their application.
I figure I'll need some kind of php set up, but everything I've read so far deals with creating new nodes. I need to edit and update existing node values from an existing loaded file.
Here's a very simple example of the XML:
HTML Code:
<INVENTORY>
<CODE>x1234561</CODE>
<NAME>Code1</NAME>
[Code]....
What the directory location of the default webpage data when the Adobe Interactive FMS 4 video is installed at?When the page loads it has all of the Adobe products and featurs on the page, I just need to know the location so I can edit it.
View 1 RepliesI have found many drawing pad solutions. Some good, some not as good. All of them, however, fail to show how to save the file as a pdf (would be happy with bmp right about now) from the drawing pad to a server side folder via php. Can someone show how to do that using as3?
On the advanced side, I also need to figure out how to make it recognize logged in users of the preexisting CMS in order to save out to specific user folders. The CMS is Joomla 1.5 latest build, with JomSocial and JSPT multi profile. It would save out to folders created by the JMarketPro system.
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 RepliesI have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.
View 20 RepliesI am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.
I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.
View 2 RepliesFinding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
During the investigation of this issue we have narrowed this down to:
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.
[Code]...
Does anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :
function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );
[code]........
to generate thumbnails of the streaming video to control de contents of the video streaming. Could I do that in the server side?There is any setting to do that? Could I use the getOnMetadata method to catch a bitarray and then put in into a bitmap file?
View 1 Replies