ActionScript 3.0 :: Flash Load Flv From Network Drive To Swf In Http
May 17, 2011
I have an swf wrapped with swfobject in html on a intranet: url...That swf tries to access a flv file on a network drive: \sub.mydomain.comd atamediamymovie.flvI get an NetStream.Play.StreamNotFound error when i try to load that flv file. The code works fine when accessing files on the same http domain and when locally on my hd.I've tried both with single and double backslash i the path so that it isnt broken.. cause I noticed that flash removes single backslahses.It actually seem as if I cant access any file on the netwrok drive. So therefore I cant load a policy file (crossdomain) from that netwrok as well.Ive added the network path to the Global Security settings panel, but that doesnt help.But it actually works in plugin version 10.1.. but not in 10.2 or 10.0.
I have an swf wrapped with swfobject in html on a intranet: [URL]. That swf tries to access a flv file on a network drive: \sub.mydomain.comdatamediamymovie.flv I get an NetStream.Play.StreamNotFound error when I try to load that flv file. The code works fine when accessing files on the same http domain and when locally on my hd.
I've tried both with single and double backslash I the path so that it isnt broken.. cause I noticed that flash removes single backslahses. It actually seem as if I cant access any file on the network drive. So therefore I cant load a policy file (crossdomain) from that netwrok as well. I've added the network path to the Global Security settings panel, but that doesnt work. But it actually works in plugin version 10.1.. but not in 10.2 or 10.0. How is that for weird. I think it has something to do with security sandbox when accessing file over networks.
We recently upgraded our network to Leopard and Flash to CS3,and since then, I can't publish to a network drive.The reason I need to do this is that we're on a network where all our project files are on the server, and we work directly from the server. With previous versions of Flash and the system, I was able to work on a Flash file on the server and publish or test to the same place. Now I need to copy my flash file to my local computer in order to publish or test.If I try, I get this error: "Error creating Flash movie file.Be sure the destination file is not locked or on a locked drive.Also, check that the file name is not too long." Neither of those are the case.
This isse occurs in flash player 10.2 but not in 10.1. Im sorry if my rusty english is making this hard to understand. I have an issue that causes my hair to turn grey. I think it has something to do with security sandbox when accessing file over networks share from http. I have an swf wrapped with swfobject in html on a intranet: [URL] That swf tries to access/stream/load a flv file on a network share unc path:[URL] I get an NetStream.Play.StreamNotFound error when i try to load that flv file. I catn even load an image from that share. The code works fine when accessing files on the same http domain and when locally on my hd.
I've tried both with single and double backslash i the path so that it isnt broken.. cause I noticed that flash removes single back slashes. It actually seem as if I cant access any file on the netwrok drive. So therefore I cant load a policy file (crossdomain) from that network as well. I've added the network path to the Global Security settings panel, I can provide you with more info if you want to.
I am creating an AIR application using flex3 and actionscript3. there, i need to display dir content of cd drive/usb drive entered by user. how can i get cd/dvd drive name by actionscript3
I've been fooling with this problem since AS2.0 (and shared Objects) and I'm not much closer to solving it, partly because every article I read on it is focused on php and server-side stuff that doesn't apply. How to load a String Array from a txt file in local user space (the folder from which the .swf is run). What I need to know: The easiest way for the user to save/load a file. The file has to contain Objects and Arrays reflecting his current status in the game. The goal is to avoid non-Flash apps and languages, and external Classes if possible (I do everything right in the main fla). I don't mind that the user has to initiate and approve the upload/download.
I need to set a value for the Referer header when making a request to my local proxy script from Flash. As recommended in this question: Facebook Proxy Loader Security, I need to check the HTTP_REFERER to test if traffic is coming from my own domain. The problem is that when using a loader like the code below, no Referer header is sent.
According to the Flash docs: [URL] there is only very limited support for HTTP headers in Flash Player, and Referer is prohibited. Is there anything I can do here other than have my proxy check that $_SERVER['HTTP_REFERER'] is empty? (and that seems like a fairly large hole in security right there)
I was looking into a readymade flash CS4 project. It's kind of slideshow for some photos. I wanted to modify the Action Script in order to use the pictures in my computer's hard drive.
The code that has been used there in that project is something like
var gal_uno_uno="http://infernotech.co.cc/meracup.jpg"; var gal_uno_unoth= "http://infernotech.co.cc/meracup.jpg"; var gal_uno_dos="http://farm2.static.flickr.com/1073/756274318_d3bc6b17c9.jpg"; var gal_uno_do= "http://farm2.static.flickr.com/1073/756274318_d3bc6b17c9_s.jpg"; var gal_uno="http://farm1.static.flickr.com/217/485076305_fb0eb729e9.jpg";
but, I don't want to specify the url of the images. Instead I want to pick up these images from my hard drive.
One application JEE / Flex 4 running on a tomcat, inside my Flex layer I have a iFrame passing a url to an ip of my internal network (http:url....) which is another application running within an industrial PLC.When access this app from within my internal network works fine, but when I try to access this iFrame to an external network in my home for example have a timeout error onhttp:[url].........
I believe this error occurs because the flex client is trying to run this url as I was in a internal network.Is there any way to run this url from an external network?
I am making rest calls with a urlload.load(urlRquest).
also urlRequest.method = URLRequestMethod.POST; urlRequest.contentType = "application/xml";
When I make the calls within the Flash IDE, I get HTTPStatusEvent.status = 400 (or whatever) when an error occurs. And the IOErrorEvent.data contains xml (or sometimes a string).
However, when I run the swf in a browser (Firefox Mac or PC), the HTTPStatusEvent.status = 0, and the IOErrorEvent.data is empty. (Interestingly in Safari Mac, I do get the 400 status, but still no data.)
its possible to load an image from a local drive and how is it done? Coz I've been trying to load an image by using this "file:///C|" but its not loading when I'm trying to access it in the network. Is there any way to load it locally?My goal is to run the swf in the network and load the images from the clients drive.
I was looking into a readymade flash CS4 project. It's kind of slideshow for some photos. I wanted to modify the Action Script in order to use the pictures in my computer's hard drive.
The code that has been used there in that project is something like
var gal_uno_uno="http://infernotech.co.cc/meracup.jpg"; var gal_uno_unoth= "http://infernotech.co.cc/meracup.jpg"; var gal_uno_dos="http://farm2.static.flickr.com/1073/756274318_d3bc6b17c9.jpg";
[Code]....
but, I don't want to specify the url of the images. Instead I want to pick up these images from my hard drive.
I am in the middle of building a kind of image editing application.Basically the user uploads their picture and then can draw on it, (sounds silly I know!).I was toying around with allowing them to just upload their file onto my server where it would be saved and then they could edit it through flash, but I don't want the responsibility of ****, child **** cyber bullying etc going on on my webspace!!
So I'm trying just "loadMovie" with the local path of a file, but it is not loading when I put the swf on the web! It all works fine locally but not on the web?Is there some security bypass I can write into my actionscript that will allow this?
I'm having with loading variables from a text file that is sitting on a Hard Drive rather than the server?
I would like each computer station to pull data from the server based on their individual Station IDs (which is defined in the text file on the hard drive).
The path to the text file is C:StationID.txt - I am having trouble with defining the PATH to the text file on the actual hard drive.
I try to load a file over the local network with Loader Class but I get the error "URL Not Found". I use a path like this "file://///myPCnetID/pubilcFolder/pictures/mypic.jpg" which refers to a folder on the same PC I compile and run the Air flash file.
When I copy the adress into the browser the jpg-file ist displayed corretly.
So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
I'm trying to load an xml file from via http into my flash 8 file. Locally it works fine but when on the server it fails. I assume this has to do the flash security sandbox. How do I get around this. I own the servers so is there some sort of fix that I upload to allow the swf to receive the data?
im trying to load some HTTP URL from a xml file into a actionscript function..Its xml gallery i was successfull in loading the pics the description but im stuck at the url....The XML file is structured this way....
<Node myURL="images/cow.jpg" myTitle="Cow" myDesc=" libero sed dapibus aliquet, quam risus luctus lacus, vitae tincidunt dui diam dictum mauris. Morbi tempor, Nunc eleifend sapien ut odio pharetra eu aliquet eros fermentum. Proin et nisi vel risus eleifend pulvinar. "myThumb="images/thumbs/cow_thumb.jpg" onlinelink="http://vaughntucker.com/exflowers/"offlinelink="projects/web.swf"/>
I need to place the on and offline links into a onclick button fuction in flash.so i imported the xml data it works fine for the title so i used the same code for the url
here it is... allOnlinelink.push(element .@onlinelink); allOfflinelink.push(element .@offlinelink); the next function pulls the url of the current index var currentWeb:String = allOnlinelink[currentIndex]; var currentCD:String = allOfflinelink[currentIndex];
The client-side application is a Flex application and communicate with server-side java application using blazeds.As you know,most browsers don't cache SWFs loaded over https,but i want load the swfs through http so that the client brower can cache them and communicate with the server-side over https ?
We have an Adobe Air application. Now we'll make DVD's an ship them to potential clients. How can I be certain that the client can open this .air file if they don't have adobe Air installed? Also I saw that Mac's often wanna open .air files in applescript(also if Air is installed).
I know that there are install badge. But I think they don't work with local .air files. Or is there a way to install a local .air with a badge?
I got a complete package of creative suite cs4. Even though I didnot want to install additional components such as Adobe Bridge, Adobe Drive, etc. They got installed with the package. Now I have CS5 available, and I don't want these to keep occupy the disk space, atleast not CS4.
How can I uninstall these components, I don't really use them too. I looked into my Control Panel, but there is no option to uninstall them. I am using Windows 7.
I've recently started using FDT, for a while I was using FlashDevelop, it had a really handy feature in Compiler options where you can set UseNetworkServices to false which would stop the compiled swf from connecting to the internet and became very useful for running standalone flash apps without security warnings when loading in an external xml file etc.
Just created a banner for our intranet and I have a getURL inside the flash which should open an html file on the local network. The paths:\networkcompetworkfolderfile.htmlIt works from my computer but when we put it on the intranet it doesn't.
I've have flash cs3 installed on my computer at home and flash mx 2004 installed on my school pc. I like to take my projects home with me to work on, the only problem is when I take the fla back to school they won't work on mx. I cant update the school's flash since I dont have admin privileges to install programs and I can't make an mx fla at home.
My question is: Would it be possible to copy the entire 300mb flash cs3 onto a 8gb flash drive and run it on the school's computer or is it even possible to run a program that large and complicated from a flash drive?
it was decided to deploy the app on thumb drives. Other than creating the flash exe which I have done using flash cs4 are there any better tools available that does not include the File, View, Control, Help that I see in the cs4 flash created exes?
I got a Windows Flash Projector (.exe) that I need to autorun from a USB drive. I just want the user to be able to plug in the USB drive to their machine and have it start running without any menus. I've been using the following with no luck:
[autorun] open=KSF_USB_main.exe
The project is composed of a number of .swf files that load into the "KSF_USB_main.swf" file. There are also PDF and FLV links within some of the movies. I have the "autorun.inf" file and all other files (including the .exe Projector file) on the USB drive. When I plug it in to a PC it brings up the "What Do You Want To Do?" window and doesn't autorun.
I have a computer and a flash drive that both have the same homework files. I take the flash drive to and from school to work on homework, and I have to manually update those files onto my computer. How can I automatically have the files on my flash drive update the files on my computer?
I'm considering making a Flex/AS3 based web application but worrying about some employers (i.e. potential customers) that don't have access to Flash plug in version 9 and up. Why? Maybe their corporate standard for browser is old; maybe they lock down employees computers which prevents users to download and install the plug-in or an alternate browser; maybe Flash's ubiquity goes away in the next 3 years given Adobe's recent announcements; etc.Anyway, my question is, would it be possible to insert a USB Flash drive into the client computer in question and run a Browser having flash (e.g. chrome) on the USB drive (assuming such a browser has already been installed on the USB drive), to access the web application with full functionality? I'm just trying to think of workarounds if my customer doesn't have flash plug-in and can't download to install it.