Wow!! I couldn't believe there was a bug with your code so I tried it out. Unbelievable..
When I run into this class of bug the first thing I try is to delay the action I want to take by using a timeout object. I tried that and it works.
This behavior works for me in D11.5
on hyperlinkClicked me, data, range
if pClicked then exit -- stop multiple clicks
pClicked = 1
pData = data
Tmp = timeout().new("goMovieDelay", 1, #goToMovie , me)
on goToMovie me, Timeob
This is a known problem with many asset xtras: jumping to a frame/movie that will destroy the sprite instance from an event generated by the sprite causes a crash. This was an issue in the Text Asset some years ago and was subsequently fixed. It's unfortunate it has re-appeared.
I tried your method and it worked like a charm .
Thanks a lot for your help.