Greetings -

I need to control a viewStack from some plan old buttons (rather than  
from  navigator bound to the stack). I though I could simply set the  
click event on the button to be:

click="stackName.selectedIndex='n'"

(where 'stackName' is the name of my stack and 'n' is the stack child  
in question.

However, on compile, this return the following error (on the button):

"Implicit coercion of a value of type String to an unrelated type int."

The view stack is in the same file (there's another stack in that  
file as well).

More generally, is there a way to reference (and make active) an item  
in a viewStack by id rather than by sequential child number?

cheers, ethan



------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to