ActionScript 3.0 :: Loading 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.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.

View 1 Replies


Similar Posts:


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.

View 1 Replies

ActionScript 3.0 :: Not Loading Videos From A Network Share (unc Path) Into Swf On Http Intranet

May 17, 2011

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.

View 2 Replies

Can't Publish To Network Drive

Feb 29, 2008

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.

View 1 Replies

ActionScript 2.0 :: Flash8 Loading A .swf From A Different Drive ?

Mar 11, 2009

I need to make a flash located on the internet load a swf from user's PC/network. Essentially, make it so that "myrandomsite.com/main.swf" can load "U: andomfolderinfo.swf".

I tried using cross domain policies but that didn't help (of course I've never used them before so I'm not entirely sure how they work). And I'm not well versed with Javascript but I am willing to try. I'm trying to do is have a .swf from C: read files from U:

View 3 Replies

Actionscript 3 :: Get Cd/dvd Drive Or Flash Drive Name By In AIR Application(in Windows)

Jun 4, 2011

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

View 1 Replies

Java :: Flex 4 IFrame Open Url Internal Network To An External Network?

Sep 6, 2011

I have the following scenario:

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?

View 1 Replies

ActionScript 3.0 :: Loading URL Within Network Produces Nothing?

Oct 26, 2009

I have a SWF that I am running on a kiosk and the Actionscript is calling a PHP script residing on an internal IP address. As everyone always says, it runs great with the IDE, however when I publish this file and run it, I get nothing. I cannot even output errors and such into a textfield. I'm totally baffled as to how I can debug this.

Code:
//set up request and loader
var request:URLRequest = new URLRequest("http://10.25.241.11/custom/test.php");
var loader:URLLoader = new URLLoader();

[Code]......

View 4 Replies

ActionScript 3.0 :: Loading ActiveX Control By Network Camera

May 6, 2009

I have an activeX control for a network camera when it is installed on my PC. I want to use that network camera in actionscript by loading its activeX control, but don't know how to do that.

View 1 Replies

Flash :: Network Failures When Loading Crossdomain.xml Policy File?

Sep 13, 2011

I monitor (and log to server) most user errors in our flash game. Quite frequently I see security errors related to trying to make requests to a cross-domain URL (usually the Facebook Graph API). 99% of our players can make these graph API calls with no issues.What I think is going on is that the client makes a request, but fails to load the crossdomain.xml file. I don't quite know how AS3 handles this in the case of a failure to load the crossdomain policy file...will it retry for every URLRequest made until it succeeds in loading it, or does it just give up forever?

View 2 Replies

ActionScript 2.0 :: Make LoadMovie() Stop Loading To Conserve Network Bandwidth?

Apr 21, 2008

I have a huge SWF. Instead of loading every frame and playing from the beginning with loadMovie(), is it possible to load only say frames 100 to 120? Also, if I have a pause button, how do I make loadMovie() stop loading to conserve network bandwidth?

View 4 Replies

Flex :: HTTP Resources Not Loading?

Jul 8, 2009

I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project).
I access the room list by this:

<mx:HTTPService id="rooms" url="assets/roomList.xml"
fault="httpFaultHandler(event)"
result="httpResultHandler(event)"/>

Here are the two result handlers:

private function httpFaultHandler(event:FaultEvent):void{
Alert.show("There was a problem","Error");
}[code]...........

However, when I run the application in the blazeDS container, I get no rooms despite the fact that the room list clearly exists in the deployment directory after running the application:

$ find . -name roomList.xml
./tomcat/webapps/odt/adobeODT-debug/assets/roomList.xml

How can I debug the reason for this failure? The deployment process used by the Flash Builder tool is fairly opaque, and the tomcat instance isn't advertising 404s from Flex apps. Is there logging somewhere, or something, that needs to be turned on?

View 1 Replies

Http - SWF Flash Files Not Loading With IIS Compression On?

Mar 7, 2010

I've got a bunch of flash files being served off a HTTPS site in IIS7. With contentcompression turned on, the flash files wont display. Does flash not support HTTPcompression, or is IIS doing something unusual?

View 1 Replies

Actionscript 3 :: Loading Images And Video In AIR Without HTTP

Jan 2, 2012

I'm curious what the correct methodology is for loading image and video data directly from the file system, without employing HTTP.I'm writing an AIR slideshow application, and it works great but currently relies on a local MAMP server to hand the app all the media via the standard, tried and true, FLASH media loading methodologies.I know that since FLASH was developed as a web plugin it handles this way of receiving data best, but I'd really like to extricate this rather onerous and unnecessary bit and have the app as a stand-alone player, however, I'm unclear what the "correct" way is to load the media.I have the File objects ready and I've gotten as far as having the user select the local directory from which to pull the media and I'm getting a list of the files (based on their extensions) from the list.

View 1 Replies

