Hello
I'm using FCKEditor with the latest AIR release, just load the sample01.html in the adobiair dir and i can see the editor with ok the buttons i can click on some of then
they open popup but i cannot write inside, it doesnt get the focus to let me type something, even the
oFCKeditor.Value = '<p>FCKeditor is in the <strong>AIR</strong>!<\/p>' ;
is not working the textarea il empty.
I've tried to putv FCKConfig.Debug = true and FCKConfig.StartupFocus = true ; but nothing.
another question: are there any events that i can listen to registering a callback? like text changed , focus in, ecc...
thanks
PAolo
I'm using FCKEditor with the latest AIR release, just load the sample01.html in the adobiair dir and i can see the editor with ok the buttons i can click on some of then
they open popup but i cannot write inside, it doesnt get the focus to let me type something, even the
oFCKeditor.Value = '<p>FCKeditor is in the <strong>AIR</strong>!<\/p>' ;
is not working the textarea il empty.
I've tried to putv FCKConfig.Debug = true and FCKConfig.StartupFocus = true ; but nothing.
another question: are there any events that i can listen to registering a callback? like text changed , focus in, ecc...
thanks
PAolo
Re: FCKEditor and Adobe AIR
I've tested it with a really simpe Air application
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:HTML x="10" y="10" location="file:///path_to/fckeditor/_samples/adobeair/sample01.html" />
</mx:WindowedApplication>
no way to insert text
Paolo
Re: FCKEditor and Adobe AIR
Debbugging the applications and capturing the uncaughtScriptException event of the HTML control I can see that this event is fired with these values:
Line: 67
Message: Permission Denied
Source URL: file:///C:/path_to..../fckeditor/editor/js/fckeditorcode_gecko.js
so something related to AIR security model?
Re: FCKEditor and Adobe AIR
and changed the location attribute this way:
location="app:/fckeditor/_samples/adobeair/sample01.html"
Paolo
Re: FCKEditor and Adobe AIR
when you moved to application folder, did all features work?
In my case what happened was Bold, Italic,Underline and strikeout didn't worked?
when i select few letters, then only it works and when there are no selected letters, it doesn't work.
Also underline and strikeout doesn't work simultaneously.
Any ide?
A help is appreciated.
regards