After seeing you say the other user had the same problem, I remember reading the topic before. So I went back and read it and did what you told him (press control + enter). Sure enough, I had the same error he did. It was showing the wrong version.
ok, great!
I will inspect better this issue that some of you have had installing the API. Did you have the SFS Lite installed? Did you remove them before installing the new one?
Lapo wrote:ok, great!
I will inspect better this issue that some of you have had installing the API. Did you have the SFS Lite installed? Did you remove them before installing the new one?
I had SFS Lite and Basic installed at the same time at first. I then uninstalled Lite so I just had Basic and it still didnt work.
As far as uninstalling flash, I ran into problems because I didnt have an uninstall file so now everything is not installing properly. Ill keep you updated with the outcome though
If you're using that code and the result on screen is --> "undefined" then you are definately using old Flash API.
Please install those that come with SFS Basic or if you don't want to use the Macromedia Extension Manager you can download them separately ( http://www.smartfoxserver.com/products/ ... #downloads )and put them in the same folder where your FLA is located. (Obviously you will always need to use the include / import statement at the top of your code)
Flash has a cache where it keeps compiled classes.
At times it can be tricky to update the SFS components because of this problem. It seems Flash still uses the old compiled version that it keeps in the cache.
The best way to avoid it is to have a copy of the API in your project folder and load them from there using #include (AS 1) or import (AS 2)
Also make sure to remove from the Macromedia Extension Manager the old APIs, if they are still installed