PHP include + Music = Problems!!

Ask a Question related to Macromedia Flash, Design and Development.

  1. #1

    Default PHP include + Music = Problems!!

    Hi all

    I've a 'little' problem with my website. I added a simple flashplayer,
    which is on by default. (don't worry: very quiet peaceful
    non-frustrating tunes :-p )
    But my site contains php includes, which means every time a link is
    clicked, the page reloads with the new clicked pagecontent.

    This means every time a visitor clicks a button, the musicplayer (and
    music) starts over again. And when the visitor has turned off the music,
    the music starts again when he clicks a button, because the page is
    reloaded.

    How can I solve this by NOT rejecting the phpincludes?? So it has to be
    coded in the flashplayer itself...

    Or other solutions maybe?



    --
    mvg

    * There can only be one Poochy, and that's me *

    - [url]www.spreadfirefox.com[/url] -

    {-.-} Guest

  2. Similar Questions and Discussions

    1. PHP include problems
      I'm having a problem with php includes and contribute. I use a php include to bring in my header and footer with the following code. <? include...
    2. Proposed CPAN Module: Tk::Canvas::Music (renamed to Tk::Music)
      Hi... It's been a while, but I'm getting back to thinking about this Tk::Music module... How do people want this to work... so far we have the...
    3. Strange Include problems: Repeat regions will Not workwith include file
      I have a strange problem. I have an Index.asp page and on that page I have a poll that is displays. This poll is located in a sub folder, so to call...
    4. [PHP] Include Problems
      On Jul 24, 2003, "Eric Fleming" claimed that: |I am having some problems using variables in included files. Can someone |please look at my code...
    5. Embedded Music PROBLEMS!!!
      Ok, So I have embedded a Mp3 music file and it plays differently on all three computers I've tried it on. The music will play short or the music...
  3. #2

    Default Re: PHP include + Music = Problems!!

    add parameters to the flashplayer (and pass them along when reloading) :-)

    Rudy

    "{-.-}" <blub@telenet.be.invalid> wrote in message
    news:4mhWd.29764$tg5.3022907@phobos.telenet-ops.be...
    > Hi all
    >
    > I've a 'little' problem with my website. I added a simple flashplayer,
    > which is on by default. (don't worry: very quiet peaceful
    > non-frustrating tunes :-p )
    > But my site contains php includes, which means every time a link is
    > clicked, the page reloads with the new clicked pagecontent.
    >
    > This means every time a visitor clicks a button, the musicplayer (and
    > music) starts over again. And when the visitor has turned off the music,
    > the music starts again when he clicks a button, because the page is
    > reloaded.
    >
    > How can I solve this by NOT rejecting the phpincludes?? So it has to be
    > coded in the flashplayer itself...
    >
    > Or other solutions maybe?
    >
    >
    >
    > --
    > mvg
    >
    > * There can only be one Poochy, and that's me *
    >
    > - [url]www.spreadfirefox.com[/url] -
    >

    WebMaster Guest

  4. #3

    Default Re: PHP include + Music = Problems!!

    WebMaster wrote:
    > add parameters to the flashplayer (and pass them along when reloading) :-)
    Yes, that could be an answer, i think... but which parameters? :-/

    if (what?)
    gotoandplay ("normal")
    if (what?)
    gotoandplay ("mute")




    --
    mvg

    * There can only be one Poochy, and that's me *

    - [url]www.spreadfirefox.com[/url] -

    {-.-} Guest

  5. #4

    Default Re: PHP include + Music = Problems!!


    "{-.-}" <blub@telenet.be.invalid> wrote in message
    news:YMhWd.29812$FU6.3066949@phobos.telenet-ops.be...
    > WebMaster wrote:
    > > add parameters to the flashplayer (and pass them along when reloading)
    :-)
    >
    > Yes, that could be an answer, i think... but which parameters? :-/
    >
    > if (what?)
    > gotoandplay ("normal")
    > if (what?)
    > gotoandplay ("mute")
    sessionvariables :-)

    Rudy

    >
    >
    > --
    > mvg
    >
    > * There can only be one Poochy, and that's me *
    >
    > - [url]www.spreadfirefox.com[/url] -
    >

    WebMaster Guest

  6. #5

    Default Re: PHP include + Music = Problems!!

    WebMaster wrote:
    >
    > sessionvariables :-)
    >
    hmm, if that's the only option :-/ ..

    damn :(


    --
    mvg

    * There can only be one Poochy, and that's me *

    - [url]www.spreadfirefox.com[/url] -

    {-.-} Guest

  7. #6

    Default Re: PHP include + Music = Problems!!

    Hey poochie,

    open met IE [url]http://users.skynet.be/aswin.coolsaet/[/url] dat is mijn oude
    homepage.. .zit vol met HTML en CSS fouten.
    Vandaar open met IE. anders trekt het op nixs

    Klik op ga verder, dan links in het menu op muziek aan.

    Jij hebt mss niet zo'n interface als daarboven nodig, maar je kan dat
    verbergen. zodat ze niet zien dat er boven de eigenlijke site zich nog iets
    bevind....

    en je muziek zal blijven spelen wat ze ook aanklikken op de site...

    Is het zoiets dat je zoekt?


    Coolsaet Aswin Guest

  8. #7

    Default Re: PHP include + Music = Problems!!

    Coolsaet Aswin wrote:
    > Is het zoiets dat je zoekt?
    nja, werkt niet in firefox.. sorry :(



    --
    mvg

    * There can only be one Poochy, and that's me *

    - [url]www.spreadfirefox.com[/url] -

    {-.-} Guest

  9. #8

    Default Re: PHP include + Music = Problems!!

    {-.-} wrote:
    > Hi all
    <CUT>
    > Or other solutions maybe?
    I solved the problem by making a frameset; one frame that is 1px high
    and the other with the actual website. In the first (top)frame I put
    default a swffile (1x1) with only the music.
    I coded the flashplayer GetUrl in the topframe: If they click the icon,
    it goes to nomusic.php in the topframe, a page without any swf in it.
    If they click again, the default page is reloaded, with the music.
    In flash, I put an extra Fade In effect, which makes it nicer.

    Tested in IE and Firefox.

    Well, that problem is solved :-) now the next one... lol


    --
    mvg

    * There can only be one Poochy, and that's me *

    - [url]www.spreadfirefox.com[/url] -

    {-.-} Guest

  10. #9

    Default Re: PHP include + Music = Problems!!


    "{-.-}" <blub@telenet.be.invalid> schreef in bericht
    news:jRkWd.30159$ai5.3027064@phobos.telenet-ops.be...
    > Coolsaet Aswin wrote:
    >> Is het zoiets dat je zoekt?
    >
    > nja, werkt niet in firefox.. sorry :(
    >
    werkt wel in firefox.. de site word gewoon scheef weergegeven. :-)


    Coolsaet Aswin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139