Flex :: Would Director Be An Option For Creating A Socket Client
Feb 1, 2010
Would Director be an option for creating a socket client? My client needs to accept server commands; frame rate, start etc.Director seems like it was made for controlling movies. I've got Director 11.5 at the office.
Interaction with client
SERVER==>XML PACKET==>CLIENT==>swf plays on given frame and duration
[code].....
View 1 Replies
Similar Posts:
Apr 9, 2010
I'm building a Flex application, which is going to perform many server requests (let's say, that almost all interactions require an update from server). At the moment I'm using remote procedure calls for it. But I was wondering if using a socket would be better. In other terms, is maybe better to keep the connection alive rather then performing many calls in sequence? For my demo app I only have 1 client. Is the number of clients connecting to the server a factor for this choice?
View 1 Replies
Oct 29, 2009
am building a Flash application that lists approximately 500 companies alphabetically and by sector. This will then be put on a minidisc for distribution.My problem is that the client wants a search option as well.I've considered doing each company profile as a separate swf that is loaded, but I'm sure there must be a better way.
View 3 Replies
Jan 24, 2011
I am creating client side PDF with image using flex and AlivePDF for a web based application. Images have been generated on that pdf but it is creating problem for large size images as half of the image disappeared from that pdf. I am taking the image inside a canvas. How do I control my images so that they come fit on that pdf file for any image size that I take.
View 1 Replies
May 28, 2009
I'm considering writing a flash client using sockets to connect to a chat server that I've already written in C#. Unfortunately I don't have any AS experience so was hoping that someone might be able to point me in the right direction (to tutorials or the like for socket connections etc).
View 4 Replies
Jan 21, 2011
Now I have server code on C++ program. But I don't know how to coding client socket on Flash AS3.0.
View 1 Replies
Jul 21, 2011
In my project, I need to get some data dynamically from socket server. so i build following app:
[Code]...
View 1 Replies
May 18, 2010
I have problem with xml socket client in flash. It's cant receive messages from socket server wich is wrote on C#, But server receives the messages from client. Here is a code of AS3.
[Code]...
View 2 Replies
Dec 18, 2011
Use on server node.js and module Socket.IO.Data is sent as follows:
var tests = [555, 777];
client.send("Test string"); //first message
client.send({tests:tests}); //second message
[code].....
View 2 Replies
Oct 18, 2009
I made sure the playback security was set to network only on the publish settings menu. I have another program that connects to the same server without a problem, so I don't think it's a cross-domain policy file problem.
[Code]...
View 1 Replies
Jun 25, 2006
I'm new here, so maybe i'm posting in the wrong channel. Please tell me if it is the case. I'm trying to get a simple client socket class to work with events. I have tried each example found with google with no luck, i just tried the "radio listeners" example from here, which worked fine until i put the broadcaster object within my class.
[Code]...
View 1 Replies
May 26, 2010
I am attempting to use an online Flash file to communicate and pass data to a device linked to a client machine.I have got the Flash to work using sockets and when run from the same machine as the device it works fine.However, the flash file needs to be online and I need a way to allow the data to be passed. At the moment it won't connect to the socket on the client machine (I just get a connection failed message after about 10 secs) and I believe that this has to do with the security settings.
I am looking into Cross Domain Policy files as a way of securing the connection, but all of the information present suggests that these are only applicable to server machines. Can I put a Cross Domain policy file on the client machine that would allow the online flash to access one of it's sockets or will a CDP file on the server hosting the flash file be able to allow access to a client machines sockets?
View 1 Replies
Nov 8, 2011
I've read about WebSockets but they don't seem to be pure "sockets", because there is an application layer protocol over them. "ws:"Is there any way of doing a pure socket connection from a web browser, to enliven webpages?Here are my random stabs in the darkApplets sockets provided by Java (need java installed)Flash sockets provided by Flash (need flash installed)But about HTML5, Why are they called WebSockets if they aren't Sockets?
View 3 Replies
Dec 31, 2011
I'm having a problem to receive data from socket.io to Flash (actionscript).
I've tried:
Server (nodejs) socket.io :
var io = require('socket.io').listen(9000);
setInterval(function() {
[Code]....
Flash connects succesful to the server and trace "Connected to flash" but it cannot receive data.
View 2 Replies
Nov 20, 2010
I have designed with Adobe Flash Professional CS5 a .fla project that integrates a client - server connection. After publishing it, I have the following issue:- when running the generated .exe file for Windows, then the connection to the server works perfectly- but when I am running the published .html file, then nothing is sent to the server.
I have tried to change the Publish Settings. When setting the Local Playback Security in Flash menu to "Access network only" instead of "Access local files only" then the last packet that was send using the .exe file is resent once and that's all (the html client does not receive the response from the server and the next connection attemps generate data transfer). I guess I have to change some security settings somewhere but I didn't find which.
View 1 Replies
Dec 30, 2011
how to make a policy file for a socket server made on java with a client made on as2.
View 21 Replies
Jun 29, 2011
I'm creating a client-server game. My client is a flex based game, and my server is erlang server. At the beginning, when I test directly my flex client in flash player, I can establish a connection easily to my erlang server through socket connection. And both can exchange data with no problem. The problem rise when I deploy my flex app at Apache http server, and running it using a browser by calling [URL] my flex socket sends message requesting for a crossdomain policy to my erlang server. So I create an xml message that represent a crossdomain policy, and send it back to my flex app as a response for that request.
Yet still I can't establish any permanent socket connection between my flex client and my erlang server. I know this because I add listener on my flex socket that will modify its internal state to CONNECTED, if a connection between client-server has established.
View 2 Replies
May 7, 2009
I could create a movie clip for a bullet and create a new instance of one every time a bullet is fired. Then, I could have 100 little bullets all flying around checking collision detection...
There must be a better, more efficient way to do bullets. Anyone know of anything already out there?Otherwise, I could create a collision detection queue for the bullets, or predict where the bullet will fly (since it is usually always linear), but if the bullets become larger, the actual movie clip of the bullet may be wide enough to hit something, but the line the bullet is traveling does not necessarily hit that other object.
But is there a fast, efficient system or way of handling things already out there?
View 2 Replies
Feb 7, 2012
I am programming an instrument that has a feature for the user to offset the clock by the timezone that they are in. I have your basic clock functioning and give the users the ability to select their clock offset and store both the offset Hours and the Minutes in separate variables... My question is how to i take these variables and have them calculate/ update this standard clock function that i am using below:
[Code]...
View 1 Replies
Aug 5, 2006
I am trying to create an ibrochure or ebrochure, an online brochure where the user of it can turn its pages. It also looks like the content is actually on the page. Is there anyone who knows a trick or .fla file already on the site?
View 4 Replies
Oct 6, 2004
I've been working creating an interactive display map for a client. I've figured out the controls I'd like to use for moving the map, but I'm having trouble with the zooming features.
What I'd like to do is have the user click on the "+" button to zoom in and the "-" button to zoom out. The problem is the map is not centered when the user clicks either button?
Any ideas how I can fix this, or improve it?
View 3 Replies
Mar 8, 2005
I am in the process of creating a Flash widget for a client. I am an accomplished Flash designer, but this particular project has got me stumped! The client absolutely loves the concept, but the current approach that I have taken just isn't practical. I have used Swift3D to produce the animated squares manually, and then pieced them together in Flash. This is fine for 6 squares, but the client wants the image to be divided up into about 100 squares, which translates into a lot of manual work! In addition, the SWF file is going to get very big very quickly due to all the frames needed for each square. Lastly, the client wants the option to change the images used at a later date, which simply isn't an option at the moment without starting from scratch.
I cannot think of an easy way around the above problems other than producing the animation at run time, which is what I am trying to do now. However, I can't think where to start! Ideally, there would be two JPGs which Flash would carve up into squares and animate itself but this is really pushing my abilities.
View 10 Replies
Dec 3, 2009
I'm trying to build a banner that rotates (fade in, fade out) our clients logos on our company website. If you look at [URL] at the bottom of their site they have client logos fading in and out using some sort of Flash script. What needs to happen is anytime a logo is dragged into a folder on our website it will automatically go into the rotation of logos appearing on the website.
View 1 Replies
Jul 12, 2010
Here's what works with ant build.xml:
[Code]...
I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:
View 2 Replies
Nov 19, 2011
When I send number (int)52 s.Send(BitConverter.GetBytes((int)872415232));, flash show me trace(socket.readInt()); 872415232 If i send 872415232, flash show 52.Why? And how it fix?
View 1 Replies
Jan 28, 2012
I've made some games using Adobe Director and I would like to open them in a separate projector window.I tried attaching this code to my button.[code]I placed my .exe file in a folder named 'fscommand', that folder is in the same folder as my .fla and .swf files.It doesn't work, unfortunately. : When I click, nothing happens.
View 1 Replies
Mar 23, 2004
How to control de timeline of a director movie thru a Flash movie imported to it.The buttons of my flash movie must control the director movie.is that popssible?
View 2 Replies
Aug 18, 2009
I'm using a combo box control and the dataprovider is set as an XML. After the dataprovider is set, I want to edit the text of the first option and also I need to insert an item in the second position.
How can I do this? Using an ItemRenderer?
View 1 Replies
Aug 12, 2010
How to make text in flex justified (text-align option)
View 2 Replies
Jun 9, 2009
Is it possible in flex to create submenu under linkbar option.
View 1 Replies