Flex :: Accessing Video Content Over Local Network?

Jun 17, 2011

I am having a strange issue in my flex app. I have a Video element that loads an FLV file from the same directory as the SWF app. If I move my SWF and FLV to a local directory on my computer and load the SWF in my browser, the video plays without any issues. However, if I move the same collection of files (SWF, FLV, HTML) to a network share, the video no longer loads.

[Code]...

In my netStatusHandler() callback I get an event status of: NetStream.Play.StreamNotFound.

Again, I only have this issue when loading content from a network share.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Prevent Loaded Swf File From Accessing Local Network Files

Nov 2, 2009

I am creating a web page that allows users to upload their own swf files to my web page, which are then used by the main web page as components. This creates a security issue though because I don't want the uploaded swf files to access other files on the server.

when the main webpage starts, it loads whatever third party swf files the user specifies. Is there a way for my main web page to change the security settings of the loaded swf so that the loaded swf is treated like it was loaded from another domain? Or is there another way I can provent these uploaded swfs from accessing local files on the server.

View 5 Replies

Flex :: Adobe AIR. Local Network Error?

Apr 16, 2011

For example, in local network, when Adobe Air is reading files from local server (\Serverstorage) and network will be in down for a second, Air becomes eat a lot of memory and it is increasing up to 1GB (while normal memory use is 100 kb or less).Just reading file with File('file path on local server'); from unstable network can cause this error.
Have anybody seen that in projects?

