Problems setting a player object to an alias in a script

Richard Gaskin ambassador at fourthworld.com
Mon May 31 15:14:34 EDT 2010


Howard Bornstein wrote:

> On Mon, May 31, 2010 at 8:36 AM, J. Landman Gay <jacque at hyperactivesw.com>wrote:
>
>>  Try using the aliasReference function to get the real file name and set
>> your player to that instead.
>
> Thank you thank you! This is exactly what I was looking for and solves my
> problem nicely. Since I may have a mix of aliases and normal files, this
> function makes it easy to tell if the file is an alias as well as providing
> the valid reference to the actual file.
>
> This was one of the multitude of Rev functions I didn't even know existed.

Another example of the value of the Rev Dictionary's See Also section. :)

Sometimes in my spare time I just browse around in the Dictionary 
clicking See Also links, and almost always learn something new.

--
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv



More information about the use-livecode mailing list