[Xerte] Is it possible to set "padding" betweencustominterface and the content?

Koványi Gábor kovanyi at innotica.com
Tue Mar 9 08:29:25 GMT 2010


Hi,

Controller is loaded by the way as follows (From the xml file, which  
the wizard created. I'm using the Page Templates wizard.):
<learningObject controller="FileLocation + 'media/fw.swf'" ....

icon.controller._y parameter or rootIcon.controller._y shifts the  
loaded swf and the content pages as well.

If I give an instance name for the navigation, or leave it 'dragger'  
as default (it doesn't matter), the swf and the content also moves  
together.

How can I load it using the .swf property? How can I refer to it?

Thanks in advance.

Regards,
Gabor




Idézet (Julian Tenney <Julian.Tenney at nottingham.ac.uk>):

RE: [Xerte] Is it possible to set "padding" betweencustominterface and
the content?

How are you loading the controller? Using the swf property of the
interface? Or as a component / graphic in the entry frame?

If you load the controller up as swf for the interface, it will
become a child of rootIcon. So are the pages. I don't see - I might be
missing something - how setting the _y of the controller clip can move
the pages if you load it using the .swf property - they are children
of the same parent. Setting _y on a child won't move the parent.

-------------------------
FROM: xerte-bounces at lists.nottingham.ac.uk on behalf of Koványi Gábor
SENT: Mon 08/03/2010 17:28
TO: xerte at lists.nottingham.ac.uk
SUBJECT: RE: [Xerte] Is it possible to set "padding"
betweencustominterface and the content?

Well, it doesn't really work when using custom interface, it shifts
the content up as well together with the interface. It works only
when
you use the default interface.

I need somekind of 'titlebar' (which built in the default interface,
but disappeares when visuals set to 0) which can keep space between
the custom interface's banner/header/titlebar(as you call) and the
content, as the built-in titlebar can hold some distance.

   Can we create that by other way? (something like box models)

Thanks in advance.

Regards,
Gabor

Idézet (Julian Tenney <Julian.Tenney at nottingham.ac.uk>):

RE: [Xerte] Is it possible to set "padding" between custominterface
and the content?

The easiest thing to do is then to shift your custom interface up a
bit - otherwise you have to set the _y of each page, as they are
children of rootIcon, like your controller.

Set the controller._y to -50 or whatever you need,

J

-------------------------
FROM: xerte-bounces at lists.nottingham.ac.uk on behalf of Koványi Gábor
SENT: Mon 08/03/2010 14:56
TO: xerte at lists.nottingham.ac.uk
SUBJECT: RE: [Xerte] Is it possible to set "padding" between
custominterface and the content?

Setting rootIcon._y shifts all the visuals as the custom interface. I

only want to modify the property of the _y of the content pages and
leave the interface in its original position.

Is it possible?

Thanks in advance.

Gabor

Idézet (Julian Tenney <Julian.Tenney at nottingham.ac.uk>):

> rootIcon
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Koványi
> Gábor
> Sent: Monday, March 08, 2010 2:46 PM
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Is it possible to set "padding" between custom
> interface and the content?
>
> Dear All,
>
>   How can I set the _y parameter of the contents which lies under
the
> custom interface?
>
> rootIcon.controller.myMc._y only sets the ._y parameter of the
custom
> interface.
>
> Which mc holds the content pages?
>
> Thanks in advance.
>
> Regards,
> Gabor
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



More information about the Xerte mailing list