[Xerte] RE: Xerte interface customisation documentation?

Paul Beckwith, AC&S Ltd paul.beckwith at acns-group.com
Wed Apr 16 14:26:24 BST 2008


Julian,

 

Am just working on this, have created a template with one single button
which will be my next button. 

 

The actionscript for the button is as follows:

 

on (rollOver) {

            useHandCursor;

}

on (press, release, keyPress "<Enter>") {

            _parent.nextPage();

            

}

 

 

It compiles and runs in Xerte fine, the hand pointer over the button is ok
but no joy when actually clicking on the button to go to the next page. Any
ideas? Also thanks for the new update in Xerte, much appreciated and will be
having a look at it later on.

 

Paul

 

 

 

  _____  

From: Tenney Julian [mailto:Julian.Tenney at nottingham.ac.uk] 
Sent: 11 April 2008 13:05
To: Mark Tomlinson, AC&S Ltd
Subject: RE: Xerte interface customisation documentation?

There is a template in the templates folder somewhere. Basically what you do
is create a Flash movie. You load that into Xerte as a property of the
interface icon, and then you call the methods of the interface icon from
code in your swf (i think off the top of my head through _parent.nextPage()
etc). 

 

You can also address the engine scope and access any variables / objects etc
created in your Xerte scripts from code in your interface through
_level0.engine.myvar. Thus you could combine the two together to create, for
example, an interface with a glossary button. Clicking the glossary button
accessses varibles created in the Xerte script itself, and is displayed
using your interface.

 

It's not as hard as it seems. I think the template is for a dragable
controller.

 

You can also create framework interfaces this way.

 

Next thing you'll be asking about is custom buttons [check the templates
folder again - you'll find a fla in there with a  button mc in it, with 8
states inside it]

 

J

 


  _____  


From: Mark Tomlinson, AC&S Ltd [mailto:mark.tomlinson at acns-group.com] 
Sent: 11 April 2008 12:22
To: 'Tenney Julian'
Subject: Xerte interface customisation documentation?

Jules

 

Is there any documentation we can start to look at for adding a different
interface?

 

My 'lad' is getting on OK and I see you are pointing him in the right
direction.

 

Cheers

 

Mark

 





Aerospace Consulting & Services Ltd

 <http://www.acns-gmbh.com/> Engineering, Training, Consultancy

 



Mark Tomlinson
Managing Director 

AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK 


 <mailto:mark.tomlinson at acns-group.com> mark.tomlinson at acns-group.com
 <http://www.acns-group.com/> www.acns-group.com 


tel: 
fax: 
mobile: 

 
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+1253+8
55+997&Email=mark.tomlinson at acns-group.com> +44 1253 855 997
+44 870 762 6818
 
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+789+96
8+7257&Email=mark.tomlinson at acns-group.com> +44 789 968 7257 

 

 

 

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 

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


More information about the Xerte mailing list