hi guys…
i know it’s very simple question but i don’t know what is the reason…
i’ve main SWF whichis load mc_dataHolder… it works
mc_dataHolder which is load text file ok… everything was great.
main SWF in FLA folder
mc_dataHolder in SWF folder
text in text folder
when i put the text in the text folder i can’t see text it’s load the SWF no problem in it. but there is no text appear…
if i run mc_dataHolder lonly it loads text file no problem.
i don’t know what is the problem… i spent the night trying to solve it alone but i couldn’t.
i asked for this before:
my preloader appear in 70% precent… i want to tell you that i removed the components from my file and make load in separat mc … of course after loading complete (-:
hi guys…
i tried everything to make it load in the main SWF but i faild… :hangover: :hangover: . i don’t know what is the problem is… so can anyone help me please … i’m going to kill myself :jail: .
this is the code in the bgDataHolder
[AS]onClipEvent (load) {
loadText = new loadVars();
loadText.load("…/text/textNews.txt");
loadText.onLoad = function(success) {
if (success) {
trace(success);
_root.mc_textHolder.newsBox.html = true;
_root.mc_textHolder.newsBox.htmlText = this.myNews;
}
};
}
[/AS]
:sigh:
[AS]mc_textHolder.newsBox.html = true;
mc_textHolder.newsBox.htmlText = this.myNews;[/AS]
you put me in the right way… i think you know it’ wouldn’t work :sigh: but i got what you mean claudio… .
finally i got it and it’s working now :pleased: :pleased:
[AS]newsBox.html = true;
newsBox.htmlText = this.myNews;[/AS]
i removed mc_textHolder too … :pleased: :pleased:
i asked for this before:
my preloader appear in 70% precent… i want to tell you that i removed the components from my file and make load in separat mc … of course after loading
can you solve this too … :sigh:
new question… i want to control bgDataHolder.swf from the main swf… is it possible :h:
there is lot of simple things stop a complex work…
i was wondering if i want to control this SWF and i saw _root all the time but i didn’t imagine it’s the main problem.
To control the bgDataHolder.swf you need to target the movieclip where it was loaded into, in this case, the movieclip mc_dataHolderbg.
As for the preloader problem, how big is the swf that is being preloaded?
Lets say you want to move the _x coordinate of the bgDataHolder.swf to 100.
You will need to target the movieclip that contains the bgDataHolder.swf:
mc_dataHolderbg._x = 100;
As for the preloader, im guessing it has almost nothing, maybe an interface for the text, and its most lots of code on the first frames. That may be causing that delay on your prelaoder.