ActionScript 3.0 :: Call A Server Based File, And About 50% Of The Time Receive?
Oct 26, 2010In my application, I need to call a server based file, and about 50% of the time receive the following error.
[Code]...
In my application, I need to call a server based file, and about 50% of the time receive the following error.
[Code]...
I am sending a request to a server. If i didn't get a response i need to send a request once again after 3sec. Like this i have to check for 3 times. If 3 rd time also it fails i need to terminate the request by prompting a msg to customer.
View 1 RepliesI'm trying to get the time from the server (php) and then display a different flash movie (via either a different swf or frame on timeline) accordingly.
Unfortunately I haven't found anything that relates to this using as3.
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 Repliesi am new to Flash media server,and i face some difficulties!I managed to connect to derver and stream with Flash media live encoder to the server but when i create the flash file to see the stream it does nothing!I open the .html file that i have created but the only thing i can see is the bar of the player and i can not see the video that i am streaming!
View 4 RepliesI have a child swf loaded that needs to receive an array that the parent creates in a function. The child swf must be the one to call that function.
View 3 RepliesIs there an actionscript class that can call an image that has just been uploaded onto the server and place it into a movieclip? Struggling to find a code as each image will have a unique number. Is there a code that can link into a php session that starts as the users uploads the image?
I have found several tutorials for loading data/text into flash using either the 'filereference class' or the 'moviecliploader' but these seem to need a string or a url for the data fro flash to get. Another option is to have the upload script in flash itself but i do not want this either.
I want to have a variable which changes from time to time based on certain parameters.
For Example:
var poop:Number;
onEnterFrame = function(){if(donkey==1){poop = 2;}
if(donkey==2){poop = 5;}
}
But it doesn't work. I can't seem to change the value of "poop" with code. It only accepts a value that I place, ex. var poop = 2, but that doesn't let me change it.
Can we receive more than four stream at same page .
Like many to many video conference .On a single page i want to see more than one person at same time by different-2 streams.
Do i need a wireless connection from the server. I am thinking of installing an access point to test the server.. The only challenge is i dont know how to get the client to receive streams.
View 7 RepliesI have trouble passing a variable from HTML to Flash.I use swf-object2.2.how to code the variable in the html-file and how to receive it in the as-file?Its a simple shopId = 110
View 3 RepliesOk so I can send and receive XML nodes from the socket server I need to know how to take the nodes and the values within them.... like for example I want the X Y positions from the node sent to me from the server "<playerpos name="javageek1212" X="34" Y="23" />" Basically I want the values from within that node ok?
View 5 RepliesI will deliver the following technical information on the server:
-Dedicated server:
Connection bandwidth: 100 Mbps Unlimited transfer limit
RAM: 512MB RAM Intel Atom 1.60 mono
System: CENTOS 5.5 FMS
Version: Interactive 4.0
We will send a stream of quality 800kbps
I am writing a online game with flex and java server and I have a big problem. In normal case, my game run smoothly but some time the clients can't receive the command from server. I found that if server send message too fast or client is doing something when server send message, the game client can't detect for a new message so my game is freeze. I only tested with 4 clients and I don't know what happen when thousands clients online in the same time. So terrible :(. In the game client, I use one EventDispatcher class to dispatch any command from the server. Do you have any solution to warranty that client must receive any message from server when the connection is still alive or server must know if client received the message or not. I use flex 3 with Socket (binary) and Java QuickServer.
View 1 RepliesI have some basic experience with using URLRequest to POST variables to my server which works fine.How do I post an array to my server and receive it back?
View 3 Repliesi want to make a simple chat with flex as3 and red5 media server
my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message)
i just don't know how to to send and receive and how to receive from the server
I'm putting together a form but I guess you have to create a server side script to receive the variables and then email them somewhere... but I'm not sure if I have to use php5 or php cli...
View 2 RepliesPROBLEM SOLVED NO LONGER NEEDED
View 3 RepliesI've written this piece of code to use a PHP script to send data to Flex.[code]...
If there is no way to use HttpService for this end (i.e. send image files), how can one do it then? I've seen it in an app I worked on so I'm positive it can be done.
when I use the Request.InputStream in MVC3 action method to save the file sent by action script I got a corrupted file. When I used firebug to trace the request I realized that the Content-type is "application/x-amf" and has the file name at the end of the stream. knowing that I can't change the action script I need a way to save the file correctly to disk.
View 2 RepliesI'm trying to create a file that shows data from a database depending on an id number the user inputs in Flash. I am having trouble sending to PHP the id so it sends back the appropriate data from the db.
This is the AS3 code that tries to send the value of the idNumber to PHP[code]...
I want to use RTMP based HTTP DVR functionality and HLS based IOS functionality, So I need to know how to MPP from my existing DVR app to the livepkgr app so that the stream being recorded at the DVR app can be used by the Flash and Stream MPP over to livepkgr app and can be used by the IOS HLS.
View 1 RepliesI have this clock code and would like to know what needs to be added or changed for it to reference the time off the server and not the local computer time (and preferably reference the server just once and not repeatedly). I already have a file on the server "time.php" that is providing the milliseconds. I know it should be fairly simple, but I just can't wrap my head around it.
[Code],,,
I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).
The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.
i have a repeater :
PHP Code:
<mx:Repeater id="btnRepeater" dataProvider="{rep.currentItem.BUTTON}">
<mx:Button label="{btnRepeater.currentItem}" click="getDefinitionByName('{btnRepeater.currentItem.@EVENT}')"/>
</mx:Repeater>
and i want to call some how to a function with a value i get from the xml: getDefinitionByName('{btnRepeater.currentItem.@Fun ctionName}')
make a clock base on given time(server time) as title,
View 2 RepliesI have this problem.When I publish my Flash file to html, input text would't recive @.Instead it paste whatever is in my clipboard.I tried with diferent encodings, fonts,....
View 7 RepliesSomebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.
View 1 RepliesI have a question... Can I use the same server side function to send to all lients 3 different swfURL depending on which button pressed from one of them? If the answer is positive...how can I do it?
View 6 Repliesevery login ,flash get server time from php. how can i update time and date in flash..?
View 3 Replies