[flexcoders] Re: Simple problem: Error creating links using string
Thank you all. I used the getRepeaterItem() and it worked. Jack
[flexcoders] Sorting Date Error using CompareFunc
Hi, I was wondering how exactly I can write a date sorting function for the internal CompareFunc because I would like to use the sort field function. Please specify what exactly I have to write and exactly where I put it. Thanks.
[flexcoders] Re: Unable to Refresh Custom Component after sorting DataProvider
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You need to add a CollectionEvent.CHANGE event handler on the dataProvider in component2. When collection is refreshed you'll get notified and you can redraw. There are more details in the event in case there are things where you want to ignore and not redraw. Thanks Matt. I think you're saying to add the event handler to the component2 (custom repeater) code. But the code in component2 doesn't have the actual markup. How can I redraw it?
[flexcoders] Simple problem: Error creating links using string
Hi, I have the following code: mx:Repeater id=links dataProvider={project.links} mx:LinkButton label={links.currentItem} click=navigateToURL(new URLRequest('{links.currentItem}')) / /mx:Repeater I'm having problem creating the correct URL. For example, links.currentItem = http://www.Adobe.com;. But when I use the links.currentItem in the new URLRequest, the url that comes out is something like: path to source file/'{links.currentItem}' where it should be http://www.Adobe.com;. I tried the example by replacing the '{links.currentItem}' with 'http://www.Adobe.com' and it was able to create a correct link. What is the correct way of using a string to create a link? Thanks. Jack