-
External .txt in movie in a movie HELP!
Hello!
OK, I've got an external .txt file loading into a .swf. It works just fine on its own. Once I try to add it into another .swf, the .txt doesn't show up. I don't know what's going on. Thanks in advance!
-
Senior Member
have you tried copying the textarea from the original file to the new file? Maybe the font is missing? Maybe your path is not set correctly, I think the best way for us to help you is for you to upload the file is not working
V
it is your mind that decides - it is with your mind that you fly
vevmedia
-
maybe if I send you the link you can see what I mean. It's on the right side panel, there should be text showing up in the news and events sections. On it's own without loading it into the main page it works, it pulls in the text and everything. Once I include it to be displayed in the index everything comes up but the text, like you'll see. Thank you so much for your quick response.
http://www.racescoringtechnologies.com
-
What are you using to load in the text? loadVariables or LoadVars()?
-
LoadVars()
Here's what my code looks like:
myData = new LoadVars();
myData.onLoad=function(){
field1_txt.text=this.content1;
};
myData.load("news1.txt");
myData2 = new LoadVars();
myData2.onLoad=function(){
field2_txt.text=this.content2;
};
myData2.load("news2.txt");
myData3 = new LoadVars();
myData3.onLoad=function(){
field3_txt.text=this.content3;
};
myData3.load("events1.txt");
myData4 = new LoadVars();
myData4.onLoad=function(){
field4_txt.text=this.content4;
};
myData4.load("events2.txt");
-
Then I guess you're loading this movie in a container clip in the other main movie, and you would need to adjust the path to your textfields.
-
OK, I'm not real sure how to do that. Someone else started this projecct and I've just taken over. How do I adjust them. I've been looking through all the code in the main movie and the side part, I don't even know where to start.
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
|