ActionScript 2.0 :: Redirect To Html After Flv Plays?
May 24, 2007
So 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].....
View 4 Replies
Similar Posts:
Sep 10, 2010
I'm new here and I have a question regarding flv's.
I have an flv file of an interview and I want to have the user go to another site after watching the interview. Sort of like a getURL on the last keyframe, but when I imported the flv into flash, I only get one frame.
View 3 Replies
Jul 29, 2009
i'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]
View 5 Replies
Jun 30, 2009
I 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 Replies
Aug 6, 2009
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.
View 4 Replies
Oct 9, 2005
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 Replies
May 10, 2009
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 Replies
Jan 24, 2011
I 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]...
View 5 Replies
Feb 18, 2011
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.
View 1 Replies
Aug 7, 2006
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]
View 1 Replies
Jun 3, 2010
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.
View 3 Replies
Jul 6, 2009
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 Replies
Aug 5, 2011
in 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.
View 1 Replies
Oct 12, 2011
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 Replies
Jun 17, 2010
I 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 Replies
May 20, 2011
How 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).
View 1 Replies
Feb 29, 2012
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].....
View 2 Replies
Dec 2, 2009
What am I doing wrong? When loaded to the server, the swf file works as intended: [Url] But, when embedded in html document, the movie plays but the buttons aren't interactive: [Url]
View 7 Replies
Dec 22, 2011
i have a swf: Adjusting__Age.swf. and what happens is that if i run it locale it works:
file:///C:/xampp/htdocs/test/Adjusting__Age.html
but if i sun it online or even in my localhost it doesnt appear:
http://localhost/test/Adjusting_Age.html
here is my code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="512" height="384" id="training-video"
[Code].....
View 2 Replies
Jun 16, 2010
I am running Windows 7/64 and Master Collection. I've created a clip of DV NTSC footage to test F4V publishing. Done this many times with CS3 and flv files but this has me stumped. I can successfully view the video and web page locally in IE and Netscape but on upload to my server I have the menu and placement right but no video appears. I created the clip in Premiere Pro CS5 and exported to F4V/FLV best quality. Opened an Actionscript Media DV NTSC template in Flash Pro CS5 and imported the video which I had pre-placed in my root web folder locally. I then exported the swf and saved the fla. All files were then in my root folder and the scrpts in the scripts folder. In Live View in Dreamweaver CS5 all looked fine. In each browser locally the video played as expected. Once all files were uploaded the video was not visible.
[Code]...
View 5 Replies
Dec 1, 2010
I have created a SWF file that plays/stops sound. The SWF file works great when previewed in Flash CS4, but does not work when inserted in the HTML file.Here are the 2 files that are automatically generated when I INSERT>MEDIA>SWF in Dreamweaver CS4:
swfobject_modified.js
expressInstall.swf
Here is the ActionScript3 that I am using in the Flash file:
[code].......
View 6 Replies
Dec 11, 2011
I want my flash file plays one and stops in the end and only plays again if play again button is pressed.How do i do it?
View 1 Replies
Aug 30, 2011
I want my movie to loop. Would prefer an If/Else loop so that the movie plays a certain number of times then plays the opening of a screen then stops. This is a simple 4 screen ad I am doing for a school project. Can't get it to work. I tried containing my code in the proper loop syntax, didn't work. Then wrapping the loop in a function and calling that with a timer event, didn't work. My final solution was to call my whole movie in a timer event set to play once. Then calling the entire movie again in a second timer event set to play 20 times and set to start at an interval when the first movie ended. This did work but each time the movie plays thru function calls drop off making the movie degrade.
[Code]....
View 5 Replies
Apr 18, 2011
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.
View 1 Replies
Dec 15, 2008
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 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
Mar 22, 2010
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]...
View 6 Replies
Jun 29, 2011
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 Replies
Sep 11, 2011
I 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
}
View 2 Replies
Dec 14, 2009
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 Replies