Thread View: alt.pl.programy.flash-5
1 messages
1 total messages
Started by ukaszq
Tue, 14 Oct 2008 09:23
funkcja IF
Author: 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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads