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
Flash i XML problem

 
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
tic984



Joined: 07 Sep 2003
Posts: 189
Location: Delnice

PostPosted: 12.04.2005 20:08    Post subject: Flash i XML problem Add user to your forum ignore list Reply with quote

Problem je ovakav, moj xml file sadrzi HTML podatke npr.

Code:
<?xml version="1.0" ?>
<!DOCTYPE root [<!ELEMENT naslov (#PCDATA)>]>
<root>
<naslov title="Vijesti" objava="17.02.1984.">
<![CDATA[
<font face="courier" size="36">employer>Neke glupe </font>informacije!
]]>
</naslov>
</root>


problem je sto mi ovi podatci u flash stizu ovakvi:

Code:

&lt;b&gt;Please&lt;/b&gt;&lt;br&gt;restore &lt;font face=&quot;courier&quot; size=&quot;36&quot;&gt;employer&lt;/font&gt; Central Provident Fund contributions.Neke glupe informacije!


znaci koda su HTMLcoded il stavec Smile

oglavom meni treba < a ne &lt; jer mi ti podatci idu u textfield di ce se rendat ko html!


jel zna neko di je problem mozda??

_________________
ah..
Back to top
View user's profile Send private message Visit poster's website
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 12.04.2005 21:45    Post subject: Add user to your forum ignore list Reply with quote

i ti si to strpao u forum vektor?

[EDIT] ok mozda i je pravo mjesto al bilo mi je cudno

ja ne znam...

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
tic984



Joined: 07 Sep 2003
Posts: 189
Location: Delnice

PostPosted: 12.04.2005 21:49    Post subject: Add user to your forum ignore list Reply with quote

pa u opisu foruma pise i flash jel? Smile

a mozda je i u client side trebalo ic, al nevidim razloga, nije problem sa prikazom sadrzaja korisniku u browseru il tak nesto, nego jednostano neznam kako mogu nesto naprav it s doticnom aplikacijom (u ovom slucaju flash jel Smile )

ako admini misle da nespada tu, slobodno neka presele....

_________________
ah..
Back to top
View user's profile Send private message Visit poster's website
Peewee



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

PostPosted: 12.04.2005 22:00    Post subject: Add user to your forum ignore list Reply with quote

to mozes sredit sa css-om... nije tesko, ali ne znam napamet....
cek znam di sam to korisitio....

Code:


var ss = new TextField.StyleSheet();
ss.load("unloved.css");
myText.styleSheet = ss; 

//xml stuff
about = new XML();
about.load("text.html");         
about.onLoad = function () {   
   myText.text = about;



evo ga sad u css-u definiras stilove... a u html-u ga mozes koristit normalno.... ili ko <crni>crhni tekst definiran u css ko crni</crni>
kuzis?

_________________
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
tic984



Joined: 07 Sep 2003
Posts: 189
Location: Delnice

PostPosted: 12.04.2005 22:11    Post subject: Add user to your forum ignore list Reply with quote

Peewee, cjenim pomoc... al krivo si pitanje shvatio....

uglavnom skuzih rjesenje, ako neko ikad zapne u ovome...

dakle dosad sam vrijednosti iz tagova uzimo ovako:

Code:
txtSadrzaj.htmlText = nodeVijest.firstChild;


i sav sadrzaj mi je vracao ovako kako mi je vraco jel Smile

a sad sadrzaj nodea dohvacam ovako:

Code:
txtSadrzaj.htmlText = nodeVijest.firstChild.nodeValue;



tnx svima koju su bar procitali Smile
uglanom nadam se da ce mozda jos nekom pomoc Smile

_________________
ah..
Back to top
View user's profile Send private message Visit poster's website
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