[flexcoders] Re: Problem reading German characters from XML

2008-01-27 Thread gers32
I've solved a similar problem by converting my Windows-1252 content stored in an Oracle database to UTF-8, directly in the SQL query like this (the actual method name might be different for your particular database): SELECT CONVERT( CODE, 'UTF8', 'WE8MSWIN1252' ) AS CODE, ... Hope this helps,

RE: [flexcoders] How to dispatch an event on 2 levels

2008-01-27 Thread Alex Harui
Essentially, I don't think you can call nextId(), it has to be a request that dispatches an event when the id comes back from the server. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of PremierNEWS Sent: Sunday, January 27, 2008 4:00 AM

RE: [flexcoders] Re: Resize Event Complete

2008-01-27 Thread Alex Harui
I don't use Vista, so I don't know what "switch users" means. Could it be that the SWF gets reloaded? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jmfillman Sent: Saturday, January 26, 2008 11:54 PM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders] Gauge, Dial, or Speedometer component

2008-01-27 Thread Alex Harui
Try Peter Ent's blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Sunday, January 27, 2008 2:56 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Gauge, Dial, or Speedometer component I have one that I

RE: [flexcoders] Right way to customize drag/drop between two DataGrids?

2008-01-27 Thread Alex Harui
Make sure you are calling event.preventDefault to keep the DG from executing its default behavior. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David_M_Barrett Sent: Sunday, January 27, 2008 7:09 AM To: flexcoders@yahoogroups.com Subj

RE: [flexcoders] Re: Yahoo Maps AS3 integration problem

2008-01-27 Thread Alex Harui
The workaround is a proxy server. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay Sent: Sunday, January 27, 2008 10:13 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Yahoo Maps AS3 integration problem I put the

[flexcoders] Re: Yahoo Maps AS3 integration problem

2008-01-27 Thread aceoohay
I put the following in both the AS file that does the BitmapData/Draw () as well as the module that renders the map; Security.loadPolicyFile('http://us.maps1.yimg.com/crossdomain.xml'); I believe the problem is on the yahoo side since their crossdomain.xml file contains; I assume tha

Re: [flexcoders] Yahoo Maps AS3 integration problem

2008-01-27 Thread Sherif Abdou
try a crossDomain file - Original Message From: aceoohay <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, January 27, 2008 11:39:22 PM Subject: [flexcoders] Yahoo Maps AS3 integration problem I am adding Yahoo maps to an existing application. Everything seems to be work

[flexcoders] Yahoo Maps AS3 integration problem

2008-01-27 Thread aceoohay
I am adding Yahoo maps to an existing application. Everything seems to be working swimmingly. This application has a generic feature for all panels that allows the user to e-mail the panel to another user. To do this the application grabs the image of the panel using the BitmapData/draw() funti

[flexcoders] How to customize the effect in lineChart when showDataTips?

2008-01-27 Thread mepine
I'm trying to customize the effect just like Google's. Look at here to see the screen shot of Google's lineChart. The data item grow larger when mouse roll over it, rather than obey the default effect. How can i get it or by w

[flexcoders] Role based rendoring of MXML components - visibility and editability

2008-01-27 Thread cool.king08
Hi I need some help regarding role based access control mechanism at the view level i.e on flex components.My requirement is simple - I have flex page which has many controls like buttons, combox, textinput etc. The users who access the page are grouped by roles. I want limit access to compone

[flexcoders] Right way to customize drag/drop between two DataGrids?

2008-01-27 Thread David_M_Barrett
I have two DataGrids, the "menu" and the "receipt". I want to be able to: 1) Add items to the receipt by dragging from the menu 2) Remove items from the receipt by dragging back to the menu With the following constraints: a) The menu should never change b) A receipt can never contain more than

[flexcoders] Invalid login with LCDS RemoteObject custom authentication

2008-01-27 Thread Rod
Hello I'm trying to secure a service used with LCDS through a RemothObject but I always get an invalid login. Here is my config. I'm using Tomcat 5.5.25 with a tomcat-users.xml like this : In my remoting-config.xml : service

[flexcoders] Invalid login with LCDS RemoteObject custom authentication

2008-01-27 Thread mammut_02
Hello I'm trying to secure a service used with LCDS through a RemothObject but I always get an invalid login. Here is my config. I'm using Tomcat 5.5.25 with a tomcat-users.xml like this : In my remoting-config.xml : services.SimpleService

[flexcoders] multiple attempts to load socket security file

2008-01-27 Thread Dmitri Girski
Hi folks, I've just bumped into the following problem: FP loads the SWF which tries to make the connection on the same server the file was loaded from and port 843. If there is a server running everything is fine. If server is down Flash Player attempts to connect on the 843 port, attempt fails as

Re: [flexcoders] Problem sending swedish characters from flex to php (amfphp)

