Home > Flex > Working with mx.core.Repeater

Working with mx.core.Repeater

November 18th, 2006

I recently did some Flex work that involved quite extensive use the mx:Repeater tag and initially had some problems accessing the repeater instances using AS3.

To avoid the headache for anyone else trying to figure it out, I just did a quick example (right-click to view source).

[FLASH]/downloads/flex/repeater/checkboxrepeater.swf,300,150[/FLASH]

The basic idea is you access the component instance by array notation, for example: name_cb[0] is the first name_cb instance in the Repeater loop. Easy enough if you know how to do it ;-)

No TweetBacks yet. (Be the first to Tweet this post)

 
Creative Commons License This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Belgium License.

 

Related posts:

  1. Working with external text in Flex
  2. Core ActionScript course goes Denmark


 

Flex

  1. ys
    November 28th, 2006 at 01:36 | #1

    hi,
    i get an error at this example :
    Type was not found or was not a compile-time constant: repeater. [Generated code (use -keep to save): Path: repeater-generated.as …

    have you any idea, why i get this?

  2. November 28th, 2006 at 01:53 | #2

    mmm interesting, what Flash Player version are you using?

  3. ys
    November 28th, 2006 at 02:33 | #3

    i have version 9,0,28,0 installed.

  4. December 23rd, 2006 at 08:54 | #4

    I still have problem too. Anyone can help?

  1. No trackbacks yet.
Comments are closed.
"Schöne Harz Ferienwohnung im Herzen von Deutschland. Weitere Ferienwohnungen im Harz finden Sie auf der angegebenen Urlaubsseite.
Falls Sie einen Partner für erfolgreiche Suchmaschinenoptimierung suchen, sind Sie bei Bullz-Eye an der richtigen Adresse."