[flexcoders] Re: cross/component communication - need code example

2006-11-07 Thread Wally Randall
Thank you Oscar!  That code is exactly what I needed. This is a 
wonderful example why I love this list.  Thanks for sharing your 
expertise with us newbies.  

--- In flexcoders@yahoogroups.com, "Oscar" <[EMAIL PROTECTED]> wrote:
>
> 
> This can probably help you:
> 
> 
> http://www.adobe.com/2006/mxml
>  " layout="vertical"
>   xmlns:local="*" width="500"  height="350">
>   
>
>   
> 
>
>
> 
>  clickB="{selectViewIndex(0)}"/>
>
> 
> 
> 
> 
> 
> 
> 
> http://www.adobe.com/2006/mxml
>  " width="400" height="300">
>   
>[Event(name="clickA")]
>   
> 
>
> 
> 
> -
> 
> 
> 
> http://www.adobe.com/2006/mxml
>  " width="400" height="300"
>>
>   
> [Event(name="clickB")]
>
>
> 
>
>
>
>
> 
>
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Wally Randall" 
> wrote:
> >
> > There has been a lot of discussion recently about how components
> > should talk to each other but no code samples. I have attempted 
to
> > get answers to these questions but noone has provided a coding
> example:
> >
> > Application Main includes two sub-components (A and B) which are
> > canvases included in the Main viewstack.
> >
> > 1. The 'A' component needs to be capable of "enabling" a button 
on
> > the 'B' component.
> > 2. The 'B' component needs to be able to alter the viewstack 
index on
> > Main.
> >
> > How should these two problems be coded?
> >
> > Thanks for your patience.
> >
>





--
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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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/
 



[flexcoders] Re: cross/component communication - need code example

2006-11-06 Thread Oscar



   This can probably help you:
http://www.adobe.com/2006/mxml" layout="vertical" xmlns:local="*" width="500"  height="350">

  
 
http://www.adobe.com/2006/mxml" width="400" height="300">   [Event(name="clickA")] 
  
-
http://www.adobe.com/2006/mxml" width="400" height="300"  >    [Event(name="clickB")]                  

 
--- In flexcoders@yahoogroups.com, "Wally Randall" <[EMAIL PROTECTED]> wrote:>> There has been a lot of discussion recently about how components > should talk to each other but no code samples. I have attempted to > get answers to these questions but noone has provided a coding example:> > Application Main includes two sub-components (A and B) which are > canvases included in the Main viewstack.> > 1. The 'A' component needs to be capable of "enabling" a button on > the 'B' component. > 2. The 'B' component needs to be able to alter the viewstack index on > Main.> > How should these two problems be coded? > > Thanks for your patience.>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___