Flashvars?

Out of context: Reply #3

  • Started
  • Last post
  • 5 Responses
  • vaxorcist0

    hmmm.. not totally sure what you mean...

    you could do this using variables in the links, then having a PHP script put those into the flashvars dynamically, then have the actionscript in the flash movie goto that frame...

    idea:
    nav buttons have links like:
    otherpage.php?frame=4
    ptherpage.php?frame=10
    otherpage.php?frame=part1

    part1 or some text name (no spaces) is better than numbers that may change...
    ---------------
    then where the flashvars are set in the HTML exported by flash, you dynamically set that using PHP:

    <PARAM NAME=FlashVars VALUE="frame=<? echo $_GET['frame']">
    (or something similar...)

    then, in your actionscript, you read the "frame" variable, and goto that frame....

View thread