ActionScript 3.0 :: Redirect To A Url / Html?
Jun 30, 2009I need to know how I do a button (button or movie clip?) that redirect to an url/html, like a skip intro that recirect me to [url].
View 6 RepliesI need to know how I do a button (button or movie clip?) that redirect to an url/html, like a skip intro that recirect me to [url].
View 6 Repliesi'm an motion-graphics designer, who had experience with flash only this was 8 year's ago. I'm not a programmer so I allways had people around me who could do the flash things. So I absolutely have no idea how it works.
Now i'm making a website, with an swf which play's an flv. The flv can be paused etc. now is my question, after the flv is played I want this to redirect to for example index2.html where are a couple of links. and from that page you can go to the next.
I've seen on the web a lot of reactions about this question, people say use the playerdiy.com. but that's not gonna work for me now.. Because i have set the design up this way (picture in swf which say's ichap etc, with a black solid where the video is been played).
Playerdiy does what i want's but i wanna have my swf design what I used here: [URL] this is with playerdiy: [URL]
1 -I have a flv file on one frame.I imported my video and CS3 added it to my library.I change parameters to autoplay and autorewind. This is on one frame.My flv file name is movie.flv
2- When this is done playing I want it to automatically go to main.html
3-I read a previous answer on this that gives the following code which I inserted right on the same frame that my flv is loaded.I named the instance name of this flv as "flv"
It isn't working.Here is the code I picked up on previous forum:So I put this on the frame where the flv is loaded which is scene 2 frame 1 and instance name of flv.
flv.addEventListener(Event.COMPLETE,completeF);
function completeF(e:Event){
navigateToURL(new URLRequest("main.html"));
Statement must appear within on/onClipEvent handler .The class or interface 'Event' could not be loaded.I can't add a get URL code because it is a flv on one frame.
I have one html page for intro that using flash and doing some animation..ok what I want do is..how to redirect this page to index.html contain no flash as soon as the intro was done...without clicking the button to enter the index.html
View 1 RepliesSo I have an flv playing as a short intro to a site, when it is done playing I would like it automatically go to the main page. This is the code I'm using the play the FLV.
var nc:NetConnection = new NetConnection();
nc.connect(null);
var nStream:NetStream = new NetStream(nc);
[Code].....
Instead of installing flash I would like my visitors to be redirected to a html version of my page if they have no flash detected.
View 2 RepliesI have this form and I would like when people click the submit btn, to be redirected to an html landing page. I'm not sure if I need to modify the php or the action script or both. Does anyone know how to do this
[Code]...
I want in my Flex app to redirect to an HTML page if the user doesn't have Flash installed. I noticed in the HTML generated by Flash it has:
[Code]....
Which displays generic message about not having flash. I know I can put HTML there to be displayed if Flash doesn't exist but I don't want to load the HTML if it's not need (case when Flash is installed) so I thought the best way is to redirect to an HTML page if flash doesn't exist.
what's the action script in an flash that will redirects the html page after the flash has ended 5 second. It will redirect into the page that is in the same target folder example: the flash is in index.html and it will redirect to home.html after the flash end.
[URl]
I am still pretty new to the whole SWFObject thing and I have this code that is working great. but I have no idea where to put (or how to put) a link to an alt site for pc's and devices that are not Flash enabled... this is my current working code.
[Code]....
and say I want the user to be redirected to the address below if on a iPhone or some other thing that does not support flash.
I know this is probably something that is discussed a lot but I cannot find the solution to meet my exact needs. I need to redirect website visitors to an HTML version of my website (or show HTML instead of Flash) when they do not have flash player installed. I need a simple, clean, quick solution because there are about 70,000 letters that went out to customers with the site on them and the client just asked for this behavior this morning, right when the mail is supposed to hit mailboxes today.
View 3 Repliesin that task i have to make one website intro and have to run with html page. that i know haw to do it. and i have done with this part.
but now i have to do one thing that is. when my intro is completed then page will automatically redirect to website home page.
is it possible then page will be redirect without single click. if yes then how.
I have a flash heavy website. I also have a PDF version of the information on the website. I want to add determine the browser (or platform) requesting the site and if it is a mobile device (or flash unsupported devide, i.e. iPhone or iPad) redirect the user to the PDF.
View 3 RepliesI have created a map using flash and I converted each region from the map into a symbol.Also I implemented on flash level the up, over and down "events" for each region in part.After that, I try to implement the event for "hit" (I guess that it is similar with onClick event).The thing what I want to happen is to redirect me at specific page of that region.How can I implement the click method on a part of whole image?
View 1 RepliesHow can I have a video (or youtube video) play on loading my website with the option to "skip". If the skip video is clicked then that will redirect to the index.html however how can I set it up so that when the Video finishes playing it automatically loads the index.html in the website.
(If the video has to be embedded in the index.html so that the rest of the website is elsewhere that's fine too).
How do I redirect to a html page when my flash site opens in non-flash browser?
Here is the code I am curently using
<link rel="shortcut icon" href="/77east.ico" type="image/x-icon" />
<!--[if lte IE 8]>
<script type="text/javascript">window.location = 'ebrowser.html'</script>
[Code].....
I searched this forum and used Google to find a answer, there where many to find, but I cannot make it work to redirect my flash intro-site if users doesn't have flash.
For now I use a image to redirect but I would prefer it automatically.
How do I get my flash project to do an auto-redirect to a URL inside the same window as the browser? Something like the HTML tag, meta-eqquiv=REFRESH , but in actionscript??
View 5 RepliesI 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]....
I am currently using Flash CS4. Trying to do a very simple redirect via a password. What I want to do is whatever password they enter (variable defined as code) I want it to direct them to the keyframe. The below works if they enter hi (sometimes it seems to work sometimes not). The password "no" does not seem to work. I have attached simple fla based on the logic I am using.
[Code]...
I have a SWF embedded in an HTML file. After the movie has finished playing, I want a new URL to load. I currently have the following code in the final keyframe of my actions layer: navigateToURL(new URLRequest ([URL]) ); ...which works, but the problem is that it opens up a new window for the new URL instead of redirecting within the same window, which is what I'd prefer. Is there a different command that I can use to force the new link to open in the same window? I guess I could use a Javascript redirect within the web page's HTML, but it seems safer to me to use Actionscript within the Flash movie.
View 1 RepliesI have a Flash Movie that when you click on a image it's suppose to redirect you to a new page but it has been opening it in a new tab, heres my code:
mc.onPress = function():Void {
if (getTimer()-this.pressTime<=ClickRegister && this.pressTime) {
getURL(infostruc[current-1].artUrl, "_blank");
//button actions
}
i am using one swf file.on click i have some background process.after finish the process i want to redirect to particular page.but its not working.what should i do to redirect to page.i am using asp.net?
View 2 RepliesI have a flash image slider with a button below each image. When i press that button, the user is redirected to a new page where i add that image product to my cart.
The problem is that after doing the adding, i want to redirect the user back to the initial page.
[Code]...
is there a way to process a file upload like in the standard HTML? Say, I have a flash uploader, which uploads a selected file through the FileReference class. The server-side handler could be "site.php".Flash does the job in the background, so any output from the site.php script is lost. Is there a way to keep uploading in the background, but just after it's finished, redirect the user so they can see the php script's output? For instance, let's have a flash image uploader. The upload runs in the background, flash keeps dispatching progress events, and as it is finished, the page is redirected to show the user the direct link to their image.
View 5 RepliesI have a small FLV file I imported into flash that needs to redirect to:upon completion. I have tried numerous ways (yes I checked the whitepages) and end up with compile errors and other errors. The method below is what I was using and I can not get it to work for the life of me. (stop action on first frame, ive tried it all)
import mx.video.*;
var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
[code].....
I have created a Flash movie for an intro to a website I am buidling. What do I need to do to make the make the movie on the last frame redirect to the homepage of the website
View 1 RepliesI have to play a video using some type of premade flv player and then have it redirect to a different page after it has played once.
Is there any way to do this without editing the fla file?
I've been working on a rpg and stuff.In order to complete the on key walking process, I need to know a certain script.How do I automatically redirect to a frame label?Like once the timeline goes onto that frame, it will go back to another frame.without the user doing anything at all.
View 1 Repliesflash cs5 wont follow s3's redirects, instead it makes an ioerror with http status code 303 which is not an error code, its a redirect code. It doesn't hit the redirect page at all. If i was to save this file as a cs4 doc and run it in cs5, same issue. If if was to open and run it in cs4, it works fine, no error, redirect gets hit.Exactly the same file works in cs4 but not in cs5.
View 1 Replies