-
function parameters
hi .. again with functions.... :s
I've this:
cursos[c].addEventListener(MouseEvent.CLICK, mostraHorario(c);
cursos is an array, that read values from XML.. that creates a list (text fields that allows to click)..
when clicked i want to invoke the function mostraHorario... and parse the value from var 'c'....
so next to it, i have this too:
function mostraHorario(Event:MouseEvent, i:int) {
....
}
but it don't works....
question: how can i parse the value c into the function??
i tried very solutions and all of them retrive errors (syntax, or mismatch number of arguments,...)
help me again...
thanks.
-
Check this thread, which is at this moment 2 spots below yours on the forum page.
http://board.flashkit.com/board/showthread.php?t=772931
-
yeh... i notice that after my post...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|