[Xerte-dev] Re: icons killed on page turn?

Dave Burnett d_b_burnett at hotmail.com
Tue Jan 24 14:23:38 GMT 2012



Yes, but I gaffed the point about it creating the underlying xml.I though it functioned within the context of "page" to prevent re-dupes happening while moving around within the contained page logic.
So yes, my problems stem from arrays not being re-populated when I was expecting them to be.  

From: Julian.Tenney at nottingham.ac.uk
To: xerte-dev at lists.nottingham.ac.uk
Date: Tue, 24 Jan 2012 14:13:24 +0000
Subject: [Xerte-dev] Re: icons killed on page turn?



More or less, yes. If you initialise anything in there, it won’t be initialised again when the page is re-made. What it stops happening is this: SCR //icon.nextSibling.duplicate(numOfIcons – 1)DIS //an icon… …shows numOfIcons icons, right? If you let that dupe code run again when the page is re-encountered, you’re gonna end up with twice as many icons etc.  From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 24 January 2012 14:10
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: icons killed on page turn? So that logic should really only wrap dupe statements? From: Julian.Tenney at nottingham.ac.uk
To: xerte-dev at lists.nottingham.ac.uk
Date: Tue, 24 Jan 2012 14:02:23 +0000
Subject: [Xerte-dev] Re: icons killed on page turn?icon is the xml. So it only needs the duping done once: if the resulting movieclip is killed, the xml still exists in its manipulated state ready to be parsed again.  From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 24 January 2012 14:00
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] icons killed on page turn?  J, when do icons get killed? I have this logic in calcs all over the place: if (icon.built != 'true') { blah  and thought that it would reset to undefined upon page turn, but I'm finding that not the case. ??       
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-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev 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-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev

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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120124/083c6083/attachment.html>


More information about the Xerte-dev mailing list