More Problem with Player Object in Library Stack

Michael Binder runr at prismpole.com
Tue Jun 19 05:10:33 EDT 2007


Hi Dave, you wrote:

>    breakpoint
>    put the short name of this stack into myCallingStack
>    show me
>    go stack the (short name of me)
>    set the fileName of player "PlayerThumbnail" of me to
> theMovieFilePathName
>
> The file is valid and plays find in another player object.
>
> Any ideas on how to work around this?

Reading your code, I am a little confused about 'this' and
'me'.   In my (admittedly limited) experience, rev also gets
confused about these things.  What happens if you try this:

    breakpoint
    put the short name of stack "myStack" into myCallingStack
    show stack "myOtherStack"
    go stack "myOtherStack"
    set the fileName of player "PlayerThumbnail" of "myOtherStack" to 
theMovieFilePathName

One other thought, remove the parentheses in
"go stack the (short name of me)"
Rev may see that as: go stack the "myOtherStack"

Hope that helps,
Michael Binder




More information about the use-livecode mailing list