sorry i didn't respond to your reply..slipped thru.
continuing from Alex, and having a closer look at your original
post ..flexcoders is so busy and sometimes i just look at the
title and give an answer...i'll be a good boy and read the question
properly next time.
what you actually
Bod, thank you thank you thank you!!! This works beautifully. And just
in time for our Beta test today.
:)
-Erin
--- In [EMAIL PROTECTED], bhaq1972 [EMAIL PROTECTED] wrote:
sorry i didn't respond to your reply..slipped thru.
continuing from Alex, and having a closer look at your original
Thanks for the suggestion. My new error is: value is not a function.
This comes up on this new line:
IList(myTiles.dataProvider).getItemAt(1).testFunction();
-Erin
--- In [EMAIL PROTECTED], craig.drabik [EMAIL PROTECTED]
wrote:
Try using an ArrayCollection for your data provider instead of a
Erin,
It looks like your array:
var arrTest:Array = [1,2,3,4];
just contains numbers.
IList(myTiles.dataProvider).getItemAt(1) should return 2;
2 is just a number so you it doesn't have a testFunction
Did you intend to pass 2 into testFunction?
That would be:
Thanks for the suggestion, but it doesn't work :(. Do you need the
latest version of Flex 2 for that to work? I didn't install the latest
upgrade (2.1 I believe).
When I tried it, I got the following error.
TypeError: Error #1006: value is not a function.
at test/clickedList()
at
Try using an ArrayCollection for your data provider instead of a
simple array.
--- In flexcoders@yahoogroups.com, erinwyher [EMAIL PROTECTED] wrote:
Thanks for the suggestion, but it doesn't work :(. Do you need the
latest version of Flex 2 for that to work? I didn't install the latest
the getItemAt() function is available but not like the flex 1.5 way.
you can do the following
import mx.collections.IList;
public function clickedList():void {
//myTiles.getItemAt(1).testFunction();
IList(myTiles.dataProvider).getItemAt(1).testFunction();
etc
--- In
7 matches
Mail list logo