2008-01-27 Thread Max Frigge
Hey, have you checked the charset settings in your gateway.php?? cheers, Max - Original Message From: ericbichara <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Monday, January 28, 2008 6:59:30 AM Subject: [flexcoders] Problem sending swedish characters from flex to php (amfp

RE: [flexcoders] Math Involvment in Flex

2008-01-27 Thread Matt Chotin
Is there a particular area you're looking at? For example some numbers may be pre-calcuations of certain constants that are appropriate for trigonometric equations, others that are in the skins may just be based on experimentation. I think if you look a the charts code there's going to be a lot o

[flexcoders] Re: Destination not found error with liveCycle DS and Flex

2008-01-27 Thread flexuser1
Thanks for the help Jeff Vroom

[flexcoders] Math Involvment in Flex

2008-01-27 Thread Sherif Abdou
now i have never taken a CS course in my life and Flex/ActionScript is the first programming Langauge/IDE i ever used but i noticed that there is a lot of calculations going on behind the scenes and numbers like .083 and .21 etc.. used. Now are these numbers part of forumlas or is it basically j

RE: [flexcoders] Gauge, Dial, or Speedometer component

2008-01-27 Thread Kevin Aebig
I have one that I created that I'll post. It's a little rough around the edges, but it works well. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rob Rusher Sent: Friday, January 25, 2008 4:19 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

Re: [flexcoders] Problem sending swedish characters from flex to php (amfphp)

2008-01-27 Thread Ben Marchbanks
What I have learned is that the best practice is to enforce UTF-8 encoding at every stage - What I do: Setup mySQL "character set" and "collation" to - UTF-8 unicode I have not worked with AMFPHP but using PHP I establish UTF-8 encoded at the beginning of all PHP scripts that handle data. ic

[flexcoders] IContainer Issue?

2008-01-27 Thread Im-At-Home [EXC]
Guys, any chance that you can explain how to use the IContainer implementation - seems that its just for you guys but being honest would love to use this. Any chance you could explain the implementation pls? im having an issue where the framework complains regarding childDescriptors. K

[flexcoders] Problem sending swedish characters from flex to php (amfphp)

2008-01-27 Thread ericbichara
Hi all, Im having some problems sending special characters (swedish characters ä, ö, and å) from Flex to a Database through AMFPHP. When inserting these types of characters directly from php in the database, everything works fine. ie INSERT INTO TABLEX VALUES ('äää'); And fetching from t

RE: [flexcoders] XML to ArrayCollection

2008-01-27 Thread Tracy Spratt
On thing that trips up a lot of folks is that the default resultFormat of the RPC protocols is "object". This causes the result xml to be converted to a nested object structure, which converts xml lists to arrays of objects. Using mx:Model does the same thing. So an expression like "xmldata. ite

Re: [flexcoders] XML to ArrayCollection

2008-01-27 Thread Sherif Abdou
I think you may have to iterate for the Child nodes but try ArrayUtil.toArray(xmldata.items.item); - Original Message From: M.Javed <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, January 27, 2008 7:26:56 AM Subject: [flexcoders] XML to ArrayCollection Hi, I have to c

Re: [flexcoders] capture ctrl+tab and ctrl+f4 on Explorer

2008-01-27 Thread Sherif Abdou
No, there is no way to cancel these event. - Original Message From: Jesús Iglesias <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, January 27, 2008 2:57:30 AM Subject: [flexcoders] capture ctrl+tab and ctrl+f4 on Explorer Hi, I have made an app with a SuperTabNaviga

Re: [flexcoders] Remove Drop Insertion Artifact after dragDrop Operation?

2008-01-27 Thread Sherif Abdou
trry calling event.updateAfterEvent(); after the drop - Original Message From: Kevin <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, January 27, 2008 1:09:27 AM Subject: [flexcoders] Remove Drop Insertion Artifact after dragDrop Operation? Does anyone know how to clean

Re: [flexcoders] Re: Error 1009 When Calling a WebService

2008-01-27 Thread Sherif Abdou
this could help http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1292101&forumid=60 but if i were to guess remove all the xml in the NDFDgenByDay and start working up one by one to see what is wrong. Change Latitude to string and in the PHP and see if it goes throug

[flexcoders] Re: HorizontalList questions

2008-01-27 Thread Dmitri Girski
Hi Sherif, Sorry, I can't find the event horizontalScrollPolicyChanged in the SDK help. The only link to it is the Flex3 bug that it does no work: http://bugs.adobe.com/jira/browse/SDK-14236 Thanks! Dmitri. --- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote: > > there is

[flexcoders] Re: HorizontalList questions

2008-01-27 Thread Dmitri Girski
Thank you, Alex! viewMetrics solved the problem. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > 1. You could check for a change to the viewMetrics on every > updateComplete event. > > > > 2. Unless you get the columnWidth and rowHeight just r

[flexcoders] XML to ArrayCollection

2008-01-27 Thread M.Javed
Hi, I have to convert from XML or XMLList to ArracyCollection. I have found an example but its not working, example is pasted below, -- The value for source is the name of the model (xmldata), the name of the XML's root no

[flexcoders] Re: Error 1009 When Calling a WebService

2008-01-27 Thread arignote
I've been having the same problem. Here's my web service. http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php? wsdl" endpointURI="http://www.weather.gov/forecasts/xml/SOAP_server/ndfdXMLserver.php"; service="ndfdXML" makeO

[flexcoders] Re: Setting ComboBox selection in a Data Grid

2008-01-27 Thread grendel19320
Lots of great ideas in there! Thanks much!

[flexcoders] Dynamic loading of ResourceBundle textual content (not compiled ResourceBundle)

2008-01-27 Thread mydarkspoon
Hello, I'm using moxie localization capabilities lately and I was wondering if anyone ever made a kit that dynamically load the resource bundles textual content. The resource manager does great job of loading compiled ResourceBundles, yet, sometimes, the one that changes the .properties file has n

[flexcoders] How to dispatch an event on 2 levels

2008-01-27 Thread PremierNEWS
Hello, i've Database.as class that manages the connection to database and send/retrieve queries and results. It, only, uses SQL classes. For example import flash.events.SQLErrorEvent; import flash.events.SQLEvent; import flash.filesystem.File; import mx.rpc.events.FaultEvent; import mx.rpc.

[flexcoders] capture ctrl+tab and ctrl+f4 on Explorer

2008-01-27 Thread Jesús Iglesias
Hi, I have made an app with a SuperTabNavigator where I catch ctr+tab and ctrl+f4 events so you can navigate through the Tabs with keyboard. The problem is it works fine on firefox but on Explorer7 that events dispath default browser actions (close tab and change tab onbrowser). Is there a way