Well I think it's a bit of a kludge to go from one then back to the other.
Personally I'd use a property called 'pFileList' that would still be the
list (file1, file2, file3), and then when the user clicks on line I'd just
point to the filelist, ie
PselectedFile = pFileList[pointToLine(sprite me.spritenum, the clickLoc)
Of course I'd also call the sprite something in the behavior instead of
referring to it with sprite me.spritenum...
On 4/17/01 1:08 PM, "Jon Paul Alongi" <[EMAIL PROTECTED]> wrote:
>
> ok guys...who can do this...
>
> ive got a list in a field that ive formateed with ITEM DELIMITER
>
> so it was... file1,file2,file3
>
> now
>
> file1
> file2
> file3
>
>
>
> I also have
> on mouseUp me
> jayp = pointToLine(sprite me.spriteNum, the clickLoc)
> end
>
>
>
>
>
>
> how can i use SEL START and END to RETURN
>
>
> the file name on a given line..........
>
> so i can use it to open a file
>
>
>
> thanx in advance...you geniuses...
> jon
>
>
>
>
> [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!]