Flash change swf width

  • Started
  • Last post
  • 0 Responses
  • spiralstarez

    Can I change this at runtime with parameters from the HTML page?

    I have three that are quite similar, pulling in text and with different BGs. Easy.

    I want to use the same swf for the three and just pass variables. One is a smaller width though, can I change this in the FLA on the first frame at runtime?

    if (A) {
    Stage.width = x;
    }else {
    Stage.width = y;
    }