# Load movie with formatted dynamic text (only displays images)

**URL:** https://forum.kirupa.com/t/load-movie-with-formatted-dynamic-text-only-displays-images/193906
**Category:** Uncategorized
**Created:** [July 19, 2006, 5:49am UTC](https://forum.kirupa.com/t/load-movie-with-formatted-dynamic-text-only-displays-images/193906 "2006-07-19T05:49:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![isrozc](https://avatars.discourse-cdn.com/v4/letter/i/76d3ee/32.png) [@isrozc](https://forum.kirupa.com/u/isrozc)
#### Post date: [July 19, 2006, 5:49am UTC](https://forum.kirupa.com/t/load-movie-with-formatted-dynamic-text-only-displays-images/193906/1 "2006-07-19T05:49:13Z")

</div>

hi, i made a movie called clases.swf that contains a dynamic text(that contains images), and it works perfect, but when i load it into a main swf called arte.swf, it only displays the images without text.

here is the code of clases.swf

var format = new TextField.StyleSheet();  
var path = “estilo.css”;

format.load(path);  
format.onLoad = function(loaded) {  
if (loaded) {  
my\_txt.styleSheet = format;  
myLoadVar = new LoadVars ();  
myLoadVar.load(“clases.php”)  
myLoadVar.onLoad = function (success){  
if (success == true) {  
my\_txt.variable = “texto”  
my\_txt.htmlText=myLoadVar.texto;  
}  
}  
} else {  
my\_txt.text = “Error loading CSS file!”;  
}  
};

how do i modify the code to load the dynamic text on the new invisible movie on arte.swf (on the main swf)???

please i need help urgently!!!
