Flash :: Php Communication - Multiplayer - Local Works - Another Computer Does Not
Dec 19, 2011
I made swf file that sends id to php, than php collects info from mysql by this id, and returns result, than flash does his work with that result. The problem is here, I will try to explain it as clearly as I can: everything works fine when I do that on the computer that has all the source files and of course xampp running.
[Code]...
View 1 Replies
Similar Posts:
Jun 25, 2006
I have pretty good basic "action script" skills for developing flash files and movies, but I don't know how to do dynamic things with asp, aspx, etc. I have a local application that runs form my computer and is not connected to the internet. The application keeps track of button clicks on each buttton as separate variables. Here is my question ... each time the flash movie runs and buttons are clicked, I want to record the clicks on each button (which exist in the application at runtime) and save them to something like an excel spreadsheeet or access database. Any easy way to do this without getting into server-side stuff?
View 3 Replies
Apr 15, 2012
I am currently thinking about the best multi-platform language to build a multiplayer app with, and I was just wondering if anyone knows if AIR supports multiplayer locally between devices i.e over a LAN or bluetooth? Would I need to run some aspects of the game via a server?
Not to give too much away (of the game idea) but it would be similar to a "Simon" type game, with the only info being passed to each device either a score/amount of moves to beat or other simple piece of data.
View 2 Replies
Oct 28, 2010
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, copy the code and insert on the bottom site, and no video. Just the skin appears when you roll over the code. [URL]
I have everything in the same folder, I have added the mime types on the server, and it still don't work.
View 1 Replies
May 1, 2011
I am having trouble seeing my flash video on the server. I just see it in my local computer. I save everything and then preview it, upload the file to server, but it just don't show at my website.
View 5 Replies
May 12, 2011
I have a socket server listening on 2 ports, 1 port for the socket server and 1 port for the policy server. My code is below, in this scenario, data is sent and received perfectly fine. however, for example if I add a button with a simple:
socket.writeUTFBytes("Message");
socket.flush();
after the initial connection, it doesn't seem to send any data to my server (I have my server printing all data transmissions to the console for checking) Initial connections work fine, as seen below:
[Code]...
View 1 Replies
Jun 30, 2009
The user loads the page HTMl file .swf. By clicking on button_mc the user can select from your computer (local disk) image file to upload not on the server and temporarily - to flash - the file.
[code]....
Below given code works only if the image file .swf are in the same directory (folder).I know the file name, but I can not find the full local path to his computer to the selected file.
[code]....
How do I get my site you can download at home in my swf file to a photo to her dalsche work?
[code]....
View 1 Replies
Nov 25, 2010
I need to save images from flash via asp (windows server) to local computer, how to do this?
View 4 Replies
Dec 14, 2010
I'm using external actionscript files located in the root of my webfolder, but I also want to communicate with another website.
How should I set my Local playback in publish settings? Access Local Only? or Access Network Only?
View 1 Replies
Mar 23, 2010
flash works on local machine but not server?
View 1 Replies
May 5, 2009
I have followed the tutorial here by obiAdmin (raymond) [URL] on how to connect flash to a php socketserver. The problem is in the development environment it works like a charm but when I put the swf on my local server (wamp) it fails to connect to the socketserver.
View 1 Replies
Feb 22, 2009
I am currently building an animated intro page for a website and have built a preloader for it following the Preloading in ActionScript3 tutorial. When I test my movie and simulate the download, all works perfectly. However after uploading it onto the the web to test it out, I encountered a problem. The page just remains static, with the percentage stuck on 100 and the main content swf doesn't load. Here is a link to this page causing me grief, [URL]
View 11 Replies
Nov 21, 2010
I created a flash movie and published it to get the html file and the swf. The html file works fine on my local computer that I created it on but I went to email the html file with the swf file, the links within the movie are not working?
View 7 Replies
Mar 6, 2012
I have some software developed where I have setup good communcation between some VB software and flash software. Communication is done locally via socket connection. I was hoping I could do the same except with two swfs. Who acts as the host? do I need a host?
[Code]....
View 1 Replies
Feb 22, 2010
I am creating a local connection to play an as2 movie, which works.... the first timehah.Observe the link below:http://isokon.net/clientPost/scripts/AVM2_to_AVM1.swf(test the above file by playing the banner, then killing it, then loading a new one and attempting the play method again...)I've tried closing the connection before reusing it, but it says the connection is not open... traces a successful send each time.here is the link to the abstracted FLA: http://isokon.net/clientPost/scripts/AVMCommBug.zip
HTML Code:
var bannerContainer : Sprite = new Sprite();
var connectID : LocalConnection;
[code].....
View 1 Replies
Jan 16, 2007
I'm having a problem with flash/javascript/iframes. I have a flash banner that is positioned at a fixed position on the bottom of the screen. When I press a button on the banner, the page (which is an iframe) should change.
I got it to work using javascript. But it only works on the Internet. On my local computer it doesn't work. No error, nothing. it is a task for school (for my exams) so it should work only locally.
Check out: [URL] and click on "Vanille", the page should change.
My codes:
Actionscript:
Code:
mc_vanille_over.onRelease = function(){
getURL("javascript:test();")
}
[Code].....
View 4 Replies
Jan 17, 2012
I currently creating a standalone language learning application using Flash Professional 8. The application allow users to record and playback their own pronunciation, so that they can compare their own pronunciation with the pronunciation provided in the application for learning. how can I save and playback recorded voice on local computer
View 2 Replies
Feb 13, 2007
I'm using LoadVars to retrieve some data from a table using php. When I use the app from within my Flash environment I am able to retrieve the info, but once I post the swf to the website nothing happens. I"m posting to the same remote page. I don't think LoadVars is even firing since the trace in my else clause is not firing.
var reserved = new LoadVars();
reserved.load("
http://www.thefatblackpussycat.com/reservations/getReservedTables.php" );
reserved.onLoad = function(success)
[code]....
View 2 Replies
Feb 7, 2009
how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limit.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
View 2 Replies
Apr 8, 2009
For example if I have 5 pdf files in a folder on the computer and then want to show these files in a swf file and if I then click on the pdf file open up the specific file. and if I remove or add a pdf file it will affect the list (its okay if its only updates the list when reloading the swf file)
View 1 Replies
Feb 7, 2009
I'd like to know how to allow the user to upload some image of his/her choice from his/her local computer, plus adding some control on size and dimension limits, and to check that the file to be uploaded is actually a JPG/PNG/GIF and not another else.
I've seen this performed for instance in webs where they sell sunglasses. The movie allows you to upload your own picture of yourself so that you can virtually try them on.
View 6 Replies
Apr 6, 2012
When I run the flash player (from flashdevelop) the images are loaded and everything is fine.But when I run the swf from a browser the requests are sent (using chrome's tools for programers - network tab) but nothing is loaded. The size/content column shows 0/actual size of the file
View 1 Replies
Oct 21, 2009
My Flex app downloads a bunch of images. When the user closes the browser window (or navigates away from the page), those images shouldn't be saved in the local cache. HTTP headers for the SWF file tells browser to fetch it from the website every time -- that is, it shouldn't save the SWF file locally. I just want to make sure that any of the images that the Flex app downloads isn't saved locally.
I checked Windows XP & Flash 9 for this. And nothing was stored locally. I assume this is true across all platforms and all versions of Flash greater than 9?
View 1 Replies
Nov 14, 2011
I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?
View 1 Replies
Jul 7, 2009
I have a mp3 player that i purchased from a site. It works fine on my local drive but when uploaded to a server (and I've tried both Linux & Windows) doesn't work. It loads in setting & the mp3 file names from an XML file. I was able to verify that the XML data is in fact loading. The hitch seems to come when trying to create and load the XML data into an XML object.I added text field & changed the value of the text property at different points of the script to narrow down where the script gets stuck. The exact line of code that doesn't run from the server is:
Code:
var xml:XML = new XML(e.target.data);
I tried adding a crossdomain.xml file that allowed all domains but that didn't seem to help. Below is the code that loads the XML file & calls a function when loaded with the offending line of code.And my test site is here: SWF
Code:
public function MusicPlayer() {
//Security to load music
Security.allowDomain("*");[code]..............
View 1 Replies
Mar 10, 2004
I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading. what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal all of these things occur within one function.. bytesLoaded works fine both on local machine and from the server
View 2 Replies
Mar 10, 2004
I have made a preloader showing the progress of dynamically added images. The code works fine when i play the movie on local machine, but when i play the movie from the server bytesTotal is always 0. It even says 0 after the images has finished loading.what i'm doing is basically: createEmptyMovieClip() , i then use a movieClipLoader to load jpeg into that empty movieclip. the movieClipLoader has a listener attached and with the listener i use the function onLoadProgress() to display bytesLoaded and bytesTotal
View 2 Replies
Apr 9, 2009
I 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],,,
View 2 Replies
Sep 8, 2009
Been given the following actionscript
Code:
package menu
{
[code].....
View 1 Replies
Feb 28, 2011
I have a webcamera test .swf, html file plus .swfobject file. When I run it on my computer, the webcamera works correctly (i.e. I see my image flipped) however, when I upload it along with the .html and .swfobject file, I see my flash file (with graphics) but my webcamera video isn't showing up? I also am not seeing the "adobe flash player settings" prompt to enable my webcamera (I always see this prompt when testing it on my computer, however it's not showing up now that I uploaded the file) I can tell my camera is on because the light on my iSight is showing up, what gives?
View 1 Replies