14
May
08

flex text et autosize

Mots clés Technorati :

Pour redimensionner (auto size) un composant TEXT sous FLEX, il suffit d’ intercepter  l”événement CHANGE et de le redimensionner suivant la propriété textHeight

 

public function update():void            {
        src.explicitHeight = src.textHeight + 10;
} 

 <mx:TextArea id=“src” text=“Hello world” change=“update()”/> 


0 Responses to “associer une page HTML avec du PHP: mapper html en php”


  1. No Comments