🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.programy.flash-5
Article #21794

Re: AS - w MC

#21794
From: akarso
Date: Wed, 22 Oct 2003 08:28
13 lines
1229 bytes
Sampolo wrote:

> witam,
> jak napisać kod w AS w pierwszej klatce MC który bedze losować start od 2,
> 10, 20, 35, klatki w tym MC ?

a musi byc w pierwszej klatce? Ja bym zapisal:

onClipEvent(load){
arr=new Array(2,10,25,35);
x=random(4);
gotoAndPlay(arr[x]);
}
Technical Details
Message-ID: <bn5f2f$r30$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <bn5ctg$eoh$1@nemesis.news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!news.ipartners.pl!news.nask.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: akarso <akarso@harvestery-trzywamwcztery.femur.pl>
Newsgroups: alt.pl.programy.flash-5
Subject: Re: AS - w MC
Date: Wed, 22 Oct 2003 10:28:23 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 14
Message-ID: <bn5f2f$r30$1@atlantis.news.tpi.pl>
References: <bn5ctg$eoh$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: main.intercon.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1066811279 27744 213.25.96.130 (22 Oct 2003 08:27:59 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 22 Oct 2003 08:27:59 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
In-Reply-To: <bn5ctg$eoh$1@nemesis.news.tpi.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit