0 Replies Latest reply on Apr 21, 2006 9:10 AM by andyfoltz

    Random Placement with the Area of a MC

    andyfoltz
      Hello again, friends.

      I'm trying to randomly place a movieclip on top of another via actionscript, but I can't figure out how to get the area of the existing or target mc, because the scale of the target is being modified dynamically by actionscript.

      Is there a way to use the hitTest method to get an area? or max and min values for x and y that I can use with Math.Random?

      Thanks!