Actionscript 3 :: Using UDP Networking In Browsers?
Nov 19, 2011
I searched a lot about using UDP in network games and find out that flash does not support UDP connection in browsers and I wonder, are there any solution to this? to make real time game in flash. I checked sirius framework and made a little project on it, but it is not fast enough
I inherited a flash website about a year ago.. not sure what version it was originally done in. I've made changes on the model last year using CS3 Flash Action script 2, but don't remember the flash version when published. The audio in question is the music that plays in the background when you get on the website:
[URL]
When I changed the image of the model this last week using CS4, I published it as Flash8 actionscript 2... now, the music plays on Mac Safari and Mac Firefox, but not on the Windows versions of IE or Firefox..
this is the code called sound control
onClipEvent(load) { _root.soundstatus="on"; _root.mySound = new Sound(_level0);
[Code]....
then there's the stop() that's used when the music is toggled off..
I've tried updating the flash player in Windows to the latest release, and I even tried republishing as flash 10, just not sure where to troubleshoot this..
I'm wondering if it's possible to have a server-client networking, based on a UDP or other fast protocol, suitable for fast paced multiplayer game?Server side code doesn't have to be written in actionscript, but it would be good that I don't go out of flash borders. The most important is that client must not install any plugins or other stuff, except flash player itself and client code must work in a browser, so no desktop apps like adobe AIR.
I am interested in making a RIA in Flex that will communicate with my server. The application will be downloading and uploading very often. It will need to be able to download hundreds of images over the course of its runtime. However, I have read that Flash does not support threading. Would this be a major problem if I want the UI to run smoothly while the application downloads and uploads in the background?
Is it possible to use Flash (or a Flash compatible service) to allow players in a game to host their own games (using their own bandwidth), through a web browser? In a way, to run their own game servers (for a Flash in-browser game) from their computer, but through a web browser using Flash?
You know how you always see Twitter and Facebook buttons on peoples websites? If they click a button, it spits out a link which will appear in their FB or Twitter messages. Wondering if anything like this is possible in flash?
I want to make an auto-play for some flash-based web-game, but I don't know how to capture and monitor the request from the flash client to the server.
I have a relatively simple localConnection between three swfs: one swf is an image gallery; another swf controls the playback of the image gallery; and the third displays xml-driven captions from the image gallery.Everything works flawlessly in a PC environment, on all browsers, using AS 2, flash player 9. But when I test in a mac environment, the captions will display on load, but it will no longer show if you refresh the page; only a cache clear and refresh will bring it back, but the same issue will happen again. The navigation doesn't work at all, ever (though the swf is loaded and visible).
My SWF works well in all three browsers when tested on my local system: Firefox, IE and Safari.However,when tested from the server FireFox and Safari both do not complete a portion of the SWF motion.I have a number of dots that move in from different directions then line up followed by moving text and objects. in both Firefox and Safari the dots only begin to move then the SWF move on to display the other objects correctly.Am I looking at a timing issue or a loading issue?The site is [url].... view the top banner.
I have a flash container that calls other swf files and loads them and plays them one after the other.I upload/overwrite those files each month as new promos happen.the file names stay the same as they are defined in the container file.Im trying to find a way to add some kind of variable into the action script so it finds the file and adds the date in as well. This way when the browser looks at the files it will see new dates and then load the new file from the server as opposed to the local cache.Is there an elegant way to do this?Im using CS5, but it looks like the action scrip was written in an older version.[code]
Any word on the development of Flash for 64 bit browsers? Last I saw from Adobe was a note posted over a year ago saying they were working on it. 64 bit browsers are really common now.
We have currently created an animation and have it deployed and running from the server. We have it set to preload a portion of the animation before beginning to play. Our issue is that it plays perfectly in Firefox, however in Internet Explorer (both 7 and 8) the audio comes out of synch with the animation. I am viewing in on the same computer and same network on each browser and continue to have this problem. How this can be fixed in Internet Explorer?
Flash 10.0.45.2 bug with web browsers Internet Explorer and Fire fox Mozilla. I noticed this bug recently on youtube and facebook while I was trying to watch some videos the video was not playing I had to restart my computer again to fix the issue. This is a temporary problem which could be resorted by giving a restart.But I thought of bringing this bug to notice. I agree with Steve Jobs and the Apple people that adobe flash really hangs the pc and its buggy at times
I'm developing a rpg game project now, and I found a very strange thing My swf act in different way in different browsers. My swf doesn't working properly in mozilla firefox. In google chrome, and IE works just fine. How is that so? what could be reason for that? I used external xml file stored on my server so mayby browsers handle xml in differen way? But I'm sure xml i loaded into swf in every browser. Here's link for my game:
I have one problem with my swf file, I have created an swf for calculating speed. In the time of 12Sec. one person can move some distance with some x speed, an another person can move same distance with 2x speed, but finnaly two persons will reach the distance in same time that is 12Sec. I have created one timer for this, will show the time.If I run the swf the timer is working fine, I embeded this swf into html and I checked that html file using IE it is working fine, but if I check it in FF or Chrome the timer is running bit slow and it is effecting my functionality.
I have been using CS3, and publishing v8 AS2 files using swfobject for years with no dramas. I am certainly no expert, but have created at least 10 sites this way.My personal site for some bizarre reason has stopped working in all browsers (and I am sure the file hasn't changed). My SWF works in Flash Player perfectly but comes up blank in any browser... yet other SWFs work fine.
[URL]
I have tried republishing, reloading site, different hosts, recreating the file... I am absolutely stumped! :-) I just cannot get it to work.
I was wondering, because of my recent liking of AS3 and active flash content:
Just how compatible are flash files in web browsers?
Will they run in every browser? (obviously not, but which ones don't they run in / which ones do they have trouble running in?)
Why, in Internet Explorer does it always give me a hard time about running active content with its security warnings? (is there a way to get around this / allow the content to play normally without hassle? e.g When I got to Sony.com Internet Explorer does not complain about running that active content.)
Is there anything else you know about the compatibility that you would like to share?
My main swf calls in an audio player that I wrote as a separate swf. There's a seek function inside the audio player that skips to any given track in audio player's list, after receiving 2 arguments: artist name and song name. That's semi-irrelevant... but just to keep you updated.
In the parent swf, there's a list of songs, and when clicked, each song will pass those 2 arguments to the audio player swf's seek function. The problem is simple enough to explain:
In the Flash test, it works fine. In IE it works fine. In firefox, I click the song button, and nothing happens. The audio player still works fine, but I can't seek to other songs from the parent swf.
Not sure if there's a fix for this or not. I've had this happen to me on the last two sites I've built. I embed the flash movie into my site in Dreamweaver, and everything works perfectly in Safari. When I view the site in Firefox however, the flash movie loads a few pixels off (see pics). Anyone have a fix for this?I've tried setting the vertical align of the movie to "bottom," and I've also tried dragging all of the cells tight in the site. I've even tried rebuilding the site all together. As soon as I bring in the flash, the cells get off in FirefoxSite in Safari:
I have looked around for this and haven't found a way that clearly explains how to do this. More often than not the button will close the browser window in one but not another browser.Is the a simple way of closing a browser window in all types of browser ( Or mainly Firefox, IE and safari on both Mac and PC ) with actionscript?
I have a flash interactive (Flash Player 9) with a shadowbox (lightbox clone) display wrapper. Interactive has fullscreen capabilities and is set to wmode:transparent.Works great in FireFox 3+ and IE7.IE6 and Firefox 2 however, instead of popping up in the 640X520 shadowbox diplay box, it opens up the actual .swf file (and fills the entire window).Anyone know what the likely culprit could be? Is the shadowbox wrapper, flash parameters, or fullscreen mode?I tested other shadowbox flash files in IE6 and Firefox2 without issues.
i am facing problem with internet explorer and google chrome, viewing my flash document. When i test my flash document on IE, it simply does not show my flash work at all. Instead this show up:
and on google chrome i have just click on screen for it to show otherwise nothing happens.
I'm trying to create a simple swf file containing an m4v file along with default player controls. I want to add this to a Web page. I've successfully generated such a file, and using the HTML generated by the publish option, I've gotten it to play on IE, FF, Chrome, and Opera under Windows 7. When I try to open the same Web page from the same location on my Mac, however, I see the player controls with an green animation that indicates loading. The movie itself never loads. I've tried this under Safari, Chrome, and Firefox on Mac, all with the same result. I've also had friends try this on other Macs, with the same result. Is there some difference in how Windows and OS X deal with SWF files that I need to account for?
What languages/techniques are used for letting the web browser interact with the desktop, e.g. dragging files to the web browser, dragging files from web browser to desktop, and maybe more features that I'm not aware of.
I have a Flex 4 application which connects to ASP.NET webservice based on FluorineFx. It is authenticated by cookies via RemoteObject.setCreadentials()
Both applications connect to FMS server and talks to each other via RTMFP direct connection (P2P).
I want to debug both instances of this application in Firefox and Internet Explorer at one time by single click (F11).
Now I can debug only in one browser by running Debug in Flash Builder 4. I have created double browser runner with bat file registered as default browser in Preferences > General > Web browser that looks like this: