[Xerte] Editing tips?

Dave Burnett d_b_burnett at hotmail.com
Tue Nov 10 17:22:35 GMT 2009



Nice.
Thnx J.

I'm slowly working my way up the front side of Xerte, after having looked at it from the back for quite some time. ;-)


Subject: RE: [Xerte] Editing tips?
Date: Tue, 10 Nov 2009 16:47:59 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk



















There are two ways to use swapDepths:

 

iconID.swapDepths(n) //swaps the icon with whatever was at depth
n; if nothing was at n (i.e. because you use 65432 or something big) then I
think there is then nothing at the level the clip is at. Test that. Movieclips
are layered in depths on their parent.

 

iconID.swapDepths(otherIconID) swaps the depths of icon and
otherIcon: they must share a parent.

 

So it can get to be a real pain.

 

LO

  IFC

    ENT_FR

      Glossary

 

     PG

 

So , in this example, the glossary is in the entry frame. You
want it to be always above the content in any other page. So you need to
swapDepths on the Entry Frame, not the glossary, ie myEntryFrame.swapDepths(veryBigNumber)
will put the entry frame (and anything it contains) above all of the other
content in the pages.

 

Trouble is, you also have the background in the entry frame and
you always want that underneath the other content. You can’t do both.

 

In that case you might have to create your own movieclip on
rootIcon, and load the BG image into that, and then place that at the bottom of
all of rootIcon’s children (including the pages as they are children of
rootIcon). I dunno – depends on what you need to do and the structures
you have to work with.

 

 





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

Sent: Tuesday, November 10, 2009 4:29 PM

To: Xerte list

Subject: RE: [Xerte] Editing tips?





 



Thanks Julian and Mark.

That has me headed in the right direction.



debug(gs1.getDepth());  //the depth of the glossary

debug(i66423.getDepth());  //the depth of the text clip I want to overlay

gs1.swapDepths(4);   //change the depth of the glossary

debug(gs1.getDepth()); //get the new depth





Does swap the gs to 4, moving it above the clips instantiated after it in the
same interaction.

But it does not overlay the target, i66423



Can you expand on the common parent thing?

All the code is contained within a single page off IFC.

Does that not qualify as a "common parent".

Or does it have to be the immediate parent of both clips?











Subject:
RE: [Xerte] Editing tips?

Date: Tue, 10 Nov 2009 14:55:58 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



swapDepths is the thing, but
you can only swapDepths between children with a common parent.

 

So, sometimes that parent is
conveniently a page icon, and you can happily swapDepths to bring any of its
children to the top, other times it’s more complicated…

 

So you want to aim for the
nearest common parent that works, if that makes sense, and sometimes you need
to create a faux structure just to accommodate that.

 





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

Sent: Tuesday, November 10, 2009 2:15 PM

To: Xerte list

Subject: RE: [Xerte] Editing tips?





 



AFA sequencing goes, what is the approach if you have a panel, let's say
glossary, that you want to have appear on top in all instances?



I have added it in the top level FW entry pane, but when called it appears to
be underneath content displayed in the pages attached to the nested FW.

I'm guessing that since it was instantiated prior to the nested framework, it
is "lower" than subsequent icons.



Is there a best practice to force it to screen level?











Subject:
RE: [Xerte] Editing tips?

Date: Tue, 10 Nov 2009 13:46:44 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



If you SHIFT-F5 or
CTRL-SHIFT-F5 the currently selected icon in the tree is set up for visual
editing – i.e. you can position / resize it with the mouse. In this mode,
you can then select all other icons and move them with the mouse as well.

 

That mode only kicks in once the
selected icon is reached on the stage – because if it was behind a
button, you’d never be able to get to it otherwise, as clicking the
button would select it for editing, rather than fire it’s response.

 





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

Sent: Tuesday, November 10, 2009 1:43 PM

To: Xerte list

Subject: [Xerte] Editing tips?





 

Hi
all,



Has anyone gigged up a cheat sheet or is there a resource for editing
practices?



I'm probably doing something backwards, or since some things don't seem to work
as they say on the can it may be something in my setup.

e.g. doubleclicking a draw icon on the tree does not open the draw editor.

If I highlight an icon below an interaction in the tree and hit Shift/Cntrl/F5
it loads and comes to rest at an icon above that interaction.

How does sequence/layering work? I am having difficulty reaching icons that
appear to be "under" another icon on the display.



Cheers,



Dave

























Find the right PC with Windows 7 and
Windows Live. Learn
more.



 











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



 







Find the right PC with Windows 7 and
Windows Live. Learn more.

 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
http://clk.atdmt.com/GBL/go/177141664/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091110/da18c290/attachment.html


More information about the Xerte mailing list