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
Prezentacija (klikni da se nastavi kretati)

 
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
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 06.10.2008 14:42    Post subject: Prezentacija (klikni da se nastavi kretati) Add user to your forum ignore list Reply with quote

Radim prezentaciju za fax o flashu u flashu i zanima koji je actionscript kod koji će zaustaviti kretanje timelineom i onda kad kliknem mišem nastaviti kretanje do slijedeće točke gdje zaustavlja.

E da, kad sam već tu, kako staviti da ide na drugi slide na kraju tek kad ja kliknem mišem?
Hvala Smile)))

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
gasjun



Joined: 23 Dec 2005
Posts: 43
Location: Beograd

PostPosted: 06.10.2008 17:47    Post subject: Add user to your forum ignore list Reply with quote

recimo imas neku animaciju sa motion twinom i ona radi od 1 do 50 frejmova.
a ti zelis da ti se zaustavi na 25tom frejmu....
napravis novi layer i keyframe na 25 i u akcijama kucas stop();
a recimo da imas i buton okji kad kliknes nastavlja dalje u njegovim akcijam stavljas
on (press) {
gotoAndPlay(26);

}

mislim da je ovo i najprostija varijanta Smile
Back to top
View user's profile Send private message MSN Messenger
Vj3k0



Joined: 12 Jul 2007
Posts: 185
Location: Zagreb

PostPosted: 06.10.2008 20:08    Post subject: Add user to your forum ignore list Reply with quote

Ako ciljaš na AS3, kreiraj jedan layer, i onda bi ti kod bio isto na keyframeu na kojem misliš zaustavljati:
Code:
stop();

a funkcija za nastavljanje bi bila (u opet novom layeru):
Code:
stage.addEventListener(MouseEvent.CLICK, resumeAnimation);
function resumeAnimation(event:MouseEvent):void {
play();
}


Napravio sam vrlo jednostavnu stvar:
http://www.mediafire.com/?sharekey=85ee5df73ebe2ef5d2db6fb9a8902bda

Pozdrav,
Vjeko

_________________
Enthusiastic programmer - Zagreb
HaXe Journal | ilovecode.org | Twitter
Back to top
View user's profile Send private message Visit poster's website
Nemesis



Joined: 01 Oct 2005
Posts: 732

PostPosted: 06.10.2008 20:26    Post subject: Add user to your forum ignore list Reply with quote

Hvala, šteta što ste malo prekasno odgovorili. Ali nema veze, napravio sam u starom dosadnom PowerPointu. Very Happy

Nego, sad sam se vratio malo u Flash i nabrijao sam se totalno naučiti actionscript. Gledam što ekipa radi na preko flashden-a. Izgleda fenomenalno, a može se i dobar džeparac zaraditi...

_________________
Webastično.com | Last.fm | Twitter
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
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