| | | shevi2027 |  |
| Posted: Mon Sep 01, 2008 8:50 pm Post subject: Dynamic text load |  |
Hello
I've created a button "link1" and a dynamic text box "my_dynamic_text". When i click on the link i want it to load my text. For the text loading I followed this link LINK
But i get some errors
**Error** Scene=poetry, layer=link1, frame=1:Line 5: Statement must appear within on handler myData = new LoadVars();
**Error** Scene=poetry, layer=link1, frame=1:Line 7: Statement must appear within on handler myData.onLaod = function(success){
**Error** Scene=poetry, layer=link1, frame=1:Line 15: Statement must appear within on handler myData.load("C:/Users/Shevi/Web Sites/Archi Baldo/photo1.txt");
Total ActionScript Errors: 3 Reported Errors: 3
any idea??
Thank you |
|