[Xerte] Re: FW: Audio controls, FF rew and the scrub bar

Julian Tenney Julian.Tenney at nottingham.ac.uk
Mon Feb 7 09:44:11 GMT 2011


You need to do both of these things:

myMovieClip.onEnterFrame = null;
delete myMovieClip.onEnterFrame;

never figured it either, but if there are references to the function elsewhere, it won't delete.

To add one after some action, nest the interaction. This is better done in ActionScript though, in a component.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 05 February 2011 19:01
To: Xerte list
Subject: [Xerte] FW: Audio controls, FF rew and the scrub bar


Ok, I got how to delete an event: delete myicon.onEnterFrame.

So how do I add one in the first place so it doesn't run as soon as the icon is instantiated?



________________________________
From: d_b_burnett at hotmail.com
To: xerte at lists.nottingham.ac.uk
Subject: Audio controls, FF rew and the scrub bar
Date: Sat, 5 Feb 2011 13:31:35 -0500


OK, I'm trying to suss out the script for some custom controller buttons.

I think I know what scripts go where, just can't get it clear where I'm supposed to attach this stuff.

onEnterFrame etc.

I know the gist of it is if the FF button is held down, then we need a looping script to advance the sound via sound.position etc.

Do just put a loop in an SCR under the button?

Hints?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110207/e3425c89/attachment-0001.html>


More information about the Xerte mailing list