External txt files

okay…

here goes :slight_smile:

first of all, thx for the help i´ve got so far :slight_smile: u r great guys.

now the the point:

i have a main MC and several external swf´s beeing loaded onto my main MC at press of certain buttons… all that stuff.

but now comes the fact, that the dynamic text files at some of the swf´s is going to be updated sometimes. and as its irritatin doing it all by hand, i want to make the txt external too, i´ve done it before, but that was on main stage, i am going to embed the font outline thingy, right?

but how do i do that in an external txt file?

is there an html code for it? :slight_smile:

//Coolio

an html code to embed the font ? is it that ? if you want to embed your font (it’s the same for external text), just select character --> embed in the property panel of your dynamic text.
I don’t know if i reply to your question

hmm… well i understand what you mean, but thats if you wrote the text in flash, want i want is , that it loads the txt from an external txt file and into the dynamic text field, but still imbedded so i can see it throug the mask…

or wait, i didnt read it all ( ups :book: )

hehe sry, i´ll see if it works :slight_smile:

yep, that will work, embed your dynamic textbox :wink:

hehe uber thx :stuck_out_tongue:

or as i would say

mange tak for det :slight_smile:

i´ll post my partial work later on, and see if it works :slight_smile:

hehe uber thx

or as i would say

mange tak for det

:h:
and… you’re welcome !

he he its danish :stuck_out_tongue:

btw, i have another prob

i want the text to load as soon as the swf is loaded… not with a button click, what script do i use?

onClipEvent (enterFrame){Function; {
 
	loadText = new loadVars();
	loadText.load("text1.txt");
	loadText.onLoad = function(success) {
		if (success) {
			// trace(success);
			newsBox.html = true;
			newsBox.htmlText = this.myNews;
		}
	};
}
loadText = new loadVars();
	loadText.load("text2.txt");
	loadText.onLoad = function(success) {
		if (success) {
			// trace(success);
			newsBox1.html = true;
			newsBox1.htmlText = this.myNews;
		}
	};
}

but that does not work?

the second one :slight_smile: ([SIZE=1]in fact i don’t think it changes something for the loading time)[/SIZE] but put it on the first frame of your movie

Edit–
What doesn’t work ? could you post you file ?

i cant use onClipEvent (enterFrame ) for the function, it says its only allowed for uhm… some movie thingy…

so what code should i use?

Edit
Use onClipEvent for movieclip, so use the second one

well… i´ll try :slight_smile:

but… second one? eh

here´s what it looks like now

http://o0ice0o.freewebpage.org/t4a_site.html

Nice graphics you have there, is it the scrollbar from claudio you’re using ?

edit: just saw your title what makes you confused the onClipEvent thing ?

i was confused about what u meant with the second on…

the scollbar i got from actionscript.org, adn then i made ít other colours and dif size :slight_smile:

graphics took 5 hours to make :stuck_out_tongue: