Closest I can think of is to convert the array to a string and then do a
String.IndexOf(value) on it.
This of course sucks, for many, many reasons (having to convert, no handling
of duplicates etc, gives position of first char so you'd have to then use
that in conjunction with the element length (string length) to give a true
position).
Other tha that, I can't see any other way.
Leon
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Felix (FEF Studios)
> Sent: 10 July 2001 17:29
> To: Lingo-L Digest
> Subject: <lingo-l> director to flash
>
>
> Hello List,
>
> Did somebody know the Flash5 equivalent to Director list.getOne(value)
>
>
> Ex.Director
>
> myList = ["dude","flash","lingo"]
> put myList.getone("flash")
> --2
>
> Ex.Flash
>
> myList = new Array;
> myList= ["dude","flash","lingo"]
>
> How to get the position based on a value without looping trought
> the array ?
>
> Best regards,
>
>
>
> Groslerner Felix
> Chief Programmer
>
> F.E.F Studios
> Tel. 03-6390305
>
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo. Thanks!]
>
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]