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


Similar Posts:


ActionScript 3.0 :: Loading External Movie With Scrollbar Component Produces Error

Oct 28, 2010

I have a main movie that contains a series of buttons that load different swf files into a loader component.

Each of the secondary movies contains a series of buttons that when clicked load  a movie clip with information specific to that button.

Nothing earth shattering, right...

When I preview the secondary movie it runs as I would expect.

When I bring it into the main movie via the loader component and click any of the buttons to load the secondary movie's movie clip I receive the following errors[code]...

View 3 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 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

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 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

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

ActionScript 3.0 :: E4x Filter Produces A What

Feb 25, 2009

The attached piece of code produces strange results. When first run we get this result -- why does the first trace output include the XML elements, and the second only the text?

[Code]...

View 4 Replies

Text Filter Produces Low Quality Effects?

Jun 9, 2009

I'm having trouble getting any of my adobe software to produce a drop shadow without pixelating the image.  I'm working with FL but I've tried PS and IL and everytime it ends up looking like an 8 bit graphic.  It happens with all the preset effects.  The laptop I'm using has a 4 gigs of RAM and a core duo with a 512 MB graphics card  How can I set my software to produce the highest quality effects?

View 1 Replies

ActionScript 3.0 :: Flex Socket Communication With C# Produces

Jul 15, 2010

I use C# to read a string (BinaryReader.ReadString()) from the socket stream. But the problem is that flex doesn't writes the string in suitable format, so C# will be able to read that. C# reads a 7 bit encoded integer which indicates the length of the string, and just then reads the string. But flex doesn't writes a string in this format (I use socket.WriteUTF(), and even socket.WriteUTFBytes() didn't work), so C# can't read the string. Here's a little information of how C# reads/writes a string from a socket stream:
[URL]

View 1 Replies

ActionScript 3.0 :: Removing Children Produces Memory Leaking?

Apr 22, 2009

I am having memory problems when adding & removing children. Here is a brief overview of what I'm doing:I'm ading children to a VBox component:the structure of the children is:

Code:
<mx:Canvas>
<mx:Image/>
<mx:Text/>

[code]....

All remove the children, BUT I am getting memory leaking, especially using the second method! If I don't add the TextField child to the UIComponent I don't seem to experience any memory problems!

View 2 Replies

Actionscript 3 :: FileStream.writeObject Produces Unwanted Characters?

Mar 9, 2012

I try to write an xml object via AIR with FileStream.writeObjectI'm doing like this:

var _file:File = File.applicationDirectory.resolvePath("test.xml");
var _xml:XML = new XML("<data><name>Testname</name><email>test@test.de</email><time>1331290186848</time></data>");

[code].....

View 1 Replies

ActionScript 3.0 :: ENTER_FRAME Event Produces Choppy Video Scrubbing

Mar 25, 2010

This code works fine if the timeline is moving forward through the .flv file. However, the going in reverse produces choppy results. The choppyness seems uniform, as in, it's always choppy and always the same intensity. [code]...

View 3 Replies

Javascript :: Flex - Flash Callback Method Produces Error UNLESS Alert() First?

Jan 11, 2010

I have a flex app and I am adding a callback method like this:

private function init():void
{
ExternalInterface.addCallback( "playVideo", playVideo );
}

[code].....

However if I uncomment and run the alert first. I get no error and it works perfectly.My first thought was that the alert was buying time until the script could execute, so i tried to run the script inside a setTimeout() but did not work.

View 1 Replies

Actionscript 3 :: Calling MovieClip(root) From A Dynamic MovieClip Instance Produces Error 1034

Jan 14, 2012

For some reason, the same code works now, without any problem at all. I don't know what happened, or why, but I no longer have this problem Here's the original post: To put simply, I created a MovieClip, put it with addChild() to stage, and when I tried to call this piece of code:

[Code]...

View 2 Replies

Java :: Flex - Calling A New Method From Mxml Produces "cannot Invoke Method" Error

May 24, 2011

[Code].....

getUser was already in UserService.java. I just created getUser2 and it's identical to getUser. When I try to call getUser2, i get the "Cannot invoke method" error. question: Do I need to specify getUser2 in some other file? like in some configuration file? if so, which one and how do I do it.

View 1 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 3.0 :: SWF Can't Access Network

Feb 26, 2011

I've got a Flash Banner worked with AS3.0. It loads XML and then load the Jpegs. At the beginning, the SWF accesses the files under the same directory. So the code goes like

[Code]...

View 6 Replies

Unable To Connect To Network

Sep 26, 2011

I just installed FMS 4.5 w/ built in apache on Win2008R2 - accepting all defaults. Samples streams play fine when playing on the server.  I copied the sample directory and put on a client on the network.  I modified the stream URL using the server's IP address.  I also modified the manifest files so that localhost was replaced with the server's IP.  When I attempt to view in the sample player I get the following:

"We are unable to connect to the network.

View 2 Replies

Flash :: Use Network Services For FDT?

Apr 22, 2010

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.

View 1 Replies

See Network Requests Made By A Swf?

Jun 30, 2010

I have a swf (flash file) who is making http request.

Which is the easiest way to see what request the flash application is doing?

P.S. I do not have the program as a fla file

View 4 Replies

ActionScript 3.0 :: Network Programming In It?

Apr 19, 2011

Can u recommend me a good book/e-book/tutorial to network programming in as 3.0 ? I'd like to create a multiplayer game.

View 0 Replies

ActionScript 2.0 :: Network Url From Within Flash?

Nov 18, 2005

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.

View 4 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

Passing Network Credentials Through Flex4

May 4, 2011

i am new to flex4.i want to pass network credentials (username and password) through flex.i was not able to get appropriate results using [code]

View 1 Replies

Flex :: View Available Network Shares?

Aug 23, 2011

I would like to list all network shares but have no idea where to even begin my search, I assume that it has something to do with Samba etc., but really some guidance would be very useful.

I will be using Adobe AIR 2.5 - so I assume I have access to that sort of information, though I will be using the PlayBook from BlackBerry to access the network which has a full AIR implementation.

View 1 Replies

Flex :: Limitations Of The Network Monitor?

Sep 19, 2011

What is the reason Flash Builder 4's Network Monitor does not support applications that were created using pure ActionScript and Library projects? It seems to work only for Flex projects.

View 1 Replies

Flash:: Using Network In Flex Sdk 4.5 Gives Blank Swf

Jan 24, 2012

I developed a flash app and i need the functionality when I click on a sprite I want to open a web page in browser for example [URL]. I use flex sdk 4.5 and I changed the use-network tag from false to true in flex-config.xml. But when i compile my project and load the swf in browser I get everything blank. I tried also to use html page with swf embeded but same result

View 1 Replies

Actionscript :: Check Network Availability ?

Feb 19, 2012

I want to check network and Internet availability in Action Script programming language.

View 2 Replies







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