[Xerte] Jumping from flash menu within Xerte

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Jul 29 15:53:55 BST 2009


-          The icons in the page are removed, killed, deleted, and some
cases hit with hammers until they ease to be.

-          All that remains is an empty movieclip.

-          The page is empty - but it still has properties, one of which
is XMLElement

 

You could potentially loop over a page's contents and figure out what
was there, then recreate it, but it might be easier to move it off the
screen, show your subroutine, and then put it back?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Wednesday, July 29, 2009 3:51 PM
To: Xerte list
Subject: RE: [Xerte] Jumping from flash menu within Xerte

 


"When you navigate away from a page, it's contents are cleared out,
although the page itself remains - it holds its XML node which is what
gets re-parsed if the page is shown again. It is empty at that point."

Not quite sure here what is being referred to.
"Contents cleared out" - what is actually being displayed on screen,
i.e. the clip is unloaded.

"The page itself remains" - That instance of the class m/c remains?
Or the XML node remains?

"It is empty at that point" - what is empty?

I'm sort of following along on another query as to is their any
equivalent of a Call/Return navigation. I didn't think so because there
is no such thing as a CallStack table or any way to retain what should
remain on screen.
I guess you could fake one with enough code?



________________________________

Subject: RE: [Xerte] Jumping from flash menu within Xerte
Date: Wed, 29 Jul 2009 15:35:08 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

That's right.

 

A page is refresehd when it is nvaigated to: it's icons are recreated
from the underlying XML, and script re-runs.

 

When you navigate away from a page, it's contents are cleared out,
although the page itself remains - it holds its XML node which is what
gets re-parsed if the page is shown again. It is empty at that point.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Wednesday, July 29, 2009 3:16 PM
To: Xerte list
Subject: RE: [Xerte] Jumping from flash menu within Xerte

 


OK, a simplistic question.

I've been looking at the back end of this thing for so long I haven't
really paid attention to the actual engine functioning. :-/

Am I way off the concept here: 

Engine loads XML structure into memory.
Now, it does not actually build any of the objects until requested.
So root and IFC and everything until the flow is somehow halted load.
Now I navigate to page 2.
Engine reads that node, loads appropriate clip and sets properties as
defined in XML.

So that is why variables for instance, when they change, have to be
explicitly refreshed in an existing "icon/mc".
The display or whatever is being statically built as encountered. If
something like a variable is changed, the variable is changed in the XML
structure in memory, then the node needs to be reloaded.

It is so difficult to unload(RootIcon) the flowline metaphor from my
brain.
;-)


Subject: RE: [Xerte] Jumping from flash menu within Xerte
Date: Wed, 29 Jul 2009 12:59:21 +0100
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk

rootIcon.pages[index].variable = value

 

??

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Wednesday, July 29, 2009 12:39 PM
To: Xerte list
Subject: RE: [Xerte] Jumping from flash menu within Xerte

 


Could I set a variable on page 2 prior to jumping to it?

________________________________

Subject: RE: [Xerte] Jumping from flash menu within Xerte
Date: Wed, 29 Jul 2009 08:22:06 +0100
From: Julian.Tenney at nottingham.ac.uk
To: knowledgeware at kccsoft.com; xerte at lists.nottingham.ac.uk
CC: 

In this case, 'page2' is the iconID to navigate to? That ought to work.
Can you debug(rootIcon) OK? Load the flash movie up as a component,
rather than a graphic icon to get rootIcon and debug() in the flash
movie's timeline, otherwise you'll have to call
_level0.engine.rootIcon.navigate().

 

Does that help?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of ron at kccsoft.com
Sent: Wed 29/07/2009 04:45
To: 'Xerte discussion list'
Subject: [Xerte] Jumping from flash menu within Xerte

If I build a flash menu and import it at the start of my Xerte
flowline... how would I jump to frameworks within Xerte? 

 

rootIcon.navigate('page2');     etc  doesn't seem to work in the flash
menu.

 

Is there any particular type of navigation I should be doing from the
imported flash menu to frameworks/modules within Xerte? What would work?

 

Thanks

RonM2

 

________________________________

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

 

________________________________

NEW mobile Hotmail. Optimized for YOUR phone. Click here.
<http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_07200
9> 

 

________________________________

Windows Live(tm) SkyDrive(tm): Store, access, and share your photos. See
how.
<http://windowslive.com/Online/SkyDrive?ocid=TXT_TAGLM_WL_CS_SD_photos_0
72009> 

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


More information about the Xerte mailing list