Hi.
I've some data from a web service.
Now I've a Repeater which creates for each item from the service's result a
mx:Box element with some other stuff.
The repeater's name is repDay, I can access any data with
repDay.currentItem. Well, this works fine, because I use all these values.
But: Suddenly I cannot access the data on mouseUp event. Everythings works
except this...
I'll post my example:
<mx:Repeater dataProvider="{aDay}" id="repDay">
<mx:Box backgroundColor="#FF9933" borderColor="#FF6633"
borderStyle="solid"
width="{itemWidth - 10}" x="5"
y="{time2pos(repDay.currentItem.startTimestamp)}"
height="{times2height(repDay.currentItem.startTimestamp,
repDay.currentItem.endTimestamp)}"
toolTip="{myApp.tFormatShort.format(repDay.currentItem.startTimestamp)}
- {myApp.tFormatShort.format(repDay.currentItem.endTimestamp)}:
{repDay.currentItem.eventHeader}"
alpha="85" hScrollPolicy="off"
mouseUp="mx.controls.Alert.show('date: ' +
repDay.currentItem.startTimestamp)">
<mx:Text text="{repDay.currentItem.eventHeader}" />
</mx:Box>
</mx:Repeater>
And in the mouseUp I alway get NaN! (I want to use other things then, not to
open an alert window, it's just for debugging!
Anybody who can help me?
Thanks!
Bye,
Fritz
--
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden & testen ++ http://www.gmx.net/de/go/promail ++
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/