[COLOR=black][FONT=Arial][COLOR=black]Hey[/COLOR] I have this problem with dynamic text… this code is located inside 2movie clips…[/FONT][/COLOR]
[COLOR=black][FONT=Arial]scene1 -> MovieHolder -> MovieAboutText[/FONT][/COLOR]
[COLOR=black][FONT=Arial]Whenever i “Test scene” and im inside the MovieAboutText the dynamic text is located from the www.address… and displayed in the dynamic text box (Works Fine)[/FONT][/COLOR]
[COLOR=black][FONT=Arial]however…[/FONT][/COLOR]
[COLOR=black][FONT=Arial]Unfortuately whenever I click “Test Movie” the dynamic text fails to load… im not sure why this would work while you are inside the actual movie but not 2levels about… [/FONT][/COLOR]
[COLOR=black][FONT=Arial]Here is my dynamic text code within the MovieAboutText:[/FONT][/COLOR]
var format = new TextField.StyleSheet();
var path = “http://www.asmithphotography.co.uk/asmithphotography_sourcefiles/asmithphotography_style_main.css”;
format.load(path);
format.onLoad = function(success) {
if (success) {
inText.styleSheet = format;
myLoadVar = new LoadVars ();
myLoadVar.load(“http://www.asmithphotography.co.uk/asmithphotography_sourcefiles/asmithphotography_about.txt”)
myLoadVar.onLoad = function (success){
if (success == true) {
inText.variable = “asmithphotography_textdata”
inText.htmlText= myLoadVar.asmithphotography_textdata;
loadText.onLoad = function() {
inText.text = this.asmithphotography_textdata;
}
}
}
} else {
inText.text = “Error loading CSS file!”;
}
};
Thanks for looking…:look: