|
|||
|
not working when the application is built and running.
it checks for a number from xml... depending on status, one mc is supposed to be visible... it works fine when i test my application.... but it doesnt work when i build application and run. Any known problems on this point ? |
|
|||
|
i found where the problem is but i canr get around it
following code is supposed to print "Some text" in textarea but when built the application it does nothing... but when hitting F9 in swfkit it works fine Code:
button.onRelease = function(){
resultLoa.onLoad = function(success) {
if (success) {
if (resultLoa.res == "OK") {
medd_text.text = "Some text"
}
}
}
LVar.avpa = "1";
LVar.sendAndLoad("http://mysite.com/status.php",resultLoa,"POST");
}
Code:
button.onRelease = function(){
resultLoa.onLoad = function(success) {
medd_text.text = resultLoa.res
if (success) {
if (resultLoa.res == "OK") {
}
}
}
LVar.avpa = "1";
LVar.sendAndLoad("http://mysite.com/status.php",resultLoa,"POST");
}
|
|
|||
|
That's strange, the code should work without difference between f7 and f9. It seems that on f7 mode it cannot get the remote variable. F9 or F7 don't affect your code, please try to check the other possible problems.
|
|
|||
|
Maybe it's something with security settings
I had a similar problem when calling a php script on a site from flash When calling it from flash directly it worked when calling if from a swfkitprojector it failed when the projector was packed with the application |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|