[Xerte] Editing tips?

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Nov 10 16:47:59 GMT 2009


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.
<http://www.microsoft.com/Windows/pc-scout/laptop-set-criteria.aspx?cbid
=wl&filt=200,2400,10,19,1,3,1,7,50,650,2,12,0,1000&cat=1,2,3,4,5,6&brand
s=5,6,7,8,9,10,11,12,13,14,15,16&addf=4,5,9&ocid=PID24727::T:WLMTAGL:ON:
WL:en-US:WWL_WIN_evergreen2:112009> 

 

________________________________

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/> 

 

________________________________

Find the right PC with Windows 7 and Windows Live. Learn more.
<http://www.microsoft.com/Windows/pc-scout/laptop-set-criteria.aspx?cbid
=wl&filt=200,2400,10,19,1,3,1,7,50,650,2,12,0,1000&cat=1,2,3,4,5,6&brand
s=5,6,7,8,9,10,11,12,13,14,15,16&addf=4,5,9&ocid=PID24727::T:WLMTAGL:ON:
WL:en-US:WWL_WIN_evergreen2:112009> 

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


More information about the Xerte mailing list