Old 06-18-2004   #1 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

flash help again. with buttons

i made my entire layout and my buttons that are associated with php dont work. my link for them in flash are regular as i would make them in photoshop which is

?page=home.html

and it doesnt work. it opens it in a new window. how can i get it to load where the $page variable is?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #2 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
That is just a link where you define the variable... you also need a script that changes your page...


PHP Code:

<?php

switch($page)
{

case 
home:    $p 'home.html';      break;

}

include(
$p);

?>
And then you just change your link to ?page=home
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #3 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

ok but , how is that going to benefit me? wat about stopping the flash from reloading everytime it loads the page from the flash generated menu?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #4 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
I'm not following you right now.... What are you trying to do?

Do you have a navbar that is flash... or do you have the entire site in flash and you want to load the content dynamicly?

Do you have an example I can look at?
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #5 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

yes please have a look at this.

http://www.llstudios.net/index2.php?page=home

i inserted ur code instead of mine and it worked brilliantly. now wat iam trying to do is have the page load only without the flash reloading everytime. how do i stop the flash content from reloading. i was told on a different forum that it will never stop reloading unless i use iframes.
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #6 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
The are right about the I-frames... what you could do is put the entire site in flash and link the buttons to another frame in flash... then you just load the text staright into flash... By doing an include or something.
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #7 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

i dont understand how to do it. please eleborate. so the whole site would be in flash without the use of php?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #8 (permalink)
Lazarus' Child
 
malboroman's Avatar
 
Join Date: Nov 2003
Location: The Netherlands
Posts: 603

Send a message via MSN to malboroman Send a message via Skype™ to malboroman
Well... you can do it with actionscript too... Just load an entire html page IN flash... So you get all the text in a content holder...

You can even load content from a MySQL database straight into flash...
__________________


"Only the dead have seen the end of war."

- Plato
malboroman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 06-18-2004   #9 (permalink)
Art Extortionist
 
LimitLess's Avatar
 
Join Date: Oct 2003
Posts: 78

can u perhaps give me an example of this? or perhaps some tutorials on how to do this?
LimitLess is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 03:31 AM.
Content Relevant URLs by vBSEO 3.2.0 RC7

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT