Can you add dynamic text from php to a flash button?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • monomaniac21

    Can you add dynamic text from php to a flash button?

    Any ideas? Im looking to give the flash button a name based upon the
    variables in php.

    Marc

  • ZeldorBlat

    #2
    Re: Can you add dynamic text from php to a flash button?


    monomaniac21 wrote:[color=blue]
    > Any ideas? Im looking to give the flash button a name based upon the
    > variables in php.
    >
    > Marc[/color]

    <http://www.php.net/swf>

    Comment

    • Chung Leong

      #3
      Re: Can you add dynamic text from php to a flash button?

      monomaniac21 wrote:[color=blue]
      > Any ideas? Im looking to give the flash button a name based upon the
      > variables in php.
      >
      > Marc[/color]


      Just print out the variable as FlashVars, then dynamically set the
      label of the button with ActionScript. See this TechNote:


      Comment

      • Ciaran

        #4
        Re: Can you add dynamic text from php to a flash button?

        Marc:

        <embed src="flash.swf? button=<?php echo urlencode($butt on) ?>">

        and similar in the correct part of the Object tag.

        This will create a var called 'button' in the root context of the Flash
        movie.

        Comment

        Working...