Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
xml help

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
astolitu



Joined: 26 Jun 2004
Posts: 547
Location: Zagreb

PostPosted: 17.08.2006 19:49    Post subject: xml help Add user to your forum ignore list Reply with quote

AS:
Quote:

var nNews:XML = new XML;
nNews.ignoreWhite = true;
nNews.load("thTarget.xml");
nNews.onLoad = function (loaded){
if(loaded){
th1.loadMovie(this.firstChild.childNodes[0].childNodes[0].childNodes[0].attributes.thMali);
tOut1.sOut.htmlText = this.firstChild[0].childNodes[0].childNodes[0].firstChild.nodeValue;
trace("jeaaaa");
}
else{
trace("nije se lodalo");
}
}

xml:
Quote:

<?xml version = "1.0" encoding = "UTF-8"?>
<news>

<lista>
<th>
<thumb thMali = "pictures/test1.jpg"><![CDATA[]]></thumb>
<out><![CDATA[Sold Out]]></out>
</th>
</lista>

</news>


problem je sta mi flash vraca text = undefined
kako ovo rijesit?

_________________
http://www.markobjedov.com/
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Peewee



Joined: 12 Jan 2004
Posts: 711
Location: Velika Gorica

PostPosted: 17.08.2006 21:47    Post subject: Add user to your forum ignore list Reply with quote

meni se isto desavalo sa galerijom... i onda sam skuzio da mi ustvari on jos nije loado taj xml, a ja od njega trazim da mi da neke informacije iz njega i onda sam odvojio loadanje xml i rad sa informacijama... tako radi Smile aj mejlat cu ti to, pa prouci...

_________________
Pi (Pee) is a mathematical constant equal to approximately 3.14.
zivili!!!
Back to top
View user's profile Send private message Visit poster's website
astolitu



Joined: 26 Jun 2004
Posts: 547
Location: Zagreb

PostPosted: 18.08.2006 02:25    Post subject: Add user to your forum ignore list Reply with quote

Peewe nije u tome problem krivo sam napisa jer sam brzoplet i glup

umjesto ovog:
tOut1.sOut.htmlText = this.firstChild[0].childNodes[0].childNodes[0].firstChild.nodeValue;

treba ovo:
tOut1.sOut.htmlText = this.firstChild.childNodes[0].childNodes[0].childNodes[1].firstChild.nodeValue;

_________________
http://www.markobjedov.com/
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group