ciao a tutti!
Ho un problema con questo script.
Non so per quale motivo, inizia a lampeggiare( immagine non si vede piu per un attimo, il testo si sposta a sinistra,e poi l'immagine riappare) per l'evento rollOver e rollOut.
Non so per quale motivo faccia cosi :master:codice:class MYCell extends mx.core.UIComponent { var _text:TextField; function MYCell() { } function createChildren(Void):Void { if (_text == undefined) { createLabel("_text", 0); } _text.html = true; _text.multiline = true; _text.wordWrap = true; _text.selectable = false; _text.background = false; } function size(Void):Void { _text.setSize(__width, __height); } function setValue(str:String, node:Object, sel) { _text.htmlText = "[img]"+node.immagine+"[/img] "+str; size(); } function getPreferredHeight() { return 100; } function getPreferredWidth() { return 20; } }
Avro' dimenticato qualcosa???
grazie in anticipo

Rispondi quotando