-
Loading text from .txt document
Im doing a projet who i have to load some text from a .txt document.
Here my script:
system.useCodepage = true;
loadVariables("my file" add ".txt", "_level1");
It's work fine on the main timeline, but if i try to load the text in a MovieClip it's doesn't work.
Someone have a solution for this?
THX
-
try this
result="_level1"+mcname; (where mcname is the name of the mc in the level1)
loadVariables("my file" add ".txt", result);
-
forgot the dot above... the right one is this
try this
result="_level1."+mcname; (where mcname is the name of the mc in the level1)
loadVariables("my file" add ".txt", result);
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
|