[Xerte] Navigation blues

Dave Burnett d_b_burnett at hotmail.com
Fri Nov 20 14:20:57 GMT 2009



Have it working.

That was it. I was expecting AW-like behaviour, i.e. upper perpetual entryframe entities would cascade into nested structures even if those nested structures were navigated to directly.
I shifted the structure to something "flatter", and now it seems to go. No errant sounds either.

Left hemisphere still says left > right, not up > down.

Thanks for indulging me.

Dave 

Subject: RE: [Xerte] Navigation blues
Date: Fri, 20 Nov 2009 14:00:00 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk



















Okiedokie,

 





From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 1:59 PM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 

OK,
I think I am slowly overcoming my preconceptions.

AFA as the disappearing nav button goes, it's not like AW, e.g. if I navigate
to a nested FW, any FW_ENT entities in a parent above that are not going to
cascade down right? I have to navigate to the a page of the FW containing the
FW_ENT, even if the FW_ENT thingies are set to perpetual.



Hmm, so I have to think differently in a structural sense..



Still working on the page 1 sound executing when navigation is to page 2..















Subject:
RE: [Xerte] Navigation blues

Date: Fri, 20 Nov 2009 13:28:13 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



Hmm.

 





From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 1:27 PM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 



Had tried that one, but the results were a bit unexpected.

rootIcon.navigate('main_menu_target');



The target is page 2 of a framework.

During the navigation, some of the content in page 1 (a sound) is executed .

And upon the second use of that navigation, the perpetual buttons in the target
FW_ENT disappear.



Maybe I need to start with a clean sheet.

My head is starting to hurt. :-)















Subject:
RE: [Xerte] Navigation blues

Date: Fri, 20 Nov 2009 12:59:37 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



Have you tried
navigate(iconID); I think it might be rootIcon.navigate(id);?

 

That will do the anywhere to
anywhere thing,

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 12:50 PM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 



Yes, I am replacing the C&R with navigate to FW B, and from FW B navigate
back to FW A.



But while a call to navigate to FW A will function correctly from some places
in the structure but not others is what I can't figure out.



Since I came from A, I am assuming the structure has been created.

Or when you say "it dumps all it's content", do you mean it dumps the
FW pointer and everything?



Conceptually my take was it was holding the xml structure in memory (since you
can address it, correct?), so I thought a navigation to a previously parsed bit
of XML was just saying "jump back to this point in the XML and reparse
it".















Subject:
RE: [Xerte] Navigation blues

Date: Fri, 20 Nov 2009 11:44:31 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



There isn’t a direct
replacement for call and return.

 

You can do subroutines using
an custom event, and then navigate back to where you where by leaving a length
of string behind you…

 





From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 10:46 AM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 



Doh!

I'm still gapping on the stepping nature of the engine.

I need an AW lobotomy.



I also realized that due to that nature anything that was previously Call and
Return is going to necessitate some structural changes.



















Subject:
RE: [Xerte] Navigation blues

Date: Fri, 20 Nov 2009 09:19:54 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



At that point FW3 does not
exist. You are in FW1 on PG1. You can call FW1.gotoPage(1) which will take you
where you want to go…?

 

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, November 19, 2009 11:02 PM

To: Xerte list

Subject: RE: [Xerte] Navigation blues





 

No
matter how they are nested?



LO

 IFC

   PG

     FW1

       FW_ENT

       PG

         FW2

           PG

           PG

             INT

              
RES

                
SCR - want to nav from here. 

           PG

       PG

         FW3

           FW_ENT

           PG - to here

           PG

           PG

           PG  



FW3.gotoPage(0) doesn't seem to do it.























Subject:
RE: [Xerte] Navigation blues

Date: Thu, 19 Nov 2009 14:38:19 -0800

From: Paul.Swanson at harlandfs.com

To: xerte at lists.nottingham.ac.uk



It works for me in the 2.6
desktop version. Note that the pages array from which the page number comes
from is zero-based, so myFrameworkId.gotoPage(4) will actually take you to the
5th page on the framework. 

 

Paul

 







From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Thursday, November 19, 2009 2:12 PM

To: Xerte list

Subject: [Xerte] Navigation blues





 



Found this in the archives:



"..but you could navigate to any page on any framework by using
myFrameworkId.gotoPage(pageNumber)."



Is it true?

It doesn't seem to want to work that way for me.























Hotmail: Trusted email with Microsoft's
powerful SPAM protection. Sign
up now.





 























Windows 7: I wanted simpler, now it's
simpler. I'm
a rock star.



 



















Hotmail: Trusted email with Microsoft's
powerful SPAM protection. Sign
up now.



 















Bing brings you maps, menus, and reviews
organized in one place. Try
it now.



 











Windows 7: It works the way you want. Learn
more.



 







Bing brings you maps, menus, and reviews
organized in one place. Try it now.

 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141665/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091120/1f22e741/attachment.html


More information about the Xerte mailing list