멋진꿈과함께하는 프로그래밍 그리고 사는이야기
Home
Tag
MediaLog
LocationLog
Guestbook
Admin
Write
actionscript3.0
random 난수 생성 함수
멋진꿈
2011. 8. 15. 00:04
public function randomRange(min:Number, max:Number):int
{
return min+Math.random()*(max-min);
}
이런씩으로 난수를 생성할수있다. 범위에 대한 랜덤값말이다.^^
그럼 즐밤
공유하기
게시글 관리
멋진꿈과함께하는 프로그래밍 그리고 사는이야기
티스토리툴바