Apache :: Possible To Obtain The Domain Where Flash App Is Embedded?

Jan 12, 2010

The company I work for has their own Flash based video player and the question I get from our execs is "Can we tell what website our player is embedded on?"At first, I hypothesized I could use Apache mod_rewrite, extract the HTTP_REFFER, and append it to the end of the requested URL. So as the browser gets http://.../viewer.swf, I could slap on ?However, I don't think our CDN will cater to our htaccess file. Plus, mostly all the access_log entries show a dash rather than the domain.So I'm casting this question our here to see if I catch any ideas or solutions. Currently, everything points to 'not possible'.

View 5 Replies


Similar Posts:


Flash Cross Domain Policy For Apache

Dec 23, 2009

I was looking around but couldn't find it where can I add the cross domain policy of Adobe in Apache server. Because without it, its not letting me access my XML on another server.

View 1 Replies

Actionscript 3 :: Obtain URL That Flash Movie Is Embedded On?

Jan 13, 2010

today I'm trying to get the URL where my Flash movie is sitting on.

I found a similar question here, which was answered with a link to Flash's LoaderInfo method, but I'm not sure I'm using it correctly as the textField in my test movie here: [URL] does not display the URL

Updated! WORKING CODE

All I needed was this: stage.loaderInfo.url :)
package {
import flash.display.Stage;

[Code]....

View 3 Replies

Actionscript 3 :: Link In TextField Of Flash Cannot Be Clicked If It Is Embedded In Different Domain

Sep 29, 2011

I wrote a flash (ActionScript3) based radio streaming player, there is a link in the player for users to click. It's is a "a" tag in TextField. The code looks like this

textField.htmlText = '<u><a href="' + url +'">' + htmlEscape(text) + '</a></u>';

It works fine if I put my flash player in same domain of web-page, however, if the domain of web-page is different from the location of flash player, then the link is not clickable.

For example:

A radio example page

You can see there is a link in the title bar of radio player, I hosted the flash player on CDN, its domain is different from the web-page, therefore, the link is not clickable.

Why the link cannot be clicked if it is embedded in a cross-domain page? It doesn't make any sense. I did set the crossdomain.xml file properly, but it appears that it doesn't work. I want to make the link clickable everywhere, no matter what domain the web-page is located.

View 1 Replies

Actionscript :: Moving A Web Application From One Domain To A New Domain Flash/Php/MySql?

Jun 3, 2011

I have moved a web application from old domain to new domain. I cannot get Flash to engage. I have changed the domain in flash_images.php file to the new domain. I have a flash_box.swf file and I have a js file these are the only flash components that I see--old domain is e.g. www.example.com new domain is [URL]..I am not a flash developer, how do I get flash to work on the new domain?

View 3 Replies

Actionscript 3 :: Let Run Flash-app Only On Page(domain), Not Local And Not On Other Domain?

Dec 9, 2011

I created some game and would like to let the users play it only on my domain, so to forbid to play it offline or put on some other site. Is there a way to do it? Somehow check domain or so?

View 1 Replies

WebPages Won't Display Flash On Apache 2.2

Apr 3, 2010

I posted this on the Apache board, but after 4 days with no reply am still needing an answer so I thought I'd try here.

Needing a testing server I installed Apache 2.2 and PHP onto my Windows XP Laptop. That went great. However I can't run flash modules, like, for example, a video player streaming an FLV.

I was only able to install Apache and PHP by following directions, but don't really know much about such installs.

What do I need to do to make Apache run (display) flash?

View 1 Replies

Actionscript 3 :: Get/obtain Variables From URL In Flash?

Apr 27, 2010

So I have a URL that I need my Flash movie to extract variables from:

example link: [URL].. I need to get the aID and the bID numbers.

I'm able to get the full URL into a String via ExternalInterface

var url:String = ExternalInterface.call("window.location.href.toString"); if (url) testField.text = url;

Just unsure as how to manipulate the String to just get the 1234 and 5678 numbers.

View 2 Replies

Flash :: Obtain The Name Of The Current Function?

Jan 19, 2011

I want to get the name of a function from inside that function. e.g.:

function blah() {

I want to get the string "blah" here, from the function's name
}

Or at least the Function object?

View 4 Replies

ActionScript 3.0 :: Obtain Flash Variables From Url?

Sep 14, 2011

How to obtain flash variables from a dynamic URL generated from a back-end server programming like asp.net ?

I need to obtain the variable and its value from the URL that is being generated from an aspx page.

View 1 Replies

ActionScript 2.0 :: Flash Obtain The Effect?

Dec 10, 2003

I want my flash to obtain the following effect.There are two buttons and a dynamic text box in my flash.The two buttons are start and end button. When you click the start button,you will find the random data in the dynamic text box changing constantly until you click the stop button.

View 3 Replies

ActionScript 3.0 :: Post The Code For A Working Cross-domain Securityfile That Allows Access Only From The Same Domain?

Jun 1, 2010

post the code for a working cross-domain securityfile that allows access only from the same domain as all the flashfiles and xml files are in?used to be easy in as2 but i think i dont know what i need to know about it in as3..

View 3 Replies

Media Server :: Videos Start Immediately In Domain, 20+ Sec Delay Outside Domain

Apr 23, 2009

We are running FMS3 on Windows 2003 Server. Videos stream and play fine when inside our domain, but outside the domain the videos take anywhere from 20 or more seconds before playing.
 
After analizing the connections it was determined that the player is randomly trying to access ports until it gets to the one that works, but this is ONLY happening from people trying to view videos from outside our domain.

View 14 Replies

Flash Displaying Incorrectly Once Uploaded To Apache?

Aug 8, 2010

I recently purchased a flash template and after a lot of configuration and tailoring to my own requirements, I have the website look and feel exactly how I want it. I then proceeded to upload the site into cPanel and more specifically Apache, and unfortunately the display within the flash has now gone completely wrong. There are extra spaces in sentences where there were previously none and numerous images and text titles do not display any longer.his occurs in all browsers when viewed live but when viewed from my local computer via my hard drive all browsers display the content as normal??I am more of a Cisco/Network consultant therefore my knowledge in this area stretches a very small amount. I have added the Apache Handlers for .swf, .xml and the image formats but that's about as much as I know

View 9 Replies

Actionscript 3 :: Best Way To Obtain Geocode For Location In Flash

Mar 9, 2010

In the advanced search page you can specify 'near' a specific location and this 'near' parameter shows up clearly in the query string.However, Twitter does not support the use of 'near' in the public search api.Apparently you need to supply a geocode value.Can anyone suggest the best way for obtaining a geocode in Flash?

View 1 Replies

ActionScript 3.0 :: Possible To Obtain The Mouse Position Out Side Of Flash?

Mar 30, 2010

i have an eye. instance name: "eye1". it follows the mouse around just great using the following code...

Actionscript Code:
stage.addEventListener(MouseEvent.MOUSE_MOVE,eyesFollow);function eyesFollow(e:MouseEvent):void  var a1 = mouseY - eye1.y; var b1 = mouseX

[code]....

View 17 Replies

Flash :: In AS3, Obtain Visible Size Of Loaded SWF That Contains A Mask?

Aug 23, 2010

I'm using UILoader to load SWF files which I have no source for. These SWF files were created in AS2. They use masks. Width and height return unmasked values.

I'm trying to find the visible width and height of the clip so I can scale it properly.

For example I want a SWF to fit within a 50x50 space. The visible SWF is 65x65 (but I don't know this) and the unmasked size is 100x100. If I set the width and height of the loaded movieclip to 50x50, Flash scales the clip based on the unmasked portion, and I get a clip scaled much too small. Keep in mind I have no control of the SWF content, so I can not override width/height, or get mask size.

View 2 Replies

Flash :: Obtain And Push JSON Data Into Arrays?

Sep 13, 2010

so I have a JSON link that contains a couple of nodes (not sure what you call them in JSON) that I need to put into arrays in ActionScript, but I'm still having trouble trying to trace out all the specific node content.I found a similar question here, but the fix just showed how to trace out the entire JSON file (which shows up in my output window as [object Object],[object Object],[object Object],...)first node: {"captions":[{"content":"[hello world] ","startTime":0,"duration":4000}

My code:

private function onCaptionsComplete( event:Event ):void
{
//var jsonObj:Object = JSON.decode(event.target.data);[code].....

captions: undefined

TypeError: Error #1010: A term is undefined and has no properties.What I would like to be able to do is put the content data into the captionsContent Array, and the startingTime into a startingTime Array, same with the duration data.

View 1 Replies

Server Side :: Flash Mx And Php - Obtain Information About The Users Of Sites?

Jan 3, 2003

I have been trying for a few days to obtain information about the users of sites. No success so far.In flash I am using:

loadVariablesNum("mailPHP.php", "0", "POST");

My php code is:

PHP Code:

<html>
<body>
<?php
$mail_to="northls@nbkayaking.com";[code].....

I know I have made an arseup somewhere.

View 14 Replies

ActionScript 3 :: Apache - How To Control (start / Stop) Flash Media Encoder

Jun 29, 2010

How to control (start / stop encoding) Flash Media Encoder 3.5 using ActionScript 3 (using Flash CS4)? Flash Media Server 3.5 is also installed in same server. It includes an Apache server, which I think can run batch script, if CGI is installed.

View 1 Replies

Flash :: Apache - Page Is Throwing A 406 Not Acceptable Status Code And Is Not Saving The Images?

Feb 18, 2010

I'm debugging a flash website that do a request to an php file named upload.php to upload some images to the server.The problem i'm having that debugging it with Firebug the request to that page is throwing a 406 Not Acceptable status code and is not saving the images.

Post Data: This website runs well on the staging server but in production server this process of the image upload fails. I only can assume that a change to apache configuration / php must be done.

View 4 Replies

Flash - OSMF Player Stops Working When Deployed Onto Apache Tomcat Server?

Dec 28, 2010

I downloaded OSMF Sample player and opened osmf.html, (C:playerosmf.html)it worked perfectly without any problem.The same file when I deployed onto tomcat server,[URL] I get the error "The specified capability is not currently supported" while debugging.

View 2 Replies

Javascript :: Gain Access To An Embedded Flash Video's Parameters That Is Embedded On A Site You Don't Own Via A Browser Extension?

Jan 2, 2011

I'd like to gain read only access to the following parameters of embedded Flash videos located on sites that I do not own through my own custom browser extension/add-on:

Time location of playback head (so I can display the current time in the browser extension via HTML5/JavaScript) Frames (so I can make capture them to an image file, save it and display image in browser extension) Original Dimensions in pixels (so I can display the original video dimensions via JS/HTML5 in browser extension)

Is this possible by using Javascript and HTML5 from a browser extension?

Would I have to use something like the SWFObject Javascript API [URL]

View 1 Replies

Flash Won't Load When Embedded But It Works On The Published Embedded Html?

Nov 11, 2009

I made a flash mp3 player and it works fine in any other test pages. but when i embed it onto my site it just shows blank. what do i do? my site is [URL] and the flash player i tested here [URL] and it plays. What im i doing wrong? i tryed everything. right now i just got it in a iframe but i dont want that iframe.

View 1 Replies

Flash - Obtain System Information Or Cpu Information Using Adobe Flex?

Feb 11, 2011

I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?

View 2 Replies

ActionScript 2.0 :: Cross Domain SendAndLoad Via Cross Domain Script

Nov 5, 2010

My swf works fine when previewed locally but because of flash cross domain issues (link below) doesnt work live. [URL] Ive used a 'crossbrowser.php file to .load in xml but am not having success with the sendAndLoad command. [URL]

View 3 Replies

Apache Server W/ XMLSocket?

Aug 17, 2011

I have a perl socket on my apache server that correctly takes input from sockets and sends it back out to every socket connected to the perl socket. I have tested the perl socket, and it works correctly.
When I launch the Flash in the IDE, as a flash program, it functions correctly with the perl socket.
However, when I try to launch the Flash in a Browser on my apache server, it tells me it is unable to connect to the server.However, I am seeing from feedback from my perl socket, the flash connects for about a half of a second, and thats it.

What could be the problem, do I have to include code in the flash to allow XMLSockets to connect in a browser as well? Is there certain things I need to do with my apache server to make it work?

Also if I 'Preview as HTML' from Adobe Flash CS4, it does not connect.

View 3 Replies

Server Side :: PHP Won't Run On APACHE ?

Jun 27, 2006

I've been through all the instructions and after running all the diagnostics through telnet it seems PHP is installed correctly as well as APACHE.When I edit the httpd.conf file however and add:

LoadModule php4_module "C:/PHP/php4apache.dll"

Apache fails to start once the httpd.conf is saved with that LoadModule request.It is in the specified directory.It is PHP4 on Apache 2.2. on Win XP.

View 6 Replies

ActionScript 2.0 :: How To Obtain Variables From PHP

Mar 11, 2010

I have problem with obtaining variables from php script.
Here is my php script
<?php
echo "&Files=1,2,3";
php>

And now in the actionscript 2.0
var GVars:LoadVars = new LoadVars();
var Pictures:Array = new Array();
GVars.onLoad = lVars;
GVars.load("[URL]");
function lVars(){
trace("Files: " + this.Files);
Pictures = this.Files.split(",");
} trace("Array: " + Pictures.length);

Here is the output in the trace window
Array: 0
Files: 1,2,3,

As you can see the first is Array:0 which means that actionscript ran first trace
("Array: " + Pictures.length);
End then lVars function. I cannot load variables from php in correct order.

View 4 Replies

Media Server :: Getting IIS7 Instead Of Apache?

Feb 27, 2010

I have fms 3.5 installed, i did not install Apache because i already have iis7 running. how do i configure fms with iis7 to allow for http tunneling/streaming when rtmp is blocked?

View 3 Replies







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