[Xerte] Re: Sound wait parameter ignored on server
Dave Burnett
d_b_burnett at hotmail.com
Mon Apr 8 11:59:10 BST 2013
Tommy's Holiday Camp?
I actually mean the resulting .rlo is going to double in size just to address this.I have thousands of these.
And it gets better. Some of them are set Wait=0, because in the original AW the sound was followed by a motion icon which animated a chunk of text for the same amount of time as the sound was long.
So I'm trying to figure out what's blowing up in the engine, but can't output the debug info from xmlengine.swf:
====================from a post made a couple days back
What's up with fred = this._parent.sound.duration ?
debug("new sound"); //appears when .rlo hits sound icon with Wait set to 1 dec.createEmptyMovieClip("waitWatcher", ++this.levels); //existing codedec.waitWatcher.onEnterFrame = function() { //existing code
fred = 1; //works, shows up in debug below //fred = this._parent.sound.duration; // causes totally blank debug window debug(fred);
if (this._parent.sound.duration == this._parent.sound.position) { this._parent.exit(); delete this.onEnterFrame;etc
How do I get engine stuff to show up in a debug window?
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Mon, 8 Apr 2013 10:19:32 +0100
Subject: [Xerte] Re: Sound wait parameter ignored on server
Hope it wasn't a nasty bug or something.No, no, it was holiday… …I don’t think the code would be huge to find all sound icons, and then create a new node new XML(‘<xmlStringHere/>’) style and then loop over your list of nodes adding the new XML after each one? findNodesByName should find all the nodes of a type and XMLNode.insertBefore should do the insertion? //from the engine…XMLNode.prototype.findNodesByName = function(nodeName, rootNode){ if (rootNode == undefined){ //boss node rootNode = this; rootNode.nodesList = new Array(); } var rootNode = (rootNode == undefined ? this : rootNode); for (var i = 0; i < this.childNodes.length; i++){ if (this.childNodes[i].nodeName == nodeName){ rootNode.nodesList.push(this.childNodes[i]); } this.childNodes[i].findNodesByName(nodeName, rootNode); } return this.nodesList;} From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 April 2013 00:02
To: Xerte list
Subject: [Xerte] Re: Sound wait parameter ignored on server
No problem!I think Tom did mention your were off. Yes, I can write a widget to insert all that code but I'm loathe to double the size of the file just for this.I wanted to see if I could figure out where it's falling over, but can't figure out how pass some of the data back from the engine. I think it's in a post following this one you responded to. Hi Dan. ;-).
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
> Date: Sun, 7 Apr 2013 23:34:37 +0100
> Subject: [Xerte] Re: Sound wait parameter ignored on server
>
> you could write code that builds the event interactions? Dive the .rlo and insert nodes? If it's looikng like the hard way, or build a media loader component? Sorry, I've been off this week with the littlies [Dan says 'Hi']
> ________________________________________
> From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
> Sent: 03 April 2013 14:25
> To: Xerte list
> Subject: [Xerte] Re: Sound wait parameter ignored on server
>
> Yes, because preload media solves it on IE.
> But Chrome is failing no matter what.
> As far as I can tell, Chrome is set to allow local caching, and I have a dynamic text set up to show media has been preloaded on screen.
>
> Hmm.
>
>
>
>
>
> > From: Julian.Tenney at nottingham.ac.uk
> > To: xerte at lists.nottingham.ac.uk
> > Date: Wed, 3 Apr 2013 13:51:46 +0100
> > Subject: [Xerte] Re: Sound wait parameter ignored on server
> >
> > because the file is cached now...
> > ________________________________________
> > From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl]
> > Sent: 03 April 2013 11:57
> > To: Xerte discussion list
> > Subject: [Xerte] Re: Sound wait parameter ignored on server
> >
> > Would it work the second time around then?
> >
> > It works just fine AFTER the first time.
> >
> > Dave can you verify you've got the latest xmlEngine.swf and the latest
> > PreLoader.swf online?
> >
> > Op 3-4-2013 10:51, Julian Tenney schreef:
> > > I have a feeling this is a long standing bug, something to do with streaming vs event sounds, and despite the being et up as event sounds, if they don't load immedietely they behave as streaming sounds wich don't fire events. I think so, it's been a while, but I've seen it before, a long time ago, nd was unale to fix it. You might be able to verify that diagnosis somehow?
> > >
> > > I'm not saying it's not doable - I would maybe try making a simple flash movie and replicating a simple case, see if it does the same thing without xerte in the picture,
> > > ________________________________________
> > > From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
> > > Sent: 01 April 2013 15:36
> > > To: Xerte list
> > > Subject: [Xerte] Re: Sound wait parameter ignored on server
> > >
> > > No takers?
> > >
> > > If I only had a few of these I would add an event interaction below the sound and be done with it.
> > > But I have hundreds and hundreds...
> > > :-|
> > >
> > >
> > >
> > >
> > >
> > > ________________________________
> > > From: d_b_burnett at hotmail.com
> > > To: xerte at lists.nottingham.ac.uk
> > > Subject: RE:Sound wait parameter ignored on server
> > > Date: Fri, 29 Mar 2013 09:20:29 -0400
> > >
> > > Desktop.
> > >
> > > Mp3's matching bullet point.
> > >
> > > Wait 1
> > > Loop 0
> > > Play 1
> > >
> > > URL FileLocation + 'yaddayadda/9-2_65728_1.mp3'
> > >
> > > Works correctly locally.
> > > On server Wait is ignored and I get all 4 bullet point and audios at once.
> > >
> > > _______________________________________________
> > > Xerte mailing list
> > > Xerte at lists.nottingham.ac.uk
> > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> > >
> > > This message has been checked for viruses but the contents of an attachment
> > > may still contain software viruses which could damage your computer system:
> > > you are advised to perform your own checks. Email communications with the
> > > University of Nottingham may be monitored as permitted by UK legislation.
> >
> > --
> > --
> >
> > Tom Reijnders
> > TOR Informatica
> > Chopinlaan 27
> > 5242HM Rosmalen
> > Tel: 073 5226191
> > Fax: 073 5226196
> >
> >
> > _______________________________________________
> > Xerte mailing list
> > Xerte at lists.nottingham.ac.uk
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> >
> > _______________________________________________
> > Xerte mailing list
> > Xerte at lists.nottingham.ac.uk
> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
> >
> > This message has been checked for viruses but the contents of an attachment
> > may still contain software viruses which could damage your computer system:
> > you are advised to perform your own checks. Email communications with the
> > University of Nottingham may be monitored as permitted by UK legislation.
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130408/c63e48f5/attachment-0001.html>
More information about the Xerte
mailing list