ActionScript 3.0 :: Uploaded To The Server Get No Kind Of Response?
Feb 16, 2011
I have been staring at this code for quite a while but can't find what's wrong. When uploaded to the server I get no kind of response. I have a class gameEventDB that through a php reads data from a database.
I get no kind of response not even an error. the 'path' variable is sent from the main class and looks something like
I have a flash template that I bought and customized with dreamweaver, flash and Coda html editor, the website test PERFECTLY when I test the index.html file, all of the buttons work fine, I have a total of 12 .flv videos and they ALL play back fine, when I play the index.html file, the problem occurs when I upload the files to my godaddy server, 11 of the videos play fine, the whole site is fine, it is one particular .flv file that will not play once it is uploaded to the server. I have changed the orders the video play, renamed the file and changed the html flv path to reflect the name change, I have deleted all the files off my server, refreshed the server logged out and re logged on and uploaded everything again, I have re-encoded the original .mov file to a .flv file again using Adobe media encoder, still nothing, I am wondering why would the index.html play this particular .flv file fine, but once uploaded to the server it will not play, the path is correct I have checked it, if the path were the problem the index.html for that particular file would not play when I test the index.html file before I upload it, but it plays fine until it is uploaded, I am uploading the whole folder on the root, and this particular video file is in a folder with all the rest of the .flv files, I even tried changing the path and putting this particular .flv file in a seperate folder and change the path still nothing.
I have upgraded from FMS2 > Flash Media Interactive Server 3.5 I added both the seriel number for FMS3 and FMS2 during the installation process. When I logged onto the admin panel there was no licence listed, and a link saying "to upgrade to unlimited connections now, click here".
So, I checked the fms.ini and no seriel was there. I put the seriel number in and restarted the server through the FMSadmin tool. Still, no licence file was showing. I then added the licence file via the admin panel and got a dialogue saying "Seriel Key "blah" Sent To The Server for approval". The seriel key now appears with a valid status of false. And no further progress after that. The documentation states that when you add the seriel key in this manner it should recognise it immediately.
Can anyone suggest what I might have done wrong? I have trebble checked the seriel number, and copied and pasted it to make sure it is exactly right.
I made a server connection with AC3 and C, I need the client(AC3) to be able to send a 3 byte message to the server (C) and have the server return a resopnse. So far everything works except for the fact that the feedback isn't fast enough becuase AC3 just tests for data once and moves on instead of waiting like in C. I'm using a binary socket at the moment but I was wondering if there was any way to wait for new data before moving on
playing the fms demo video does not download it into a temporary file like youtube does, so I could click on the timeline at the previous part or at the part show that it is already downloaded, and it will play it right away. Instead of that it plays a real time straming.
The Signal is yuv or pcm stream , i use the fmle3.0 to encoding to the h.264 format. Once started.the CPU utility rate is going up to the 100%. I want to konw,which kind of the CPU can support the live stream. In other words,My require is encoding the one live stream the cpu utility rate is below 30%.
I have an asp page that loads a response " user=exists " everytime I try to update a database record (when of course the record already exists!) How can I handle this response with AS3 in Flash?
I'm making a multiplayer flash game where at a 'table' more than two players will be playing. Its turn based. Using zendAMF can the server response be made to wait till the player whose turn it is has made his move, so that it will appear to be real time?
I don't want to use polling since I read that it is not a very good practice. Instead can this method work? Lets say its player A's turn and the other players B,C,D are waiting. Their flash clients send a request to the server to get any updates. Instead of responding immediately can the server wait till player A has made his move and then send its response containing player A's move details to other players B,C,D?
Edit: Added image.Found the name of this method. Its called Long polling. So can Long polling be done with PHP webserver running apache and using a flash client which sends the requests?This is how the other players waiting players B,C,D are expected to be treated.
I am developing an application that takes a variety of bits of info and displays them in pods within a page.
One of the bits of info takes ONE row from a database table and tries (currently) to put it into a datagrid. Now, I know Flex wont allow that, so I have tried all kinds of things to fix it - using the xml directly, trying to get the info into labels casting as an array, using xmlistcollections... so much time on Google but now I am stuck. I'm not precious about getting the info into a datagrid - in fact I'd rather put it into labels or text boxes so I can presents it in a more flexible way.
Looking in the debugger, it seems like I don't even have the data in my variable - I do have it in the event so it is there, but I can't for the life of me get it out...This obviously works fine for multiple rows of data in the array - not the single row. i'm trying to get the info into a var called _SystemStatus.
Overview of Code:I have a mxml but with all the presentation stuff in. I also have two actionscript modules with code in (you may have guessed that I am new to this, so I have found most of this great code on the internet)
The AS bits are sql.as - this basically is a load of functions called by the mxml which contain the sql to send to the database mssql.as - this does all the magic of getting the data from the db, and taking it from the event.
Code below:
CompletionTimes.mxml (note - its got errors in where i have tried things)
Code: <?xml version="1.0" encoding="utf-8"?> <PodContentBase xmlns="dashboard.view.ActionScript.*" xmlns:mx="adobe web (removed so i can post!"
I made a flash website for a client and there is only ONE thing wrong with it. Everything works when I preview it in Adobe Flash Player. And I have it embedded in a Dreamweaver CS3 file, and when I preview it...it works. THEN when I upload it to the server, two of the INTERNAL links fail. I have two links that say "Behind the Camera" and "Contact". [URL] You can see when you click on either of the links, it just randomly skips ahead in the first scene. What I really want them to do is when you click Behind the Camera you go to Scene 2 and Contacts you go to Scene 3. I have coded everything correctly, because everything works when I preview it. But once I upload the .swf file to the server, those links fail.
I am trying to connect my flex app to a CFC I have which calls a method. It's to test a login control, and when i put the correct credentials in, it comes back with the error: "SOAP Response cannot be decoded. Raw response: ".
I have some asynchronous stuff going on in my Flash movie and would like to determine how much time elapses between two events -- e.g., a button click and the response from a socket server.
I am trying to connect to the Flash media servers from behind a customer's firewall.From behind this firewall the time taken for a response (its usually success) is around 20-25 seconds.The following is the code I am using to make the connection and listen to the events
var nc = new NetConnection(); nc.addEventListener(NetStatusEvent.NET_STATUS,netStatusHandler); var time1:String = (new Date()).toTimeString();[code]........
The delay between time1 and time2 is always 20-25 seconds. From other firewalls and non firewalled networks its usually 3-4 seconds.What could be the reason for this huge delay for a response in this case. I have noticed that the first response is always a "NetConnection. Connect.Success".We are looking to deploy around 20-30 media servers if we can get this thing to work and appreciate any prompt response in this regard.
I'm making a game that is tightly integrated into a rest service. I want to set variables based on what the server tells me the variable should be.
[Code]....
but then the parseUserRank() method can't directly return the value to userRank, so there would have to be an event dispatched when its available, then update then finally update the variable value....
Works like a charm when I preview it but when I upload to the server (tried 3 different ones) it just ignore the actionscripts all together no matter what I use.
What I have is a rotating banner system. I set it up to randomly start at a specific one. If I preview it locally or run in in my .html file locally (just using preview in dreamweaver) it works like a charm and starts at a random one. When I upload it it just starts at the first one like the actionscripts do not exist.
Have a website with 2 small pieces of flash - they play when I click PLAY in dreamweaver but won't play when I use preview or when I uploaded the actual site.There should be a spider going up and down a web beside the signpost and an image in the picture frame.
The code is: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I have a 1 frame main SWF. In the first frame I include codeAS2.as like so: #include "codeAS2.as" When I test the movie in Flash CS4, everything works fine, it loads all the data from the XML file menu.xml which is in the same folder. Using the Simulate Download function from Flash, it also runs fine, with not one error, everything loads. Now comes the headscratcher, once I upload it and run it, it does not work. The server is a Linux box and I work on a Mac. Everything I load externally is in the same folder as the SWF, so I have no absolute paths, all relative to the SWF. Can this be some sort of sandbox issue? [URL]
I am currently trying to create an application that allows a user to upload a photo into flash and then manipulate it. I am building it with AS3 and really cannot have the flash player any higher than 9 if possible.So far i have my upload script working using php from a basic html form. This uploads a jpeg to the 'images' folder on the server giving it a unique filename.Once the upload is successful the user is taken to '../upload.php' with the Flash swf on and tells them it has been successful and 'echo's' back "$newname" (variable for the new file name)How can i get this uploaded image on the server into my swf to display in an emptymovieclip with an instance of 'myObject' (currently a picture of a cat). What is the actionscript needed to call the file into my movie?Have come to a complete standstill on i have attached the fla file and also the upload.php file. The code on upload.php is also posted below
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I'm using flash to design a basic website.Within that website I want to place a .flv file. Everything works fine in preview mode and test movie mode.The problem comes when I puplish to the web.I'm just using flash to publish which puts all the files in a folder.IN previous attempts, once I load those files onto a server it does not play the .flv file.The .sfw skin will show up but the general .sfw file for the project doesn't seem to be finding the .flv file.And yes, I'm uploading the .flv file to the server.Is there something wrong with the html code that it can't find the .flv file?I can replicate this problem on my desktop by moving the .flv file out of it's project folder.Once I do that and then click the .html file the page will load but it won't find the video file.It's like it can only open that file if it's in the original project folder and the folder doesn't get moved.
I created a website a year ago using Macromedia Flash 8 and uploaded some flv files. (They were quick time movies and I converted it to flv) On my old computer I could view the files online perfectly. However since then we have gotten two new computers that came with Adobe Flash Player 10 and now every time I go to my websites I can't view my flv anymore. I click on the link and it won't pop up. Does this have anything to do with the fact I made the site with Flash 8? Because when I converted the files it said it was compatible with Flash Player 8 or later so I don't know why I can't view it now.
I have a bunch of loadMovie() scripts in my flash files and everything loads fine when I open the flash files from my folder.Once I preview them online on my test server, the loadMovie() scripts no longer work. Has anyone encountered this? Does my paths need to change in order to view the flash files online?Right now, I have everything realitive to the flash file so:My main file is test.swf. that loads in fine in the website.But test.swf loads in test2.swf which is contained in a flash folder so my loadMovie script itloadMovie("flash/test2.swf", 2)
I have a media player on my website. Visualizer of media player works when I test it on xampp localhost but it does not work when I upload it to my hosting. My website: [URL]
I need to do stream uploaded videos to only particular group. It should not be forwarded or back warded by viewers. It should be just like telecasting videos in Television.For example, I just uploaded a video (30 mints length). I shared the video to my friends at 5.00 PM and My friend shared the same video to his friends at 5.15 PM. So It should be like playing uploaded video from 5.00PM to 5.30 PM and the same video from 5.15PM to 5.45PM to my friend's friends. It should be like playing(telecasting) one video to many people at different times and Viewers cant forward or backward. Just watch it only once.
I am building a flash intro page, but when I publish the file on my computer and even run for errors, everything works and comes clean... But when I load it onto the server, the ENTER button, no longer works...
If someone could check the actionscript for the button... I checked and double checked my code, and it seems to be right
I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?Does anybody know how to resolve this problem
Are flash applications processed on my computer or the websites server? Would a photo uploaded to flash be faster if processed on my computer or the websites server? Oh Yeah, I'm in sales explain with details.
Im in my first year studying a web design course, over the summer I have decided to attempt making my sisters website. I have used an XML gallery in the website and all works well when viewing the website just in flash, .fla or the .swf file. My problem is, when i come to put it into dreamweaver ready to upload and I preview it in Firefox, or any other broswer, all the pages work but no the XML gallery? Im gettin very stressed out now as all my file routesetc are correct?I have googled the problem and all I have found out is that it could be something to do with security?