Explore the community Forums Lectora Lectora Questions & Answers Making Object Blink in Lectora v11 Reply To: Making Object Blink in Lectora v11

#369619 Score: 0
Profile photo of Darrel Somoza
Darrel Somoza
Member
contributor
friend finder
beginner
intermediate
junior moderator
advanced
wise owl
curious george
profile
209 pts
@Klaatu

SB, it is most likely seamless play causing the problem. Try adding ‘parent’ (no quotes) ahead of ‘document’ in your variable declaration.

So in the example I posted above, this:

var star = document.getElementById(‘shape47’);

becomes this:

var star = parent.document.getElementById(‘shape47’);

Now it’ll work with seamless play turned on. Hope this helps.