Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Site Design / August 2007



Tip: Looking for answers? Try searching our database.

PHP and Flash troubles

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
inwayovermyhead - 30 Aug 2007 23:37 GMT
i'm using this php code...
  <?php

$menu = include ("menu.php");

$content=$_GET['content'];
if (empty($content)) { $content='home'; }

switch ($content) {
    case "home":
        include ('home.php');
        break;
    case "faq":
        include ('faq.php');
        break;
    case "help":
        include ('help.php');
        break;
    case "pictures":
        include ('pictures.php');
        break;
}

 ?>

the include menu.php function is the flash menu
and the rest is the html

whenever i click the link in the flash menu to switch out the php $content
code the flash reloads eventhough it's in the same window and nothing about it
has moved or changed aside from the code that it sends the browser to change
the content. now if i use html menu nothing changes or reloads.

i desperatly need help on this one it's driving me to insanity.
.:}x-=V!P=-x{:. - 31 Aug 2007 00:46 GMT
whats your button code look like?
inwayovermyhead - 31 Aug 2007 09:09 GMT
i have tried setting it up where the get url function on the buttons linked to
a txt file that gave it the command to link to the particular page and i have
tried applying the code directly in the on release geturl() for the button.

The coding i have tried has been:
(faq being the generic button and page linking togeter. and the index.php is
the file that contains all the data.)

"index.php?content=faq"
"#?content=faq"
"?content=faq"
"content=faq"
"index.php","?content=faq"
"index.php?'content'='faq'"
"index.php?'content=faq'"

And i have also tried the get.shared.object function to get the cookie and
tell it not to reload.  That didn't seem to do anything and didn't  work.  

I'm really stuck and need to make a deadline and if i don't get it to work
i'll have to rebuild the site with seperate flashfiles untill i get itfigured
out.

The intention of this is to have a goto set up on the button and change the
animation in the menu and the content at the same time without the flash
reloading.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.