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
Problem s actionscriptom...

 
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
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 12:49    Post subject: Problem s actionscriptom... Add user to your forum ignore list Reply with quote

Kod je ok ali mi nešto nije jasno i zbog toga mi najvjerojanije ne radi:

moj actionscript, uočite ikone pokraj imena:


Onako kako valja, ovdje je ikona drukčija ( selektirano je)


Kako dobiti takvu ikonu ( nešto mi govori da ima veze s 1. frame ali ne znam...)?

Help!

Pozz

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
Ivan Podrug - e1



Joined: 15 Apr 2005
Posts: 316
Location: Solin

PostPosted: 11.01.2008 14:18    Post subject: Add user to your forum ignore list Reply with quote

ako se ne varam:

u gornjem primjeru je code na frame_u, a u donjem je code na botunu.
Back to top
View user's profile Send private message
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 14:38    Post subject: Add user to your forum ignore list Reply with quote

šta, dobit takvu ikonu?? Šta će ti ta ikona? Šta tebi tu ne radi?
Obrazloži!

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 14:46    Post subject: Add user to your forum ignore list Reply with quote

Pa fora je da u actionscript layeru trebam kliknuti na frame 1 i upisati kod a kod gumba nekaj drugo... samo označiti ili nekaj... Kad ga označim i ubacim kod odmah mi pokraj njega se stavi ta ikona i frame 1 a meni ne treba frame 1...

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 14:58    Post subject: Add user to your forum ignore list Reply with quote

Prvo, nemoj pisat AS na objektima nego na posbnom layeru te adresiraj taj botun tipa:

Instance Name: gumb1

AS: gumb1.onPress = function{
gotoAndPlay(2);
}

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Kaos



Joined: 01 Sep 2006
Posts: 121
Location: Sl.Brod

PostPosted: 11.01.2008 15:02    Post subject: Add user to your forum ignore list Reply with quote

da, za pisanje action scripta-a za button moraš označit taj button, a ondje ti piše frame1 jer imaš i neki action script upisan u prvom frame-u, flash ti tu samo automatski izlista gdje je sve upisan action script - kod !
Back to top
View user's profile Send private message Send e-mail
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 15:55    Post subject: Add user to your forum ignore list Reply with quote

U nevidljivom gumbu imam kod:

on (rollOver) {
_root.mouse_over_artwork= true;
}

on (rollOut) {
_root.mouse_over_artwork= fstartlse;
}

on (release){
getURL("artwork.php");
}


A u layeru actionscript:

_root.artwork.onEnterFrame = function() {
if (mouse_over_artwork) {
_root.artwork.nextFrame();
} else {
_root.artwork.prevFrame();
}
};



nisam expert (ni blizu) ali mislim da je kod točan ali mi javlja grešku 1087.

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
Kaos



Joined: 01 Sep 2006
Posts: 121
Location: Sl.Brod

PostPosted: 11.01.2008 16:06    Post subject: Add user to your forum ignore list Reply with quote

_root.artwork.onEnterFrame = function() {
if (mouse_over_artwork) {
_root.artwork.nextFrame();
} else {
_root.artwork.prevFrame();
}
};


na kraju ti je suvišna točka-zarez ;


a i ovo mi je nekako sumljivo:
on (rollOut) {
_root.mouse_over_artwork= fstartlse;
}
Back to top
View user's profile Send private message Send e-mail
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 17:02    Post subject: Add user to your forum ignore list Reply with quote

http://rapidshare.com/files/82988689/meni.rar.html

Tu mi je rad pa ako se nekome da molim da malo škicne.

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 19:15    Post subject: Add user to your forum ignore list Reply with quote

Prvo obrazloži šta bi treba ovaj meni radit, a šta tebi ne radi, a ne ovako, uploadaš fajl i neka neko drugi skuži šta meni ne valja.
Daj više informacija tako da kokretno nešto pogledamo.....

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 19:20    Post subject: Add user to your forum ignore list Reply with quote

Uzela si, za tebe, prekompliciran menu, za nekoga tko se ne kuži u AS. Imaš na netu puno jednostavnijih s kojima ćeš postići isto.

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 19:23    Post subject: Add user to your forum ignore list Reply with quote

Radila sam prema raznim tutorijalima iz tutorialized i good-tutorials... Možeš li me uputiti na neku stranicu s onime što mi treba ili nekako pomoći, molim?

Pozz

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 19:30    Post subject: Add user to your forum ignore list Reply with quote

šta tebi taj meni treba radit? šta ti ne radi kod ovoga???

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 11.01.2008 23:49    Post subject: Add user to your forum ignore list Reply with quote

Kad dođem iznad pojedinog slova da se iz bijele pretvori u žutu i klikom da slovo da se otvori stranica...

_________________
www.cozmika.com
Back to top
View user's profile Send private message Visit poster's website MSN Messenger Twitter profile
segen



Joined: 19 Dec 2006
Posts: 671
Location: ZG <-> ST

PostPosted: 11.01.2008 23:58    Post subject: Add user to your forum ignore list Reply with quote

a jaooo....

pazi na timeline di ti je animacija za to slovo stavi na prvi i zadnji layer stop();.
Ili još bolje, stavi na prvi, srednji i zadnji, stop();. Napravi animaciju tako da to se minja boja do sredine i od sredine da se vraća na boju sa prvog frame-a (tako ćeš dobit finu tranziciju).

Nazovi taj mc nekako, npr. b_anim. Zatim na invisible button-u koji se zove recimo b1 izbriši AS, ustvari izbriši sav AS koji imaš u fajlu i piši novi:

b1.onRollOver =function(){
this.b_anim.gotoAndPlay(1);
}
b1.onRollOut =function(){
this.b_anim.gotoAndPlay(10); // Recimo da imaš 20 frameova - 10-ti je srednji
}
b1.onPress =function(){
this.b_anim.getURL(http://www.mysite.com/folio.php);
}

eto...

_________________
NEW ∞folija∞ Follow me
Ovaj svijet je samo varka!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger Twitter profile
djankey



Joined: 22 Nov 2006
Posts: 128
Location: zg

PostPosted: 12.01.2008 00:30    Post subject: Add user to your forum ignore list Reply with quote

Preview
Download: http://rapidshare.com/files/83085518/meni.zip.html
Naravno na layeru 'actionscript' promijeni linkove Smile

vuk

_________________
http://www.as-flash.com
Back to top
View user's profile Send private message Visit poster's website
Cozmika



Joined: 15 Aug 2007
Posts: 292
Location: Somewhere in my World

PostPosted: 12.01.2008 01:11    Post subject: Add user to your forum ignore list Reply with quote

WOW! Hvala. Znaj da si pomogao u razvoju jednog mladog mozga i ako ikada budem nešto revolucionarno Very Happy napravila na području programiranja, web dizajna... Pomogao si!

_________________
www.cozmika.com
Back to top
View user's profile Send private message 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