[Xerte] Re: SWF not Functioning in Xerte

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Sep 27 13:25:17 BST 2011


You ought to be using this or some other relative addressing. It makes it way harder to keep track of an application when you write code on each clip and use the old on(eventName) handlers. You should try and get all your code in one frame, and refer to items by their instance names.


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Deborah Delin
Sent: 27 September 2011 13:23
To: Xerte discussion list
Subject: [Xerte] Re: SWF not Functioning in Xerte

It's most odd - with the lockroot code the onClipEvent is activated when the mouse is somewhere else on the stage.

I am referring to the timelines as follows:

            _root.updateScore();
            _root.movie_clip.gotoAndStop(2);

I also tried:

            _level0._root.updateScore();
            _level0._root.movie_clip.gotoAndStop(2);

Which also worked in the SWF but not in Xerte.

Deborah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110927/b8938a37/attachment.html>


More information about the Xerte mailing list