Hello, I have asp page to retrieve back the info from database. And use flash to reload the datas and show the info.
I can see all the variables and value on the asp page, but don’t understand why nothing shown on the flash page using
myData = new LoadVars();
myData.source = “cart.asp”
myData.load(myData.source, myData);
myData.onLoad = function() {
…
}
I wonder whether it is ok that flash page can just load part of the code and show?? Or it should load everthing onto the flashpage??
That should do it. I saw you used myData.variable, I’m not sure if that works (seems not, since it didn’t work for you :P), but I am sure that this.variable works since loadVars is an object. So I changed them all to this.variable.
Is leftrotationgl also a variable from the ASP file ? If so, change _root.leftrotationgl to this.leftrotationgl.
Hello, I tested it once again, but still it doesn’t work. I have no idea what is wrong. In asp page, the variable are like &a=&b=&
and in flashpage, it is the same as what u said. Then what other possibility of mistake I can made?
Your ASP output should be like this: &textTL_text=This is text loaded from the database through ASP&xpositionTL_text=25&ypositionTL_text=45&xscaleTL_text=102& …
And so on. The values I used (This is text… ,25,45,102) are just examples, they can be any value. If the output is like that it should work. If it still doesn’t work, can I see the FLA and the URL of the script ?
Hello, I am sorry to say at this moment, the link is not active. So I attach the asp and .fla in attachment. Thanks very much for your help and hope you have some good suggestion. Thanks again!