Flash help! maintain frame in .htm

Out of context: Reply #1

  • Started
  • Last post
  • 21 Responses
  • tGP0

    not sure if i totlally understand what you are trying to do, but you can do something like this...

    pass a varible to your swf from your html... and do a conditional (loop) in flash that checks the value of that variable and controls the movie accordingly...

    such as, in your html, target your swf like-->
    "main.swf?myLocation=home"

    where myLocation is passed to the swf as being equal to home, then check it in the swf, like:

    if (myLocation == "home"){
    gotoAndPlay(5);
    } else {
    // do something else...
    gotoAndStop(1);
    }

    hope this helps...
    j

View thread