ActionScript 3.0 :: Send Objects To Server And Recreate Stage?

Nov 19, 2009

i want to send an object and its properties (that have been manipulated) to my server. I then plan to re-create this object and automatically create a screenshot of the object (i do not want to do this client side). i'm planning to use POST and some php for each property as its changed, and then load this data into a server side as3 script. i would like this server side script to take the object in automatically, and create an image server side - is there anyway to doing all this while not prompting for any input (from what i've learnt, flash needs a prompt before saving a file)? i haven't used flex, could it be used here?

View 10 Replies


Similar Posts:


Media Server :: Shareobject.send() - Send Method Does Not Work

Mar 18, 2010

I have a problem with shareobject. the Send method does not work. I work with AS3 My code

[Code]....

View 4 Replies

Media Server :: Receive Stream.send Commands On Server-side?

Nov 12, 2010

I am recording a video and while recording I issue some NetStream.send("doSomething", params) commands from client side. When I am playing back this video I receive the doSomething events on client side. No problems so far.Can I receive those events on server side? I want to handle those events on server side. Not client side.

View 2 Replies

ActionScript 3.0 :: Wait For Data - Send A 3 Byte Message To The Server (C) And Have The Server Return A Response?

Dec 17, 2010

I made a server connection with AC3 and C, I need the client(AC3) to be able to send a 3 byte message to the server (C) and have the server return a resopnse. So far everything works except for the fact that the feedback isn't fast enough becuase AC3 just tests for data once and moves on instead of waiting like in C. I'm using a binary socket at the moment but I was wondering if there was any way to wait for new data before moving on

View 2 Replies

Actionscript 3 :: Server Library API To Send Request To Server From Flash

Jul 22, 2011

