I upgraded from Flex SDK 3.1/AIR 1.1. Using the exact same code to instantiate the FCKeditor, returns this error:
ReferenceError: Can't find variable: FCKeditor
The code that I use to instantiate the FCKeditor is below. I did nothing else, but upgrade my Flex/AIR versions. The exact same code worked in the previous versions. Is there something different that needs to be done. Oh, I am using version 2.6.3 of FCKeditor. Any thing I am doing wrong or what?
Thanks.
private var moderatorTextFckEditor:String = '<head>' +
'<script type="text/javascript" src="../fckEditor/fckeditor.js"></script>' +
'<style type="text/css">' +
'body { margin: 10px ; }' +
'</style>' +
'</head>' +
'<body>' +
'<script type="text/javascript">' +
'var sBasePath = "../fckEditor/";' +
'var oFCKeditor = new FCKeditor( "ModeratorTextFCKEditor" ) ;' +
'oFCKeditor.BasePath = sBasePath ;' +
'oFCKeditor.Height = 400 ;' +
'oFCKeditor.Create() ;' +
'</script>' +
'</body>' +
'</html>';
ReferenceError: Can't find variable: FCKeditor
The code that I use to instantiate the FCKeditor is below. I did nothing else, but upgrade my Flex/AIR versions. The exact same code worked in the previous versions. Is there something different that needs to be done. Oh, I am using version 2.6.3 of FCKeditor. Any thing I am doing wrong or what?
Thanks.
private var moderatorTextFckEditor:String = '<head>' +
'<script type="text/javascript" src="../fckEditor/fckeditor.js"></script>' +
'<style type="text/css">' +
'body { margin: 10px ; }' +
'</style>' +
'</head>' +
'<body>' +
'<script type="text/javascript">' +
'var sBasePath = "../fckEditor/";' +
'var oFCKeditor = new FCKeditor( "ModeratorTextFCKEditor" ) ;' +
'oFCKeditor.BasePath = sBasePath ;' +
'oFCKeditor.Height = 400 ;' +
'oFCKeditor.Create() ;' +
'</script>' +
'</body>' +
'</html>';
Re: Flex 3.2 and AIR 1.5 issue
Hi,
i don't have a answer to you question, just a question of my own
how did you implement FCKeditor in Flex app ?
i tried that AIR sample you get with FCKeditor but there is no MXML there or anything especially useful.
Alexander
Re: Flex 3.2 and AIR 1.5 issue
Re: Flex 3.2 and AIR 1.5 issue
I going through the exactly the same problem "ReferenceError: Can't find variable: FCKeditor" with the same setup...
I really dont know what else to do to fix this. I guess its a mather of air1.5 understanding relative paths...
Did anyone find the answer?
Any help would be highly appreciated. Many thanks in advance!
Daniel