Flash :: Why Do URLReqeusts Not Load Files When Move Them To A Web Server

Jan 11, 2012

When developing a flash project on my machine I can use something like:

var request:URLRequest = new URLRequest("images.xml");
var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, handleResult);

[Code]....

As long as the images.xml file is located in the same directory as the .fla then it works fine. However once I move the .swf, .xml and my images to the web it all goes down the drain. The .swf can no longer find the .xml file and I know why. Using FlashBug I can read the error in the console.

IOError: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.mydomain.com/images.xml"]

And there's the problem when I move my .swf to my web server the URLRequest adds my domain to the request. Since the file was just located in the same directory on my machine it didn't cause an issue to just say "images.xml" but now in order to make it work I have to change it to [URL]

I want to know if there is a way to force the .swf to just continue to look in the directory it is in for the files it needs. I think having to spell it out is counter-intuitive because then I can't just move the files without having to re-write my AS3 code.

View 1 Replies


Similar Posts:


Media Server :: Flash Media Server Taking Forever To Load Large Files

Jan 12, 2011

We purchased FMIS and we are encoding large 15+ hour MP4 recordings using flash media encoder. When opening these large files for playback, which have not been opened recently  the player displays the loading indicator for up to 4 minutes! Once it has apparently been cached on the server it opens immediately from any browser even after clearing local browser cache. So a few questions for the experts

1. Why is it taking so long to load the file. Is it because the MP4 metadata is in the wrong format and the file is so huge? I read somewhere that Media Encoder records with incorrect MP4 metadata is that still the case?
 
2. Once its cached on the server, exactly how much of it is cached. Some of these files are larger than 500mb.

3. What fms settings do you suggest I change. FMIS is running on windows server R2 64 bit, but FMIS itself is 32 bit. We have not upgraded to the 64 bit version. We have 8GB of ram. Is it OK to set FMS cache to 3GB. And would that only have enough room for 3-4 large files, because we have hundreds of them.

View 1 Replies

Load Files To A Flash Site Dynamically From A Remote Server?

May 18, 2009

how to load files to a Flash site Dynamically from a remote server. The first part was showing how to load a .txt file.
 
I have created a dynamic test field and give it an instance name of myTextArea. Then I uploaded the .txt file to my server in a testing folder. At the beginning of the paragraph in the .txt file I put homeText= Then going back to Flash CS3 I made an Action Script layer and entered the following code there;
 
[Code]....
 
But when I go to test the movie I get a "undefined" error (I guess it is an error) where the text should load in the dynamic text field.

View 7 Replies

Media Server :: Recording Video/audio Files Using Flash Media Server Through Rmtp, And Allow Users To Access The Recorded Files Through Http?

May 25, 2009

As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?What I am trying to do, is to record a user's microphone's input and save it to the server.fterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?

View 1 Replies

ActionScript 3.0 :: Load Files From The Server?

Sep 14, 2009

i have 2 computers which run a projector.exe and those exe play swfs, flv's, jpgi want to setup a server which will then the 2 computers i have will have to load the swfs, flvs, jpg from the server instead of having to load them at each computer.so the point is i only have to update the server so the 2 computers get updated instantly.

View 0 Replies

ActionScript 2.0 :: Load Files From Server?

Sep 14, 2009

i have 2 computers which run a projector.exe and those exe play swfs, flv's, jpg

i want to setup a server which will then the 2 computers i have will have to load the swfs, flvs, jpg from the server instead of having to load them at each computer.

so the point is i only have to update the server so the 2 computers get updated instantly.

View 0 Replies

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

Jul 8, 2009

can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?

View 2 Replies

Flash :: Load Video From The Server Load Documents PDF / DOC From Server

Jul 3, 2011

I want to build a software in Flash which can do below things Load Video from the server Load Documents PDF/DOC from Server

View 1 Replies

Media Server :: Flash Media Server 4.5 Log Files Filed X-sname And X-event Detials

Mar 23, 2012

I am using flash media server 4.5 for video streaming and genrate log files. In log file i have found the user publish point name in "x-sname" filed but this filed contains blank values in many events.This fileds contains value only in "PUBLISH,UN_PUBLISH,RECORD and PUBLISH_CONTONUE" event and other then these 4 events all events are not user related event.?I like to fetch the user bandwidth detials using these log files which user used how many bandwidth.I also like to know I can see serval files on flash log folder name "access.00.log,access001.log and admin.00.log,admin.001.log" Any one please explain what is the name convation for this filed how can i identifiy which files contains information for which date.?

