[Xerte] Navigation blues

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Nov 20 12:05:25 GMT 2009


The piece kicks up:

-          Any top level page models are loaded;

-          Styles are created from the LO icon, some other stuff like
templateData

-          The interface is created, or not,

-          The first page is created, and all of it's children are added
to it until it hits an interaction that it not perpetual; a framework ,
a decision, or a sound set to wait; subsequent content is added as those
icons exit; any framework will have it's first page created in the same
way; interaction responses are set up, but their children are not added
until the response matches;

-          The top level pages are created - but none of their children
until the page is shown;

-          Navigate to a new page kills all the existing content in the
current page - it is deleted (explains whey the page is set up like new
when you return to it;

 

Check out lines 500 - 650 on frame 2 of XMLEngine.swf. This is the
parser function, which is called everytime content needs to be setup -
there are some comment sin there,

 

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 11:57 AM
To: Xerte list
Subject: RE: [Xerte] Navigation blues

 


Right on the head.
I'm still falling down on how the parsing proceeds then, and where/why
parsing pauses.

>From yourself in the archives:

As the rlo file is parsed, it does things in this order:



- Sets up the interface

- Creates the first page

- Adds its child icons and executes any script

- Adds the next page

So I have
LO
  INT
    PG

and everything else is nested inside that first page.

So is this where I'm misunderstanding?:

When you say "Adds its child icons", you mean it adds it's direct
children, no more and no less, then the flow starts flowing and what
happens is what happens.

Once created, does it not persist?
e.g. Once I got to FW3.page(0) (using your instruction) when I try to
navigate back to FW2.page(1), debug says it is executing, but no
navigation happens.

argg.




________________________________

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.
<http://clk.atdmt.com/GBL/go/177141664/direct/01/%0D%0Ahttp:/clk.atdmt.c
om/GBL/go/177141664/direct/01/> 

 

________________________________

Windows 7: I wanted simpler, now it's simpler. I'm a rock star.
<http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=P
ID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009> 

 

________________________________

Bing brings you maps, menus, and reviews organized in one place. Try it
now.
<http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=
TEXT_MFESRP_Local_MapsMenu_Resturants_1x1> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091120/f307a926/attachment.html


More information about the Xerte mailing list