Prevent Swf Running Out Off Of Server

Dec 22, 2009

I searched everywhere for a peice of code to prevent a web page from loading when it is not on a server.Finally found this one and I swear it was working last night.Am I placing the function in the wrong place?I have everything in 2 framesif the flash swf is currently running on the propper server it should skip to frame 2 and if it is running on a computer or the wrong server it should stay at frame 1.[code]

View 5 Replies


Similar Posts:


Actionscript 3 :: Adobe AIR: Prevent GC From Running?

Feb 25, 2012

For a game (using AIR for iOS) I want to prevent the GC from running during a specific 30 seconds sequence (because it causes very notable lags). What I already do is calling System.gc() right before the sequence starts. During the sequence, i don't create many new objects and only some animations play and objects move (in 3D). some of the objects move out of the stage.

[Code]...

When the GC fires, the System.privateMemory drops to 74 MB, but causes a lag of aproximately one second. The GC fires twice during this 30 second sequence.

So my question is about any techniques, hacks or workarrounds (other than optimizing the memory usage in general - obviously i'm already working on that) to prevent the GC from firing during this 30 seconds?

View 3 Replies

Flex :: Prevent A Locally-running SWF (AS3) From Downloading From My Website?

Jan 9, 2011

I've got a crossdomain.xml file which allows SWFs running on only a certain few domains to download resources from my domain. However, one simple way around this is for a user to download the SWF to their local machine, and run it there (i.e. by double-clicking on it within Windows Explorer, not by running through [url]... It seems that when this happens, the crossdomain.xml file is ignored.[code]...

Is it possible to do something on the server side to stop a locally running SWF to download from my site? I tried checking the referrer but this field often isn't populated.

View 2 Replies

Flash :: Prevent Android From Sleeping While The Flashplayer Is Running

Oct 14, 2011

I've written a videoplayer for Android based on Flash (10.2) which plays videostreams. In some cases (*), the player begins to buffer for quite some time. Now, while the player is acually playing the stream, Flash (somehow) signals the OS to prevent entering the sleep-mode. But while buffering, this is not the case and the phone will eventually enter sleep mode before the stream has restarted. So the user has to unlock the phone again - not very convenient. Is there a way to set a signal with Flash/AS3 to prevent the Andoid-phone to go into sleep mode? (*) mostly over the mobile network when the network access performes a handover between 3G and 2G or vice versa

View 1 Replies

ActionScript 2.0 :: OnPress GetURL - How To Prevent OnRollout Function Running

Jun 14, 2006

When I use:
on (release){
this.stop();
getURL("page.html", "_blank");
}
Why is it that when that new page window is loaded the background flash window then runs my
on (rollOut){
this.play();
}
function? I am trying to pause the timeline I am clicking from in Flash. If I take this line out (this.play() it pauses, but if I were to go that way how would I start getting my MC to play again when the user gets back to the flash window?

View 3 Replies

Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 Replies

Media Server :: Deploy Video Using FMS / Apache / IIS Server Running On Win XP Pro?

Sep 28, 2009

Right now I do not have "server". Example: I do not have anything like windows sever 2000, 2003 etc. but I have and running IIS server on the same Windows XP Pro. On this very same machine I installed FMS server with the Apache that came with the FMS. I have read and followed the instructions time and time again in deferent ways to deploy my video on the server but no idea I used is working so my clients could view my videos. Looking forward to have site like "hulu" / "You Tube".

View 1 Replies

Media Server :: Have Multiple FMS Installation Running On 1 Linux Server?

Jan 19, 2011

Is it possible to have multiple FMS installation running on 1 linux server?This mean that each fmsadmin, fmsmaster, fmsedge, fmscore will run under a specific user. (not vhosts of a single FMS install)How will this impact the performance of the other FMS instances in case there are more of them running on the same server?

View 2 Replies

Media Server :: Prevent Non Authorized Users From Using FMS

Jan 9, 2011

I do noticed that any user who have the ip address of my FMS can do connect and stream to the server although there is no user for him and the server listens to the stream already and it appears in the active streams. How can I prevent that and only allow authorized users by my to connect to FMS and prevent all other from using it ?

View 7 Replies

Asp.net :: Prevent Download Any Files (specially Swf) From IIS Server?

Dec 16, 2010

i have some files swf files that i want to prevent downloading them.is there a solution that the IIS can have a passord for downloading the file swf file and i can provide this password in some situations on the server that i can pass this password in the code.so that the swf file can be viewed from my page only as provide the password.

View 3 Replies

Running Flash On A Web Server

Mar 5, 2011

I work on a lot of digital media projects; which often require dynamic graphics. I find flash to be a great tool for this purpose. It's very easily to dynamically change text inside a swf, compensate for text overflow and apply lots of nice filters and effects. Not to mention font embedding. This technique works great for web pages, however quite often we want to use flash generated artwork in a html email. How can we do this? Well, we can use as3corelib to generate a jpg from a swf, and then use the generated image in an email.This is fine, so long as we can pre-generate all of the images, before sending out the emails. But say we need to generate the dynamic jpeg on the fly from a webpage? If the user on the webpage has flash installed we could configure a swf to generate the image for us.But what if the user has flash disabled? Maybe they are using an ios device or simply don't like flash. What I would like to do is set up a server side fallback that could run a swf, replace text in the swf based on supplied variables, generate a jpg using as3corelib and save the jpeg somewhere. The trick here is running flash player on the server. It would also need to run in a multithreaded way in case the server needed to process multiple requests.

View 4 Replies

Media Server :: Prevent User Publish Stream To FMS?

Mar 5, 2012

I've installed Flash Media Server and send stream to it use Flash Media Live Encoder via [URL]. And on my website, I've embed code to play this live stream via [URL]. All ok!

But, any user can install Flash Media Live Encoder and connect to my FMS, publish his/her stream (because url to publish and view is same) My question is: how to prevent end-user publish stream to my FMS, only allow end-user view my live stream?

View 3 Replies

Php :: Flex (with Zend) Running On A IIS-Server?

Feb 8, 2011

I have a Flex-Page which connects to a MySQL-DB through PHP (Zend). I run the Flex-Page on an IIS-Server (Windows Server 2008 R2) and it works. But the problem is, that i specified the web root to the C:inetpubwwwroot directory (there php is running). On the server i want it on another directory.(Now i have the main Flex Page in the directory für the webserver, and the php files are in the wwwroot directory).

When i specify the web root to an other directory, nothing works, not even on my local machine.

View 1 Replies

ActionScript 3.0 :: URLLoader Not Same Running On Server

Jun 12, 2010

I am sending byte array data to php through a urlloader. Everything works fine when I run it locally on my computer. If I try to run it off my server,nothing gets sent to php, my Event.COMPLETE listener never fires.I have tried both absolute urls and relative urls, that didn't make a difference[code]

View 1 Replies

Media Server :: Firewalls Prevent Flash Streaming So Progressive Is Better?

Aug 13, 2010

I have been using streaming Flash video but just found out that it can't be seen in many places because Flash streams over ports 1935, 443, and 80, which are often closed by firewall. Progressive only needs port 443 so it's more likely that it will come through firewall.

View 4 Replies

Media Server :: Installing Key In Running Dev Setup

Jan 10, 2011

I have been testing a project with no license key(Dev) and last week I purchased a Flash Streaming license but I go into the fms.ini and insert the key and restart FMS but my streams no longer work and the only error I seem to be getting is: Found Connection Penalty (RTMFP) on core launch, penalty active since time 1294334608.351221 I remove the key and restart the service and everything works fine.

I even tried reinstalling FMS and provide it the key when it asked in the installer but same issue. Is this error related to an issue with the licensing key? There is no error when I remove the key but can't get support through contacting Adobe by phone. I asked what is the proper way to install the key and they said they would open a ticket and contact me back but its been 2 days not including the weekend, I thought it would be a very simple question for the FMS dept that I was speaking with.

View 5 Replies

ActionScript 3.0 :: Running Flash As A Server Application?

Feb 18, 2010

We're interested in putting one of our flash applications on the server back-end so that it can run as a module on the server machine (not on the client!). I know flash wasnt designed for this at all, so my question is:

1) Can I run Flash from the command prompt and pass parameters to it?

2) Can I detect when the Flash has finished running, or a way to communicate with the command prompt from Flash (to inform it once the operations has finished).

