[flexcoders] TextArea ignoring new lines
Hi, I am working on old Flex3 (Cairngorm2) app. One of TextArea's there is completely ignoring new lines (Carriage Return/Line Feed) and even skips some spaces (others work fine). Code is pretty simple (well, little simplified here): ... private function updateText(evt:Event):void { var event:UpdateEvent = new UpdateEvent(UpdateEvent.UPDATE_EVENT); event.myText=myText.text; trace("myText"+event.myText) //added by me event.dispatch(); } I have read about weird behaviors of TextArea (skipping or even doubling some characters) on the net, but so far could not find anything applicable in that case. For example, something likemyText.text.replace("\n", "\r") doesn't change anything. I guess, there is no "\n" there. If I trace, it returns line without newlines (like: 'startskip1lineskip2linesend;'). But if I copy-paste that line to say another TextArea on the screen (or non flex Chat app, I would get multiline text: 'start skip1line skip2lines end; And for various reasons I can't debug that app. Any idea what might be wrong and how to fix it? Please help! TIA, Oleg. P.S.: App connects to SPs in the Database via Web Service. No BlazeDS.
RES: [flexcoders] pdf in flash/flex alternative to flexpaper?
Im looking for a solution like this. If someone get it, please tell me. Thanks. De: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Em nome de grimmwerks Enviada em: sexta-feira, 15 de fevereiro de 2013 13:49 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] pdf in flash/flex alternative to flexpaper? Does anyone have any recommended ways of bringing pdfs into a flash interface where the user cannot get to the actual pdf file? Garry Schafer grimmwerks gr...@grimmwerks.com portfolio: www.grimmwerks.com/
Re: [flexcoders] pdf in flash/flex alternative to flexpaper?
Hi, many years ago I successfully converted specific PDFs (they were all created by the same generator and used a fixed set of fonts and drawing primitives) The pipeline consisted of ghostscript to translate the pdf into uncompressed, a perl script to convert the graphic instructions into ming source, and finally the perl version of ming to create swf. The resulting file is made of lines, areas, and static text.. Of course text could be reconstructed with the help of a decompiler, but it is possible to generate the file so that no character / glyph index relation is present The procedure was a bit tedious, and so the next time the same files were requested, I built a solution that hooked into the publication process even before pdf generation Regards Wolfgang
[flexcoders] pdf in flash/flex alternative to flexpaper?
Does anyone have any recommended ways of bringing pdfs into a flash interface where the user cannot get to the actual pdf file? Garry Schafer grimmwerks gr...@grimmwerks.com portfolio: www.grimmwerks.com/