Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
pomoc u AS2 :D

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
gasjun



Joined: 23 Dec 2005
Posts: 43
Location: Beograd

PostPosted: 02.07.2009 14:51    Post subject: pomoc u AS2 :D Add user to your forum ignore list Reply with quote

poz......
ovako ne znam dal cu vam dobro docarati moj problem alida pokusam.............
imam 4 buttona i imam jedan motion tween koji traje 40 frameova . sad kad se klikne na bilo koji od tih butona naravno pusti se taj motion tween i stopira se na 40tom frejmu.
e sad posto ja ako imam 4 buttona imam i 4 zasebna movie clipa koji treba da se ukljuce kad se ta tween odradi i stane na 40tom frejmu......
pokusao sam i preko if i currentframe ali nesto nece da mi radi......
da li mozda neko ima ideju kako bi to moglo ili mozda da u 40frejmu stoji code if button1 click gotoandPlay clip1
tako je bila moja zamisao samo ne mogu da razradim taj if kako treba Very Happy

hvala unapred
Back to top
View user's profile Send private message MSN Messenger
hrvoje_86



Joined: 06 Dec 2006
Posts: 107
Location: Zagreb

PostPosted: 02.07.2009 18:22    Post subject: Add user to your forum ignore list Reply with quote

stavi sva 4 movieclipa jedan preko drugog i svima stavi alpha 0
u 40 frame sa tweenom stavi
Code:

stop()
if(buttonClicked=="1")
{
movieclip1.alpha=100
movieclip1.play()
}
if(buttonClicked=="2")
{
movieclip2.alpha=100
movieclip2.play()
}
itd...
// na gumbe
on(release)
{
_parent.buttonClicked="1"
_parent.play()
}
itd...


ovdje pretpostavljam da ti je tween na stageu
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
gasjun



Joined: 23 Dec 2005
Posts: 43
Location: Beograd

PostPosted: 06.07.2009 03:21    Post subject: Add user to your forum ignore list Reply with quote

hvala puno Very Happy
malo sam ja ovaj code korigovao i sve radki kako treba Very Happy
jedina stvar sto mi nije jasna je nasto ludi flash posle 4 sata rada pukne skroz i radi ono sto se njemu radi Very Happy
desilo mi se da sam na jedan button imao code da pusti neki tween i on pusti nesto sasvim deseto Very Happy iznerviram se i maknem akcije sa buttona, snimim i opet testiram i on opet radi po svome Very Happy hahaha

da li se slicna stvar jos nekome desavala ?
Back to top
View user's profile Send private message MSN Messenger
liftboy



Joined: 20 Jan 2005
Posts: 297

PostPosted: 06.07.2009 08:48    Post subject: Add user to your forum ignore list Reply with quote

da, meni, al ne sa flashom neg sa ženom... Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group