This content has been marked as final. Show 12 replies
and that code may need to execute repeatedly. and you should use the goto methods, not the functions:
i only changed framesLoaded to _framesloaded and it's working nicely ;-)
but what's the difference between framesLoaded and _framesloaded ?
one's an invalid as2 property and the other is valid.
ok, thanks ;-)
By the way, is it possible to show values from a php file in flash?
Example, i have a php hit counter in my site and i would like to show the number of hits inside the flash content.
using LoadVars, you can receive an echo from the PHP file.
i tryed this:
loadVariablesNum("counter/counter2.php", "Counter", "GET");
//Counter is the moviclip where the variables will be stored i think...
and know i want the variable value from the php file to be displayed in a dynamic textfield:
Counter.counterTextfield = Counter.count;
//count is the php variable
but this is not working :-(
with dynamic text field on stage with instance name feedback_txt
ok...i've got it to work, but i had to move the .php file to the .swf's folder :-S
shouldn't it work with this path: dataReceiver.sendAndLoad("counter/counter2.php",dataReceiver,"POST");
yes it will.. remember, you can't test it locally.
but it's not working :-(
the .swf file are on the root folder, and the .php files are on the ./counter folder, and it doesn't work with that url path...
try using the Absolute URL instead of relative.
already tried that :-S
but, don't worry...i placed the .php file with the .swf
the most important is that it's working ;-)
thanks alot dzedward