Hi Graham,
Have you assigned LABEL to a variable in your AS3 script? Usually
when the binding warning comes up its due to a variable not prefixed
with the [Bindable] metadata tag.
On 14 Sep 2007, at 15:20, Graham Pearson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am trying to make some modifications to an application by trying to
> understand the mx:repeater component. The data that I am retrieving is
> from a Coldfusion Component as an Array. In my original mxml code I am
> populating a combobox with my dataProvider of NewsArticlesDP and a
> labelField of LABEL. This results in the correct values when I run the
> application. Now within the same application using the same
> NewsArticlesDP I have the following section of code:
>
> <mx:Accordion x="10" y="10" width="100%" height="100%"
> id="LastestNewsAccordion">
> <mx:Repeater id="NewsArticlesRepeaterData"
> dataProvider="{NewsArticlesDP}">
> <mx:Canvas id="NewsArticle" label="" width="100%" height="100%">
> <mx:Text text="Content of the News Article goes in this spot"
> width="100%" height="100%" />
> </mx:Canvas>
> </mx:Repeater>
> </mx:Accordion>
>
> When I enter {NewsArticlesDP.LABEL} within the label field of Canvas I
> get a warning in FB2 about Data binding will not be able to detect
> assignments to "LABEL". I have been searching the net regarding
> Repeater Tutorials but just have not been able to solve this on my own
> at this time.
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (MingW32)
> Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iQEVAwUBRuqYuHnjLHMPlkANAQKkogf+MN+i+MDlggOK2EmHUiAk3Pz1mHovgTiv
> Y4m4v+lxE0B1P0/c4B5Dx5mMMGB4GomvGqSq6G1S/RvZLdFXddOhQNv1CmwDkra2
> YtuuNP+pUKDaWBMDyxINstAIIabgaba6GBHdzF6RvW2z+Z77pDHLjoaSZ3RKv8W/
> kiXreU4nh7JvzvMf5X6yXoSOVVDD5ut7nTIr7X2YrmJSZ6lGDQEuLG1yVnZ96EVS
> BeZeKb2DOGjwYH7xtCIbckjJjLgGlCa9bdwrag9LQ/RSfsJSOZH3YZ8f05w6GNTp
> NJZu0Tv7K8oMaQ3+D+Gx/7V55G6w0lgrymTnP0wvN/skuxfKp4d4Fg==
> =YOhO
> -----END PGP SIGNATURE-----
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf
Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4602
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37