Re: [PHP] Flash menu

2008-02-25 Thread Daniel Brown
On Sat, Feb 23, 2008 at 3:46 AM, Alain Roger [EMAIL PROTECTED] wrote:
 Hi,

  i have a problem with my animated web flash menu (+images+sounds).
  basically my menu in embedded into flash, and each time that i click on menu
  link, my flash is playing from start as it is integrated into each PHP
  pages.
  I know that this is not the topic of this forum, but i would like to know
  how you cope with such issue from PHP point of view ?

Flash uses ActionScript, which is just a slightly-modified (and
Flash-centric) version of JavaScript.  I'd suggest checking into using
your Flash GUI as an AJAX frontend, reading the PHP returns from the
server through a socket read in Flash.

Now as to how to do that...?  I haven't a bloody clue!  ;-P

-- 
/Dan

Daniel P. Brown
Senior Unix Geek
? while(1) { $me = $mind--; sleep(86400); } ?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Flash menu

2008-02-23 Thread Børge Holen
On Saturday 23 February 2008 09:46:24 Alain Roger wrote:
 Hi,

 i have a problem with my animated web flash menu (+images+sounds).
 basically my menu in embedded into flash, and each time that i click on
 menu link, my flash is playing from start as it is integrated into each PHP
 pages.
 I know that this is not the topic of this forum, but i would like to know
 how you cope with such issue from PHP point of view ?

 i mean, did you play the flash menu on first page (like index.php e.g.) and
 after you have another menu, or do you use it through your complete website
 ?
 basically i found a lot of flash templates but nothing about PHP pages menu
 integration.

 I guess several of you have already done it so i need just your feedback on
 possible solutions.
 thanks a lot.

oh, easy. we just skipped the whole bad flash idea.
I'm on linux/ppc and flash doesn't even work here, how many other ppl do you 
not want to visit your page?


-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Flash menu

2008-02-23 Thread Alain Roger
Sorry to tell you that but i've tested my flash menu on Linux Mandriva and
Redhat without any problem... :-)

On Sat, Feb 23, 2008 at 10:14 AM, Børge Holen [EMAIL PROTECTED] wrote:

 On Saturday 23 February 2008 09:46:24 Alain Roger wrote:
  Hi,
 
  i have a problem with my animated web flash menu (+images+sounds).
  basically my menu in embedded into flash, and each time that i click on
  menu link, my flash is playing from start as it is integrated into each
 PHP
  pages.
  I know that this is not the topic of this forum, but i would like to
 know
  how you cope with such issue from PHP point of view ?
 
  i mean, did you play the flash menu on first page (like index.php e.g.)
 and
  after you have another menu, or do you use it through your complete
 website
  ?
  basically i found a lot of flash templates but nothing about PHP pages
 menu
  integration.
 
  I guess several of you have already done it so i need just your feedback
 on
  possible solutions.
  thanks a lot.

 oh, easy. we just skipped the whole bad flash idea.
 I'm on linux/ppc and flash doesn't even work here, how many other ppl do
 you
 not want to visit your page?


 --
 ---
 Børge Holen
 http://www.arivene.net

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
Alain

Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008


Re: [PHP] Flash menu

2008-02-23 Thread Børge Holen
On Saturday 23 February 2008 10:20:49 you wrote:
 Sorry to tell you that but i've tested my flash menu on Linux Mandriva and
 Redhat without any problem... :-)