I want to write application for facebook and vkontakte, which will consist of such main blocks as: SocialNetworkAPI (which include all work dedicated to social networks: posting to wall, get all user's info) and ServerAPI (which will send HTTP POST requests to my Java based server and receive data from there in JSON).

I am looking now to Adobe flash URLLoader

is there any good ServerAPI libraries, which I can use or rework to prevent rewriting standart code lines.

View 2 Replies

ActionScript 3.0 :: Accessing Stage Objects From Other Objects?

Jul 24, 2010

I have drawn colored rods which I have placed in the library and have put one of each on the stage with instance names likeblueRod_mc, etc.I place them around with time-line code like
blueRod_mc.x = 300.0;I have now created an Actionscript class called Problem.I build a new object from Problem which I have called Riddle.But when I put blueRod_mc.x = 300.0 in a method (of Problem),I get the message that blueRod is not accessible.So I triedstage.blueRod_mc.x = 300.0;That did not work either.

View 9 Replies

Java :: Send Objects From Flex To Servlet?

Dec 6, 2010

This is my method in actionscript

var urlVars : URLVariables = new URLVariables();
urlVars.myname = byteArr;
var urlReq : URLRequest = new URLRequest('MyServlet');

[Code].....

How do I recieve the byte array on servlet ?

Also the byteArr above comes from java side,

byte[] byteArr = aMethodWhichReturnsaPDFByteArray();
HttpServletResponse response = FlexContext.getHttpResponse();
ServletOutputStream os = null;

[Code].....

View 3 Replies

Flash :: Media Server - Send Video And Audio Data To A Media Server By Using RTMP Protocol

Jul 22, 2010

I'm trying to make a software which sends video and audio data to a flash media server by using RTMP protocol. Currently, my program can communicate with a flash media server correctly. RTMP specifications does not describe about the raw data in video/audio messages, so I muxed raw H.264 and AAC data into video/audio messages and sent to the server. The server seems to accept them, but a video player cannot playback the stream sending from the server. The player just says "Loading..." For a test purpose, I sniffed the network packets between Wirecast and the flash media server and ripped off only video and audio data. Then, I muxed those data into video/audio message and sent to the flash media server. In this case, the video player connected to the server can playback the stream correctly.

I checked the stream sent from Wirecast, the stream seems not to be H.264 raw data because those data are not started from 0x17 instead of H.264 start code. With those situation, I am wondering what kind of container format I should use for H.264/AAC data to the flash media server.

View 12 Replies

Media Server :: Medium-load Chat Server Using Shared Objects Segfaults Every Few Hours?

Aug 25, 2009

Medium-load chat server using Shared Objects segfaults every few hours. Runtime size has been increased to 30MB (this saves it from crashing every 10 minutes). I have the core dump but don't understand what it means.

View 9 Replies

Actionscript 3 :: Centering Objects On Stage And Auto-Scaling With Stage Resize

Oct 19, 2011

I'm writing a web based flash app that's written entirely in AS3. I have objects on the screen as part of a GUI. I would like the user to be able to resize the window, or make it full screen. I would like everything to auto-scale with the resize, but also remain in the same relative position on the stage.

View 1 Replies

Ruby On Rails :: Send Multiple Objects With RubyAmf

Mar 7, 2010

I'm new to RubyAmf. I noticed that you can send an object with RubyAmf as follows:format.amf { render :amf => @user}Which works fine. But I wasn't sure what to do what when I have two ,or more, objects:[code]How can I can send @projects and @tasks without having to do multiple requests from flex.

View 1 Replies

Java :: Send An Array Of Objects From Flex To Servlet?

Apr 29, 2011

I have a collection of Objects in an ArrayCollection in my flex page.

What is the best approach to send this data to a Java Servlet?

The object in the ArrayCollection is a VO that consists of an id and message for now. I want a solution that is scalable in case more properties are added later on.

View 1 Replies

Ruby On Rails :: Send An Array Of Objects In A HTTP Query?

Dec 5, 2010

I need to send an array of objects from Flex to a Ruby Web service, but sending them as parameters is not getting through since they seen to come through as Objects instead of readable data.

Sending it as raw XML or JSON didn't work either so the last resort might be to send everything in a HTTP query. However, I'm not sure how to do this since the array contains objects, all of which have 4 or 5 properties, and I don't know what the right format would be.

View 1 Replies

Send Keystroke And Mouse Move To Flash Objects From Javascript?

Jun 2, 2011

Is it possible to send keystroke and mouse move to flash objects from javascript for testing purpose ?

View 2 Replies

Actionscript 3 :: Send Events Between Objects On Same Level (Global Event Manager)?

Sep 8, 2011

I came to the point where I need to communicate between 2 objects (let's say Tank and the Cannon). It is tile game, and when the Tank approach specific tile I need my Cannon to shot the Tank. When Tank gets that specific tile I want to dispatch some custom event and have listener in Cannon class body to make the shot happen. Other way I would have to check in ENTER_FRAME loop (inside Cannon body class) if the Tank touched tile that runs the Cannon shooting - but this is not elegant and efficient. The issue is complicated by the fact that the Cannon and Tank are added to the Engine (document class) and can't simply hear for each other, because they seat on the same level in display list.

Initially I could addEventListener to the Engine, but this way my document class would enlarge to the XXL size (all listeners functionality, all methods for game etc). What I would accomplish is to have event listener in every Cannon object (defined in body class) listening for Tank's dispatching the event. I saw some 'Centralized Event Manager' article in the net, but can't download full classes [url]...

View 1 Replies

Ruby On Rails 3 :: HTTPService Not Properly JSON-encoding Nested Objects On Send()?

Nov 22, 2011

i am creating an object like this:

var myObj:Object = new Object();
myObj["someProperty"] = {
anotherProperty: "someValue",
whateverProperty: "anotherValue"
}

now i want to send it to a web server (rails):

var service:HTTPService = new HTTPService();
service.url = "http://server.com/some/path/entry.json";
service.method = URLRequestMethod.POST;
service.send( myObj );

the problem is that the server receives the json like this:

{"someProperty"=>"[object Object]"}

is this a problem with HTTPService? should i use the good old loader/urlrequest and serialize myself? by the way, serializing and then passing the string doesn't work, webserver receives empty request as GET.but i kinda want to use the httpservice class though...

View 2 Replies

ActionScript 3.0 :: Send XML To Server?

Sep 18, 2008

I am trying to send some xml to server side script, but im having problems when it gets to the server. Namely its messing up the xml data as soon as it hits a quotion. My fucntion is below:

function sendSavedData(e:Event){
var dataXML:XML =
<test id="1" gfx="8">

[Code]....

I am not a server side guy at all btw:) Also would anyone know why when I try and POST this data nothing appears at all on the server?

View 1 Replies

Flash :: Send A File To The Server?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 Replies

ActionScript 1/2 :: Send Values To Server?

May 10, 2010

I have a client in flash sending values to server. At first time i am sending the value 150.  The server responds to returns some data.  On receiving that data the client should again send some value to server.  Where should i have to write mySocket.send to do it.  i tried doing it inside the function[code]...

View 3 Replies

.net :: Send Bytes From Server To Flash?

Oct 8, 2011

I want to send data of bytes from .net server to flash client. i have created a simple .net tcp server but what code would i need to create the flash tcp client in order to receive bytes NOT string or xml, just bytes?

View 1 Replies

ActionScript 3.0 :: Send Big Binary To Server?

May 5, 2011

I have project Business card design, my app have feature save their design with PNG extension after customer design their business card to server. I sent binary of PNG to server by urlRequest and urlLoader. But with files have file size more than 5mb, it can't upload.

View 5 Replies

Media Server :: Send The String Value From .asc File?

Sep 29, 2009

I need to send the String value from .asc file to Flash AS3 in Application.rejectConnection();

[Code]...

View 2 Replies

ActionScript 1/2 :: Send A File To The Server Using The Flash?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 Replies

Media Server :: Send HTML Data?

Oct 9, 2009

I am working in flash chat in that I need font type,size and color for typed text. how to send the html data from client to server and get back for client.

View 1 Replies

Media Server :: Send A Stream To Fms From A Webcam?

May 20, 2011

I wonder if i can do the following, send a stream to fms from a webcam and then serve it with apache on http x-flv format.

View 6 Replies

Flex :: Record Voice And Send It To Server?

Nov 17, 2010

I need to record the voice of the student from the client and send it to server to check whether there are any gramatical mistakes in it. I have designed the client in flexMy problem is, i have no idea of how to store the recorded sound and send it to the server

View 2 Replies

Actionscript 3 :: Flash Send Request To Another Server

Nov 30, 2010

i am sending a flash reqesut to a url when i make request from local computer its working but when i upload on my server its not working i think flash is not sending request from my server to another server

[Code]...

View 1 Replies

Javascript :: Record Audio With Mic And Send To Server?

Mar 24, 2011

What is the best option for recording audio with microphone on website and send to server for some operation.

1) java/javascript

2) red5

3) flash/flex

4) silverlight

5) other(specify)

I want to create something like this : [URL]

View 2 Replies

Flex :: Resize Image And Send To Server In Air App?

Apr 2, 2011

I'm trying to build an Air application where a user can drop in an image. That image needs to resize if it's bigger than 1024px 1024px.

What's the best practice for resizing an image in Air development? And what's the best practice if I want to send this to codeigniter amf server in Air 2.0, bytearray format?

View 1 Replies

ActionScript 3.0 :: Send Post Data To A Server?

Sep 23, 2009

Is this the best way to send post data to a server?

[URL]

if not what is a better way? I don't want to open any web page windows (New Tabs).

View 5 Replies







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