Re: [flexcoders] Input formatter?
Ok, cool... Thanks Scott... I was hoping there'd be a built in way that I can apply to different objects, I'm using it on the DateField object... I'll check that link out and have a hunt around... Nick On 7 July 2010 04:23, Scott h...@netprof.us wrote: Sorry, my bad. I missunderstood. You’ll need to either extend the textinput or use a custom component already created for this. I’ve seen a few but I can’t find the one I used last winter… I did find this one on Adobe. It’s for 2.01 but it should work ok. http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailextid=1049969 GL. Sj
[flexcoders] Re: Decoding output of Flex Base64encoder in C++
I'm not concerned so much with the speed of encoding on the client side as much as correctness. So, unless the SDK Base64encoder is faulty, I'd like to stick with it. My real concern is how to properly decode the base64 string it produces on the server. I've tried a number of C/C++ libraries and have yet to find one that decodes text files and binary files encoded by Flex (or I'm doing something very wrong). --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: http://blooddy.by/en/ I'd recommend this library instead, it is much faster then the one from the SDK. I had taken part in testing it, but I'm not the author. I had written however Base64 implementation (very similar to the one in the library), and it's fairly basic. You can find it here if you want: http://code.google.com/p/e4xu/source/browse/trunk/haxe/src/org/wvxvws/encoding/Base64.hx It is written in HaXe, but it compiles to ActionScript bytecode (it is easier to use memory opcodes this way / in general the bytecode emitted by HaXe is more optimized) .
Re: [flexcoders] Decoding output of Flex Base64encoder in C++
On Tuesday 06 Jul 2010 16:00:08 you wrote: point me to a C++ library or implementation of base64 decode that works with Adobe Flex Base64encoder? What RFC does the Flex encode/decode implement? Would it not be fairly easy to figure this out by sending through files that are just a few bytes long and seeing what it makes of them ? -- Tom Chiverton Helping to collaboratively network customized meta-services as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
Re: [flexcoders] HTTP Session is lost in IE8 when SWF is opened in J2EE Web Application...
Is your application running in a frame / iframe. When you say it only happens in IE8, how many different browsers have you tested on. Is the privacy level set to high? If it is you will lose session cookies. Are you sure your flex application is being loaded from exactly the same domain and the same protocol as the parent jsp's. All of these things can make a difference to session handling. On Mon, Jul 5, 2010 at 1:07 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: Hi again, No idea what goes wrong but you could try appending the jsessionId in the channelset channel's url / uri On Fri, Jul 2, 2010 at 9:12 PM, Jitesh Shah sjit...@gmail.com wrote: Web Server: Tomcat 6.x Java Version 1.6 1. Below is the way remote calls are implemented mx:RemoteObject showBusyCursor=true id=remoteObjectGetWidgetData destination=processData result=resultHandlerGetWidgetData(event) fault=faultHandler(event)/ In script we have, remoteObjectGetWidgetData.channelSet = Application.application.channelSet; remoteObjectGetWidgetData.processXmlData(inputParam1, inputParam2, inputParam3); Now our product is in J2EE and this one component is development in Flash (It's basically Dashboard component displaying various graphs). So user punches out to this Dashboard (basically opens a new window) and user work on this to do some analysis. Let's after couple minutes when tries to access the main application (without even closing Dashboard Flash component), it redirects them to Login due to no session object is found. I can even recreate this issue by just clicking on Dashboard and go back (ALT-TAB) to my application and click any option in my application and session is lost. Timeout for this J2EE application is set to 60min. * Thanx and Regards -- Jitesh Shah, PMP * On Fri, Jul 2, 2010 at 1:35 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: In my case there is no need to do that with remote calls ... It seems that the sessionId is send correctly even in IE. You could manually get the connection url of RemoteObject and append the session id (in the form of ;jsessionid= NOT ?jsessionid=) or programmatically create the remoteObject and add the jsessionid param Are you sure thought that it is a missing session problem? Did you use something like Charles to see your amf calls? Just asking because we do not have this problem here... We only use this with file uploads because these NEED the sesion id 100% in IE On Fri, Jul 2, 2010 at 8:21 PM, Jitesh Shah sjit...@gmail.com wrote: 1. Remote/AMF 2. How can I append sessionid to the Remote/AMF call Thanx and Regards -- Jitesh Shah, PMP On Fri, Jul 2, 2010 at 1:06 PM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: What are you using to talk with your server RPC/AMF , web services , http calls? You could try manually appending the jsession id to the call... On Fri, Jul 2, 2010 at 7:56 PM, shahjitesh sjit...@gmail.com wrote: This issue is specific to IE8 browser (in non-compatible mode) 1. Application is developed in Flex 3.5, BlazeDS 2. When SWF is opened from JSP (in New Window) and any option in our application is clicked it send the control to Login Page (as Session Object is not found) Has anyone came across this issue or any hints for resolving the issue would be much appreciated. -- Fotis Chatzinikos, Ph.D. Co-Founder, LivinData Technologies www.styledropper.com fotis.chatzini...@gmail.com,
[flexcoders] RichEditableText scrolling problem
Hi All, I'm having a bit of an issue when using the RichEditableText component in Flex 4. Using the following code I'm populating the textFlow with 3 lines of data. However, when I try scrolling the text only the first and last lines are actually displayed, the middle line seems to vanish completely. If I copy the text and paste it into notepad or the like all 3 lines are actually in the RichEditableText textfield. s:RichEditableText id = txtDescription heightInLines=1 editable=false selectable=true textFlow= {TextFlowUtil.importFromString('lt;spangt;'+ ((dataGridListData.label).toString()) + 'lt;\/spangt;', WhiteSpaceCollapse.PRESERVE)} paddingLeft = 2/ Any clues as to what's going on would be helpful. Thanks in advance, Kev
[flexcoders] TabNavigator styles not being applied (flex4)
Anyone know why styling is not being applied to this Flex4 example (a modified example from livedocs)? thanks s:Application xmlns:fx=http://ns.adobe.com/mxml/2009; xmlns:s=library://ns.adobe.com/flex/spark xmlns:mx=library://ns.adobe.com/flex/mx s:layout s:VerticalLayout verticalAlign=middle horizontalAlign=center/ /s:layout fx:Style @namespace s library://ns.adobe.com/flex/spark; @namespace mx library://ns.adobe.com/flex/mx; .myTabs { cornerRadius: 4; fillColors: #99, #cc; } /fx:Style s:Panel title=TabNavigator Container Example height=90% width=90% s:layout s:VerticalLayout paddingTop=10 paddingLeft=10 paddingRight=10 paddingBottom=10/ /s:layout mx:TabNavigator id=tn width=100% height=100% tabStyleName=myTabs s:NavigatorContent label=Panel 1 s:Label text=TabNavigator container panel 1/ /s:NavigatorContent s:NavigatorContent label=Panel 2 s:Label text=TabNavigator container panel 2/ /s:NavigatorContent s:NavigatorContent label=Panel 3 mx:Label text=TabNavigator container panel 3/ /s:NavigatorContent /mx:TabNavigator /s:Panel /s:Application
Re: [flexcoders] Decoding output of Flex Base64encoder in C++
Adobe encoder can conditionally ad linebreaks, that is all the difference between all RFCs basically. But, honestly, Base64 is a very simple algorithm, if you are not concerned about performance, let's say and you had started writing it at the time you've posted you would have a dozen of different implementations by now. It is really really simple.
Re: [flexcoders] HTTP Session is lost in IE8 when SWF is opened in J2EE Web Application...
Thanx everyone. Was able to resolve the issue by explicing specify the secure channel to be used. Once the issue was not using amf-secure channelset and other time the issue ws point to amf instead of amsecure. In config file it was correct but since we switch dynamically for our product implementation things got messed up. Thanx and Regards -- Jitesh Shah, PMP
[flexcoders] Integrating Flex app in cfm page
Hi, I have a flex application in a cfm wrapper. The coldfusion page has the header and footer and the swf is wrapped in between. Everything works fine, but the scope of the swf is just inside of the header and footer as it is embedded. The problem is, when there is a popup on the swf, the scope of that is only in the swf, i can't move the popup window over the header or footer, limiting the area on the screen. Is there any setting that would make the swf standout, make the entire screen use by the swf ? Thank you, Goutham
[flexcoders] Loading animation between LCDS page fetched
Hi, I need to show a loading animation while scrolling in a LCDS paging enabled datagrid. Is there a way to know when a new page is requested in flex while scrolling? and when data is returned back? Regards, Aasim
[flexcoders] User Interface Design Groups
Hi, I've been working on a little composite search UI component but it needs polishing off and I wondered if there were any groups out there that could help with this sort of thing? Does anyone know of any? Cheers, Nick
[flexcoders] Data Binding different data types?
Hi - I was working through this tutorial on data binding but the code won't compile due to a data type conflict http://www.artima.com/articles/two_way_binding.html The 2-way binding on the text field throws the error since it is trying to bind the text property (String) to a value of Number (the 'converter.fahrenheit' property). s:TextInput text=@{converter.fahrenheit}/ Is the tutorial wrong or missing some code? I've tried casting it as a String or converting but doesn't work (logically - since it's 2-way). --Roy -- - http://www.roypardi.com/
Re: [flexcoders] User Interface Design Groups
nick, i know the perfect group, its called flexcoders. ...or flashcoders. most flash platform developers come from a design background and have a passion for the best UI experience. so post it here!! :) design and UI xp IS part of the flash platform... On Wed, Jul 7, 2010 at 1:27 PM, Nick Middleweek n...@middleweek.co.ukwrote: Hi, I've been working on a little composite search UI component but it needs polishing off and I wondered if there were any groups out there that could help with this sort of thing? Does anyone know of any? Cheers, Nick
[flexcoders] Re: Decoding output of Flex Base64encoder in C++
Would it not be better if you kept your snide comments to yourself? Seriously, get over yourself. I only posted to flexcoders after extensive trial and error. If it was the simple (for me), I'd have done it already. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Tuesday 06 Jul 2010 16:00:08 you wrote: point me to a C++ library or implementation of base64 decode that works with Adobe Flex Base64encoder? What RFC does the Flex encode/decode implement? Would it not be fairly easy to figure this out by sending through files that are just a few bytes long and seeing what it makes of them ? -- Tom Chiverton Helping to collaboratively network customized meta-services as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Custom Tree Renderer with Advanced Data Grid
I have a custom tree renderer I've created. I'd like to use it inside of the Advanced Data Grid, but cannot seem to find a way to use it. I've tried setting the ADG item renderer, also tried just setting the column item renderer but neither seem to work. Is it possible to do this? I'm using Flex 4. Any pointers are appreciated. Thanks.
[flexcoders] Re: Decoding output of Flex Base64encoder in C++
I must have slept through that class. So, if it is really simple, can you provide some assistance with an example that works with Flex Base64encoder (in C/C++)? I've tried a number of libraries (including modpbase64 -- used by Google Chrome and Google Gears), and can only get decoding of text files to work. --- In flexcoders@yahoogroups.com, Oleg Sivokon olegsivo...@... wrote: Adobe encoder can conditionally ad linebreaks, that is all the difference between all RFCs basically. But, honestly, Base64 is a very simple algorithm, if you are not concerned about performance, let's say and you had started writing it at the time you've posted you would have a dozen of different implementations by now. It is really really simple.
Re: [flexcoders] Re: Decoding output of Flex Base64encoder in C++
Hey... HaXe compiles to CPP... all you need is just to compile it to flash and CPP, that's it... well, almost, flash memory uses big endians, so you may want to remove the flipping of the first and third bytes in decode function, and, of course, don't use Memory.select() when compiling to CPP (that's flash specific)... I think I'll update that version to compile to CPP w/o extra editing.