View 1 Replies

Media Server :: Move To Windows Server 2008 With IIS 7?

Jul 5, 2010

Currently I have a music player that uses FMS on Windows 2003 Server/IIS 6 in a .Net app.I'm trying to move to Windows Server 2008 with IIS 7.  However, the player doesn't begin playing from my list when the asp.net page loads with the player.  However, if I run my code in debug mose in Visual Studio on the server, the player is functional. Which leads me to ask - can I use FMS in the fashion I want to?  If so, how can I set up my site?  I tried putting my app pool into classic mode, which didn't work.

View 1 Replies

Media Server :: Make In FMS Files(xml Files) In Order To Reduce The Latency

Sep 8, 2009

iam streaming my web cam to FMS .... i have got a latency of 1 -2 second,,,,,, What should i do to reduce the latency,,,,,, is ter any change i can make in FMS files(xml files) in order to reduce the latency......

View 6 Replies

Flash :: SWF Files Not Loading At Server

Aug 5, 2010

I just saw that some (only some) flash files (games) aren't loading in my website, but are in other servers. Most of the files do work. For example:(External) [URL] (My Server) [URL] It is the same file, but doesn't load at my server.

View 1 Replies

Upload Files To A Server With Flash Only?

Nov 2, 2011

Is it possible to upload files to a server, with flash only? I'm looking for a SWF file that's able to do this task.is it possible to upload a file with flash alone (no PHP or ASP)in case this is possible: is there a simple SWF-file to do this task which I could use?

View 1 Replies

Access Server-side Files In Flash?

Jun 5, 2010

I'm still a newbie at flash, but is it possible to have Flash get files from the server it is currently on, and then send those files somewhere?

View 1 Replies

ActionScript 2.0 :: Upload Files To Server Using Flash?

Oct 16, 2006

I am designing a site for a photographer friend, which has no ftp experience or anything. i would like to just have a page where she can upload her photos to the webserver herself.

View 2 Replies

Media Server :: User ID In Flash Media Server Log Files?

May 13, 2010

We may be using Flash Media Server in an intranet only scenario. All users will be watching the videos from Windows boxes. Our users who are creating the videos want to track usage by user ID. Does the server log the client's user ID? Is that what c-client-id is? If c-client-id is used to store Windows user name do I need to turn on AD/windows authentication to get that info? I see that IP address is stored, but it would be simpler if the user Id were in the log file.

View 1 Replies

ActionScript 3.0 :: Load Flv's Externally Into Flash And Then Move Them Around Like Drag / Drop Function?

Apr 1, 2011

Im just wondering is there a way I can load flv's externally into flash and then move them around like a drag and drop function?

View 4 Replies

Media Server :: Change Recorded Stream Files Permissions From Server Side?

Dec 20, 2010

I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.

View 2 Replies

Media Server :: Using Macromedia Flash 8 And Uploaded Some Flv Files?

Sep 3, 2009

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.

View 7 Replies

Media Server :: Flash 4.5 Log Files Filed X-duration Value Always 0?

Mar 27, 2012

When i read flash media stats log file then i found x-duration value 0 only in case for x-event unplublish this filed have a value.My question is x-duration filed value is the number of seconds the client has been connected. then why i am getting 0 in case of publish and publish-continue only get the value in case of unpublish.

View 1 Replies

Handbrake - M4V / MP4 Files With Flash Streaming Server Over RTMP

Oct 8, 2010

We are attempting to transcode some video to a format suitable for our Flash Streaming Server. In the past we have used Adobe Media Encoder (AME) CS4, but we are working with *.VOB files this time, and AME CS4 does not support them. We are attempting to use Handbrake now, as it has great support for h.264 and MP4 files. Unfortunately while the files play wonderfully on our local machines, they do not stream from the Flash streaming server over RTMP. The files come out of Handbrake with a *.m4v extension. Our old files out of AME CS4 are *.MP4's with h.264 and AAC audio. I can see no differences in video or audio codecs which leads me to believe it may be a container format problem. We are attempting to use Handbrake because it does an excellent job of batch encoding files and produces good quality files.

