I know xJSFL will be awsome. But I can't install it success .
Flash CS 5(language:zh-cn), Win XP(language:zh-cn).
When I open Flash IDE, and db-click "xJSFL/install.jsfl", nothing happen.
Then I try another way: open "xJSFL/core/install/install.jsfl" in Flash IDE, and run it by click the "run button", then I saw the xJSFL swf panel. Then I restart the Flash IDE and open the “xJSFL Snippets" panel, and got this in output panel:
"TypeError: xjsfl.init is not a function".
Because my operating system and FlashIDE are both "zh-cn", so is xJSFL only work on English operating system?
Hey there,
Great to see xJSFL making it all the way to China! There shouldn't be anything inherant in the framework that would limit it to a particular region (I'm not sure if there would be issues with double-byte characters; I'm really guessing) but let's try working through a few things.
1.If you update xJSFL/install.jsfl to this...
var uri = fl.scriptURI.replace(/[^\/]+$/, '') + 'core/install/install.jsfl';
fl.trace('Running "' +FLfile.uriToPlatformPath(uri)+ '"');
fl.runScript(uri);
...does the path printed to the output panel point towards the actual install file? I'm surprised that nothing ran.
2. Do you get the entire bootstrap messages as illustrated here: http://www.xjsfl.com/support/setup/quick-start/installation ?
3. What happens if you set up Komodo then type and run...
xjsfl.init(this)?
... do you get the message
> xjsfl: initializing...
... ?
4. What happens if you run the JSFL:
for(var i in xjsfl)
{
fl.trace(i + ' : ' + xjsfl[i]);
}
Do you get an Output panel full of xJSFL objects?
If you don't have any luck, feel free to grab me on Skype and we can do a screenshare; my id is "dave [at] xjsfl [dot] com" (obviously replacing the [ ] tokens for real symbols)
Hi, I found the "fl.runScript" fail because the splash text at header of the .jsfl file. I don't know it's correct call it "splash text header", What I mean is like this in the "core/install/install.jsfl":

When I open the "core/install/install.jsfl" in Flash IDE and click "run button", it run success. But when I use "fl.runScript" to run it, it just run fail and not any error is thrown. I know this is crazy, but I think the "fl.runScript" may have some trouble when it read the splash text header.
So I try search all the splash text header in xJSFL komodo project, and replace them will "". And try re-run the "install.jsfl". And restart the Flash IDE. Finally, I saw the "> xjsfl: ready!" int output panel!
Wow... that is weird.
Does everything in the framework seem to work apart from that?
For example, did you manage to do this tutorial OK?
http://www.xjsfl.com/support/tutorials/scripts/script-basics
Whatever is happening, it looks like the xJSFL classes either aren't being loaded from disk properly, or aren't being stored / retrieved from the extension properly.
I'm on skype now if you can get on in the next 10 mins, then we can work through the code interactively.
If not, I will be back on again about 9:30 GMT.