private function init() : void
{
file = new File("\Serverdragracing

[code].....

View 1 Replies

Flash :: Adding A Folder On The Local Network To The List Of "local-trusted" Places

Jul 22, 2011

I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.

I am currently hitting instead an security violation

Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"

I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.

The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"

FP 10.3.181.23, Win XP

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

Can't Connect To FMS Inside Of Local Network

Jul 26, 2010

I'm FMS beginner (server side newbie in general)... I installed FMS 3.5 (Development) on my computer which is inside of local network. Now I try to connect to rtmp service from another machine in same network using my computer's IP as I used to while connecting to my apache, but it is worthless. Everything works fine on my computer.

View 2 Replies

ActionScript :: Annonymous Functions Accessing Local Variables [Flex 3.5]

Jun 8, 2010

I am having a situation with my actionscript/flex front end.

[Code]...

I am expecting to have 3 Alert windows containing A, B and C. But the actual result is 3 alert windows all showing C

View 1 Replies

ActionScript 3.0 :: Send String To Ip On Same Local Network?

Jan 7, 2011

I was wondering if it was possible to send a string to a flash application from a flash application on the same local network? Can i put the code requiered on a mobile (android) in air?

View 1 Replies

Media Server :: FMS Not Visible In Local Network?

Mar 18, 2011

I have a problem with FMS 3.5 installed on Windows 7. The problem is that FMS works only on my local machine, I am not able to use it from computers in local network. I turned off all windows firewalls and my machine is visible for other computers - I am able to connect to FMS Welcome site on apache on default port 8134, but streaming fails, and I cannot do the same on port 80.

View 8 Replies

ActionScript 3.0 :: Allow Access To Both Local And Network Files?

Jul 27, 2009

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.

View 1 Replies

ActionScript 3.0 :: Access Both Network And Local Files?

Jul 13, 2010

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.

View 3 Replies

ActionScript 2.0 :: Make A Button Map To A Local Printer On The Network?

Feb 9, 2010

I am making a floor map for the company I work for. And I want to make a button map to a local printer on the network...

View 1 Replies

ActionScript 3.0 :: Load A File Over The Local Network With Loader Class?

Aug 24, 2011

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.

View 6 Replies

Flex :: Show A Local Html Content In Adobe Air Application?

Apr 19, 2011

I want to show a local html file into my application but I could't find to do that.

I used <mx:HTML> component with using its location property but it is not working when I try to do it with a local file which is in applicationdirectory.

EDIT: Here is my code :

<fx:Script>
<![CDATA[
private function init():void {

[Code].....

View 2 Replies

Flex :: Accessing Content From External Illustrator SWF

Jul 12, 2011

I have problem accessing content from an Illustrator SWF(I create the swf using illustrator, I export I Save layers as symbols). When I create my swf file using flash i can access shapes and symbols using this code. I am trying to get and change the color of a symbols in my swf file.
var flashMovie:Sprite = this.content as Sprite;
for (var i:int = 0; i < flashMovie.numChildren; i++) {
flashMovie.getChildAt(i).name;
flashMovie.getChildAt(i).transform.colorTransform.color;
}
But when I create my swf file using Illustrator it return nothing. How can can I access the content and change the color of an Illustrator SWF

View 1 Replies

Flash - Adobe Cirrus (Stratus) Doesn't Work If User Have Local Network

Aug 20, 2011

I am developing flash p2p chat. It works fine on my friends' computers (they can chat each other), but not on mine. The problem is that I have local network at home, and I think that Flash Player tries to make p2p requests to peers inside my local network.Can I check if user have local network in AS3 and up the level of network to the WWW?

View 1 Replies

ActionScript 3.0 :: Save / Load Files From Flash To Local User Space (Not Network)

Sep 16, 2010

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.

View 1 Replies

Flex :: Index Syntax ('content['xxx']") For Accessing Members Of .SWF?

Dec 14, 2010

I was actually looking for the adobe docs online that would cover syntax like the following:

SWFLoader(event.target).content['wrFont']

That's from my own code, so obivously I know it works, its just that after 2 years of Flex programming, I have still not encountered any sort of formal documentation on the rules governing this access method (i.e. like in the above where I'm accessing the wrFont member of the loaded SWF via an array index syntax and a string.

Specifically, it would be things like, determining if the referenced member even exists - what would be the standard method for doing that (Surely not just a try-catch block right?). But not just that, but formal Adobe Documentation on all relevant aspects of the above. I've downloaded all zipped adobe docs off of their live docs site - where is all this fully documented.ON a side note, something that's always bugged me about google, is that with a search string like ".content[" it just ignores the "[" character as irrelevant, though if I could just find that search string I would have my answer. But google doesnt search for characters like "[" evidently. Neither does Bing. Does any search engine do this.

View 3 Replies

Flex :: Fix Choppy Video Playback Of Local Flv File In Adobe Air Application?

Aug 17, 2011

I have made a application that plays videos that are stored in a assets folder of the air application but when ever I run it on an hp slate the videos are really choppy. Is there a way to preload the video or does it have to do with the processing power? the videos are 1.72mb or smaller. They are flv format and they auto play when that application is started. I am using flash builder.

View 1 Replies

Actionscript 3 :: Play A Local Flv Video File In Flex Mobile Project?

Jan 19, 2012

I trying to play a flv file in a flex mobile (flex 4.6) The files will all be locally stored and on the device. Would it be better to use the video even if it is not supported or can i use a movieClip? I am going to try and fade out a picture and then play the video with out any user controls and then fade back to the picture. The this will all be on a tablet. I am using Flash Builder 4.6.

View 1 Replies

Flex :: Upload Local User Image And Overlay Onto Flash Video/animation?

Sep 2, 2011

I want to create a custom video like the videos on jibjab, i.e allow a user to upload an image of their face and superimpose this onto a video of a character's face.

View 1 Replies

ActionScript 3.0 :: Accessing Web-locations From Local Swf Or Exe

Sep 20, 2010

I want to make such flash file, which would contact web content without asking an user to add the file in the allow list on adobe web-page, is it possible to make it without help of other programing languages?

View 4 Replies

Media Server :: Users On Specific Network Can't Connect To Video?

Dec 1, 2010

We've just installed Flash Media Server 4 to host video for a new client. We've gotten it to serve up video to the public and ourselves (inside our own network), but the problem is our client cannot view the videos. They keep getting a "can't connect to the network" message.Does anyone know of how we should troubleshoot this? The videos are each about 90 minutes long, and for right now, there are six of them, which is why we wanted to stream instead of embedding them.

View 4 Replies

ActionScript 3.0 :: Accessing Local Variable (Never Declared Before)

Apr 24, 2009

I work with FlashDevelop, Flex SDK and FP10 debug. I am able to access a local variable (xcorner) which is never declared before, at the condition that it must be declared after... in an "if" for instance. If I remove the declaration of xcorner, within the if, errors occur at compilation, but otherwise it works.

PHP Code:
public function pushShape2Pool(name:String, sh:Shape, rotAngle:Number = 0):int{
[...]
// xcorner is NEVER declared before !!!
coordSprites[0] = new Rectangle(xcorner, 0, globalBmp.width, globalBmp.height);
trace("xcorner=" + xcorner); // display 0
xcorner += globalBmp.width;
[Code] .....

View 7 Replies

ActionScript 3.0 :: When Accessing Local File From Loaded Swf

Jul 9, 2009

I have the following problem when loading a swf file. I have content.swf file located at [URL]. The contetn.swf access a file settings.xml located in the same dir. I load it like this:

_settingsURLRequest = new URLRequest( "settings.xml" );
_settingsLoader = new URLLoader();
_settingsLoader.load( _settingsURLRequest );

Now I have another file loader.swf located at another domain [URL]. The loader.swf file loads content.swf but content.swf search for the settings file at domain2 not domain1. I know that I can use absolute address when loading the settings file but I'm loading a lot of files and I prefer another solution. Is there a way to specify that content.swf should always search for settings.xml in its own domain no matter the fact that its being loaded from onother file in onother domain?

View 2 Replies

ActionScript 3.0 :: Accessing Local SharedObject(stored In HDD) From Website?

Jul 25, 2009

Is there a way that i can access Local SharedObject using a swf from the net.

For example, i have a .swf that creates SharedObject running locally on my desktop computer.. But when i'm somewhere else, i need to access some of the shared objects in my desktop, is that possible?

View 4 Replies

IDE :: Accessing Local Shared Object From Diff SWFs

Jan 19, 2009

I am facing a problem in accessing Local shared object from 2 diff. swfs. Let me explain the scenario clearly.I am developing a radio widget (in maindomain.com for ex)which has a button to open a html page (placed in contentserver.com) as a popup with specific wt and ht. The html page loads the same SWF file of radio widget from "maindomain.com", means whatever changes we do for the SWF in maindomain will be reflected automatically in the popup also.Here where the problem is:

1. Say I am playing radio station "A" in main window and added this station to favourite list (which is done by storing in Share object). So when i open the popup its reflect there.

2. Now when i change radio station "A" to "B" in the popup and added "B" to favourites and closed the popup.

3. When I refresh the main window, I can get both "A" and "B" in fav, as expected.

4. But if without refreshing in main window when I changed to some new station "C" and then open the popup, it has got only radio station "A" in the fav list.

I am pretty sure this is because of Sharedobject.flush(). The thing I am wondering is, why the station "B" which is also pushed to sharedobject when added to favourite is getting deleted when I flush() the SO.?I googled many forums but not satisfied solution for this. Even I tried to get the Sharedobject.getLocal("SO","/") every time before using data in it. but no use.Is it a Flash limitation accessing LSO from diff SWF?

View 4 Replies

ActionScript 3.0 :: Connect A Video Object To A Webcam Installed On Another Computer In The Network Without Setting Up A Streaming Server?

Sep 7, 2010

is there a way to connect a Video object to a webcam installed on another computer in the Network, without setting up a streaming server?The machines can have fixed IPs and whatever, but I'm limited to LAN/WAN technology. Using AIR is possible.

View 5 Replies

Professional :: Using External Interface On Local Content?

Jul 17, 2007

We're using External Interface for interfacing between Flash and JavaScript on the HTML page. All works fine online. When we
try to localize the pages though (so that a Salesperson can have a CD full of demos), none of them seem to work.Is this an over-sensitive Flash security issue? We already have allowscriptaccess='always' and swliveconnect=true in the object/embed tags.

What can we do that doesn't require changes on each individual machine to set trust paths or any other kind of browser configuration? Not only do we want to have this content working on the machine of a salesperson, we may get clients that want to deploy content offline (kiosks, machines without any network access).

View 3 Replies

Javascript :: Way To Execute A Js Function With Local Content?

Mar 12, 2011

I'm trying to execute a function like window.alert for example, from actionscript, when both the html file and the swf file are using the file: protocol.without changing global flash security settings

View 3 Replies







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