Php :: Html - Mediate A SWF-Flashfile Using A PHP Mediating A.k.a. HTTP-Pseudostreaming Script?
Feb 8, 2012
I'm writing a simple small context media platform. It is mainly based on so called HTTP Pseudostreaming, where I mediate the media file using a php script. This is used for checking access to the file, and for linking to the correct directory. In the following the basic parts of my code:
header("Content-type: " . $file_type);
header("Content-length: " . $file_size);[code].....
View 1 Replies
Similar Posts:
Apr 5, 2010
i have a flash file which on mypsace can't load external files because it blocks it, script file so that the xml data is inside the .swf so it doesn't have to load it externally, im not sure how to do it ,
View 8 Replies
Feb 28, 2011
i tried to give a swf file a sessionid but it dont works just in IE
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="650" height="430" id="upload" align="middle">
<param name="movie" value="upload.swf?PHPSESSID=<? print session_id(); ?>"
[Code]......
View 1 Replies
Feb 2, 2012
Since my application is getting bigger, I decided to fragment my project into several modules, but the documentation from Swiz on Modules is very poor [URL]. I tried out the Swiz Examples [URL] but I couldn't inject any data into my module or even catch an event. The module is loaded properly however.
Ideally I will end up having multiple Flex-Projects, each containing one module and each .swf file is deployed into the application deploy folder. However if you aren't familiar with a structure like that, but instead you know how to inject data/event mediating into a module inside the same Flex project.
View 1 Replies
Jan 27, 2012
i want to serve world clock into my SSL enabled website. when i use http chrome browser shows mixed content "this page include other resources which are not secure" [URL]already try SSL proxy to display clock but no luck:[URL] this shows Clock fault. Undefined!also uploading that flash clock into web server and undefined error also occur.is there anything should i try or any recommendation ssl enabled clock similiar to worldtimeserver to use?[URL]
View 1 Replies
May 23, 2011
In our company we upgraded to fms 4 and installed the apache that comes bundle up with the installation. We had it configure and now we can play videos in html 5 by using the http protocol. The question I have is, can we use https protocol instead of rtmps? I've been doing a lot of research and I found documentation that says to put a minus sign in front of port 443 (-443) in the fms.ini file in the ADAPTOR.HOSTPORT line but it also says that with this configuration port 443 will only receive rtmps connections. My next step is to put the minus sign in front of the port number and restart the server and just try to establish connection using https to see if i works.
View 1 Replies
Feb 19, 2011
So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
View 1 Replies
Sep 22, 2010
a.swf is loaded in a.html which is hostedI want to know, if user browses[URL]
View 1 Replies
Aug 4, 2011
I am designing a web application in Flex 4 and currently facing an issue rendering advanced HTML tags and entities in Flex 4. All I want to do is basically render an HTML text coming to me something like the one given below:-
[Code]....
View 3 Replies
Sep 20, 2009
hopefully this is possible:
-1 large html (home.html) file houses 2 html files (aaa.html and bbb.html)
-aaa.html consists of 1 swf button
-bbb.html is empty
question: is it possible to click on the button in aaa.html and have the action occur in bbb.html? (for example, clicking the button in aaa.html will load a swf in bbb.html)
View 2 Replies
Jun 22, 2010
I need to be able to play MP3/AAC audio with a custom-built Flash player, embedded in a web page using my standard HTTP server. The loadSound() method seems to work fine for this, but I need to be able to skip the MP3 to unbuffered regions of the audio timeline and to start it streaming/downloading from there.
Anyone know how I can accomplish this? I've used the excellent mod_h264_streaming plugin for Apache for f4v "pseudostreaming" so I'm trying to accomplish the same thing on my audio files.
View 1 Replies
Oct 11, 2011
Unfortunately, Flash Player doesn't support using request headers with GET requests, as noted here, due to what Adobe terms "browser limitations": Due to browser limitations, custom HTTP request headers are only supported for POST requests, not for GET requests. That means I need to create my own HTTP socket class from scratch and find a way to run a policy server on the machine I'll be querying. Hooray.If I want to make a simple GET HTTP request with HTTP-Basic auth headers, what do I need? I'd need something like
socket.write("HTTP GET REQUEST PAYLOAD HERE");
socket.flush();
What do I put in the write method to compose a GET request?
View 1 Replies
Nov 9, 2005
i am trying to get a flash ".swf" file to set a variable for the url that the file is embedded on. i know there has to be a way! I am using the " this._url; " to get the url, but all it gives me is the url to that swf file. I want the entire page's address to be my variable, not the swf url. I am trying to send that variable over to a php page to write it to mysql, but i can't get it to give me the right variable.
lvOut.address = this._url; //this sends the variable to php it does send the variable, but the variable is not the full url to the page it is loaded on, it is the url to the flash file
View 1 Replies
Jun 11, 2010
I have uploaded http pages with flash but unable to see it on internet.I had the same problem before but when I reduced the size of flash file, it started show on the net.However, this time it does not work.The files I uploaded were http, flash, swf, scripts.The size of flash is 127kb and swf is 4kb.
View 7 Replies
Oct 24, 2011
When I use Adobe Flash Media Server 4.5 publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."
View 3 Replies
Jul 8, 2009
I'm working though the Adobe "Flex in a Week" video training series, and I've reached Exercise 9, which deals with creating a remote service call. Up til this point, the data source and images have been local assets (located in src/assets in my Flash Builder project).
I access the room list by this:
<mx:HTTPService id="rooms" url="assets/roomList.xml"
fault="httpFaultHandler(event)"
result="httpResultHandler(event)"/>
Here are the two result handlers:
private function httpFaultHandler(event:FaultEvent):void{
Alert.show("There was a problem","Error");
}[code]...........
However, when I run the application in the blazeDS container, I get no rooms despite the fact that the room list clearly exists in the deployment directory after running the application:
$ find . -name roomList.xml
./tomcat/webapps/odt/adobeODT-debug/assets/roomList.xml
How can I debug the reason for this failure? The deployment process used by the Flash Builder tool is fairly opaque, and the tomcat instance isn't advertising 404s from Flex apps. Is there logging somewhere, or something, that needs to be turned on?
View 1 Replies
Jul 26, 2009
I've written a Flash (Flex) client connecting to a back-end server to exchange data. I've also written my server from scratch, and it serves two purposes:
(1) Web (HTTP) Server- By default listens on port 80
(2) Socket/Application- Server - By default listens on port 443
Just FYI, both servers run in the same process space, for convenience reasons. They are not expected to handle massive loads, so I'm fine with that. As soon as the Flash client is served to the browser from the HTTP socket, the client attempts to open an XMLSocket to the Socket/Application server. I now want to implement HTTP tunneling, so that my client can connect to the Application server even if the user is behind a firewall. I do not want any external servers involved (proxies etc.) - simply use the servers I already have.
My questions:
(1) Is it better to use port 443 for that? (does it better fool firewalls?)
(2) As far as I can see, what I am required to do, is just ensure that my actual application data is simply encapsulated in an HTTP structure (preceded by a dummy HTTP header), both from the client and server sides. Is that so or am I missing anything here?
(3) Do I need to keep hiding/encapsulating my data every message I send through the socket, or can I just encapsulate the first message when opening the connection?
View 1 Replies
Jan 2, 2010
I use this resultHandler and instead of using my data with four(4) separate field I would like to use the following code in one field. and as a one line read out?
E.g (title + "." +firstName + " " + middleName + " " + last Name) = (Mr. Harald E. W. Buttweiser). I get it with static Xml e.g. models but cant find the right way to get it with my Http!
[Code]....
View 1 Replies
Mar 19, 2010
so I have a Track system with some kind of protection. So to get some data from any URL you have to pass protection like this [URL] and then (in browser) you can see some pages [URL] (if you havent passed login youll get no content)so how to login and get data from page using flash/actionscript (btw I am triing to create an rss reader)?
View 2 Replies
Apr 1, 2010
We have a Flex client and a server that is using the Spring/Blazeds project. After the user logs in and is authenticated, the spring security layer sends a redirect to a new URL which is where our main application is located. However, within the flex client, I'm currently using HTTPService for the initial request and I get the redirected page sent back to me in its entirety. How can I just get the URL so that I can use navigatetourl to get where the app to go where it needs to?
View 2 Replies
Apr 16, 2010
When I execute the (2nd) below code with a wrong url (number '1' added at the URL end), I get the below error. How can I catch this error, in case the url is wrong, so that I can give out an error message to the user ?
Error opening URL 'http://localhost/myapp/cgi-bin/savePlanScale.ashx1?NoCache%5FRaumplaner=F7CF6A1E%2D7700%2D8E33%2D4B18%2D004114DEB39F&ScaleString=5%2E3&
[Code]....
View 1 Replies
May 11, 2010
We are facing one issue directly connected with our Flash API we've given to a 3rd party flash vendor. To make a long story short, our API basically wraps domain logic on client and creates a single POST request towards the server in JSON format. All will be ok except in combination MacOS + Safari we receive double requests on server (?).
Even more interesting, we are receiving different agent names - one is expected name/decriptor of the browser and system, other is "CFNetwork".
POST /RuntimeDelegate.ashx - 80 Mozilla/5.0+(Macintosh;+U;+Intel+Mac+OS+X+10_4_11;+fr)+AppleWebKit/531.22.7+(KHTML,+like+Gecko)+Version/4.0.5+Safari/531.22.7 200 0 0
POST /RuntimeDelegate.ashx - 80 CFNetwork/129.24 200 0 0
POST /RuntimeDelegate.ashx - 80 Mozilla/5.0+
[Code] .....
View 1 Replies
Nov 27, 2010
Are there any audio encoding libraries for Flash? I need to record sound from a Flash applet, and then upload it to a server with HTTP. The problem is that the raw audio file is really big. Is there any way to encode it into MP3/OGG/etc from Flash and then upload it to the server?
View 1 Replies
May 24, 2011
I have used wsdl2js to generate the javascript needed to communicate with the service.However I end up getting a http 500 error and have not been able to get past that. I have looked through the provided examples from the Apache CXF download and I have done some searching and cannot find a solid example of creating the javascript client. A lot of examples seem to somehow access the wsdl file at runtime from a server but my javascript is already generated from the CXF tool and I just include the scripts.
Adobe Flex and AS3Another option I have considered is using Adobe Flex. I create a new Mobile Flex project in Flash Builder using the BlackBerry PlayBook SDK and Flex 4.5. However when I use the menu options to connect to a web service I get prompted with "This option is only available for flex projects."Are there any other options out there that provide a solution to this problem? If you need more information just let me know
View 1 Replies
Jul 22, 2011
Is it possible to make a simple Http Request using as2 and get the redirected result?xample[URL]
View 1 Replies
Jan 6, 2012
I'm looking for a tool to facilitate mulitple webpage file uploads from a single file browse dialogue. I know this has been asked previously, but I can't find anything current.I'd like to check file size prior to upload, and I gather Flash is still the only way to do that cross-browser? Ideally, I'd like an upload progress metre.I'll be using Linux and Apache servers, but don't have access to install add-ons such as PHP APC. Again, I assume something flash-based is the only option there?
I've looked at SWFUpload, but that appears to be another of these projects where the developers have become quite zealous and turned a simple concept into a full suite of tools for the masses.It seems quite cumbersome and I don't think I want to use it for my purpose.I'd prefer not to have to write something from scratch for this.suggest a non-Flash alternative if there is one? I do need full cross-browser compatibility without too many layers of degradation, so anything HTML 5 probably isn't what I want.
View 1 Replies
Sep 12, 2005
Anyone ever received this message after using the "on (release)" and "getURL" scripts for a button hyperlink? You would think I had a typo somewhere, but I don't see one. Every button hyperlink produces this message then goes to the intended page after clicking "OK".
View 11 Replies
Nov 1, 2005
I'm sure this a common Actionscript method, but my websearch on how to do this is turning up no results.
Using MX 2004 I am trying to get the current value of the web address in which the swf is residing and have actions take place based on the HTTP locations.
ie;
var a:String = this.HTTPaddress;
var b:String = this.HTTPaddress;
(have certain actions take place based on above vars.)
View 4 Replies
Dec 21, 2009
I have created a flash menu for my new website but i cannot get the http links to work.
[URL]
The Flash Actions code is below:
stop ();
var links = data.links.split (";");
for (var i = 0; i < links.length; i++) {
var parts = links[i].split (",");
[code]....
View 2 Replies
May 23, 2011
I can retieve the data using standard http however the data will be required to connect to a https connection only.How do i go about doing this.I've looked a on the internet and cant find anything, The only thing i've found is crossdomain but i don't think im on the right lines with that.The flash movie will be exported and ran as a projector file rather than a thml embed swf.
View 1 Replies