XFIRڽ39VMpamiD*YEKt 7AmuhT(ADEMXnahCFCRD!LOCFpmXF#DIRGLsCM"LBUP$FRCSdroS SREVIFWVBLWVCSWVlRTX%FRCS *SAC fniCXtcLXtcLXtcLXtcLXtcLXtcL- lccXtcL lccFCRDddDx  D PO Platform:FontName [MAP NONE] [oldSize => newSize] ; ; Specifying MAP NONE turns off character mapping for this font. ; If you specify size mappings, they apply for THAT FONT ONLY. ; ; Here are some typical mappings for the standard Macintosh fonts: ; Mac:Chicago => Win:System Mac:Courier => Win:"Courier New" Mac:Geneva => Win:"MS Sans Serif" Mac:Helvetica => Win:Arial Mac:Monaco => Win:Terminal Mac:"New York" => Win:"MS Serif" Mac:Symbol => Win:Symbol Map None Mac:Times => Win:"Times New Roman" 14=>12 18=>14 24=>18 30=>24 Mac:Palatino => Win:"Times New Roman" ; ; Here are some typical mappings for the standard Windows fonts: ; Win:Arial => Mac:Helvetica Win:"Courier" => Mac:Courier Win:"Courier New" => Mac:Courier Win:"MS Serif" => Mac:"New York" Win:"MS Sans Serif" => Mac:Geneva Win:Symbol => Mac:Symbol Map None Win:System => Mac:Chicago Win:Terminal => Mac:Monaco Win:"Times New Roman" => Mac:"Times" 12=>14 14=>18 18=>24 24=>30 ; Note: When mapping from Windows to Macintosh, Courier and Courier New ; map onto Courier. When coming back to Windows only Courier New ; will be used. ; Japanese Font Mappings ; ; The Macintosh Japanese Osaka font is mapped to a Windows font, and ; all Windows fonts are mapped to Macintosh's Osaka. Map None is used ; because only Roman fonts need upper-ASCII characters mapped. To prevent ; mapping of any additional Japanese fonts, add them to this list. ; ; Note: If you do not have a Japanese system, the font names below ; will appear to be unreadable. Mac:Osaka => Win:"lr SVbN" Map None Win:"lr SVbN" => Mac:Osaka Map None Win:"lr " => Mac:Osaka Map None Win:"WSVbN" => Mac:Osaka Map None Win:"W" => Mac:Osaka Map None Win:"" => Mac:Osaka Map None ; Korean Font Mappings Mac:AppleGothic => Win:"" Map None Mac:Seoul => Win:"ü" Map None Mac:AppleMyungio => Win:"" Map None Mac:"Ѱü" => Win:"" Map None Win:"" => Mac:AppleGothic Map None Win:"ü" => Mac:AppleGothic Map None Win:"ü" => Mac:Seoul Map None Win:"üü" => Mac:Seoul Map None Win:"" => Mac:AppleMyungio Map None Win:"ü" => Mac:AppleMyungio Map None Win:"" => Mac:"Ѱü" Map None Win:"ü" => Mac:"Ѱü" Map None ;================================================================= ; ; CHARACTER MAPPINGS ; ; Character mapping ensures that characters such as bullets, ; quote marks, and accented characters always appear correctly ; when text is moved from one platform to another. When a ; character is mapped, a different ASCII value is substituted ; in order to preserve the appearance of the character. ; ; Character mappings are used for all fonts EXCEPT those declared ; above as Map None. ; ; The format for character mappings is: ; ; Platform: => Platform: oldChar => oldChar ... ; ; The following table provides a full set of bi-directional ; mappings for all ASCII values between 128 and 255. ; ; Note: Some characters are not available in both character sets. ; However, the bi-directional mapping table below preserves these ; characters even if they are mapped to a different platform and ; later re-mapped back to the original platform. Mac: => Win: 128=>196 129=>197 130=>199 131=>201 132=>209 133=>214 134=>220 Mac: => Win: 135=>225 136=>224 137=>226 138=>228 139=>227 140=>229 141=>231 Mac: => Win: 142=>233 143=>232 144=>234 145=>235 146=>237 147=>236 148=>238 Mac: => Win: 149=>239 150=>241 151=>243 152=>242 153=>244 154=>246 155=>245 Mac: => Win: 156=>250 157=>249 158=>251 159=>252 160=>134 161=>176 162=>162 Mac: => Win: 163=>163 164=>167 165=>149 166=>182 167=>223 168=>174 169=>169 Mac: => Win: 170=>153 171=>180 172=>168 173=>141 174=>198 175=>216 176=>144 Mac: => Win: 177=>177 178=>143 179=>142 180=>165 181=>181 182=>240 183=>221 Mac: => Win: 184=>222 185=>254 186=>138 187=>170 188=>186 189=>253 190=>230 Mac: => Win: 191=>248 192=>191 193=>161 194=>172 195=>175 196=>131 197=>188 Mac: => Win: 198=>208 199=>171 200=>187 201=>133 202=>160 203=>192 204=>195 Mac: => Win: 205=>213 206=>140 207=>156 208=>173 209=>151 210=>147 211=>148 Mac: => Win: 212=>145 213=>146 214=>247 215=>215 216=>255 217=>159 218=>158 Mac: => Win: 219=>128 220=>139 221=>155 222=>128 223=>129 224=>135 225=>183 Mac: => Win: 226=>130 227=>132 228=>137 229=>194 230=>202 231=>193 232=>203 Mac: => Win: 233=>200 234=>205 235=>206 236=>207 237=>204 238=>211 239=>212 Mac: => Win: 240=>157 241=>210 242=>218 243=>219 244=>217 245=>166 246=>136 Mac: => Win: 247=>152 248=>150 249=>154 250=>178 251=>190 252=>184 253=>189 Mac: => Win: 254=>179 255=>185 Win: => Mac: 128=>219 129=>223 130=>226 131=>196 132=>227 133=>201 134=>160 Win: => Mac: 135=>224 136=>246 137=>228 138=>186 139=>220 140=>206 141=>173 Win: => Mac: 142=>179 143=>178 144=>176 145=>212 146=>213 147=>210 148=>211 Win: => Mac: 149=>165 150=>248 151=>209 152=>247 153=>170 154=>249 155=>221 Win: => Mac: 156=>207 157=>240 158=>218 159=>217 160=>202 161=>193 162=>162 Win: => Mac: 163=>163 164=>219 165=>180 166=>245 167=>164 168=>172 169=>169 Win: => Mac: 170=>187 171=>199 172=>194 173=>208 174=>168 175=>195 176=>161 Win: => Mac: 177=>177 178=>250 179=>254 180=>171 181=>181 182=>166 183=>225 Win: => Mac: 184=>252 185=>255 186=>188 187=>200 188=>197 189=>253 190=>251 Win: => Mac: 191=>192 192=>203 193=>231 194=>229 195=>204 196=>128 197=>129 Win: => Mac: 198=>174 199=>130 200=>233 201=>131 202=>230 203=>232 204=>237 Win: => Mac: 205=>234 206=>235 207=>236 208=>198 209=>132 210=>241 211=>238 Win: => Mac: 212=>239 213=>205 214=>133 215=>215 216=>175 217=>244 218=>242 Win: => Mac: 219=>243 220=>134 221=>183 222=>184 223=>167 224=>136 225=>135 Win: => Mac: 226=>137 227=>139 228=>138 229=>140 230=>190 231=>141 232=>143 Win: => Mac: 233=>142 234=>144 235=>145 236=>147 237=>146 238=>148 239=>149 Win: => Mac: 240=>182 241=>150 242=>152 243=>151 244=>153 245=>155 246=>154 Win: => Mac: 247=>214 248=>191 249=>157 250=>156 251=>158 252=>159 253=>189 Win: => Mac: 254=>185 255=>216 lRTXZ I#INetUrl PPC Xtra INETURL.X32I#NetFile PPC Xtra NETFILE.X32K%NetLingo PPC Xtra Netlingo.x32.lSWA Decompression PPC Xtra swadcmpr.x32:http://download.macromedia.com/pub/shockwave10.1/xtras/SWA!SWA Decompression PPC XtraA swadcmpr.x32YlDirectSound.x32Bhttp://download.macromedia.com/pub/shockwave10.1/xtras/DirectSoundADirectSound.x32&m~ Sound ControlSound Control.x32Chttp://download.macromedia.com/pub/shockwave10.1/xtras/SoundControl! Sound ControlASound Control.x32>п m#gx TextAsset PPCText Asset.x32@http://download.macromedia.com/pub/shockwave10.1/xtras/TextAsset! TextAsset PPCAText Asset.x32CsK ѝ m cs TextXtra PPC TextXtra.x32?http://download.macromedia.com/pub/shockwave10.1/xtras/TextXtra! TextXtra PPCA TextXtra.x32= яh"ev Font Xtra PPC Font Xtra.x32?http://download.macromedia.com/pub/shockwave10.1/xtras/FontXtra! Font Xtra PPCA Font Xtra.x32LsCM:  InternalSREV   LOCF8"""333DDDUUUfffwwwLBUP{  X Default.htmlxml.htmxml.dcrxml.jpg xml.classxmlP swContextMenuxml.exexml.osx xml.classicStandard80000XDIRG((#FRCSFRCSfniC<s*SACAtSAC "'''';;;;;;OOOOOOSWfon exitFrame me go the frame endhold"",GʛGsChris ChamberstSACb Tglobal xml on startMovie() xml = new (script "XMLObject", "http://director-online.com/rss/director-online-articles.xml") end on stopMovie() xml.dispose() end main,GʴGChris ChamberstSACw .....26EnewsText>п mText1GۉGChris Chamberstext!3TEXd2??NoTextureDIRG((#BLWV lccnahCmuhTd$$FCRDddDx  D P5<tzdroS$SREV   *SACAknujrcsL\D\\\N  CfOBWPQrcsL\! \\\Ne  DCWEDCWfR XMLObject Platform:FontName [MAP NONE] [oldSize => newSize] ; ; Specifying MAP NONE turns off character mapping for this font. ; If you specify size mappings, they apply for THAT FONT ONLY. ; ; Here are some typical mappings for the standard Macintosh fonts: ; Mac:Chicago => Win:System Mac:Courier => Win:"Courier New" Mac:Geneva => Win:"MS Sans Serif" Mac:Helvetica => Win:Arial Mac:Monaco => Win:Terminal Mac:"New York" => Win:"MS Serif" Mac:Symbol => Win:Symbol Map None Mac:Times => Win:"Times New Roman" 14=>12 18=>14 24=>18 30=>24 Mac:Palatino => Win:"Times New Roman" ; ; Here are some typical mappings for the standard Windows fonts: ; Win:Arial => Mac:Helvetica Win:"Courier" => Mac:Courier Win:"Courier New" => Mac:Courier Win:"MS Serif" => Mac:"New York" Win:"MS Sans Serif" => Mac:Geneva Win:Symbol => Mac:Symbol Map None Win:System => Mac:Chicago Win:Terminal => Mac:Monaco Win:"Times New Roman" => Mac:"Times" 12=>14 14=>18 18=>24 24=>30 ; Note: When mapping from Windows to Macintosh, Courier and Courier New ; map onto Courier. When coming back to Windows only Courier New ; will be used. ; Japanese Font Mappings ; ; The Macintosh Japanese Osaka font is mapped to a Windows font, and ; all Windows fonts are mapped to Macintosh's Osaka. Map None is used ; because only Roman fonts need upper-ASCII characters mapped. To prevent ; mapping of any additional Japanese fonts, add them to this list. ; ; Note: If you do not have a Japanese system, the font names below ; will appear to be unreadable. Mac:Osaka => Win:"lr SVbN" Map None Win:"lr SVbN" => Mac:Osaka Map None Win:"lr " => Mac:Osaka Map None Win:"WSVbN" => Mac:Osaka Map None Win:"W" => Mac:Osaka Map None Win:"" => Mac:Osaka Map None ; Korean Font Mappings Mac:AppleGothic => Win:"" Map None Mac:Seoul => Win:"ü" Map None Mac:AppleMyungio => Win:"" Map None Mac:"Ѱü" => Win:"" Map None Win:"" => Mac:AppleGothic Map None Win:"ü" => Mac:AppleGothic Map None Win:"ü" => Mac:Seoul Map None Win:"üü" => Mac:Seoul Map None Win:"" => Mac:AppleMyungio Map None Win:"ü" => Mac:AppleMyungio Map None Win:"" => Mac:"Ѱü" Map None Win:"ü" => Mac:"Ѱü" Map None ;================================================================= ; ; CHARACTER MAPPINGS ; ; Character mapping ensures that characters such as bullets, ; quote marks, and accented characters always appear correctly ; when text is moved from one platform to another. When a ; character is mapped, a different ASCII value is substituted ; in order to preserve the appearance of the character. ; ; Character mappings are used for all fonts EXCEPT those declared ; above as Map None. ; ; The format for character mappings is: ; ; Platform: => Platform: oldChar => oldChar ... ; ; The following table provides a full set of bi-directional ; mappings for all ASCII values between 128 and 255. ; ; Note: Some characters are not available in both character sets. ; However, the bi-directional mapping table below preserves these ; characters even if they are mapped to a different platform and ; later re-mapped back to the original platform. Mac: => Win: 128=>196 129=>197 130=>199 131=>201 132=>209 133=>214 134=>220 Mac: => Win: 135=>225 136=>224 137=>226 138=>228 139=>227 140=>229 141=>231 Mac: => Win: 142=>233 143=>232 144=>234 145=>235 146=>237 147=>236 148=>238 Mac: => Win: 149=>239 150=>241 151=>243 152=>242 153=>244 154=>246 155=>245 Mac: => Win: 156=>250 157=>249 158=>251 159=>252 160=>134 161=>176 162=>162 Mac: => Win: 163=>163 164=>167 165=>149 166=>182 167=>223 168=>174 169=>169 Mac: => Win: 170=>153 171=>180 172=>168 173=>141 174=>198 175=>216 176=>144 Mac: => Win: 177=>177 178=>143 179=>142 180=>165 181=>181 182=>240 183=>221 Mac: => Win: 184=>222 185=>254 186=>138 187=>170 188=>186 189=>253 190=>230 Mac: => Win: 191=>248 192=>191 193=>161 194=>172 195=>175 196=>131 197=>188 Mac: => Win: 198=>208 199=>171 200=>187 201=>133 202=>160 203=>192 204=>195 Mac: => Win: 205=>213 206=>140 207=>156 208=>173 209=>151 210=>147 211=>148 Mac: => Win: 212=>145 213=>146 214=>247 215=>215 216=>255 217=>159 218=>158 Mac: => Win: 219=>128 220=>139 221=>155 222=>128 223=>129 224=>135 225=>183 Mac: => Win: 226=>130 227=>132 228=>137 229=>194 230=>202 231=>193 232=>203 Mac: => Win: 233=>200 234=>205 235=>206 236=>207 237=>204 238=>211 239=>212 Mac: => Win: 240=>157 241=>210 242=>218 243=>219 244=>217 245=>166 246=>136 Mac: => Win: 247=>152 248=>150 249=>154 250=>178 251=>190 252=>184 253=>189 Mac: => Win: 254=>179 255=>185 Win: => Mac: 128=>219 129=>223 130=>226 131=>196 132=>227 133=>201 134=>160 Win: => Mac: 135=>224 136=>246 137=>228 138=>186 139=>220 140=>206 141=>173 Win: => Mac: 142=>179 143=>178 144=>176 145=>212 146=>213 147=>210 148=>211 Win: => Mac: 149=>165 150=>248 151=>209 152=>247 153=>170 154=>249 155=>221 Win: => Mac: 156=>207 157=>240 158=>218 159=>217 160=>202 161=>193 162=>162 Win: => Mac: 163=>163 164=>219 165=>180 166=>245 167=>164 168=>172 169=>169 Win: => Mac: 170=>187 171=>199 172=>194 173=>208 174=>168 175=>195 176=>161 Win: => Mac: 177=>177 178=>250 179=>254 180=>171 181=>181 182=>166 183=>225 Win: => Mac: 184=>252 185=>255 186=>188 187=>200 188=>197 189=>253 190=>251 Win: => Mac: 191=>192 192=>203 193=>231 194=>229 195=>204 196=>128 197=>129 Win: => Mac: 198=>174 199=>130 200=>233 201=>131 202=>230 203=>232 204=>237 Win: => Mac: 205=>234 206=>235 207=>236 208=>198 209=>132 210=>241 211=>238 Win: => Mac: 212=>239 213=>205 214=>133 215=>215 216=>175 217=>244 218=>242 Win: => Mac: 219=>243 220=>134 221=>183 222=>184 223=>167 224=>136 225=>135 Win: => Mac: 226=>137 227=>139 228=>138 229=>140 230=>190 231=>141 232=>143 Win: => Mac: 233=>142 234=>144 235=>145 236=>147 237=>146 238=>148 239=>149 Win: => Mac: 240=>182 241=>150 242=>152 243=>151 244=>153 245=>155 246=>154 Win: => Mac: 247=>214 248=>191 249=>157 250=>156 251=>158 252=>159 253=>189 Win: => Mac: 254=>185 255=>216 lRTXZ I#INetUrl PPC Xtra INETURL.X32I#NetFile PPC Xtra NETFILE.X32K%NetLingo PPC Xtra Netlingo.x32.lSWA Decompression PPC Xtra swadcmpr.x32:http://download.macromedia.com/pub/shockwave10.1/xtras/SWA!SWA Decompression PPC XtraA swadcmpr.x32YlDirectSound.x32Bhttp://download.macromedia.com/pub/shockwave10.1/xtras/DirectSoundADirectSound.x32&m~ Sound ControlSound Control.x32Chttp://download.macromedia.com/pub/shockwave10.1/xtras/SoundControl! Sound ControlASound Control.x32>п m#gx TextAsset PPCText Asset.x32@http://download.macromedia.com/pub/shockwave10.1/xtras/TextAsset! TextAsset PPCAText Asset.x32CsK ѝ m cs TextXtra PPC TextXtra.x32?http://download.macromedia.com/pub/shockwave10.1/xtras/TextXtra! TextXtra PPCA TextXtra.x32= яh"ev Font Xtra PPC Font Xtra.x32?http://download.macromedia.com/pub/shockwave10.1/xtras/FontXtra! Font Xtra PPCA Font Xtra.x32LsCM:  InternalLOCF8"""333DDDUUUfffwwwLBUP{  X Default.htmlxml.htmxml.dcrxml.jpg xml.classxmlP swContextMenuxml.exexml.osx xml.classicStandard80000aFRCSFRCSfniC<stSAC "'''';;;;;;OOOOOOSWfon exitFrame me go the frame endhold"",GʛGsChris ChamberstSACb Tglobal xml on startMovie() xml = new (script "XMLObject", "http://director-online.com/rss/director-online-articles.xml") end on stopMovie() xml.dispose() end main,GʴGChris ChamberstSACw .....26EnewsText>п mText1GۉGChris Chamberstext!3TEXd2??NoTexturepamFIFWV !BChris Chambers - Mediascope LtdChris Chambers - Mediascope LtdCC:\Documents and Settings\Chris Chambers\My Documents\director xml\CTWVBLWVLTWVnahCknuj83rcsLPPP\P\bb."1$$+$,>@@ @Bu PCPDCWPJAbJDEKBWJKBg KBW   JaCWPKBg JRLJppaA JpELCgaDzRLJpELCgpaA ^JpELCgELCgaD9JpELCgELCgaBWJJpELCgELCgaBgALRTrALRT  XMLonLoaditem descriptionrcsL\\\\  CfBW knujknujnahCknuj\1."+`X,rcsL\\bbmkf1$$+$i,>@@ @j=BuPkCPDCWnPmJmAboJmDEiKBWpJmKBgqKBWCQsr JmauCWtPkKBgjQ Jk:JmCgwBWvJmpadCWAdd ddCWRLBWvATeQ XMLonLoadrcsL\ \\\N  DCWDCWR XMLObject@@ @Bu PCPDCWPJAbJDEKBWJKBg KBW   JaCWPKBg JRLJppaA JpELCgaD~RLJpELCgpaA bJpELCgELCgaD=JpELCgELCgaBWJJpELCgELCgpCg$BgALRTvALRT  XMLonLoaditem descriptionXtcL,` 02 &8d   TXldV</CSWV  lxxl 060 1 6newsTextCSWV  lxxl 060 1 6newsTextknuj8ers\My Documents\director xml\jknuj -knuj8.'.knuj{n'/knuj(0knuj )1knuj*)2knuj<J)3*SAC ^^knuj)knuj1*6knujb+7knuj,.8knuj>@29knujl7 manL memberTabcommentsymbolmember helpTopicpicturepropertyDescriptionListtitlenameformatstringnumberintegereditable castLibNumfileNametype scriptTextgetProp creationDatedate modifiedDate modifiedBycomments purgePriorityrangemodifiedbooleanlinkedloadedmedia thumbnailsize memorysize mediaReady graphicPropshiliteregPointpointwidthheightrectitemDescriptionListaboutbuttonlefttoprightbottom editScriptedittext nameLabellabel alignmentproperty sizeLabelbrowseoptions purgeLabel createdLabelcreated modifiedLabelmodifiedByLabel commentsLabelfieldscrollreturn scriptTabscript scriptTypemoviescoreparent scriptSyntaxlingo javaScriptlinkAs exitFrameframegome spriteTabsprite startFrameendFrame spriteNum foreColorcolor backColorblendminmaxinklocHlocVrotationfloatskewflipHflipV startMovienew_moviedougXMLLoadComplete mXMLCompleted boolValid objTargetobjXML newObject ignoreWhite setCallbackloadobjTargstrXMLFilePathvoidpxmlDeclputtoString scriptXMLilk dbgPropList _soundXtravaluevoidgXMLxmlarrNews firstChild childNodescountgetAtnode createElementcreateTextNodeparseXMLsend sendAndLoadonLoadonDatagetBytesLoaded getBytesTotaladdRequestHeader contentType docTypeDeclstatus cloneNode removeNode insertBefore appendChild hasChildNodesgetNamespaceForPrefixgetPrefixForNamespace attributeslength lastChild nextSiblingnodeNamenodeType nodeValue parentNodepreviousSiblingPrefix localName namespaceURI getPropRef childNodesubNodeaddrcsLfff\f\hhJ:=<:N 9&9PCPCW;P:PpJJpJJ 0 then -- display the first news item iCount = iCount + 1 sprite("newsText").member.text = arrNews[iCount] -- set up the timeout object to display the news pTimeout = timeout().new("swapNews", 10000, #swapNews, me) end if end if end on swapNews(me) iCount = iCount + 1 if iCount > iNumberNewsItems then iCount = 1 end if sprite("newsText").member.text = arrNews[iCount] end XMLObject,vv,GGChris ChambersdrcsLfff\f\hhJ:=<:N 9&9PCPCW;P:PpJJpJJpJJpJJdknuj-QFCRDd.pmXF(4LsCM:$XdroS$.IFWV_CSWV hnXtcL,gBLWVd`rcsLfznahCz`lRTXZRknujd4rcsLfSREV .LOCF8fXLBUP{XDIRGp-FRCS*ZFRCSJZrcsLNDhknuj{h&=DEMXknujb)Neerf Bknuj$(9knujVMeerf *knuj @rcsLfvmanLrcsLP`rcsLbrcsLeknujt,knuj8o<knuj@2,muhTd-knuj-Pknuj(ErcsLTiknuj$knujD.Cknuj8(&Jknujk)knuj`knuj\`FtSACw\eerf knuj0knuji5knuj''knujr` knuj.?knujZp knuj:%Hknuj &Iknuj<D(+*SAC.knuj, lOknuj( knujw*>knuj @m6knuj-8eerf -00011040pamm ZK<8=XFIRڠpami pamm *YEKt3tSACZtSACb[tSACk~knujcDknuj%Feerf 9knuj{.$EfniC<ZmanLprcsL.rcsL/rcsLt0knujJ.JrcsL>dknuj.FCRDd`.pmXF(4LsCM:PXdroS$4IFWVnCSWV XtcL,gBLWV_rcsLfznahC_lRTXZRknuj1H'4knuj% SREV .LOCF8XLBUP{XDIRG$.FRCSVZFRCSvZrcsLNDh*SACZDEMXknuj oknujt,eerf knuj_knujd*knuj< &knuj -manLrcsLP`rcsLbrcsLeknujb&@knujBn>knuj$l 7knuj(</knuj_eerf +rcsLTiknuj(knuj v?eerf knuj@2Hknuj_,knuj N&.tSACwB]knuj:#6knuj #Bknuji)knuj8#Cknuj%knujP-;knuj. lGknuj<.5knujR.ItSACk ]property objXML, boolValid property arrNews -- array to hold news item text property pTimeout -- timeout object to swap news items every 10 seconds property iNumberNewsItems -- number of news items found property iCount -- count of which news item we are currently on on new me, strXMLFilePath, objTarg boolValid = false arrNews = [] pTimeout = void iCount = 0 objXML = newObject ("XML") objXML.ignoreWhite = true setCallback (objXML, "onLoad", #XMLLoadComplete, me) objXML.load (strXMLFilePath) return me end on dispose me if ilk(pTimeout) = #timeout then pTimeout.forget() pTimeout = void end if end on XMLLoadComplete me boolValid = not voidP (objXML.xmlDecl) me.mXMLCompleted () end on mXMLCompleted me if boolValid then -- loop through xml object looking for 'item' nodes repeat with node = 0 to objXML.firstChild.childNodes.length -1 if objXML.firstChild.childNodes[node].nodeName = "item" then -- loop through 'item' node looking for 'description' nodes repeat with subNode = 0 to objXML.firstChild.childNodes[node].childNodes.length -1 if objXML.firstChild.childNodes[node].childNodes[subNode].nodeName = "description" then -- add 'description' text to our array arrNews.add(objXML.firstChild.childNodes[node].childNodes[subNode].firstChild.toString()) end if end repeat end if end repeat iNumberNewsItems = arrNews.count -- if we have news... if iNumberNewsItems > 0 then -- display the first news item iCount = iCount + 1 sprite("newsText").member.text = arrNews[iCount] -- set up the timeout object to display the news pTimeout = timeout().new("swapNews", 10000, #swapNews, me) end if end if end on swapNews(me) iCount = iCount + 1 if iCount > iNumberNewsItems then iCount = 1 end if sprite("newsText").member.text = arrNews[iCount] end XMLObject,vv,GGChris ChambersmanL}}newXMLLoadComplete mXMLCompleted boolValidarrNewsobjXML newObject ignoreWhite setCallbackloadreturnmeobjTargstrXMLFilePathvoidpxmlDecl firstChild childNodeslength getPropRefnodeNameput nodeValueaddsubNodenode exitFrameframego startMoviescriptxmlilkgetPropstring dbgPropListtoStringcountgetAt _soundXtra cloneNode removeNode insertBefore appendChild hasChildNodesgetNamespaceForPrefixgetPrefixForNamespace attributes lastChild nextSiblingnodeType parentNodepreviousSiblingPrefix localName namespaceURIvalueswapNewspTimeoutvoidiCountiNumberNewsItemsspritetexttimeouttextTabcommentsymbolpicture helpTopicpropertyDescriptionListtitleeditableformatbooleanautoTabuseHypertextStyleswordWrapboxTyperangeadjustscrollfixed scrollTopinteger directToStage displayMode modeNormalmode3d preRendernonecopyInkotherInk saveBitmapkerningkerningThreshold antialiasantiAliasThresholdcenterRegPoint selection selectedText missingFonts pageHeightbgColorcolortabsfont fontStylefontSize charSpacing hyperlinkhyperlinkRangehyperlinkState alignmentleftcenterrightfixedLineSpace leftIndent rightIndent firstIndent topSpacing bottomSpacingtabCountalphahtmlrtf hyperlinks foreColor backColoritemDescriptionList DisplayLabeltypelabeltopbottomproperty framingLabelantiAliasLabellistpixels kerningLabel renderLabelextrudertext3D displayFace tunnelDepthfloatminmax bevelDepth granularity smoothness bevelTypemiterroundcameraPositionvectorcameraRotation diffuseColor specularColor reflectivity textureTypedefaultmember textureMemberdirectionalColordirectionalPresettopLeft topCentertopRight middleLeft middleCenter middleRight bottomLeft bottomCenter bottomRight ambientColor positionLabel cameraPosXfield cameraPosY cameraPosZxyzLabel rotationLabel cameraRotX cameraRotY cameraRotZ faceLabelfrontcheckBoxbacktunnelSmoothnessLabelTunnelDepthLabelBevelTypeLabelBevelDepthLabel lightLabel lightPresetdirectionalLabelTwo ambientLabelbackColorLabel textureLabel colorLabel specularLabelReflectivityLabel prepareFrame timeoutList stopMoviedisposeforgetnamePPCnameW32packageInfonetxtraDEMXFFFF000000060004000177AA00000000004B0000000040001101-7FFC6FE00480048-10F0-10 F121FF0001000010000002600000001040840F038E000F000040000000700000002020005000000080000000202000060000009A0000000320C30FFFF0C00000 10 C30FFFF0C00000 3010C3080000FFFF0C00000 20 000700000023000000010203F0E2AE01800008000001550000000240,Arial40,404E4400010400080101040,Courier40,404E44000101010000900000015000000020E01210E0121000A00000013000000020F1210F121000B00000005000000020000C0000000A0000000101000F0000002100000000400 10  00130000007E00000000DA91F8CE1C1D1E1F7F1B044,-..'"FFFF0FFFF001280000000A000000012001290000000A0000000120pamm ZSCGBXFIRڽpami 0pamm  *YEKt,tSAC(tSACb)tSACkknujcDknuj(4F*SAC(knujt3fniC<D(manLprcsL.rcsL/rcsLt0knuj<.rcsL>dknuj.?FCRDdpmXF(@LsCM:%droS$IFWV@2CSWV @mXtcL, lBLWV-rcsLfznahC-lRTXZp knuj8X4knujd`. SREV &LOCF8(&LBUP{h&DIRG'FRCS(FRCS$(rcsLNDhknujZ=DEMXknuj o<knujx--knujb[9knuj_8knujp-RknujZRrcsLfvmanLVrcsLP`rcsLbrcsLeknuj .@knujvhn)knuj-*muhTd-knuj_knujZ'rcsLTiknuj{XknujLzknuj<ZJknujnNknuj_,knuj:PX.tSACw*eerf knuj Eknuji5knuj-6knuj$4knuj.knuj$.;knujVZHknujvZIknujk~+knujwB]Kknuj,gLknujMknuj >knuj_Oknuj_PknujQ