RE: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Mendelsohn, Michael
is it the # of the last element in a list? Sorry, Buzz. I should've been clearer. I'm looking for a quick way to take a path (string) and chop it down to just the file name. I came up with this: on reduceToFileName(thePath) -- chops off all slashes (char 92) and returns just the file name.

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Valentin Schmidt
hi michael, a common way do this is to use tPathDelimiter = \ -- or: the last char of the moviepath the itemdelimiter = tPathDelimiter tFileName = the last item of tPath cheers, valentin Mendelsohn, Michael wrote: is it the # of the last element in a list? Sorry, Buzz. I should've been

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Bart Pietercil
The technique I'm usually using is this if the platform.environment contains windows then separator = / else separator = : end if OldDelimiter = the itemdelimiter the itemdelimiter = separator filename = the last item of filepath -- assuming filepath contains the whole string the

lingo-l flash sprite with linked media

2005-11-22 Thread Mike Gralish
I'm having problems with a swf sprite that links to external files. Dir MX w/ Flash 8 - Tested on mac and windows The swf file reads an external xml file an dynamically loads png files and other swf files. On windows the xml reads fine; as do the linked swf files the png's do not.

lingo-l OT: Director QuickTime and Sorenson 3

2005-11-22 Thread Flom, Todd
Hi all, I've been having a problem with a projector crashing on XP Pro machines. I ended up calling the Macromedia support line. The tech says to me that Macromedia has never recommended using QT's compressed with Sorenson 3 in Directorperiod. I'm no fan of using QT's anyway, but I'm kind

Re: lingo-l OT: Director QuickTime and Sorenson 3

2005-11-22 Thread Thomas W.J.C. McCrystal
I've been having a problem with a projector crashing on XP Pro machines. I ended up calling the Macromedia support line. The tech says to me that Macromedia has never recommended using QT's compressed with Sorenson 3 in Directorperiod There IS an issue with using SV3 Pro QuickTime files, IF

Re: lingo-l lastIndexOf lingo equivalent

2005-11-22 Thread Buzz Kettles
BTW - Tom, did you get elected? Nope. It was a bad night to be a Republican in the Commonwealth of Virginia. Sorry about that - I had forgotten that the Republican for Gov didn't get elected even w/Dubya's help ... Better luck next time. -Buzz [To remove yourself from this list, or to