This content has been marked as final. Show 4 replies
>>Is there a way to retrieve text from a spriteMember at a specific marker
>>when you are not located at that marker?
Short answer... no.
Can you get the text of the member?
If that won't work you can use the updateLock property of score recording.
You can do something like this: set updateLock to true, go the frame you
want, get the text of the member of the sprite, then return to the frame you
were at and turn updateLock back to false.
_movie.updateLock = true
_movie.updateLock = false
If you place that as a handler in a movie script, you can enter test from
the message window and see what happens - you will see the text of the
sprite displayed, but the play head won't move...
Adobe Community Expert
No you can't grab the text from another marker than the one your in by looking for spriteMember info because the current sprites on the stage don't have the information you need.
You can use the markerList to retrieve a property list of marker names. Check out the following,
A few suggestions. Use a Global Varable or if the sprite is also a castmember, you can retrieve it from the cast. Another suggstion is extend the sprite to the current marker and make it invisable.
Thanks Dave (DMennenoh)
That's what I was looking for. Thanks a bunch. With a few mods it seems to work like a champ. It just locks it out updateStage, pops to the frame and grabs the text for display.
Thanks everybody else for your suggestions.