3) Can I close the flash application from the command prompt?

View 9 Replies

Media Server :: Prevent The Illegal Distribution Of Video And POST Data?

Oct 31, 2011

setPublishPassword and setPostingPassword ?I do not quite understand, do not use an example.I set him groupspecWithOutAuthorizations, but was illegally set to groupspecWithAuthorizations how to do.

View 4 Replies

Media Server :: Detect If A Live Stream Is Running?

Jan 21, 2009

With the Flash Media Streaming Server (not the interactive version), is it possible to detect if a live stream is running? I want to show an overview of several live streams on one page. The ones that are not running should show as "offline". The others should show an online thumbnail. I don't want the visitors to have to go to all of the pages only to see that the stream is offline.

View 2 Replies

Media Server :: Running FMS 3.5.3 On Amazon EC2 (Windows 2008)

Feb 8, 2010

Does anyone know of any issues with running FMS on Amazon's EC2 Cloud environment? We're running some live streaming applications, but are hearing reports from users of random disconnects.

View 1 Replies

Media Server :: Running A Live Stream From An XML Playlist

Mar 25, 2010

I have just successfully installed Adobe FMS on my server. I would now like to know how to program a script to run a continuous live stream, of MP4 videos, from an XML playlist.

View 20 Replies

Media Server :: Running Multiple IP Multicast Sessions