View 1 Replies

ActionScript 3.0 :: Make Files On Server Only Availble To Flash?

Oct 1, 2011

I have an AS3 mp3player that loads .mp3 files through URLLoader. I was hoping somebody had a suggestion to make these mp3 files secure, so that only flash would be able to access them and not through an HTTP browser request

View 0 Replies

Media Server :: Converting Files With Adobe Interactive Server?

Jul 20, 2009

I have Adobe Flash Media Server 3.01 installed on my server. I can record files via user's webcam and convert them to .flv with spesific compression sizes. But i want my users  my users to upload an .avi, .mpeg / .mpg, .mov etc file via an http form and after upload finishes i want fms to convert file to flv.
 
It can be done with the ffmpeg tool free but i wonder if interactive server has a feature like this.

View 1 Replies

Media Server :: Server Is Not Streaming Files With A Length Of 2 Minutes?

Aug 2, 2011

I have a problem on streaming my files with the FMS 4. There are several testfiles on my VOD-directory, most of them with a length about 2 minutes. Altough there are some with 12 minutes. So if i want to play all those files with the StrobeMediaPlayer, only the files with a 12 minutes length are working, on the others the player ist sayin "We are unable to connect to the content you´ve requested. We apologize for the inconveniece.".ind any option or notice where it says there is a minimum lenght to stream... so whats going wrong here?Additional Infos:FLV, MP4H.264 + AAC

View 1 Replies

Media Server :: Video Freezes When Overriding Flv Files On FMS Server

Aug 10, 2011

I have an flash application that captures a web cam video stream and stores it on the FMS server.I notice when I create a brand new video, and store it on my FMS server, it works fine.When I make another video and my application overrides the file with the new video, this is where I get problems.When I download the flv file from the FMS server, and I play it locally it plays fine, but the timeline is weird.The web player freezes the video during that first 15 seconds.A 30 second video, will have a time line of like 45 seconds, the local flv player is smart enough to skip over the paused part of the video.You will see it skip over the timeline to the good video (from 0sec to 15 secs). The web player freezes the video during that first 15 seconds.

View 10 Replies

Media Server :: Hosting Files On A Different Web Server And Playing?

Jul 22, 2009

Is it possible to host my /media/ directory on a different server (that has more space) and have FMS Link to it to player VOD ?

View 1 Replies

ActionScript 2.0 :: LoadVars To Read Variables From .txt Files On A Different Server With Flash?

Mar 13, 2006

use loadVars to read variables from .txt files on a different server with flash, do any of you know because I'm getting really annoyed?

View 14 Replies

IDE :: Upload/Download Files To Server Inside A Flash Page?

Mar 15, 2009

Some friends asked me to build them a site so their clients could use a private part of the site to upload and download files like in a FTP program (with user/password). I've searched the web, but only found a few uploaders that don't allow to also download and manage the files uploaded. I've noticed on my searches an extension called "yamzbrowser", but it is an old piece of software, and in a quick test I've found that it is not all browser compatible. In fact, I was not able to upload a simple file using the popular IE 7...

Is there any script, extension or toll that allow multiple users to upload / download, and manage (see, delete, rename) files inside a Flash page? Maybe a HTML solution that could be loaded inside a Flash page...

View 10 Replies

ActionScript 3.0 :: Load Pdf Files In Flash Using Xml?

Dec 25, 2009

is it possible to load a pdf to flash without extracting each page to swf. just like adobe reader flash player should read,

View 3 Replies

ActionScript 3.0 :: Streaming Video Flash Media Server, SMIL Files?

Sep 15, 2009

I have a video player working just fine with one video, steaming and using dynamic stream switching on a flash media server.Now I want to have more videos.I want to start using SMIL files for the dynamic switching list for each video.If you do not know what a SMIL file is you probably can not help.
 
Anyway how do I point to a SMIl file instead of just listing the streams.here is how I do my list at the moment
var dsi:DynamicStreamItem = new DynamicStreamItem();dsi.addStream( "mp4:GeneralReel_512x375_BR300_CBR_A96_Prog_1KFPS.f4v", 300 );dsi.addStream( "mp4:GeneralReel_512x375_BR600_CBR_A96_Prog_1KFPS.f4v", 600 );dsi.addStream(

[Code]...

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved