HSTuners

HSTuners (http://www.hstuners.com/forums/index.php)
-   For The Geek In You (http://www.hstuners.com/forums/forumdisplay.php?f=104)
-   -   html/flash question (http://www.hstuners.com/forums/showthread.php?t=20276)

ChrisCantSkate 03-15-2004 02:42 PM

html/flash question
 
i figured someone with a bit more html experience than me might know this....

i have a flash intro... maybe 4 seconds long that i want before a html page. how do i get the flash thing to play then fade or whatever into the page?

94_AcCoRd_EX 03-15-2004 02:53 PM

I have a massive flash book around here somewhere... let me find it and I'll get back to you if it has the info.

Is your site almost finished?

94_AcCoRd_EX 03-15-2004 02:58 PM

Looks like this will work:

1) go to the last frame (Frame x)
2) put the mouse over the frame key itself and with a right mouse click ...choose Action and enter the two lines of code
the first line is to stop the Movie and the second line is to get the domain name ou want
don't forget to change domain.com with your URL :)
Code:

stop();
getURL("http://www.domain.com", "_self");


I snagged this from another site I found with google.

ChrisCantSkate 03-15-2004 02:59 PM

no.. im taking a little clip of whatr my friend did and putting it as an intro to some makeshift page im throwing together today before its finished. free stuff takes forever :mad:

*edit* i posted about what you said before that last post... imma give that a try with flash now though

94_AcCoRd_EX 03-15-2004 03:00 PM

Hrm, I guess this method doesn't allow for transition effects though, unless you fade to black before the last frame and then fade in the HTML page from black or something of that nature.

ebpda9 03-15-2004 03:40 PM

why not use meta redirect ?

ChrisCantSkate 03-16-2004 09:58 AM

Quote:

Originally posted by hondaman-iac
why not use meta redirect ?


eleaborate:yes:

blind34_1 03-16-2004 01:43 PM

i think he's talking about just having a countdown on one page, then redirecting you to another. that would work, and hang on i'll look for an example....

**edit:

here's a javascript solution i found on filefront.com:
Code:

<script>
    var counter = 20;
    function countdown() {
      if (counter > 0)
      {
        counter--;
        document.getElementById('counter_text').innerHTML = counter;
        document.getElementById('counter_text2').innerHTML = counter;
        setTimeout("countdown()",1000);
      }
    }
  </script>


blind34_1 03-16-2004 01:49 PM

Code:

<html>

<head>
<title>Meta Redirect Code</title>
<meta http-equiv="refresh" content="3;url=http://www.astronautix.com">
</head>

<body>
The Encyclopedia Astronautica home page is at <a href="http://www.astronautix.com">http://www.astronautix.com</a>
<p>Your browser should be automatically redirected to this location.
</body>
</html>



there you go. make your first page with this code on it also have your flash, then in place of astronautix.com, have that be your main site you want to go to.

brianhatchie 03-24-2004 06:05 PM

why dont you just have a dynamic html layer with the flash movie, and then when the flash movie ends, it collapses the layer and reveals the layout which has loaded while watching the movie? sounds simple to me.

c0ng0 b0ng0 03-24-2004 09:20 PM

can you send an example of the flash maybe i can help you i don't know but i can try


All times are GMT -5. The time now is 07:42 PM.

Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 2006 HSTuners.com