Actionscript 3 :: URL Redirection Of MP3?
Dec 30, 2010
I have a flash game where MP3 files need to be externally loaded when the user plays a game. The problem is that I may change where the MP3s are hosted. This would normally be fine, just upload a different SWF with the new URL to the MP3s. The problem is that I can only post the swf once, because it will be uploaded to 1000+ sites and I can't go through them all and upload new ones. I need a way to redirect the URL to the hosted MP3.
One way for me to do it would be to host the redirection myself, but the game will be extremely popular (i hope) and I was wondering if there was a redirection service out there so that I'd put in:
URL: "redirectURL.com/35kskdfji2jdi"
Which would redirect to: "hostedURL.com/myMP3.mp3"
Is there any way for me to do this without just handling the redirection through a server that I rent?
View 1 Replies
May 1, 2009
I am using AS3 navigateToUrl (aka: AS2 getURL) or even tried javascript redirection (externalInterface) to redirect users from my movie to another html, but the first redirection takes like 15 seconds before its executed, eg before the page redirects to new page. Im not sending any data. This only happens if the redirection was not attempted already and the html is not cached.
So what i need is to decrease this time .. ideally for the redirection to happen instantly.
The movie is embedded in HTML like this: Dimensions: "Match Movie" (maybe if i used 100% width/height it would work?)
Scale: "Default (Show All)"
View 2 Replies
Oct 15, 2002
I want to send form data from flash to my email through cgi.but i do not want to get the page redirected I want to display a message or data submission inside flash only.
View 1 Replies
Dec 1, 2009
1. I entered a url in a video player : rtmp://10.0.0.1/vod/mp4:sample1_1500kbps.f4v
2. this video doesn't exist in 10.0.0.1 server. it is exist in 10.0.0.2.
3. the server 10.0.0.1 connect, play, and resource not found.
4. server 10.0.0.1 know that this video exists in 10.0.0.2 ,then redirect the whole url to 10.0.0.2. such as rtmp://10.0.0.2/vod/mp4:sample1_1500kbps.f4v
View 3 Replies
Nov 30, 2009
I have a Flash object that sends an URL request with URLLoader. However, how do I make it follow those Location: redirections in headers?
View 1 Replies
Jul 9, 2011
I followed the following article to deal with ViewExpiredException -
It does what it is supposed to do. But I wanted to have some FacesMessage displayed on view if the user was redirected to it due to ViewExpiredException. So, I added a FacesMessage before redirection using NH.handlenaviage(). But it didn't work, and the reason was that the FacesMessage survived only one Request Processing Cycle.
At first my solution was to save the message in the session and retrieve it before Restore View phase of next cycle.
Even though it worked, I started looking for some standard solution and the first thing that I came across was the following article -
Persist and pass FacesMessages over multiple page redirects
But it didn't work. I think it's because the PhaseListeners are executed before ExceptionHandlers. So, in this case it was useless.[code]...
View 1 Replies
May 27, 2011
I have a flash file . In last frame i want to redirect it to a website.My problem is that I am not able to find the last frame.
View 1 Replies