Problems setting a player object to an alias in a script

Howard Bornstein howard.bornstein at gmail.com
Mon May 31 17:05:26 CDT 2010


On Mon, May 31, 2010 at 12:14 PM, Richard Gaskin <ambassador at fourthworld.com
> wrote:

> 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.


Yes, I smacked myself upside the head after I saw Jackie's answer. Why I
didn't think to search the dictionary for 'alias' is beyond me, although I
did search for it in the User's Guide (just found stuff on anti-aliasing).

That's why this list is so valuable.

-- 
Regards,

Howard Bornstein
-----------------------
www.designeq.com



More information about the use-livecode mailing list