ActionScript 2.0 :: Check When File Is On A Server / Not?
Jun 6, 2007Whats the best way to check if a file is on a server (the same one that the flash file is on). I need to call whatever the function maybe before using LoadMovie.
View 4 RepliesWhats the best way to check if a file is on a server (the same one that the flash file is on). I need to call whatever the function maybe before using LoadMovie.
View 4 RepliesI installed said program but whenever I add users, it says they were added successfully and exist in CMD.However when I check the users.dat file it is empty. When I try Live Encoder it says the user does not exist.
View 10 RepliesI'd like to have Flex trigger the browser to download a PDF file from a server, but if anything goes wrong with the script that generates the file I want to be able to throw a meaningful error from Flex. Is it at all possible to try to open the URL in Flex first and check the response's HTTP status or Content-Type, then if it's a PDF file and not an error pass it up to the browser to display the "Save File..." dialog?
View 1 RepliesI'm using Flash CS5 on Windows 7. I was working on a file and went to save (CTRL+S) and the Save dialog locked up and Windows gave me an error that said "Flash has stopped working. Close Program" So I did and restarted Flash. When I tried to open the file I was working on, Flash said "Unexpected File Format" The file size of the SWF is right, it's not 0kb or anything. This is about 3 weeks worth of work on here. I'm checking the backup tape for our company server, but that will still set me back about half a day (which is better than nothing I suppose)
View 3 Repliesi am currently playing around with a flash media server trial in combination with the flowplayer.All in all i am testing the performance and general functionality for the company i work for.Anyways, i am trying to search a way to check the bandwidth of a client ( server sided ) and redirecting him to the right video stream.Sure this could be done by the backend flash application, but its out intention to perform this check server sided.
View 4 RepliesI have a silly question, how do you verify if your install of FMIS needs updating or security patches?I currently have FMIS ver 3.5.3 r824a.How the heck do you even verify if Adobe has a higher version? FMIS page just says FMIS 3.5
Sheesh, can Adobe make anything straight-forward?IT dept where I work says one of their security scans implied - that the FMIS install on one of our servers needs updates, what updates, who knows...
Apply the security patch found here:http:[url]............For more information see the followingresource:CVE: 2009-1365
View 1 RepliesIs there any way to check which version of flash media server is installed on my computer?
View 5 RepliesIs there a way to check file name case when loading a file? For example:
My URLRequest has this: "filename1.swf", but the actual file on the server is this FILENAME1.swf. Since the file names do not match case, is there a way i can have flash and AS3 catch this?
how can I find that on server side which user is watching a stream
View 2 Replieswe are using RTMP with Flowplayer with dynamic bitrate switching and I'm a bit confused on the bitrate (kbps) that is called out in the code in order to configure the bandwidth check. I presume that this is the target bitrate if encoding using ABR or constant. How about for the rest of us that are using CRF? My understanding is that CRF is the way to go now for H264 (don't want to hijack the thread to a CRF vs ABR discussion). If we are using CRF, can we guess on the target bitrate that is called out in the bwcheck plugin?
View 1 RepliesI want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not. for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista)
View 2 Replieshow to check that user has allowed or denied webcam access in privacy settings dialog box to the site?
View 4 RepliesDoes anyone know if Flash Media Server has a function that allows you to see statistics on which particular streams are being delivered?Seems like that would be a handy tool in determining which bitrates are important to continue providing, and which are superfluous, and if it's time to try encoding at higher bit rates.
View 2 RepliesI use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?
View 1 RepliesDoes anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :
function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );
[code]........
I'm doing a test install before we update our old server to 4.03.I've got the server software installed and configured (4.03 server, using iis for web).All the test stuff on the sample index page works, except for the dynamic stream tab.I've eyeballed the .f4m file, and tried putting in a complete url to the samples...but no luck.i just keep getting the stock connection timed out message.
Where do i need to look to start confiriming where this issue may be coming from?I've made made sure I can reach all the test videos by making flash players for them, calling them via rtmp... no problems.It's got to be something dumb with either the f4m file, or the way it's being served (btw, i have added all the mime types to iis , including .f4m as video/mp4....which is one of two ways I've seen it added).
I am working with Flash 8 and am wondering if there is some script to add that would have the .fla check the external XML file every few seconds for updates?
View 1 Repliesi have used the following code to upload file which works in php4 server but dont work inphp 5 server.The flash code is as follows:
import flash.net.FileReference;
import gs.TransformManager;
//Allow this domain[code]....
i am uploading the php file.
Im picking up a dedicated server it will be CentOS and be well above the minimum req for FMS 3.5 Interactive.
Question: I want to use my dedicated server for more then just the FMS. Is this possible? Basically I want to use the same server for FMS and for the file hosting of my site. Obviously I would give it a different IP but am not sure what I will need to do specifically
I want to know if there is a way to know if a swf file is already loaded, in order to change the behavior of the preloader
View 2 Repliesonce a video file has been encoded into an flv is there a way to confirm the compression settings? Say if I wanted to double check that I had the right setting or duplicate setting of a flv I encoded earlier, is there a way to access this info?Like QT you can choose Movie Inspector.In QT I opened a flv file that was encoded with a Max data rate: 50kbps (I know, I know very low but it's the setting I was given). I then selected Movie Inspector thinking it could do the trick but it listed the data rate as 359.68 kbits/s.is if I encoded at a Max data rate: 50kbps how is 359.68 listed as it's data rate in QT?
View 3 RepliesWe have a FLASH website that uses PHP to authenticate users.
We have recently been asked to implement TWO variables as we used to only have one.[code]...
I installed on my system Adobe flash cs3. but when i opened my Fla file that time getting the following error.So how to check the Fla file version?
View 2 RepliesI have a flash file that sends some request to php file every 5 minutes. How can I check if the request from flash file has been sent from my website or from other place. I want to be shure that someone is not sending requests from other locations. It is very important for security reasons. Will the following PHP code work?
if(isset($_SERVER['HTTP_X_FORWARDED_FOR']))
{
$user_ip=$_SERVER['HTTP_X_FORWARDED_FOR'];
[code]......
I am using flash cs5 and developing for iOS. I am using the application storage directory as well. But, in my code, a file in the storage directory is trying to be read before it is created, and therefore results in errorst?
View 1 RepliesBefore i overwirte the file i need to check whether the file is open already.If it is open i need to show the alert message colse it in action script.
View 0 RepliesDoes anybody know how I can check if an external file exists?[code]...
View 3 RepliesIs there a way to check if a file path exists within a local directory.[code]...
View 5 RepliesIs the onLoad function the only way to find out if a file exist or not. As for now. I'm looping through a xml file. if image exist i add the filepath to an array if not, i ignore it. But if i check the filepath with onLoad. All the images in the xml file are loaded. I dont want to load the files yet.
var fileFound:Boolean = new Boolean();
var fileExists = new LoadVars();
fileExists.onLoad = function (success)
[code]......