-
execute link from XML problem, please help!
hello everyone,
i hope that someone can help me with this cause i have this problem for a few weeks now.
the problem:
i have a link stored in XML
Code:
< news >
< myItem name="news title 1" text="test1.html" / >
< myItem name="News title 2" text="test2.html" / >
< myItem name="news title 3" text="test3.html" / >
< myItem name="news title 4" text="test4.html" / >
< myItem name="news title 5" text="test5.html" / >
< myItem name="news title 6" text="test6.html" / >
< myItem name="news title 7" text="test7.html" / >
< myItem name="news title 8" text="test8.html" / >
< myItem name="news title 9" text="test9.html" / >
< /news >
the XML is all parsed perfect the array that containes the links "test1.html, test2.html........" is called
my problem is that i can't load all the html pages the code that i use only loads 1 html page
the code (
Code:
NewsContent = new LoadVars();
NewsContent.onLoad = function(get_news_html) {
html_content = _root.NewsContent.textField;
trace (html_content);
}
NewsContent.load(NewsItem_text[i]);
the question is, how do i load each link from NewsItem_text[i]
thanx in advance,
grafx_one [mindustries]
-
this is the source file!!
in the drawfunc.fla frame 1 check comment news nodes, news html parse and wk nodes.
-
Senior Member
How do you call your text and what determines which text is called?
- The right of the People to create Flash movies shall not be infringed. -
-
i don't understand your (exact) question.
you can check the drawfunc.fla in comment //wknodes. there is a working sample but it also load 1 link
thanx for replying to my post "cancerinform",
grafx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|