[Xerte] Change the global look custom look example files

J. Patrick Moran patrick at jpmdi.com
Tue Aug 10 23:50:12 BST 2010


Julian,

Thanks for the start on the customization. I'm unsure of the terminology so please bear with me.

I started a new Xerte desktop project and was able to remove the background using the code you provided in a script object under framework and before the first page, but when I attempted to add the new background image using the code you provided I could not get the .swf to show in the preview. I have attached my project folder so you can see what I attempted.

to recap:
I want to load the .swf file behind the navigation elements and then nudge the navigation elements around so they sit nicely on top of the background image. I believe I will need to import the background swf file to a level below the navigation elements. is this possible the way I am doing it?

Can I sent the background swf to level 0?
Can the individual navigation elements be moved using x and y.
Is this the best way to do this can I generate a template from the end result?

Any feedback or assistance would be greatly appreciated

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xerte Test Project.zip
Type: application/zip
Size: 158732 bytes
Desc: Xerte Test Project.zip
Url : http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100810/d984c7b5/XerteTestProject.zip
-------------- next part --------------



On Aug 4, 2010, at 4:56 AM, Julian Tenney wrote:

> Do you write code, or are you prepared to?
> 
> You will need to add some code to the template's .rlt file to remove the
> existing interface graphics and then draw your own. 
> 
> rootIcon.cleear(); //removes the existing graphics (not the buttons)
> rootIcon.beginFill(0xFFFF00,100); //sets the current fill to yellow,
> with alpha = 100
> rootIcon.drawRect(0,0,800,60); //draws a [yellow] rectangle
> 
> rootIcon.createEmptyMovieClip('myCustomGraphic',
> ++rootIcon.levels);//creates a new movie clip
> rootIcon.myCustomFGraphic.loadMovie(urlToYourGraphicHere); //loads your
> graphic
> rootIcon.myCustomGraphic._x = 100;
> rootIcon.myCustomGraphic._y = 100; //positions the graphic
> 
> You can also inspect(rootIcon) and see all the things that belong to it,
> and then do whatever you need,
> 
> J
> 
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of J. Patrick
> Moran
> Sent: 30 July 2010 17:23
> To: Xerte discussion list
> Subject: RE: [Xerte] Change the global look custom look example files
> 
> I agree.
> 
> I don't want to change any of the functionality or controls, that would
> defeat the goals of the project and long-term compatibility with new
> releases.
> 
> I just want to stylize the background elements behind the controls. Is
> there a way to place an image in the background and float all the
> controls on top of it?
> 
> Patrick
> ________________________________________
> From: xerte-bounces at lists.nottingham.ac.uk
> [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
> [ronm at mitchellmedia.co.uk]
> Sent: Friday, July 30, 2010 10:01 AM
> To: 'Xerte discussion list'
> Subject: RE: [Xerte] Change the global look custom look example files
> 
> Hi Julian
> do you have an example of a custom interface swf that works with
> toolkits you can share? Or does anyone else?
> I agree the last thing we want to lose is the accessibility features so
> it would be great to see a custom example which retains those features
> or at least the main ones.
> I'm creating some support material at the moment (aimed at teachers not
> developers) and for example creating one on the different learning
> object properties so it would be good to be able to include the custom
> interface optional property.
> Cheers
> Ron
> 
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 30 July 2010 16:03
> To: Xerte discussion list
> Subject: RE: [Xerte] Change the global look custom look example files
> 
> You're going to have to re-work a lot of functionality that the
> interface provides, or do without it. Most of it is about accessibility,
> so you ought to think carefully before throwing it all away.
> 
> Use framework template.swf and create a .swf that provides the
> navigation and look and feel you want. Framework template will show you
> how to call the actual navigation functions in the engine, and then you
> can override the default interface with your own.
> 
> [cid:image002.png at 01CB3008.CFB665A0]
> 
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of J. Patrick
> Moran
> Sent: 30 July 2010 15:56
> To: Xerte discussion list
> Subject: Re: [Xerte] Change the global look custom look example files
> 
> Thanks for the quick response,
> 
> So if I understand you correctly, I can create the new interface in the
> Xerte application by starting with the framework template? or is there a
> specific fla file I need to copy from the framework template, then
> modify and then upload into Xerte? I basically need to apply global
> artwork to the interface that sits behind the functioning application to
> make it look like our powerpoint slides.
> 
> P
> 
> On Jul 30, 2010, at 8:40 AM, Julian Tenney wrote:
> 
> It's easier to make your own interface in a separate .swf file and then
> load that up using the .swf property on the learning object icon. If you
> download the windows version of Xerte it's much easier to play around
> with - in the templates folder use the Framework  template to create the
> swf,
> 
> J
> 
> From:
> xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingh
> am.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of J.
> Patrick Moran
> Sent: 30 July 2010 15:38
> To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
> Subject: [Xerte] Change the global look custom look example files
> 
> I am very new to Xerte. 1 day into it
> 
> I have installed it on my testing server successfully and now want to
> edit the visual structure of the base interface to match our powerpoint
> look and feel. Could someone point me to the right file or directory to
> start modifying.  I have been working my way through the fla files, but
> can't seem to find the ones that controls the overall look and feel of
> the base presentation interface particularly the header footer and body
> structure.
> 
> Thanks,
> 
> Patrick Morna
> 
> ________________________________
> 
> <image001.gif>
> 
> 
> J. P. MORAN DESIGN, INC.
> J. Patrick Moran
> 1112 Oakridge Drive
> Suite 104, PMB 259
> Ft. Collins, CO 80525
> Ph: (970) 481-8489
> Fx: (970) 207-9889
> patrick at jpmdi.com<mailto:patrick at jpmdi.com>
> www.jpmdi.com<http://www.jpmdi.com/>
> 
> <ATT00001..c>
> 
> 
> ________________________________
> 
> [cid:image003.gif at 01CB3008.CFB665A0]
> 
> 
> J. P. MORAN DESIGN, INC.
> J. Patrick Moran
> 1112 Oakridge Drive
> Suite 104, PMB 259
> Ft. Collins, CO 80525
> Ph: (970) 481-8489
> Fx: (970) 207-9889
> patrick at jpmdi.com<mailto:patrick at jpmdi.com>
> www.jpmdi.com<http://www.jpmdi.com/>
> 
> _______________________________________________
> 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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 1464 bytes
Desc: image001.gif
Url : http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20100810/d984c7b5/image001.gif
-------------- next part --------------



J. P. MORAN DESIGN, INC.
J. Patrick Moran
1112 Oakridge Drive
Suite 104, PMB 259
Ft. Collins, CO 80525
Ph: (970) 481-8489
Fx: (970) 207-9889
patrick at jpmdi.com
www.jpmdi.com



More information about the Xerte mailing list