Peter Elst

Flash Platform Consultant
  • Home
  • About me
  • Articles
  • Downloads
  • Contact me

Working with mx.core.Repeater

18 11 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 ;-)

« Flash on the Beach schedule Apple support burns… »



Actions

Informations

  • Date : 18 November 2006
  • Categories : Flex

4 responses to “Working with mx.core.Repeater”

28 11 2006
ys (01:36:27) :

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?

28 11 2006
Peter (01:53:59) :

mmm interesting, what Flash Player version are you using?

28 11 2006
ys (02:33:58) :

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

23 12 2006
Metha V. (08:54:16) :

I still have problem too. Anyone can help?





Training Partners

multimediacollege

SkillsMatter

  • Categories

    • AIR RSS category feed
    • Ajax RSS category feed
    • CSS RSS category feed
    • Eclipse RSS category feed
    • Events RSS category feed
    • Flash RSS category feed
    • Flash Lite RSS category feed
    • Flex RSS category feed
    • Gadgets RSS category feed
    • General RSS category feed
    • JSFL RSS category feed
    • Mac RSS category feed
    • Open Source RSS category feed
    • PHP RSS category feed
    • Podcasts RSS category feed
    • Publications RSS category feed
    • Rants RSS category feed
    • Reviews RSS category feed
    • Thought of the Day RSS category feed
    • Training RSS category feed
    • Video RSS category feed
  • Resources

    • Scott Barnes
    • AndrĂ© Michelle
    • Darron Schall
    • Jon Williams
    • Lee Brimelow
    • Stefan Richter
    • Francis Bourre
    • Stephen Downs
    • Guy Watson
    • Abdul Qabiz
    • Simon Barber
    • Sas Jacobs
    • Jesse Warden
    • Edwin van Rijkom
    • Mario Klingemann
    • Matt Voerman
    • Burak Kalayci
    • Patrick Mineault
    • Serge Jespers
    • Ralf Bokelberg

     
     

    Adobe Community Expert

    See my profile on LinkedIn



    Harz Ferienwohnung Suchmaschinenoptimierung Geschenkideen Harz Ferienwohnung Pagerank Webkatalog Webhosting