Stap 2: Voeg wat Code!
Om te krijgen rond die, voegde ik wat code.
Onder acties: Frame 1, wayyy onderaan, zal er een functie "belasting film"
Vervang dat, en alles eronder met dit:
function GetImage(des){ var del:Array ; del = des.split('<img src="'); des = del[1]; var img:Array; //If the image tag usually comes width and hieght tages, change // '"/>' to 'width="' or 'hieght="' if the hieght comes first. img = des.split('"/>'); var image:String; image = img[0]; return(image);}function GetDes(ddd){ //Same varibles, I guess I'm lazy :-) BUT IT WORKS! thing = ddd.toString(); var del1:Array; del1 = thing.split('.jpg"/>'); var des2:String; des2 = del1[1]; var img1:Array; img1 = des2.split("<br/>"); var image1:String; image1 = img1[0]; return(image1);}proxy1._visible = false;function loadItem(item) { g_currentItem = item; // // fill in the text fields from the RSS item // title.text = item.firstValueOfType('title'); var descripti:String; //descripti is the unprocessed description. descripti = item.firstValueOfType('description'); description.text = GetDes(descripti); author.text = "by "+item.firstValueOfType('author'); dateStr.text = "updated "+item.firstValueOfType('pubDate'); var descrip:String; descrip = item.firstValueOfType('description'); var url:String; url = GetImage(descrip); proxy.unloadMovie(); attachMovie('proxy','proxy',1,{_x:proxy1._x,_y:proxy1._y,url:makeURL(url)})