flash onResize Q???

Out of context: Reply #12

  • Started
  • Last post
  • 16 Responses
  • wwfc0

    ...as a rule I try to avoid components - but this case it is the only option!

    sorry the double dot is me typing like a chimp in boxing gloves - the actual script in the fla doesn't have that

    The component is placed onto the stage/timeline in the MC
    I would have thought that having it within the CENTERpages clip, with that clip being centered would have kept the components relative position - shows what I know!

    "and what kult means is something like this
    var sw:Number = Stage.width/ 2
    and then replace all the other calculations of "stage width/2"with "sw""

    ...I sort of get it - and equally sort of don't! - sorry for being a doughnut!

    So how should it look if done right?

View thread