so... I also got three other boxes running, but those on x86 arch instead.
Noone cares about the dist.
The difference lies in the architecture. Don't assume everyone got the same 
equipment you got.
And sorry to say, flash is horseshit, just look at youre cpu usage. I play two 
xvid encoded movies the same cpu overhead (with libavcodec). Ey skip the 
flash, put out a high resolution movie instead, you just need a better uplink 
for that.
Oh just to convince you, you read online newspapers?
open some of those windows... nah you don't need many, I usually tab, say 5 - 
10. Then come back and say, this is some tool I got right here.


 On Sat, Feb 23, 2008 at 10:14 AM, Børge Holen [EMAIL PROTECTED] wrote:
  On Saturday 23 February 2008 09:46:24 Alain Roger wrote:
   Hi,
  
   i have a problem with my animated web flash menu (+images+sounds).
   basically my menu in embedded into flash, and each time that i click on
   menu link, my flash is playing from start as it is integrated into each
 
  PHP
 
   pages.
   I know that this is not the topic of this forum, but i would like to
 
  know
 
   how you cope with such issue from PHP point of view ?
  
   i mean, did you play the flash menu on first page (like index.php e.g.)
 
  and
 
   after you have another menu, or do you use it through your complete
 
  website
 
   ?
   basically i found a lot of flash templates but nothing about PHP pages
 
  menu
 
   integration.
  
   I guess several of you have already done it so i need just your
   feedback
 
  on
 
   possible solutions.
   thanks a lot.
 
  oh, easy. we just skipped the whole bad flash idea.
  I'm on linux/ppc and flash doesn't even work here, how many other ppl do
  you
  not want to visit your page?
 
 
  --
  ---
  Børge Holen
  http://www.arivene.net
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php



-- 
---
Børge Holen
http://www.arivene.net

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Flash menu

2008-02-23 Thread tedd

At 9:46 AM +0100 2/23/08, Alain Roger wrote:

Hi,

i have a problem with my animated web flash menu (+images+sounds).
basically my menu in embedded into flash, and each time that i click on menu
link, my flash is playing from start as it is integrated into each PHP
pages.
I know that this is not the topic of this forum, but i would like to know
how you cope with such issue from PHP point of view ?

i mean, did you play the flash menu on first page (like index.php e.g.) and
after you have another menu, or do you use it through your complete website
?
basically i found a lot of flash templates but nothing about PHP pages menu
integration.

I guess several of you have already done it so i need just your feedback on
possible solutions.
thanks a lot.

--
Alain

Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008


I never use Flash for anything functional.

It can be a nice enhancement or visual aid, but never reply on it to 
do anything -- especially a menu. Instead, use css or css with php.


Cheers,

tedd

--
---
http://sperling.com  http://ancientstones.com  http://earthstones.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Flash menu

2008-02-23 Thread Bastien Koert



 Date: Sat, 23 Feb 2008 09:38:17 -0500
 To: php-general@lists.php.net
 From: [EMAIL PROTECTED]
 Subject: Re: [PHP] Flash menu
 
 At 9:46 AM +0100 2/23/08, Alain Roger wrote:
 Hi,
 
 i have a problem with my animated web flash menu (+images+sounds).
 basically my menu in embedded into flash, and each time that i click on menu
 link, my flash is playing from start as it is integrated into each PHP
 pages.
 I know that this is not the topic of this forum, but i would like to know
 how you cope with such issue from PHP point of view ?
 
 i mean, did you play the flash menu on first page (like index.php e.g.) and
 after you have another menu, or do you use it through your complete website
 ?
 basically i found a lot of flash templates but nothing about PHP pages menu
 integration.
 
 I guess several of you have already done it so i need just your feedback on
 possible solutions.
 thanks a lot.
 
 --
 Alain
 
 Windows XP SP2
 PostgreSQL 8.2.4 / MS SQL server 2005
 Apache 2.2.4
 PHP 5.2.4
 C# 2005-2008
 
 I never use Flash for anything functional.
 
 It can be a nice enhancement or visual aid, but never reply on it to 
 do anything -- especially a menu. Instead, use css or css with php.
 
 Cheers,
 
 tedd
 
 -- 
 ---
 http://sperling.com  http://ancientstones.com  http://earthstones.com
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 

Since the issue is that a page reload forces the movie to start over, i can see 
three options...

1. use frames (not recommended for a variety of reasons, but the top frame w/ 
your menu won't need to reload and keeps its place)
2. get into ajax and try not to reload the entire page that often
3. pass a variable into the movie each time the page loads, so that it knows 
what frame its on, kinda like a counter or placemarker to keep the continuity 
correct.


bastien

_