A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Flex: letting component know a button has been clicked in mxml

Threaded View

  1. #4
    Senior Member
    Join Date
    Mar 2001
    Location
    Breda, The Netherlands
    Posts
    522
    Hi JAQUAN,
    Thanks for your input. I've updated function set data like you said and the eventHandler like this:
    PHP Code:
    protected function btn96ClickHandler(event:MouseEvent):void
      
    currentYear "1996"
      
    components.MenRowRenderer.year currentYear;
      
    menRenderer.dataProvider myProxy.populationMen
      
    // components.data = myData; this doesn't work

    But this doesn't trigger anything in the ItemRenderder. I suppose it just sets the "new" dataprovider but nothing happens with the data display. Any other suggestions are welcome. TIA.
    Last edited by Danielle R; 11-15-2012 at 10:00 AM.
    // Kind regards, Danielle.
    // specs: Flash CS5.5 | Flash Builder 4.6 | win xp pro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center