Flash App Across A Local Network?
Greetings all - This may be a more generalized Flash question but I figured this would be the best forum to post this. We're researching developing an upcoming project in Flash where there will be 3 kiosk like computers all running a Flash application (preferably an EXE). They'll need to communicate with each other running a simple game (i.e. imagine 3 kiosks all playing a game of blackjack across the three terminals where the three players / kiosks are playing against each other).What is the best method for accomplishing this? I'm assuming we'll need to set up a fourth computer as a local server of some kind (most likely a mySQL / PHP solution as opposed to a Flash Remoting Server solution) to handle the communications but I wanted to get some feedback here whether it was possible for the three terminals to communicate with each other directly or whether the security measures in Flash prevent this.[Also - I apologize if this is in the wrong forum. It kind of spans AS programming as well as networking / servers so I wasn't sure where to put it. Thanks in advance for the help]
Actionscript 3.0
Posted on: Thu May 29, 2008 6:01 pm
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[CS3] Flash App Across A Local Network?
Hey - Got an upcoming project where there will be 3 kiosk like computers all running a Flash application. They'll need to communicate with each other running a simple game (i.e. imagine 3 kiosks all playing a game of blackjack across the three terminals where the three players / kiosks are playing against each other).
What is the best method for accomplishing this? I'm assuming we'll need to set up a fourth computer as a local server of some kind to handle the communications but I wanted to get some feedback here.
[Also - I apologize if this is in the wrong forum. It kind of spans AS programming as well as networking / servers so I wasn't sure where to put it. Thanks in advance for the help]
Can Flash Player Have Access To My Local Network
Hey,
I've got a flash site that is hosted as usual on a webserver.
I need to allow the end user to watch an FLV which is located on the local network, not on the webserver where the site is.
Is it possible to get the flash player on the end users pc to be able to access the local network?
the contentPath is something like:
video.contentPath = ""\server1folder1vid.flv";
Any help would be great, I can't get this to work at all
plu
Local Network
I'm trying to make a multiplayer game,
so far so good.
But instead of having share-screen or split-screen I would like to make it a LAN game.
I know there is a way to write to a file using FScommand but I have foregotten,
can somebody please post a link or a code snippet.
But from memory it only writes to a files in a folder named FScommand in the same directory as the swf, so, is there anyway to write to a file that's not in an FScommand folder?
By acheiving this, I can continuously read data from the file and write data so two computers can interact.
Thanks,
-Jacob
Can't Print To Local But Can To Network
Has anyone seen this before? I created an AS print button on my flash that prints out one hidden frame. The Flash is a one frame graphic that has some dynamic text. It prints fine to a network printer but not to a local printer. The page comes out totally blank.
Anyone seen this before? BTW... this is for Flash 5 not MX
Any ideas how to correct this?
Thanks
Security Over Local Network
Hi,
I'm using Flash MX and I wanted to check a detail with the security features in flash just to make sure that my project is not doomed from the start .
I am developing a system that will display data (timetables and stuff) on several computer screens on a computer network and they will load the data from a php file (using loadVariables) which will be on a different computer on the network (with Apache running). Basically, I want to load a file from say 'http://192.168.2.9/data.php' from a different computer (but all on a local network and not on the internet). Will flash's built-in security settings stop me from doing this? If so how can I get round it?
Thanks in advance,
Matthew Dingley
www.matthewdingley.co.uk
Using Flashcom In Local Network
hye..i want to apply a video chat application on my local network, but i failed.
i changed the rtmp from rtmp:/(application folder) to rtmp:/(other computer name)/(application folder)
but it doesn't work.
How can i do this?..
can somebody please help me..
Access Local AND Network Files
Hi !
I don't really like the fact that Flash 8 doesn't allow us to load local and remote files, but I understand the security problem beyond this. Unfortunatelly, it's even impossible to call a simple getURL ("http://www.hotmail.com","_BLANK") without any parameters (no parameters = no problem...)
So, does anyone think that it's possible to avoid that problem using javascript ?
Thanks
Mathieu
Can't Connect To FMS From Local Network Machine
I was finally able to get fms running and streaming to a flash client on the same workstation yesterday. Now I'm trying to connect to that workstation from another flash client on another workstation but I'm not able to make any connection. Here's the code..
var nc:NetConnection = new NetConnection();
nc.connect("rtmp://192.168.20.117/video_tutorial");
I've also tried nc.connect("rtmp://192.168.20.117:1935/video_tutorial"); but I keep getting the status message "NetConnection.Connect.Failed".
The ip is the machine that has fms setup and running and both workstations are on the same network. I can ping the 117 machine but I can't connect via flash. Is there something else I need to do to get my client to connect to that? Thanks.
NetConnection - Working Local & Network But Not Server...
Been trying for a day now to get some progressively downloading FLV files to work off the server. They run fine on my local machine and off a network drive, but do not run off 2 different servers here...
Using this code
PHP Code:
var myNetConnection:NetConnection = new NetConnection();
myNetConnection.connect(null);
var myNetStream:NetStream = new NetStream(myNetConnection);
this.myVideo.attachVideo(myNetStream);
myNetStream.play("images/sketchbook/video/"+_global.vidClip+".flv");
Anyone run into this? Had the network guy make sure there's no weird security for connecting or streaming. Site has no issues with "swf's", only with "flv" files... Is there some setting I'm missing or something I need to tweak on the server?
Live Stream Accessible On Local Network Only
1. I downloaded and configured Flash Media Encoder.
2. I downloaded the development version of Flash Media Server.
3. They're both running on the same machine.
I'm a Flash newbie, but using the sample applicaitons, I managed to create a SWF file that broadcasts the stream from FME.
The stream plays beautifully on all machines on the local network in my house. I've exposed the machine running FME and FMS to the Internet by natting it. Locally, it has a 192.168.x.x address, and I am using NoIP.com for dynamic DNS. This is the URL to the page hosting the SWF:
http://healtv.theheals.net/healtv/frederick_cam.html
The page loads, but no streaming video. As I said, on the local network, it's fine.
Grasping at straws, I also opened port 1935 (TCP) on my router.
What am I doing wrong?
Edited: 05/08/2008 at 09:17:11 AM by jonheal
Local Files + Network = Annoying Security Popup
Hey,
Ive got a small flash project that has multiple files that communicate between a server and a folder full of resources, such as images and XML files.
The directory structure would be:
myFlashFolder
|
|- resources
|---|
|---|- config
|---|---|
|---|---|---policy.xml
|---|---|
|---|- example.xml
|
|- MyFlashFile.fla
Now i get my flash file to load up the policy file as soon as it starts:
Code:
Security.loadPolicyFile("resources/config/policy.inc");
Within there as im testing ive put:
Code:
<cross-domain-policy>
<allow-access-from domain="*" to-ports="*" />
</cross-domain-policy>
As soon as flash tries to connect to the policy file it pops up with the security manager, and if i accept that it then pops up when trying to connect to my local server (localhost). Ive tried reading up online, however there doesnt seem to be much decisive info on how to stop the security manager from popping up (and i mean stop it popping up as you have set up permissions correctly, not some hack to stop it coming up).
If i move my policy file to the localhost root then it will load it fine, which solves the network problem, but it always seems to pop up when trying to load in other SWFs in the same folder... which also causes major problems if the SWF thats loading up hasnt got relevent security prvilages, and bombs out internally with a security exception...
I was going to attempt doing allowDomain(), but i read that the policy file does that for you, any info would be great as im a tad stuck
Launching A Local Html File From Local Swf ( Flash 8.)
Hello everyone i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){
getURL("folder/folder/file.htm","_self");
}
i also tried scripting it on the time line when that didn't work.
any ideas?
Thanks,
kool
Flash With Network
hi al , i am khader again and i am so so happy about ur replys and i need to ask about How can i use flash with network,for example i need to aacess file from client to server or i need to connect with the server from Terminal using flash.
thank u alot
Network Url From Within Flash
Just created a banner for our intranet and I have a getURL inside the flash which should open an html file on the local network. The path is:
\networkcomp
etworkfolderfile.html
It works from my computer but when we put it on the intranet it doesn't. Any ideas?
Thanks!
Network Flash
Can a flash movie connect to another flash movie on another computer (over a network)? I want to be able to pass variables instantaneously back and fourh. Would I do this by connecting to a PHP script sitting on one of the machines (acting as the server)? OR, am I being led down a totally wrong path... Please help, I have been everywhere..
Network Gaming With Flash MX
Hi,
I've heard that there is functionality built into Flash MX so that you could run a Flash game on a network in a client/server mode - ie. like Doom/Quake, etc. where one person starts and runs the game on their PC in 'server' mode and then other people run the game on their own PCs and connect to the existing game on the 'server' PC.
I am writing a multi-player top-down racing game that would be very enjoyable played on a network by 4 (or more) players - each running it on their own PCs.
If anyone has any ideas on how to use Flash in this way, please can you let me know. If it is possible, I'm sure that this will be the future of Flash gaming ... !
Thanks,
HighQueen
Help From Network Users - Using Flash
Hi to all, and thank you in advance for your help.
Just a quick request to ask for your objective feedback on this site we're in the last stages of development for with Banrock Station. I've a few issues I'm trying to iron out with the development team and I'm hoping I'm not the only one.
If you've a spare minute, can you head to http://svc037.bne147v.server-web.com/
The sites been built for higher bandwidth, advanced users so please take that into consideration, although the impact that this has on the broader user experience is what I'm interested in.
If you do have a chance to take a look at the site and can spare the time to jot down your experience, I'd ask you to also put in your feedback what your current desktop/ network setup is, (ie - dial-up/ office network, pc/mac, explorer/ netscape, flash/quicktime, nfi, etc.).
There's some neat little treats in the site, (webcam, virtual tour, winemaking process animation), linked from the icons on the home page. I'm just hoping you can see them?
Greatly appreciate your feedback.
Cheers...
Network Flash Games?
SOS ...URGENT
i'm creating a website for some1 and i was requested to create online multiplayer flash games... where people can play against each other through my that website..
does any one can help me in that..how to create that?? what i need ??
i need resourses ( tutroials , code , etc .. ) for multiplayer online flash games..
i know it's a piece of cake for u guys...
Flash Network Game
Is there a way that I could make a flash game that could communicate with another player.
-------------------------------------------------------------------------
eg.
there is a dot on the screen that can be clicked on and dropped.
when this blob is being dragged and dropped. Another user on a different pc over the internet can see this blob being dragged and they in turn can drag it back.
-------------------------------------------------------------------------
I'm wondering if this is possible because i'm wondering if flash could be utilised to make simple online games. Any tutorial links or advice in general would be greatly appreciated.
Social Network With Flash?
(first, if this is in the wrong thread feel free to move it)
I'm thinking of creating a social network, and seeing I have some experience in development with Flash, I wondered if it can be done with that. So are there any social networks out there that use Flash? Is there any specific features of AS3 that would be useful to creating a network with Flash? Any general advice about setting up a social network using Flash?
Network Multiplayer In Flash?
As I read the forum, I see topics on the possibility of network multiplayer games in flash. I would like to see how these are made, and possibly make one of my own.
Are there articles or other information about Networks and Flash?
Flash Video On The Network
Hello Flash Users:
Does Flash Video have any negative impact on an organization's network?
Can Flash Video cause bandwidth drain when uploaded to an on-site Web server?
RS
Help - Flash Cookies Across A Network
hello,
I need to create a flash movie that remembers where the movie clips are when you leave the movie, or when a button is pressed.
I can do this on my own computer using the shared object feature, and it works fine. However, I need to make this possible across a network.
Basically, its for 4 people, so that they know where each other are. Whether it be in a meeting, in one office, or another. But that's irrelevant really.
The movie will be hosted on my computer, acting as a server using IIS.
Is there anyway to do this?
Thanks, any help is appreciated!
Help - Flash Cookies Across A Network
hello,
I need to create a flash movie that remembers where the movie clips are when you leave the movie, or when a button is pressed.
I can do this on my own computer using the shared object feature, and it works fine. However, I need to make this possible across a network.
Basically, its for 4 people, so that they know where each other are. Whether it be in a meeting, in one office, or another. But that's irrelevant really.
The movie will be hosted on my computer, acting as a server using IIS.
Is there anyway to do this?
Thanks, any help is appreciated!
Can't Publish To A Network In Flash 8
I am unable to publish to a network in Flash 8. I get a 'Destination directory does not exist' error whenever I try and publish. I have been through all of the settings and options and nothing has worked.
I am able to publish locally.
Anyone else have this problem?
Thanks.
Running Flash On A Network ENvironment
Dear Flash Gurus,
I am currently working on a flash project and I need some guidance on the way.
The project:
I need to make a flash animation for my company's opening gix. During the opening, the V.I.P would be require to click a button on a main computer and the flash animation must run on all PC within the network. I desperately need help on doing this network stuff. I already got the animation working on a single PC. Thanks you all in advance.
Darkelf
Pass Data From One Flash To All On Network
Hi everyone,
What I'm trying to do is set up a 'broadcaster' on my computer and 'listeners' on every computer within my network. Then, I submit a message to the broadcast (also from my computer) and it is received and displayed on all machines within that network. I've tried localconnect but of course it's not a local connection. I'm thinking maybe I need to pass the data to a xml/php/asp/etc script that blasts it to all of the network and each of them pick it up from that. Any suggestions? Anyone else done something like this?
Thanks!
Network Infrastructure Flash Animation
Hello Everyone,
I will like to find out where can I find a tutorial that can allow me to do a network infrastructure flash animation like the one at http://www.verio.com/
Go to http://www.verio.com/ and click in the top right image NTT / VERIO Global IP Network"
This will show you the flash animation i'm talking about.
Thank you in advanced,
Create Flash Games Network
I suggest to every developer of games or other things which are use to be posted on other sites to create their networks.
1. Create a directory on your domain to be used to load files into games - mydomain.com/mynetwork/
2. Make so each game load different file into it like - mygame.swf loadmovie mydomain.com/mynetwork/fileformygame.swf
3. Create a thing to show in your games then make each fileformygame.swf load it into games+load thing fit only current game(there is variations). For example:
http://gamebalance.com/games/orboxb.html
4. this can be used for lotta good things - traffic exchange, load commercial ads,notify about updates or new games releases, etc.
You can load some same stuff into games similar as banner in my games + load anyother things that fit current game.
5. I m looking for help to develope this and connect to other networks.
P.S.
If you dont have domain maybe I can help with host your network files on my site but it is better to have ur own domain for first file to load.
AIM me: gamebalance
Network Infrastructure Flash Animation
Hello Everyone,
I will like to find out where can I find a tutorial that can allow me to do a network infrastructure flash animation like the one at http://www.verio.com/
Go to http://www.verio.com/ and click in the top right image NTT / VERIO Global IP Network"
This will show you the flash animation i'm talking about.
Thank you in advanced,
Network Deploy Flash Player 7?
I have created a new Intranet site for my company that is ready to go live except for one problem. On the site there are some flash buttons that I would really like to use. The problem is that most users on our network do not have flash player installed on their computers. Also most users have restricted rights on their workstations and they can't install programs such as the flash player. I have downloaded the stand alone .exe and .msi flash player 7 setup files. Is there a way that I can deploy the flash player with a group policy or login script? The Macromedia site doesn't tell me much about this topic. I don't want to use any third party software like script logic to get the job done. Any ideas would be great. Thanks.
Discuiss About Flash Online (network)game
just thinking.... hope any masters can give me some advice.
there is a such way to create a interactive game which is
though network.
such as 1.we create like four or more different but almost swfs to use save (fscommand) to write to 1 text file.
2. and between the all swfs we all read and write variables through that text file.
3. by using loops .. then all the 4 movies is commucating
with each other, right?
ok.. this is first step win.
but second step if we put them no the intertent the problems cames. cos we use Php or asp to write and load one
text file make the whole connection slow..
but it can work?
there is one ppl have already done flash online game.
just http://land.a-kuei.com.tw
u can see how they made it.
ok.. thx for whatever discuiss about this topic
How To Check A Network Connection Status By Flash?
how to check a network connection status with flash?
i found this data in help
--------------------
If XMLSocket.connect returns a value of true, the initial stage of the connection process is successful; later, the XMLSocket.onConnect method is invoked to determine whether the final connection succeeded or failed. If XMLSocket.connect returns false, a connection could not be established.
Example
The following example uses XMLSocket.connect to connect to the host where the movie resides, and uses trace to display the return value indicating the success or failure of the connection.
function myOnConnect(success) {
if (success) {
trace ("Connection succeeded!")
} else {
trace ("Connection failed!")
}
}
socket = new XMLSocket()
socket.onConnect = myOnConnect
if (!socket.connect(null, 2000)) {
trace ("Connection failed!")
}
----------
is that what i need?
ONLY WHAT I WANT IS TO DRAW OUR NETWORK AS BUTTONS AND FLASH CHECKS EVERY DEVICE CONNECTION STATUS
AND ACCORDING TO THAT THE BUTTON COLOR CHANGES
IS IT POSSIBLE AND EASY WITH FLASH OR NOT??????
How To Check A Network Connection Status By Flash?
how to check a network connection status by flash
i found this data in help
--------------------
If XMLSocket.connect returns a value of true, the initial stage of the connection process is successful; later, the XMLSocket.onConnect method is invoked to determine whether the final connection succeeded or failed. If XMLSocket.connect returns false, a connection could not be established.
Example
The following example uses XMLSocket.connect to connect to the host where the movie resides, and uses trace to display the return value indicating the success or failure of the connection.
function myOnConnect(success) {
if (success) {
trace ("Connection succeeded!")
} else {
trace ("Connection failed!")
}
}
socket = new XMLSocket()
socket.onConnect = myOnConnect
if (!socket.connect(null, 2000)) {
trace ("Connection failed!")
}
ONLY WHAT I WANT IS TO DRAW OUR NETWORK AS BUTTONS AND FLASH CHECKS EVERY DEVICE IS IT CONNECTED WELL OR NOT
AND ACCORDING TO THAT THE BUTTON COLOR CHANGES
IS IT POSSIBLE AND EASY WITH FLASH OR NOT??????
Flash Won't Save To A Network Mapped Drive
We upgraded a RAID5 disk array that we map from a network share recently. The original disk was 1.8TB the new one is a GPT disk that is 3.6TB.
Now when we try to save files from FLASH CS3 we get errors concerning the file or disk is read only, make sure another program doesn't have the file open..etc..etc...
All the permissions on the disk are fine. Photoshop CS3, Dreamweaver etc..all play fine with the large GPT disk. Anyone else have this problem or know of a solution.
I know the first release of Encore had this problem even with TB drives. If it was over 1,000MB it did the same.
thanks for any input.
PS: I have let the adobe updated get all the appropriate updates for all products.
How To Check A Network Connection Status By Flash?
how to check a network connection status with flash?
i found this data in help
--------------------
If XMLSocket.connect returns a value of true, the initial stage of the connection process is successful; later, the XMLSocket.onConnect method is invoked to determine whether the final connection succeeded or failed. If XMLSocket.connect returns false, a connection could not be established.
Example
The following example uses XMLSocket.connect to connect to the host where the movie resides, and uses trace to display the return value indicating the success or failure of the connection.
function myOnConnect(success) {
if (success) {
trace ("Connection succeeded!")
} else {
trace ("Connection failed!")
}
}
socket = new XMLSocket()
socket.onConnect = myOnConnect
if (!socket.connect(null, 2000)) {
trace ("Connection failed!")
}
--------------
isthis is what i need?
ONLY WHAT I WANT IS TO DRAW OUR NETWORK AS BUTTONS AND FLASH CHECKS EVERY DEVICE IS IT CONNECTED WELL OR NOT
AND ACCORDING TO THAT THE BUTTON COLOR CHANGES
IS IT POSSIBLE AND EASY WITH FLASH OR NOT??????
How To Check A Network Connection Status With Flash?
how to check a network connection status with flash?
i found this data in help
--------------------
If XMLSocket.connect returns a value of true, the initial stage of the connection process is successful; later, the XMLSocket.onConnect method is invoked to determine whether the final connection succeeded or failed. If XMLSocket.connect returns false, a connection could not be established.
Example
The following example uses XMLSocket.connect to connect to the host where the movie resides, and uses trace to display the return value indicating the success or failure of the connection.
Code:
function myOnConnect(success) {
if (success) {
trace("Connection succeeded!");
} else {
trace("Connection failed!");
}
}
socket = new XMLSocket();
socket.onConnect = myOnConnect;
if (!socket.connect(null, 2000)) {
trace("Connection failed!");
}
--------------------
Only what i want is to draw our network as buttons and flash checks every device is it connected well or not
And according to that the button color changes
Is it possible and easy with Flash or not? and how coul i do it
i mean wht is the code that should be written to quiry devices and checks connection??
Problems With Playing Flash Files From The Network...Solution?
For some strange reason, if I work on something on the network and then try to preview it, I get a blank screen. Has anyone else had this problem and if so, are there any solutions?
I've had to work on all my projects locally and then transfer them over. This does not happen with Flash 5 files.
See The Contents Of A Network IP Camera Inside A Flash Media
HI, to everybody!! :) I'm newer in this forum, and I want to share/ask a little problem that I have, In the office where I work, I use a Flash media that uses Camera.get() to activate an usb camera on a local co,mputer, but now, the boss has buyed a D-link DCS-950 G Internet Camera this camera is an IP camera and I don't know how create a media that can connect to the camera.
I know that in a web browser the camera needs the CSViewer.ocx.
Can anybody helpme or give me a clue?
thanks in advance!!
Elias
Possible To Automatically Install Flash Plugin On Corporate Network?
Hi,
This is probably a big problem for many. I have a client that is unable to view our website because they are not allowed by the system to install things, thry need admin privaleges. The detection script works fine but then they are unable to install the latest player. Is there any way around this other than hoping their administrator will install it for them?
Any response useful,
Cheers,
Pat
Local Runtime Sharing? Local External AttachMovie?
I've been trying and searching through the forums but I think I am searching for the wrong keywords.
Is there ANY way of setting it up so that I can use attachMovie/removeMovieClip on external swf's? I've found these runtime sharing options but I am unable to make much sense of them. What I am creating is something that would always be run locally on a machine and not up on the web.
I want to use this one main 'engine' type of file that loads heaps of different movies into it. All of them swf's. Of course I realise that I could do things the loadMovie way, but it seems in this case like an option not really suitable for what I want to do.
Thanks for any tips
User Defines Local Image And Add It To A Local Swf(CD) ?
I have to run flash (swf) locally, which in my case means a CD.
What I want to do is allow the user to have a browse (local) function and pick an image from his hard disk and use that image to see a flash movie (swf) with his/her selected image in it!
Then after the user watched the movie with his/her photo on it, the user should be able to send this movie in a site(upload it). then naturally the user should be able to see it online at that site as well!
So my questions are how to have a browse function that puts the selected image somewhere I would like it to and then use this image in a flash movie (that will be a game with the photo on it).
And I guess then to send it online I do not really have to publish a new swf with the image in it, I can send seperately the swf (game) and the image file to the server through php? Did i get that right?
So far I know flash 8 has a new class for browsing, but how do I take a file selected from a user locally and use it in the movie again locally? load variable can do that but I should know the name of the file selected and also be possible to even select a local file??
Basically it is for educational movie. It will run from a CD. there will be many interactive exercices. At the end of the section there will be one game that in order to make it more personal I want to allow the users to add their photo at the game. So far everything should take place locally. Then if the user desires should be able to send in a specific site the movie he/she just watched(which means with their photo in it).
ANy ideas how I do that.
Even general ideas will help!
Thank you
Problem With Local File And Local Link
Hi to everybody,
I have installed a new version of flash player (9,0,28,0) and when I open a local file like:
c: estindex.html
When I click into some link that point to some local file like as:
c: est est.htm
I don't obtain nothing the page still remain index.html.
If i put the test directory into some server everithing working fine.
I have tried to change some machine and i have tried some old flash file but still the same!
How can solve it without upload all file everytime into some web server and without install some local web server?
Thanks in advance to everybody for any tips and sorry for my bad english!
John
|