ActionScript 2.0 :: Access Xml And Images Files Outside Of Webroot?
Sep 16, 2008
I've written a content management system that writes(creates) xml files and uploads images to a directory outside of the webroot. I need to load these xml files into a flash application that resides within the webroot. The xml files contain tags that point to images that are used by the flash application.Having tested this successfully locally, I am using this directory structure:
I am running Media Server 3.5.2. The server is still non production. I copy video files to webroot/vod/video.flv. From the client workstation I attempt to access [URL] and get nothing. It was my understanding video's copied here could be viewed as such.
getting started with the FMS Interactive 4.5 In the documentation it says to turn off proxying to apache on port 8134 and use port 80 in order for http dynamic and http live streaming to work properly. Since I changed Apache conf to use port 80 I assume my video root will be under webroot/vod, webroot/dvrcast_origin, etc, right?I don't see the dvrcast_origin or livepkgr folders under the webroot though. Do I just need to copy them under webroot for it work properly?
Is it possible to play a media file which is outside the webroot using the Jquery Media Plugin. The server that we are on is windows based. The file path for example is:
I have created a flash file that allows you to click on a thumbnail image and larger image appears ontop of a tshirt. The same way as a gallery would work. The images and thumbnails are pulled in through xml. However I have a problem, I need the images that appear on the tshirts to be .png files or gif files as the tshirt colour can be changed. At the moment my flash file will only display jpegs! I dont knwo why. The jpegs leave me with a white background, so I need the transparency of a png/gif. My actionscript is:
My flash movie loads config.xml from the file system. Inside config.xml are urls and the base url to other xml files that I wish to load in to the flash movie.
These urls in config.xml are requested by the flash movie providing my flash movie with data. Again these are .xml files how ever they are being accessed using the network. EG " http domain dot com slash data dot xml"(i cant post links yet)
I know that I cant access both network and local files in the same movie so my question is this. What is the best way to pass in the base url dynamically to the flash movie so i can cut out config.xml?
I have installed FMS and we are evalauating it as a streaming server.If I understand the documentation correctly, all the media files for streaming need to be stored in this directory:
/..../applications/vod/media
However, if I want the file to be available (downloadable) over http, it needs to be located under webroot. ..../webroot/
why can't I just create a symbolic link in .../webroot/media to point at .../ applications/ vod/media.In general, we'd like to make every file streamable and downloadable.My thinking is, the sym link allow us to not have to upload every file to two places.
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?
I have a .flv file that has several images in it. However, I do not have the original images. There is an image in the .flv file that is a transparent image. How am I able to copy and paste it or do whatever I can to transfer it to photoshop so that I can save it as a transparent image?
It appears there is no way to do this. It looks like I must have the original images in a .flv.
I have my main file (Main.mxml), and I have a main AS file (main.as). main.as is included by Main.mxml via <fx:Script source="main.as"/>. In main.as, I want to change the currentState of Main.mxml. How would I go about doing this?
I am looking for a way to access contents from LMS within a Web Server by a AS3 based AIR App. I have e-learning courses setup up already in my LMS. People usually access these courses through their web browser, now I would like to create a AIR desktop App by using AS3 to access those courses in the LMS. What steps should I do in my AS3? Those course made by Flash. Is that possible that the completed AIR App can show up those courses through the AIR App instead of through web browser?
Been tearing my hair on this problem for a couple of days.I'm trying to access a PHP file on the server to get access to a SQL database but for some reason I don't seem to get contact.[code]...
I'm developing a web project and it need access client's web cam and capture images then store them on the server. And i found silverlight 4 can do this,,but the problem is my project runs on the .net 3.5 server machine (i can't change it) , so i cant use silverlight 4. Any one has idea about how to do this in asp.net? (It's ok with me flash plugings or anything)
I just don't know how to access this type of xml code.And I can't change it to something else because I have a component that reads only this type of code.
I have a flash player which play mp3 files from xml. at now mp3 files are downloadable with software like internet download manager. if i move mp3 files to out of www and change xml location attribute to '../mp3filename.mp3' player can not play mp3. my question are
1) flash file can access files out of root folder
2) what is best way to protect files from download?
The reason Ordinarily I would just host everything on the server, the swf file and images and serve them out using something like apache. However, we're working with an embedded device with hardware limitations. So we thought we could avoid this by hosting the images locally on a cd.But Flash player moans about the security settings. I know a way to overcome this would be to give the user instructions to change the global security settings- hence allowing both network and local access. But we feel that this would be too much to expect the end user to do.We want our model to work out of the box so to speak. Or as best as possible.
without explaining why, I need to run a flash slideshow from a live web page and it is for a photo exibition: The problem is that the slideshow, while running on a love site, must read the image files from the local computer that it is browsed from. If the computer is always the same and the files are in the same directory when it was developed, how would I tell flash that the files are not on the server, but on the local computer?
I have a number of actionscript 3.0 external script files in my game. They all contain functions that do various stuff like "load level buttons" and "go to selected level". I have a different external script file for each function. How do I link to those files and run the functions inside them.
Is it possible to access both network and local files, flash player 9/10?
Here is the situation:
I have an SWF which runs locally on the client's machine.
It communicates, via XML socket, to a C++ server.
It also needs to read some configuration files from the local file system...
c:config.xml <---> test.swf <---> C++ server
So I need the SWF to be fully trusted, as if it was ran from the Flash IDE.But I can't tell my clients to set it to be fully trusted using Adobe's Global Security Settings Panel
What I can do is alter my C++ server code, somehow granting permissions to the SWF.
I've got a job for a client that includes creating a flash movie that will contain a number of thumbnails that represents links to avi movies, powerpoint presentation etc. The thumbnails need to be updated and added to on a regular basis. Is it best to call the thumbnails from an xml doc so the client can update easily?In the flash movie the thumbnails will be presented as a horizontal slideshow that needs to scroll horizintally on mouseover, and the thumbnails will also display a caption on mouseover. Is this all possible if the images are coming from an external source such as an XML doc.
There is a web game that I play and I used fiddler to see what temporary files it downloaded. While I was playing I deleted all those temporary files including the sounds and flash files. But it didn't affect the game at all. Why is that? I checked in fiddler and it doesn't look like the files were redownloaded.
Just put our new site live, and having trouble with one of the swf files playing. Using the colorbox jquery plugin throughout the site and this works fine. However a movie on [URL] (qcf engine movie) gives out a repeated javascript 'Access is denied' error everytime you close the colorbox?? Perhaps because the swf file is hosted on amazon s3, although other movies are playing fine from S3, Example: [URL] And the error: [URL]
How do I get round the following error: Access of undefined property pMatrixBack . How do I access this component from within the ascript file?[code]...