Hi I have this code, I have only the relevant part

<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute" width="1100" height="768" creationComplete="{feedLoader2.send()}" backgroundImage="iglesiaBack.jpg" backgroundGradientAlphas="[1.0, 1.0]" backgroundGradientColors="[#080000, #2C1DF0]">
        
        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;
                        import mx.rpc.events.FaultEvent;
                        import mx.rpc.events.ResultEvent;
                        
                        private function onRes2(event:ResultEvent):void{
                                _vimeo= new XMLList(event.result.status);
                        }
                        
                        
                                
                        }
                        private function onFault(event:FaultEvent):void{
                                Alert.show("Unable to load feed from church", 
"error");
                        }
                        
                        [Bindable] private var _vimeo:XMLList;
                ]]>
        </mx:Script>
        
<mx:HTTPService id="feedLoader2" url="http://vimeo.com/api/v2/iglesiafls/videos.xml " resultFormat="e4x" result="onRes2(event)" fault="onFault(event)"/>
        
        
<mx:VBox width="344" height="334" backgroundColor="#060606" verticalCenter="206" left="692" backgroundAlpha="0.0">
                <mx:Repeater id="repeat2" dataProvider="{_vimeo}">
<mx:Text text="{repeat2.currentItem.video.title}" color="#F5FBFC" fontSize="14"/> <mx:Text text="{repeat2.currentItem.video.description}" color="#F5FAFB"/>
                </mx:Repeater>
        </mx:VBox>
        
</mx:WindowedApplication>


Looks good but I don't get why I read nothing eventhough the xml is there, some help really appreciated.

Gus

Reply via email to