[flexcoders] Re: How to customize ThousandSeparator to display price in INR format
Hi Dhanasekar as far as i know there is no way to achieve this directly,there is no properies are provided,so you need to derive mx.formatters.NumberFormatter and mx.formatters.NumberBase. Gnanz.../ a href='http://gnanz-flexworld.blogspot.com'Flex Samples/a --- In flexcoders@yahoogroups.com, dhansekarank dhansekar...@... wrote: All, I need to format the below amount in indian rupee(INR) format. Amount: 1000.00 When i use the default ThousandSeparator it return the amount as follows: mx:NumberFormatter id=numberFormatter precision=2 useThousandsSeparator=true thousandsSeparatorFrom=, thousandsSeparatorTo=,/ numberFormatter.format(Amount) --- 1,000,000,000.00 it's in US dollar format i want it as, numberFormatter.format(Amount) --- 1,00,00,00,000.00 it's in INR rupee format Please some one tell me how to do this, by, Dhanasekaran
[flexcoders] Creating Custom Tooltip
Hi i want to show the tooltip with text and image content. but Tooltipmanager.createtooltip() only having the string type argument so i have created one custom class called 'CustomTooltip' Now how to bind this with TooltipManager? Can anybody help me? here is the tooltip component code CustomTooltip code: --- ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; implements=mx.core.IToolTip mx:Script ![CDATA[ [Bindable] public var tvalue:Object; // Implement required methods of the IToolTip interface; these // methods are not used in this example, though. public var _text:String; public function get text():String { return _text; } public function set text(value:String):void { } ]] /mx:Script mx:Image source={tvalue.pic}/-- mx:Form paddingBottom=10 paddingLeft=10 paddingRight=10 paddingTop=10 mx:FormItem label=Date 333: mx:Label text={tvalue.date}/ /mx:FormItem /mx:Form /mx:VBox GnanaPrakasam T a href='http://gnanz-flexworld.blogspot.com'Flex Samples/a
[flexcoders] Re: Error message in debug console?
Normally Security Sandbox Violation errors will come when trying to access local resources. If you are using any server side applcaitions like Java/php means then try tp access the files after creating one applicaiton for Flex Gnanz.../ http://gnanz-flexworld.blogspot.com --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: Hi, I get the following message in debug console,do you know what this means? *** Security Sandbox Violation *** SecurityDomain 'file:///D:/WORKSPACE/Flex Builder 3/Reflex4/bin-debug/TabNavigatorDemo.html' tried to access incompatible context 'file:///D:/WORKSPACE/Flex Builder 3/Reflex4/bin-debug/TabNavigatorDemo.swf' *** Security Sandbox Violation *** Thanks for help Mark
[flexcoders] Re: Prob with CopyTo in AIR[getting File or directory does not exist Error]
Thanks For your comments Kevin. I have finished this by using Loader Gnanz.../ http://gnanz-flexworld.blogspot.com --- In flexcoders@yahoogroups.com, Kevin Benz kb...@... wrote: You need to use the HTTP objects to download the file and save it as a local file. File which creates a reference to the file is incompatible with the stream based HTTP. As I remember, File can only reference the app:// and file:// local protocols. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ursprakash6 Sent: Monday, February 16, 2009 11:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Prob with CopyTo in AIR[getting File or directory does not exist Error] Hi All I'm very new to Adobe AIR,in My sample application i'm trying to copy one image in website to local file system,i got File or directory does not exist error i have tried the below lines of code var vfile:File=new File(http://tinycomb.com/wp-content/uploads/2008/12/adobe-logo.jpg;); var dfile:File=File.applicationStorageDirectory.resolvePath(tempdata/ + video_url); vfile.copyTo(dfile, true); here i'm copying to ApplicationstorageDirestory,this would be any local direstory But i'm gtting File or directory does not exist error fot the above code. Can any one tell me whats wrong with the above code Thanks in Advance Gnanz... http://gnanz-flexworld.blogspot.com -- This message has been scanned for viruses and dangerous content by MailScanner http://www.mailscanner.info/ , and is believed to be clean.
[flexcoders] Prob with CopyTo in AIR[getting File or directory does not exist Error]
Hi All I'm very new to Adobe AIR,in My sample application i'm trying to copy one image in website to local file system,i got File or directory does not exist error i have tried the below lines of code var vfile:File=new File(http://tinycomb.com/wp-content/uploads/2008/12/adobe-logo.jpg;); var dfile:File=File.applicationStorageDirectory.resolvePath(tempdata/ + video_url); vfile.copyTo(dfile, true); here i'm copying to ApplicationstorageDirestory,this would be any local direstory But i'm gtting File or directory does not exist error fot the above code. Can any one tell me whats wrong with the above code Thanks in Advance Gnanz... http://gnanz-flexworld.blogspot.com
[flexcoders] Re: Login / Password Form
Code Source?? Thats not necessary. You can code it by own,thats easy only. just put two TextField,and one button control. In button click event call one actionscript method ,in that get the values in textFields and send the values to backend using either HttpService or RemoteObject Gnanz.../ http://gnanz-flexworld.blogspot.com --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, I am searching a code source exemple for a classical login / password form in a flex application. Did I need absolutely a database to store Passwords ? Thank you, Christophe,
[flexcoders] Re: Upload images
Use FileReference class. detailes sample application is given in the below url you can refer with that. http://kennethteo.com/2007/10/08/uploading-images-using-flex-the-search-finally-done/ Gnanz... http://gnanz-flexworld.blogspot.com --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, I want to Upload images from the user computer into my flex application. Which instruction to use to upload images ? Thank you, Christophe,
[flexcoders] Re: Navigate in Flex application
In Flex you can directly do multipage applications like we do with Html. In Flex multipage applcaitions can be constructed by using states,Viewstack. Viewstack component is the most helpful one in achieving multipage applications. try search for viewstack,you will get more examples from net. Gnanz../ http://gnanz-flexworld.blogspot.com --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote: Hello, I am a new developper in Flex. How to navigate between pages of an application in flex, as we can do in html ? Thank you, Christophe,
[flexcoders] Prob With Remoteobject Timeout in FlexClient -
Hi All, How to change the default Client Timeout in BlazeDS -Remoteobject AMFChannel? We are developing an Application in Flex, we are using the Remoteobject concept to call backend method, in that method we are doing some database related manipulation operations,it will take 3 to 20 minutes approximately. What happening here is remote calling is made successfully and the operations are running perfectly in java side, but the 5 th minute from the remoteobject call is made,the control is returned to flex client[as fault event] and it executing the fault event handler method, though operation is not finished in backend side[its still running] how to override this 5 minute timeout to custom time (in my case its ~50 minutes) Please help me out this Friends This is very urgent the mesage i'm getting in Faultevent (mx.messaging.messages::ErrorMessage)#0 body = (Object)#1 clientId = (null) correlationId = D7300EA9-2865-17DF-7157-B411C50C1276 destination = extendedData = (null) faultCode = Channel.Call.Failed faultDetail = NetConnection.Call.Failed: HTTP: Failed faultString = error headers = (Object)#2 messageId = 5D758FD4-5072-F686-0DF3-B41662EF7CD0 rootCause = (Object)#3 code = NetConnection.Call.Failed description = HTTP: Failed details = https://192.###.###.###:444/samplapp/messagebroker/amf; level = error timestamp = 0 timeToLive = 0 we are using mx.messaging.channels.AMFChannel mx.messaging.channels.SecureAMFChannel in service config Thanks In Advance GnanaPrakasam T.
[flexcoders] RSL with ANT
How can i set the failed_url with the 'rsl' tag in ant file(build.xml ). i have specified the 'framework_3.0.0.477.swf' file as, rsl url=framework_3.0.0.477.swf/ i want to specify 'framework_3.0.0.477.swz' file also anyone know how to do it. Thanks in advance, GnanaPrakasam T