| View previous topic :: View next topic |
| Author |
Message |
gitm
Joined: 23 Aug 2006 Posts: 2
|
Posted: Wed Aug 23, 2006 1:21 am Post subject: Need to know how..... |
|
|
Not sure if this is the correct place to put this, but after searching for an hour I decided to throw it here:
I am currently creating a webpage for a 1v1 tournament. The page loads up a flash file in the center of the page, and after it fades out, I want to put in some html buttons. Those buttons will take users to other parts of the site, which I know how to do. I just can't figure out how to make the flash file disappear, and then put the buttons in place of the flash file. Here is what I have so far:
http://www.team-exiled.com/1v1 |
|
| Back to top |
|
 |
|
|
Samuel Rounce 100+ Club

Joined: 30 Oct 2005 Posts: 116 Location: London, UK
|
Posted: Wed Aug 23, 2006 3:40 pm Post subject: Re: Need to know how..... |
|
|
Simple answer is: you can't... well, not very easily anyway. You could use a javascript timer object that does a document.write in the div and writes the .swf in there when the timer object starts and then after a predetermined length it clears the div and then writes the html for the buttons.
OR, you could keep it how it is now which is fine using the flash onRelease() listener and getURL(); functions. |
|
| Back to top |
|
 |
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Wed Aug 23, 2006 6:10 pm Post subject: Re: Need to know how..... |
|
|
| hmmm... couldnt you put it in an Iframe? then have the page refresh to a different page in so many seconds? |
|
| Back to top |
|
 |
gitm
Joined: 23 Aug 2006 Posts: 2
|
Posted: Wed Aug 23, 2006 8:31 pm Post subject: Re: Need to know how..... |
|
|
| Well I stayed up until 6am this morning working on it, and then I finally decided to just make the menu flash. So I made a workaround for it, but when I get some time, I'll dabble with what you folks suggested. Thanks for your help. |
|
| Back to top |
|
 |
Samuel Rounce 100+ Club

Joined: 30 Oct 2005 Posts: 116 Location: London, UK
|
Posted: Thu Aug 24, 2006 5:23 pm Post subject: Re: Need to know how..... |
|
|
| You could use flash to set a javascript variable instead of having a timer and having to have the flash movie length exact. |
|
| Back to top |
|
 |
|