ActionScript 2.0 :: Access To Singleton Instance After Loading Swf Via Http?

Oct 14, 2009

My first swf loads a singleton class and instantiate it , and I access to it in the following swf's files (they were loaded in local system).

Now I have to load all swf via http. The issue is when I load second movie throw the first one, I can't get the singleton instance... it seems it lost reference...

View 0 Replies

ActionScript 3.0 :: Loading The Image Binary (after HTTP Request Headers Are Removed) As A Bitmap In Flash?

Sep 11, 2010

I'm building an image viewer that has violent content (video games), and so it requires users to enter their birthdays. Problem is that because of company policy, I can't expose any of the source images being viewed in the event that someone might use their resources/net tabs (or just sniff the request) and get the direct link to the image. (I know that they could screenshot it, but that's out of anyone's control and not something I'm worried about.)Is there anyway to inherently mask loaded resources (images)? I've been using sockets, which is great, but there's also the problem of actually loading the image binary (after HTTP request headers are removed) as a Bitmap in Flash.

View 4 Replies

Flash :: Read A Http Response Body When Tyring To Read Http Via Tcp Socket?

Feb 19, 2011

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?

View 1 Replies

Http :: Get The Http Request URL?

Sep 22, 2010

a.swf is loaded in a.html which is hostedI want to know, if user browses[URL]

View 1 Replies

ActionScript 3.0 :: Make AIR App To Only Be Able To Be Run When Its CD Is In CD Drive?

Aug 4, 2011

Im wonder if its possible to make an AIR app to only be able to be run when its CD is in the CD drive?

View 1 Replies

Open CD ROM Drive When Click A Button?

Mar 23, 2010

in actionscript, is there a way to open CD ROM Drive when you click a button?

View 2 Replies

Flash - Installing Air Application From DVD Drive

Nov 3, 2010

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?

View 2 Replies

Save A Resource From Url To Hard Drive?

Oct 6, 2011

How do I save a resource like "something.rar" from the web, like when it is located on a regular web page?

View 2 Replies

Actionscript 3 :: Read/Write To C Drive?

Nov 28, 2011

Is it possible to read/write to the C: drive and it's directories with Adobe Air? if so how? I've only seen examples using the desktop or user directories with resolvePath().

View 1 Replies

ActionScript 3.0 :: Looking For A File In A Drive With A Loop

Jan 28, 2010

i'm trying to see if a file exists, the file is located in a usb memory so i'm using an array and an ioerrorevent, if the file is found (event.COMPLETE), i execute another function and if the file does not exist i use this (IOErrorEvent.IO_ERROR) which tirggers another function to look for the next drive. however, even when the load find the file in the right drive the IOErrorEvent is triggered anyway and not my event.COMPLETE.

[Code]...

View 0 Replies

Flash 10 :: Uninstall CS4 Bridge, Drive, Etc?

Sep 5, 2010

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.

View 0 Replies

ActionScript 2.0 :: [mx04] Xml To Access CD Drive?

Feb 27, 2006

I'm having trouble trying to link a .swf using xml to open up an html link that is on the cd that a user will have in their drive when running the swf.home.swf > goes to CD drive> open up about.html

example of xml:
<linktype="sample" display="yes" ref="file:///d:/about.html">

View 5 Replies

ActionScript 2.0 :: PHP Or PHP/XML To Drive Gallery Contents?

Mar 2, 2006

I've got myself a gallery which is generated from the contents of an XML file. (I just followed this excellent tut!)

I've decided that its too much hassle to update the XML file everytime a new image is added to the directory, so I'm thinking about using PHP to build the XML file. That means that going from PHP->XML->Flash. Can I just go straight from PHP->Flash? All I want to do is get a list of files in /directory_x. Are there any obvious benefits/drawbacks to either method?

View 1 Replies

ActionScript 3.0 :: ParkingLot To Tell Just The Red Cars To Drive?

Feb 26, 2009

is there such a thing? it's either this or "for each" pretend I have 6 red cars and 14 blue cars in my ParkingLot class. I want ParkingLot to tell just the red cars to drive. In my mind it works as follows:

[code]...

View 3 Replies

IDE :: Load Images From Hard Drive?

Apr 17, 2010

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.

View 2 Replies

IDE :: CS4 SWF File Sizes Different On External Drive

Jan 3, 2011

I'm running Flash CS4/AS 2.0 on Mac OS X. I keep my work files on a flash drive. One of these FLA files is a parent (container) movie that, when compiled, results in a SWF that is 6,983 bytes.

I saved a copy of the FLA source file to the Desktop, recompiled, and the SWF size was only 1,773 bytes (much better, since the movie only has a static preloader and some ActionScript).

I'm guessing this is because Flash has to copy some default class information(?) to compile the movie because the source file and Flash CS4 are on different drives.

Do I need to copy the class files to the external drive and map to that path in Preferences?

View 1 Replies







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