[Xerte] Using Xerte built-in Text Icon in own Flash modules

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Jun 16 15:34:00 BST 2009


If you can, then this is how to do it:

 

this.attachMovie("DIS_Helper", "DIS_MC"+this.levels,
this.levels).init(type, x, y, w, h, url, text, controls, scrolling,
tabIndex, transition, autoPlay, textColour, textSize, textFont,
initObject);

 

but I have no idea if that will work in a component swf.

 

The thing to notice is there are two steps: attachMovie to add a library
item bound to a class, and then to initialise that class by calling its
init function,

 

J

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter
Huppertz
Sent: Tuesday, June 16, 2009 3:28 PM
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Using Xerte built-in Text Icon in own Flash modules

 

Dear List, 

is it possible to use the built-in text icon in my own Flash file which
I load as a component? Something like 
var myTextField = new _level0.engine.TEXT() 
myTextField.htmlText = "this is my text" 

I think memory wise this should be better than using another flash
textarea component in my component. Also: would it inherit the Style
properties from the rlo automatically? 

Peter 

==================================
Peter Huppertz
E-learning and IT Specialist
International Centre for Asset Recovery
Basel Institute on Governance
Phone: +41 61 205 55 18
Fax: +41 61 267 55 19

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


More information about the Xerte mailing list