[Xerte] Page Templates - Interface Customization

James McCleese jmccleese at 2wire.com
Wed Sep 9 20:53:47 BST 2009


OK so after some more testing, it looks like the disconnect is between my .swf and the Xerte components/scripts. For example -- in my .fla, I set an action for a button of:
 
on (release) {
     _parent.navToPage(rootIcon.pages.length)
}
 
To have the user able to skip to the last page. Clicking the button does nothing. I set up a dynamic text component in the .swf and set another button with the action:
 
on (release) {
     pagenum_txt.text = rootIcon.CurrentPage
}
 
However, upon clicking the button, the dynamic text displays "undefined".
 
Is there a trick to allowing access to Xerte components/scripts from my .swf? Here is a .zip with both the Xerte project and my .fla. Thanks for the continued help!
 
http://www.morewordsfaster.com/template-controls.zip
  

James McCleese

2Wire Services & Support

210-507-8173


________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Julian Tenney
Sent: Mon 09/07/09 1:57 AM
To: Xerte discussion list
Subject: RE: [Xerte] Page Templates - Interface Customization


the help file is the main source of info on all the icon methods, properties and events,
 
J

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of James McCleese
Sent: Sun 06/09/2009 23:03
To: Xerte discussion list
Subject: RE: [Xerte] Page Templates - Interface Customization


Yeah, I've started some troubleshooting of that nature; I guess my main question was whether there was any available documentation to go along with the Page Templates template that comes with Xerte to break down the flow, since it seems that the scripting is spread across multiple sources. I'll get back to you if I run into any further issues. Thanks!
 
                    James McCleese

2Wire Services & Support

210-507-8173

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Sunday, September 06, 2009 3:56 PM
To: Xerte discussion list
Subject: RE: [Xerte] Page Templates - Interface Customization


Have you stepped through any troubleshooting yourself? Have you verified that things the code expects to find are in fact the things the code expects to find? debug() from your fla code can be helpful to check that the fw you are trying to control is correct, and to check other values as the functions in there are called.
 
If it works fine in a standard piece, it must be something the template does differently. That's what we need to find out. Build a piece with two title pages (something realy simple) and verify things fail. Copy it. Judiciously delete things from the .rlt until things start to work again is a good approach as well.
 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of James McCleese
Sent: Sun 06/09/2009 20:26
To: Xerte discussion list
Subject: RE: [Xerte] Page Templates - Interface Customization



Julian,

Here is the .fla file I am attempting to use as a custom interface. I am
using standalone Xerte using the "Page Templates" template and
attempting to adjust the "background" Entry Frame that is included in
the "Page Templates" template using a .swf generated from the .fla
below.

http://www.morewordsfaster.com/Template-Controls.zip

James McCleese
2Wire Services & Support
210-507-8173


-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Friday, September 04, 2009 3:09 AM
To: Xerte discussion list
Subject: RE: [Xerte] Page Templates - Interface Customization

Need to take a look at what's going on. How are you setting up the
custom interface? Are you using Online Toolkits, or is this standalone
Xerte, using a template?

Can you send me the .fla?

-----Original Message-----
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of James
McCleese
Sent: Thursday, September 03, 2009 5:56 PM
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Page Templates - Interface Customization

I've been working with the Page Templates template in Xerte and really
love the abstraction of all of the scripting elements--this will be
great for the training devs I work with. However, I have developed an
interface in Flash to replace the generic Xerte interface with one
branded for our company. My only problem is that, while I don't seem to
have any trouble with it in a basic Xerte project, when I try to use it
in this template, I have trouble getting the navigation to work. Do you
have any documentation regarding the scripting behind the Page Templates
and how navigation functions? My interface has four buttons (advance one
page, step back one page, first page, last page) and a dynamic text
field (for current page / total pages). Any information would be
appreciated.

                    James McCleese
Technical Support Supervisor | Tier One Uverse 2Wire Services & Support
2Wire, Inc. Company Confidential.  The information contained in this
message may be privileged and/or confidential.  If the reader of this
message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you
are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited.  If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer.
_______________________________________________
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