I need some tips and help

  • adiboy
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Mar 21, 2005
  • Posts: 14
  • Status: Offline

Post May 19th, 2005, 6:27 pm

Attach is the whole stage. What do you think is the parameters? :?

onClipEvent(load) {
_x=Math.floor(Math.random()*width) //where width is the width of your stage
_y=Math.floor(Math.random()*height) //where height is the height of your stage
}

Size of stage: 800px by 540px

Image
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 19th, 2005, 6:27 pm

  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post May 19th, 2005, 11:19 pm

If you only want the sheep to appear in the green area then you need to find out what the height and width dimensions of that area are.

Simply clicking on it and looking in the properties panel should tell you this [ thats assuming that the geen area is a seperate object ].

Post Information

  • Total Posts in this topic: 17 posts
  • Users browsing this forum: No registered users and 26 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.