[Xerte] custom interface initialization
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Fri May 22 10:40:19 BST 2009
You mean this code
this["menubg"+i].onRelease = function (){
tema = this.idtema;
subtema = -1;
pagina = 1;
marcaTema();
posicionaTemaPagina();
};
Doesn't run?
Can you put a debug statement in there and see if it istrying to run...
this["menubg"+i].onRelease = function (){
debug("FUNCITON CALLED");
tema = this.idtema;
subtema = -1;
pagina = 1;
marcaTema();
posicionaTemaPagina();
};
So this has got nothing to do with interaction icons and event handlers?
It is simply to do with native MovieClip event handlers?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc
Torruella Altadill
Sent: Friday, May 22, 2009 10:35 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] custom interface initialization
I downloaded again version 2.5.5 and i'm sorry to say it is not working
for us.
It's an issue with our menu bar. As we move through the lessons, we load
and unload movieclips in the menu, those movieclips has a background and
a textbox.
We add a listener to the movieclip but it seems not to affect all the
movieclip... the most bizarre thing is that the sublessons we load
exactly the same way, seems to work.
The code that is executed from the interface itself is:
This code moves all menu buttons up when a lesson button is collapsed
for(i=temaMarcat+1;i<arrayTemes.length;i++){
this["menubg"+i].removeMovieClip();
this.attachMovie("MenuBg", "menubg"+i,
this.getNextHighestDepth(), {_x:xMenu, _y:yMenu + alcadaMenu*i});
this["menubg"+i].MenuBgText.text =
arrayTemes[i]["tema"];
this["menubg"+i].idtema = i;
this["menubg"+i].onRelease = function (){
tema =
this.idtema;
subtema =
-1;
pagina =
1;
marcaTema();
posicionaTemaPagina();
};
}
Hope this helps, if we find something else, we will tell.
Thanks and good luck,
Marc
De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Julian Tenney
Enviado el: viernes, 22 de mayo de 2009 11:01
Para: Xerte discussion list
Asunto: RE: [Xerte] custom interface initialization
Reinstall xerte and try again... there was some changes to event
handling that I did and it was bit of a pain, please let me know if
there are still problems, because I need to fix them. 2.5.5 should be
OK?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Marc
Torruella Altadill
Sent: Friday, May 22, 2009 9:40 AM
To: 'Xerte discussion list'
Subject: RE: [Xerte] custom interface initialization
Our custom interface stopped working with your last release of Xerte.
Works fine with version 2.5.2.
Something with the event handler maybe, we don't know. I'll let you know
when we indentify the problem.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090522/b07fc3e9/attachment.html
More information about the Xerte
mailing list