Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Need to know how.....



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
gitm



Joined: 23 Aug 2006
Posts: 2

PostPosted: Wed Aug 23, 2006 1:21 am    Post subject: Need to know how..... Reply with quote

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
View user's profile Send private message
Samuel Rounce
100+ Club


Joined: 30 Oct 2005
Posts: 116
Location: London, UK

PostPosted: Wed Aug 23, 2006 3:40 pm    Post subject: Re: Need to know how..... Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Wed Aug 23, 2006 6:10 pm    Post subject: Re: Need to know how..... Reply with quote

hmmm... couldnt you put it in an Iframe? then have the page refresh to a different page in so many seconds?
Back to top
View user's profile Send private message Send e-mail AIM Address
gitm



Joined: 23 Aug 2006
Posts: 2

PostPosted: Wed Aug 23, 2006 8:31 pm    Post subject: Re: Need to know how..... Reply with quote

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
View user's profile Send private message
Samuel Rounce
100+ Club


Joined: 30 Oct 2005
Posts: 116
Location: London, UK

PostPosted: Thu Aug 24, 2006 5:23 pm    Post subject: Re: Need to know how..... Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap