Josh,

The "long name" includes the object specifier, so I don't think you need to use the object with the long name, like "enable btn tLongName" but do instead "enable tLongName"

As to why 'set the filename of tPlayer() to "blahblah.mov"' isn't working, I don't know. If you use "long name" instead of "long ID" does it work more reliably? You might want to put the return of tPlayer() into a variable and make sure it does contain what you are thinking it should in all cases.

At 06:46 PM 7/18/2006, you wrote:
To easily identify a specific control on a card in a stack, what
method do you use?


I have been trying several, and am getting intermittent bugs...

---

method 1: set the calSender of stack "greenbongo" to the long name of me

or

method 2: set the calSender of stack "greenbongo" to the long ID of me


then, in scripts:

send "datePicked" to btn the calSender of stack "greenbongo"

or

        put the calSender of stack "greenbongo" into tSender
        send datePicked to tSender

or

        put the calSender of stack "greenbongo" into tSender
        send datePicked to btn tSender

This usually works but bothers me because the custom property
actually starts with the word "button", so I am saying "btn button..."

---

method 3:

function tPlayer
 return the long ID of Player "video" of cd "this" of stack "that"
end tPlayer

then, in scripts:

set the filename of tPlayer() to "blahblah.mov"


This works sometimes, but seems not to work other times.


Sometimes I resort to the full "pathname" but this makes scripts
dense and cluttered.


Thanks for clearing up this foggy area for me!
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-682-4588

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to