ActionScript 3.0 :: Connection Error Freezes Swf For IE
Feb 26, 2011
Using AS3 on Flash CS5 Pro. I've got a parent.swf which passes info to/from a child.swf via the following code:
[Code]...
The connection works fine except that when IExplorer loads the parent.swf it tells the user that "To help protect your security, Internet Explorer has restricted this webpage from running scripts ..." The thing is that even if the user now clicks ok, the swf freezes. I've checked why this is and I found that what is happening is that IE runs the swf again and this triggers the error : "ArgumentError: Error #2082: Connect failed because the object is already connected. at flash.net::LocalConnection/connect()". This double connection attempt freezes the swf.
How should I capture this error and prevent this from happening? I'm a normal programmer and have never done any error capturing before. Also, there is one particular child.swf (there are several) which to me seems to be the same as all the others; I wrote the same code precisely as far as the connection is concerned. However, only on the Chrome browser, it does not load like the others and freezes the swf. Curiously, it works fine when I test it on my laptop/Chrome, but refuses to load when I try from a remote computer. Has anyone seen anything like this? Is it a browser/plugin error or something on my side?
View 1 Replies
Similar Posts:
Dec 24, 2011
I am trying to and I have the following message error:"the video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found."
View 1 Replies
Dec 13, 2011
I'm trying to access a webservice with an SSL connection from an AIR application, I can access the webservice and retrieve the data without SSL, but when I try and access it through it I end up getting the 2032 Stream Error. As if what I was attempting to access wasn't available (which in fact it is, since I can easilly access it through my browsers).
[Code]...
View 1 Replies
Jun 3, 2009
I am using the FLVPlayBack component and it is working when I access FLVs stored on my local machine or even another machine on my network. However with one particular computer I am getting a Connection error reported at the same time after I have started playing back any FLV file. It occurs 25 seconds after the playback has been initiated.
It is my preference to use the computer on which the playback error is regularly occurring so I would like to get to the bottom of why I am always getting the same error.
View 7 Replies
Jan 11, 2010
We have two servers - one stores the media files and runs FMS. The other creates dynamic webpages. I have edited the 'dynamic stream' SMIL example on the media server, to include a full URL:
[code]...
If I open the standard FMS index page, the 'dynamic stream' example works fine. However, if I copy that code over to a page on my webpage server (linking back to the media server of course), I get a 'connection error'. The weird part though is that if I limit the 'switches' in the SMIL file to just one video, it works again, eg:
[code]...
It makes no difference which file I choose, as long as there is just one.I am using the same video player that all the examples use (FMS 3.5), so my thought is that something in that player is causing a cross domain security exception when it has more than one stream to choose from. I tried disabling the firewall, so it's not that, and I updated server.xml to point to a custom crossdomain.xml file:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"><cross-domain-policy><allow-access-from domain="*.mywebpageserver.com" /></cross-domain-policy>
But that doesn't seem to have had any effect.
View 13 Replies
Oct 15, 2010
I'm a newbie in AS2.0. I tried to test the SOAP with Webservice using 2 methods: Webservice class and XML's SendAndLoad method. The first one i use webservice class and run correctly
[Code]...
View 0 Replies
Oct 12, 2009
I'm running FMIS and I'm getting a connection error in my video player while connected to a wireless network. Works like a charm when I have a hardwire connection.
Is it just because I'm on a terribly slow network? are there some firewall settings on the network that need to be opened for rtmp streaming?
View 1 Replies
Aug 27, 2010
I have FMS 3.5 installed on a Windows 2003 server, service pack 2. I access the server via remote desktop on my computer and when I use the Sample Video Player, I can get the sample rtmp videos working on the server and also on my own personal computer, but when I try and play the samples in the video player on any other computer, I get a Connection Error. I've verified the ports are all working. I've also checked the admin console and when I connect with both the server and my own computer I get 2 connections. When I try from an outside computer, no connection is shown. So it's not even getting to FMS to even register. What else might I be missing?
View 1 Replies
Mar 2, 2012
Flash cS 5.5 / Win 7. Inserting video into movieclip both with 'import video' wizard and via component. FLV that plays fine on a number of different servers. On opening (after gathering metadata) the message 'The video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found.' Firstly I am treating this as a progressive download, not streaming. Second this plays fine locally, it's only when I upload to a server it fails.
The FLV is in a folder directly below the SWF. Result is same with FLV in same location as SWF. MIME type set to vide/x-flv although I've also set it to application/octet-stream. This is a very basic requirement to call the video directly from Flash, the default parameters of the component are adequate and work locally. However the video does not play. Is it fair to assume this functionality simply does not work correctly within Flash CS5.5? I'm unclear as to what >less< I could be doing with this file.
View 27 Replies
Feb 11, 2012
I have a simple IRC socket that is used to communicate with servers for a web-based IRC client. Unfortunately, attempting to connect to a network results in a security error. I read up on sandboxes and their appropriate permissions, and then used Security.sandboxType to get the sandbox of my socket, which came up as remote. After reviewing the documentation, I still don't fully understand how I can enable my socket to connect to a remote IRC server. I tried Security.allowDomain,
View 1 Replies
Oct 17, 2011
I was recently asked to create a podcast system which grabs a URL from a certain text file and plays it within the document. It's fairly simple, and I have finished programming it.However, a lot of its users have been viewing the content through mobile devices. They saved it to their device and it crashes if there is no network connection.My question is how to detect a network connection error through URLRequest, and then respond with a function.
View 1 Replies
Mar 10, 2010
I have installed a FMS to a CentOS server. I created an application here but I cannot connect to it raising a "Connection Error". I tried testing it by streaming some videos on the samples on vod. I used the "../samples/videoPlayer/videoplayer.htm" which is locally found on my computer that was included when I installed a FMS too on my local computer (Windows). When I try to load a video from my computer's FMS samples it usually works. I used the following Stream URL here:
rtmp://[MY-IP]/vod/sample.flv
But when I try to load a sample vido from the server I still get "Connection Error". I used the following URL
rtmp://[server-ip]/vod/media/mp4:sample.f4v
The file is located at /applications/vod/media/ which is as far as I know, the vod is the application's name and media is an instance name. Is there a sample working Stream URL on the internet that I can use to test?
View 41 Replies
Jun 3, 2010
I just installed Flash Media Server 3.5 and was trying to verify my installation. When I try to 'Verify progressive download over HTTP' as given in [URL] i am able to 'View a sample video' on start screen but when i try 'View your own video' i get this message on the player "Connection Error. Please press Play to try again."
View 10 Replies
May 4, 2011
I have been developing an application(a website to be more precise) which consists of a flex front end which is constantly sending and receiving data from the back end which is programmed in java. The connection between the two components is being done through blazeds. This worked fine while I was running it locally, however when I uploaded both sides of the application to a tomcat server(online) the following error is being returned when a connection between the components should occur:URL...I have read around about this error and many seem to getting this error when making connections between different servers, unlike here, where the connection is occurring within the same server.
View 1 Replies
Mar 21, 2012
Because of my version of Xcelsius I'm limited to 2 web service connections so I tried using XML Data connection and aspx page to bring data from database to Xcelsius.I have an ASPX page that outputs an xml file with the format
<data><variable name=""><row><column></column>...</row></variable>...</data>
In Xcelsius I made a XML Data connection having the XML URL pointing to the .aspx page that should output an xml. Then I have the Enable Load checked and I have selected the proper # of cells and rows . If I try preview I get
"An error has occurred. For more information, contact the file creator or yoursystem administrator. Error: Error #2032 Connection Type: XML Data".
I have the crossdomain.xml file on both the application folder and IIS wwwroot folder that looks like this:
<?xml version="1.0" ?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain- policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="false" />
[code].....
If I put in the XML URL in Xcelsius, the url to the xml file directly without using .aspx to write it to the output of the page it works. The xml is in the same application folder as .aspx page.My scope is to use the .aspx page to write query on the database and output back an xml with the table in the correct xml format so I can then consume the data in Xcelsius.
View 2 Replies
Apr 2, 2010
I am trying to connect to FBJS bridge. It keeps giving me the following error.When I'm opening only one connection and I do not have any other window open.
ArgumentError: Error #2082: Connect failed because the object is already connected.at flash.net::LocalConnection/connect()at BabyVille()[C:Documents and SettingsuserDesktopabyvilleflashMain ProjectsrcBabyVille.as:56]This is my code :
public class fbjsTest extends Sprite[code]....
View 5 Replies
Sep 12, 2010
I had FMS 3.5 developer package installed on my server installed about a month ago. I used to be able to go to the /webroot/ page to see the sample RTMP video play and it worked great. Today, I go to view that page and find that it no longer plays. I get "Connection Error. Please preee Play to try again."
Pressing the play button does nothing, so I click the RTMP thumbnail and it reloads ony to give me that same error again. I can click the HTTP thumbnail and see the video play just fine. But, I want RTMP and after over an hour on the phone with my managed hosting tech, we can't find anything wrong.
Here's the thing: I haven't done anything, I have not changed anything, I have not manipulated the server software whatsoever. It just stopped working and gives me "Connection Error."
[Code]...
View 6 Replies
Sep 13, 2011
Im trying to make connection from flex to java and from java to mysql. I managed to connect to java, but having error that class not found: com.mysql.jdbc.Driver. But i downloaded mysql.jar, included it added to library, and connection works when i testing it from clipse scrapbook. Dont know what to do, i spend last couple days on this.
Class.forName("com.mysql.jdbc.Driver");
String username = "username";
String password = "password";
[code]....
Basically the solution was simple. Everybody keeps saying to put jar into lib folder, so i done it, but i wasnt realised that i have to put into my servers lib directory, not app lib directory and this miserable mistake cost so much. Anyway i hope this will help for some newbie like me.In this particular situation im using red5, so i putted it into my red5 dist/lib directory and "surprisingly" its started to work.
View 1 Replies
Aug 9, 2011
I am getting Syntax Error 1202 (Access of undefined property connection in package model) in the following code while trying to access the model.connection property. I don't see any reason why this would appear, can anyone see something I may be overlooking?
[Code]....
View 1 Replies
Mar 16, 2010
we have a two way webcam + mic connection set up using FMIS. we use to add a function that kills the connection?
View 2 Replies
Dec 5, 2011
I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:
>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?
I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.
View 1 Replies
Feb 3, 2009
I made simple java server on one pc and tried to contact it from another pc on LAN from localhost, so far so good, it worked flawlesly. But when I want to contact the java server outside the security sandbox(from webpage), it will throw me an error:
[Code].....
View 1 Replies
May 15, 2010
I am trying to start making an admin client side application to monitor our service, including its properties that simply cannot be done through Administration Console, like blocking IP addresses of offending users.My problem is that even before I start using the Administration API (on which I will comment further down), I tried to f.e. inspect theshared objects and streams of the application through the Admin. Console, but I get a popup "Failed to make debug connection, please check that the application is in debug mode." Configuration files are unaltered from install, which means xPendingDebugConnections is set to 50, AllowDebugDefault is set to false, BUT in the serve side main.asc file I have "application.allowDebug = true;"Also, on a related note.
I can see that the Administration API lists the API itself, but there is vague to no mention at all where to connect first? I recall spotting somewhere suffixing the RTMP URL with something like "_fcs_debug" or something, but you can see how this frustrates me - I really don't like to google stuff that is supposed to be in the documentation The application instance usually accepts connections from regular non-admin clients, with proper parameters, which are irrelevant for admins unless these are users too (double membership, you can say)
View 11 Replies
Dec 17, 2010
I got a IP Communications new account having following paramters:
[Code]...
Its showing me connecting ... Status is not getting update like: "Connection Failed" or "Connection Success". how to use the above information in this app,
View 1 Replies
Sep 21, 2009
I have a long timeline based animation, about 23 minutes in full. When I test or publish the movie, the SWF freezes with about one and a half minutes of playback time left. The streaming audio, however, continues to play.I know that the error isn't due to some sort of errant stop action at that point in the animation because I have it broken up into several scenes, and if I test the final scene by itself, it does not freeze and plays back correctly. Also, if I rearrange the scenes, the SWF still freezes about 21 minutes and 20 seconds into the animation, which, after rearranging, corresponds to a different point in the animation.
View 1 Replies
Sep 6, 2011
I have a flv which is in the same root folder as my exe. I have a navigation bar which takes me to the specific point in the timeline where the video is. Once the video comes up it plays for 1 second and then freezes. If I manually scrub the timeline past that point the video will continue and loop as intended, but right off the bat everytime the video freezes?
I'm at a complete stand still, Have tried reinstalling flash player, tried installing old versions of Flash player, nothing seems to fix it.
View 7 Replies
Aug 12, 2009
I have a problem with a flashsite I'm working on. It freezes when I click on the page with the most content on it. I use the "alpha" transition.
Here's the code:
import fl.transitions.*;
import fl.transitions.easing.*;
var p1age1 = new page1;
var p2age2 = new page2;
var p3age3 = new page3;
[Code] .....
View 3 Replies
Jun 30, 2010
I finished my flash logo for work and am now having a problem when trying to publish/export/play the file. On frame 110 when the first shimmer crosses the "M" I get a hiccup on that frame, it should be a smooth transition. Once the video plays once the replay works fine, but this is going to be the intro to our website, one time view.
The playback was working great the day before. Today, after some more tweeks, not so good. Only thing I could fathom was maybe too many masks (added 1 more today, 3 in total) were being applied but I tried removing all masks and am still having the same problem.
Visit the link to view intro:Metagraphics Intro
View 2 Replies
Jun 28, 2009
I created a button bar with 6 buttons that display separate content. When I click on one of my buttons, it brings up the content alright, but on release creates an entire duplicate set of buttons on top of my existing set of buttons. I can click on another button, and it will display content okay, but add yet another set of buttons on top of itself. after 2 buttons it basically freezes. why are my buttons in essence copying itself, and how can i correct.
View 6 Replies
Oct 21, 2010
I've got an animated banner for my site which I've grown quite attached to. It's a scene of the sky with the Title of my site on it and there are clouds that move constantly across it.Now the tricky part and part that I think might be freezing up the browser (firefox) is that the background changes depending on your computers time.So if you visit my site and the time is past 6:00PM, the day background will change to night.It's not an instant change though. You actually have to refresh to get it to change. Anyway, if I let the site/banner sit in my browser as either the active tab or the non-active tab for at least 10 minutes, the whole browser will freeze up. The only way to stop it from freezing up is to close it and restart it.I don't know what I did wrong, but I was hoping you guys could tell me. The file size is not that big (262kb). The images were converted from .jpg to vector, so I can't see why it'd be too graphic intensive. Basically I'd just like to be able to run it at the current resolution and quality, but not have it crash people's browsers.
View 3 Replies