Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
treesg #1
Dynamic TileList + Images
Hi all
I made a tile list inside tab navigator both dynamically..
now I want Images whose URL is in XML to displayed according to tab change.
problem is taht I m not able to display images on tilelist ..just url of
images is coming correctly...
some piece of code is given below.
Please help me out..
thanks
private function addTab(tabName:String, thumbArr:Array):void {
var newVBox:VBox = new VBox();
var newLabel:Label = new Label();
var newTileList:TileList = new TileList();
var imageList:Image=new Image();
newVBox.label = tabName;
//newTileList.name = tabName;
//newLabel.text = "TabNavigator container panel " + numChild;
newVBox.addChild(newLabel);
//newTileList.addChild(newLabel);
tn.addChild(newVBox);
newVBox.addChild(newTileList);
newTileList.height=500
newTileList.width=250
newTileList.addChild(imageList);
//newTileList.itemRenderer="{CustomItemRenderer}";
//tn.addChild(newTileList);
for (var a:Number=0; a<thumbArr.length; a++) {
//for (var b:Number=0; b<newArr.length; b++) {
if (thumbArr[a].substr(0,thumbArr[a].indexOf(",",0)) == tabName) {
newTileList.dataProvider=thumbArr[a].substr((thumbArr[a].indexOf(",",0))+1,thumb
Arr[a].length)
}
//}
}
}:sad;
treesg Guest
-
Extension: Dynamic Images/Advance Random Images
Hi there, I have downloaded 2 extensions: Dynamic Images or/and Advanced Random Images (kaosweaver.com); it seems both are the same and I have... -
TileList images disappear on scroll possible bug?
Hello, i've build a TileList (also noticed on HorizontalList) filled with <mx:Image> tags as itemrenderer, the source properties of the images are... -
Help with Dynamic Images
Could someone please tell me (in layman's language please) if it is possible to apply effects to placeholder images in a dynamic Flash movie (such... -
Dynamic images under mac?
I have been working on my first fully dynamic website. All of the content is driven from either a soap server that spits out the xml or and external... -
Dynamic images..?
Hi all, I'm trying to run the Crystal Report samples on Visual Studio .Net. Does anyone know how to deal with this?...



Reply With Quote