Apr 5, 2011

am setting up multiple multicast sessions, i generated configurations for each session using a seperate stream name, IP address, port.

1) Is it possible to run multiple multicast session.From configuration, looks like we can, but need confirmation
2) How can i test these sessions using the default player ? or any sample player

View 1 Replies

Flex Client App Connect To BlazeDS Running On A Different Server?

Feb 9, 2010

As far as In understand the Flex technology, a Flex client connects to a Flex server to retrieve business information. Is this the only allowed connection for the client, back to the originating server? Or can a Flex client also open a secondary connection to a different server wich runs BlazeDS for message exchange?(This might offer an option for load balancing and cross-platform development).

Update: I have found this page which links to the Cross-domain policy file specification:[URL]..

View 2 Replies

Json :: Flash - No Feed When Running On DoubleClick Server?

Feb 23, 2012

I have a Flash Ad which makes use of a JSON feed. The Flash file is hosted within oubleClick Studio.The call works perfectly locally but when I upload it to DC Studio the load Event.COMPLETE does not file neither do any IOErrors which is leaving me with no feed and no errors!I have tried making use of the StudioLoader which is supplied by DC which returns that the file is an unrecognised format. Would it be that DC just wont read JSON at all?

request.url = "myJSONFeed.json";
loader.load(request);
loader.addEventListener(Event.COMPLETE, decodeJSON);

[code]......

View 1 Replies

ActionScript 2.0 :: Cannot Load File Contain When Running On Real Server

Feb 15, 2012

I have used LoadVars to load a srt file and manipulate its content successfully on my desktop computer. But when I post it on a real server, it can't be used.Here is my code. It seems that LoadVars cannot read an external file on real server or function parseCSV(raw) cannot work on real server.By the way, real server there I mean that this flash running on website [URL]

Code:
//Display subtitle
function loadSubtitle(subtitlePath){
startTimes1 = new Array();

[code]....

View 1 Replies

Media Server :: Audio Distortion - Running FMS 4.5 On A Linux System With 4GB Of RAM?

Jan 3, 2012

I'm running FMS 4.5 on a Linux system with 4GB of RAM.Whenever I do a live broadcast from the server, the audio does a very strange thing. It sounds, ever so slightly, like an old record player where someone is occasionally (4-5 times a minute) putting a small amount of pressure on the speed of the record player and altering the pitch of the music. All my buffer settings are the default settings. It happens whether I'm doing CD quality audio or dialup 11025 kbps audio. I'm using MP3 for an audio format.

View 2 Replies

Media Server :: Running With Multiple Smaller Mp4 Files About 50 MB In Size?

Feb 22, 2012

I have a question regarding httpstreaming we have fms running with multiple smaller mp4 files about 50 MB in size. When played they start playing immediatly but still are cached/downloaded in directory C:Documents and SettingsUsernameLocal SettingsTemp of the clients
 
Now we have issues with a large file of 890 MB, which is not being played, clients need to download this complete file to play it. Does the streamingpart doesn't work well on our server?
 
Please help since we getting a lot of complaints from viewers. Running FMS 4.0.3 on CENTOS 5.7 64 Bit
 
What can i check besides the forums regarding dynamic httpstreaming

View 2 Replies

Java - Connecting Non-flex Client To Server Running BlazeDS?

Aug 27, 2010

I have Flex/AIR app that connects to a tomcat server via BlazeDS. I'm not finding that I have to integrate an old webapp (struts/jsp) and I'd like to keep that webapp untouched except for login, authentication and session handling. Also a 3rd java app that uses httpclient.

Currently I have some blazeDS remote objects to handle login/logout with a few RPC calls. In turn, FlexSession objects are created and handled. Is there a way to use httpclient and javascript to call those blazeds RPCs so I dont have to recode and have 3 different means to handle logins and sessions?

View 1 Replies

Flash :: Connect Application To Nodejs Server Running Socket.io

May 9, 2011

i'm trying to connect my flash application to my nodejs server running socket.io. To connect via web-browser is no problem. Now the problem, when the socket-server isn't running i get an IOError in Flash what seams alright. Now when i start the server and try to connect again, i don't get an error, but the socket-server doesn't receive a connection either?!

View 1 Replies

ActionScript 2.0 :: Flash Security - Running Php Scripts From A Different Server To Access A DB

Sep 11, 2007

I guess this is more a question about PHP and MYSQL, but since Im using flash as the interface, I wanted to know if anyone knew this. Is it possible for someone to basically trigger one of my php documents that inserts variables to the Database through an swf ran outside my server? I know for example flash has a security feature built in to prevent flash from loading xml files from server to server. If anyone knows more about flash security issues and tips let me know

View 3 Replies







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