I'm having trouble changing the layout of a list using actionscript on the
fly.  For instance, if I want to change the layout from a horizontal layout
to a tile layout in actionscript, this is not working:


var hl:HorizontalLayout = new HorizontalLayout();
imageList.removeBead(hl);
var tile:TileLayout = new TileLayout();
imageList.addBead(tile);

<j:List localId="imageList" className="imageListItemRenderer"
click="preparePhotos(event)">
    <j:beads>
        <j:HorizontalLayout/>
    </j:beads>
</j:List>


Any suggestions?



--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to