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
Flash > List component

 
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
carr



Joined: 13 Nov 2003
Posts: 1397
Location: Karlovac

PostPosted: 11.03.2005 21:02    Post subject: Flash > List component Add user to your forum ignore list Reply with quote

Mozda ce se nekom ciniti glupo pitanje, ali stvarno nisam uspio rjesenje dobiti, a googlat nisam uspio.

U stage sam ubacio "List" component.
Sad bi jednostavno htio da kad user klikne na jedan od elemenata liste, da se pozove neka funkcija ili nesto slicno, uglavnom da dobijem neku INTERAKCIJU.
lista.onPress, lista.onMouseDown, on(Press) itd... nista nije pomoglo.

Hvala puno.

_________________
Bolje biti malo lud, nego malo pametan.
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 11.03.2005 21:27    Post subject: Add user to your forum ignore list Reply with quote

Ne volim baš komponente, pa ih ne znam, ali treba ti List.change i eventlistener

c&p
Code:
Example
The following example sends the instance name of the component that generated the change event to the Output panel:

form.change = function(eventObj){
  trace("Value changed to " + eventObj.target.value);
}
myList.addEventListener("change", form);
Back to top
View user's profile Send private message Send e-mail Visit poster's website
carr



Joined: 13 Nov 2003
Posts: 1397
Location: Karlovac

PostPosted: 11.03.2005 23:24    Post subject: Add user to your forum ignore list Reply with quote

Sulien wrote:
Ne volim baš komponente, pa ih ne znam, ali treba ti List.change i eventlistener

c&p
Code:
Example
The following example sends the instance name of the component that generated the change event to the Output panel:

form.change = function(eventObj){
  trace("Value changed to " + eventObj.target.value);
}
myList.addEventListener("change", form);


Fala ti ko bratu stari, jebem se s ovim vec neko vrijeme, i nije mi jasno kako nisam vidio List.change u helpu.

za druge ljude, uglavnom, ako ovaj kod cp-ate nece vam raditi, fali na pocetku samo
Code:
form = new Object();


fala sulienu jos jenom.

_________________
Bolje biti malo lud, nego malo pametan.
Back to top
View user's profile Send private message 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