ActionScript 3.0 :: Scripted Movie Won't Run Outside Of Firewall ... Open Multiple Ports?
Sep 14, 2009
I'm new to Flash and AS3, but with the help of many examples I have managed to created a scripted movie using some time lapse photography. I load the images from an XML file and use an event listener to add each image as a child of a movie clip. As the number of children grew, it caused the frame rate to slow, so I figured out that I could remove them after they were viewed and just keep looping through the array.
This works great on the local machine and when served up from the web server behind the firewall. However, if I try to access the file from outside the firewall, it loads the first image or two very slowly (if at all) then hangs. I've performed a net stat from the server and noticed that it is opening an inordinate number of connections to the remote client on various client ports (from 6 to 60+).
[Code]...
View 1 Replies
Similar Posts:
Jan 4, 2011
I just wrote a P2P video chat similiar to the Cirrus example application on my web site. It works great, as long as both users manually open the ports required for RTMFP. Naturally this is a deal breaker for me - since no one will use it. What is the standard solution in this case? Should I publish the instructions of how to open the ports on different firewalls? Should I write a small batch file to be downloaded that programmatically opens the ports? Is there a different (commercial) tool that allows me to bypass it in any other way?
View 1 Replies
Oct 26, 2011
I work on a project for a client so i can do otherthings while i wait on this answer. Anyway what ports do i need to open so I can stream video with hls for Apple/IOS devices? i've opened 80,8080,1935 but i think i saw somewhere that i need to open a port range.
View 2 Replies
Jul 16, 2009
I have my stuff set up and everything works fine except for a very strange glitch.When I use the internal IP address (192.168.###.###) from a machine on the internal network, it works fine.When I use the external IP address (209.###.###.### which eventually maps to that internal IP address) from a machine out in the world, like at home or a hotel or a clients site, it works fine.But, when I use the external IP address from a machine on the internal network, everything works except the flv file doesn't stream. The HTML page displays, the swf player displays, but the flv file doesn't stream; the swf player displays the message "Connection Error. Please press Play to try again."
What could possibly make this happen? To me, it seems impossible. Could there be a setting in FMS that would cause this sort of thing? I very much doubt it is a firewall issue, because if it were, then the file wouldn't stream from outside the firewall.
View 5 Replies
Aug 9, 2010
Ive created a project that creates random movies clips with text in them, everything works fine except that movie clips will overlap each other due to the random nature of the project.I've looked everywhere tips on hitTest methods but I cant seem to get it right, the major problem is that the clips have similiar names, if I try a hit test the movie clip will just detect itself and not look for the other clips.
View 3 Replies
Oct 4, 2003
i want to load a completely scripted movie into a container clip but when i test it none of the script is executed... when i load a movie that is just a tween it works... what should i do to make the script work??? i have a feeling it has something to do with _root it the loaded movie.
View 6 Replies
Dec 22, 2007
I started working actionscript 2 yesterday for a uni project. I was wondering if I can target a movie clip on a different frame from the scripted button. For instance would:
//
_root.my_mc._width
//
return defined if my_mc was on a different frame?
View 2 Replies
Oct 4, 2003
I want to load a completely scripted movie into a container clip but when I test it none of the script is executed. When I load a movie that is just a tween it works. What should I do to make the script work??? i have a feeling it has something to do with _root it the loaded movie.
View 6 Replies
Jul 13, 2009
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) {
var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");
}
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
View 8 Replies
Jun 23, 2011
I have a ear file and a war file, need to deploy them in two different ports such as 8443 and 5480 respectively. How to configure two ports seperately for those two files. I have no experience configuring JBoss.
View 1 Replies
May 17, 2009
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
[Code]...
View 15 Replies
Jan 22, 2010
I try to use Security.loadPolicyFile() and Flash Player goes on error because my firewall stop it. It's ok.
But, when I put the method into the Try{} Catch{} statement, I can not intercept the error.
[Code]...
View 1 Replies
Feb 28, 2011
I'm looking at writing an app with Adobe AIR, but I wanted to figure out if this is feasible with the platform first. (Mostly new to Flash and AIR).What I would like to do is know ahead of time what local port a URLRequest will be using. If possible, I would like to hold a connection open even and keep using the same socket.What I'm basically trying to accomplish is doing some NAT-Traversal and port negotiation ahead of time. Once I have both the client and the server negotiated, I'd like them to connect and basically use HTTP in a peer-to-peer way to stream media, like this sample:
var s = new air.Sound();
var url = "http://www.example.com/sounds/bigSound.mp3";
var req = new air.URLRequest(url); [code].........
The problem is that I don't see this happening unless I can get some information from AIR on what ports it's planning to use. I would be OK with creating my own Socket connections to the server and using them, but I would need a way to leverage the Sound framework to stream in the same way from a socket.
View 1 Replies
Nov 14, 2011
I have installed and ran FMS Development Server 3.5 on my Fedora 15 x32 for a long while now. Everything works fine. However, recently I found out about the upgrades for the server. So I downloaded all of them (3.5.2 - 3.5.7)... the current version I have is 3.5.1... and it works fine. Installing any of the new upgrade versions on the server works fine... and when starting the server doesn't give any errors.
In /var/logs/messages it says:
Server starting...
Server started (/opt/adobe/fms/conf/Server.xml).
however, checking the binding of my IP address, it shows no bindings to ports 80 and 1935. The admin server works successfully because I can see binding to port 1111.Whenever I run my test application which I used to run successfully on FMS 3.5.1, I cannot get a connection.So I was wondering whats wrong... why it doesn't bind anymore? is there something wrong with my upgrade process?? I even tried uninstalling whatever I currenltly have and installing the new upgrade... same result.
View 6 Replies
Apr 6, 2010
I have an LCDS server sitting behind a corporate proxy/firewall. I need to use a configured HTTPProxyService on the LCDS server to make requests out to beyond the firewall (can't go directly from the client because of crossdomain.xml issues) How do I configure LCDS to use the corporate proxy on it's outbound requests?
View 2 Replies
Sep 12, 2011
recently been dealing with a problem where outsiders have been able to hijack our Windows 2003 server based Flash Media Server 4 default livestream access point and bounce pirated television content over it. Currently am running this on a campus network and thought I had it locked down so that all incoming port 1935 requests must originate from campus and outgoing streams are served everywhere. This is sort of working, but it is also stopping legitimate traffic from streaming video to off campus visitors. If anyone can shed a light on how to setup my firewall rules that would be great, as I am stumped. Here is the list of how I've setup the rules (not using our real IP's for protection):
Campus is a class B network, everything is based off of 123.123.X.X
Server sits on 123.123.1.2
Port/rulename Rule Local Port Local IP Remote IP Remote Port
Port 80 Allow TCP/UDP 80 ANY ANY ANY
Streaming out Allow TCP/UDP OUT 1935 ANY ANY ANY <--this rule is supposed to allow all
[code]....
I've tried swf verify but thats easy to circumvent, nor can I get the allowhttpdomains options to work properly as it wants real names and not IP numbers.
View 19 Replies
Dec 3, 2009
I'm currently making an animation which will eventually exceed the 16,000 frame limit (don't ask haha), so, short of making two movies and having to just start up the next one, what is the code for loading a movie? I presume they need to be in the same directory? So basically all I want is on the last frame of the movie the code executes and the second movie file opens up and starts. I guess I'd want the current movie to close, too.
View 1 Replies
Oct 28, 2011
I'm working on a Flash/Facebook game. My swf and socket server are on different domains, so I have to use a socket policy file. According to Adobe, they have "filed with IANA, the Internet Assigned Numbers Authority, to reserve port 843 for the purposes of serving socket policy files." Unfortunately, my server has port 843 closed. I asked my server guy to open the port. Here's his reply:
[quote]One of the points Matt mentioned is even if we open that particular port how would you ensure the scores of people accessing this game from their schools, libraries or even people internal to OurCompany will have connectivity on the port. Let me explain, in order for traffic to flow on port 843 from the browser to the smart fox server, the users ISP also has to allow for that traffic to pass outbound from the users browser. It is possible that several users would not be able to run it, is that risk acceptable ?[/quote]
How common is it for ISPs to block port 843? I assumed that, since this is an Adobe standard, that ISPs would now have it open by default. What's the scoop?
View 2 Replies
Mar 6, 2004
1) how do you open a new window if you have thumbnail pics in the flash movie but want the full pic to open up in a new window? Is this Javascript inside flash?
2) How do they do the menu bar here at this site:[URL]
View 1 Replies
Jun 27, 2011
This is only opening the 2nd website, how can I make flash open both?
ActionScript Code:
navigateToURL(new URLRequest("xttp://wwx.facebook.xom"), "_blank");
navigateToURL(new URLRequest("xttp://wwx.youtube.xom"), "_blank");
View 3 Replies
Apr 30, 2011
I have a swf file with 5 buttons each button goes to a different url, so lets say i have 5 buttons, button 1 goes to preloader1 button 2 goes to preloader2 and so on.the problem is if i click on button 1 and open preloader1, then click on button 2 it opens preloader2 in the same window as preloader1, how would i do it so it opens a different window,here is the as3 code
Code:
function viewPopup(e:MouseEvent) {
var address1:String = "room2/preloader.php";
var jscommand1:String = "window.open('" + address1 +
[code]...
i have changed this _self to _blank but still doesnt work
View 1 Replies
Sep 2, 2011
I'm currently working on a project where I need to access multiple devices with differing IP addresses and Ports. I've defined "buttons" that will go to specific devices depending on the user input (sorry, hard to explain but I'm sure you'll get it). Everything works like a charm but I'd really like to see if there is a better way to code the following (maybe with an array) but I can't get it to work.
I will have up to 20 different devices so I'd like to streamline the code instead of having a bunch of "if" statements. As you can see, it's all the same just incrementing the TKsocket name.
[Code]...
View 3 Replies
Oct 16, 2009
I've seen all kinds of accordion menu examples that allow for one pane open at a time, but I really need one that can have more than one open at a time.
View 4 Replies
Jun 1, 2010
How to open multiple pop up browser windows from ActionScript?
View 2 Replies
Jun 23, 2011
Is there a way to open multiple navigation contents at the same time with the Accordion in Flex 4.5 ?
View 1 Replies
Oct 17, 2009
I need to create an accordion interface that can have multiple open panels. I have seen so many examples out there that allow one at a time, but none that allow the user to have a few panels expanded at one time.
View 2 Replies
Jan 6, 2011
I'm completely new to Flash and actionscript, so please bare with me. But I'm in a bind, so I thought I'd give this a shot.I'm needing to play a commercial before playing an actual video on my company's website. Once the commercials ends, I'd like for the video to start automatically. Is there an open souce (free) flash player that will let me do this?I've watched a tutorial on how to do so, but when I try to make it work with a player, it never works.
View 1 Replies
Aug 28, 2011
I have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
Below's the code I am using for the one that is working;
import flash.events.MouseEvent;var getIndex:URLRequest = new URLRequest("../index.html");
//---Enter Button---\
[Code]....
View 5 Replies
May 17, 2010
Code:
mc1.addEventListener(MouseEvent.CLICK,Click);
mc1.buttonMode = true;
function Click(e:Event):void{
trace("btn clicked");
}
mc2.gotoAndStop(5); If i have an mc(mc2)that is scripted and is overlapping or on top of a btn(mc1) i have on stage, the portion of the btn that is covered by the mc on top cannot be detected by any event listener.It is "blocked" by the mc on top.
But mc2 doesnt have a MouseEvent added to it, so it is not a btn which is y i dont get it as i'm transiting frm AS2 to AS3. How shuld i script for the above scenario so that the area "overlapped" can still receive the MouseEvent added to it?
Pls do not tell me to shift the mc forward....there r cases in web development where u happen to have translucent graphics or a movieclip wif image sequences playing in front of a set of btns.
View 2 Replies
Mar 19, 2004
I have a client who is IN LOVE with this site: http:[url]...I was just getting ready to start tweening and wondered if there's a way to script masks to do the same thing easily...NOT on mouse drag, but on the click of the button. I found a nice tutorial which will make a similar thing happen when you drag the mouse. But when I tried to target x and y the whole thing fell apart.
View 3 Replies