Article View: alt.pl.programy.flash-5
Article #34602funkcja IF
From: ukaszq
Date: Tue, 14 Oct 2008 09:23
Date: Tue, 14 Oct 2008 09:23
24 lines
2272 bytes
2272 bytes
Witam, jestem poczatkujacy w action script. Mam taki skrypt do
przyciskow:
var _mc:MovieClip = this.createEmptyMovieClip("_mc", 10);
mystera_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
company_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
public_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
dance_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
costume_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
technical_but.onRelease = function(){attachMovie("company_kartka",
"maska", 100, {_x:215, _y:67});}
przycisk nazywa sie np. mystera_but. Chcialbym zrobic taki skrypt tzn
dopisac do tego. Kiedy klikam w myster_but ma odpalic mi sie ten film
czyli company_kartka, ale oprocz tego zeby zaladowal sie inny
dodatkowy filmik z menu. Do kazdego przycisku jest inne menu, dlatego
napewno bedzie fukcja IF, ale nie wiem jak ją zastosować. Proszę o
pomoc.
Technical Details
Message-ID:
<d503b06d-42a2-4812-9358-1f963879c846@t54g2000hsg.googlegroups.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.freenet.de!feeder.news-service.com!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!t54g2000hsg.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.task.gda.pl!goblin1!goblin2!goblin.stu.neva.ru!newsfeed.freenet.de!feeder.news-service.com!feeder3.cambrium.nl!feed.tweaknews.nl!postnews.google.com!t54g2000hsg.googlegroups.com!not-for-mail From: ukaszq@gmail.com Newsgroups: alt.pl.programy.flash-5 Subject: funkcja IF Date: Tue, 14 Oct 2008 02:23:49 -0700 (PDT) Organization: http://groups.google.com Lines: 24 Message-ID: <d503b06d-42a2-4812-9358-1f963879c846@t54g2000hsg.googlegroups.com> NNTP-Posting-Host: 87.204.151.82 Mime-Version: 1.0 X-Trace: posting.google.com 1223976229 25530 127.0.0.1 (14 Oct 2008 09:23:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 14 Oct 2008 09:23:49 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t54g2000hsg.googlegroups.com; posting-host=87.204.151.82; posting-account=8heqxwkAAAB8yN4aNrX_bzBrjBsJX95D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 acnex.pl (squid/3.0.STABLE6) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit