Re: Flex MySQL Connector

2016-05-25 Thread Tom Chiverton
I'm not familiar with the framework, but maybe you need to call getDate() or similar rather than getString() ? Tom On 24/05/16 19:09, ImadEddine wrote: sorry for englishHi All ... I need helpI'm using asSQL-Beta2.8.swc ... th

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply The Data type is String in Arabic ... when i received ... it transform in '?? ' after decoding bytes i think the problem is in this function getString the https://github.com/weimingtom/assql -- View this message in context: http://apache-flex-users.246.n4.n

Re: Flex MySQL Connector

2016-05-25 Thread Tom Chiverton
Have you inspected the raw bytes to see what they are encoded as before they are returned ? It seems logging an issue with the ASSQL project on GitHub may be more productive ? On 25/05/16 08:22, ImadEddine wrote: Thanks for your reply The Data type is String in Arabic ... when i received ..

Re: Flex MySQL Connector

2016-05-25 Thread Paul Hastings
On 5/25/2016 2:22 PM, ImadEddine wrote: Thanks for your reply The Data type is String in Arabic ... when i received ... it transform in '?? ' after decoding bytes question marks mean the encoding is wrong. encoding mismatch between your app & the way the data is stored in that table.

Re: Flex MySQL Connector

2016-05-25 Thread OK
For me also it seems that this is an "Character Encoding Issue". Probably a latin string works? I don't know the "asSQL" lib, maybe you could set a default Character Set for your MySql connection? Olaf -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL

Re: Flex MySQL Connector

2016-05-25 Thread OK
To be able to dissolve the encoding mismatch perhaps this is helpful: http://dev.mysql.com/doc/refman/5.7/en/charset-convert.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/charset-codes.html http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/Byt

Re: Flex MySQL Connector

2016-05-25 Thread OK
Are you sure that the 'charSet' inside 'getString()' contains 'UTF-8' ? Olaf -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL-Connector-tp12744p12759.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

Re: Flex MySQL Connector

2016-05-25 Thread OK
ImadEddine wrote > charSet="utf8"/> Maybe you have to pass "utf-8" instead of "utf8" (notice the hyphen) to charSet? Olaf -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL-Connector-tp12744p12761.html Sent from the Apache Flex Users mailing list arch

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply No problem when i insert data (this data in Arabic inserted from my flex application) only when i get data (select * from myTable) about issue with the ASSQL project a set of issues doen't replyed since a long time ago -- View this message in context: http://apach

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply in this part look photo : "if ( charSet == "utf-8" ) {" at getString function charSet received "utf-8" --> the Right part was "utf8" i change it to "utf-8" but in the 2cases the same result (???) before this i don't know ... i am just like beginner in flex -- the bytes

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply in Declaration bloc : -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL-Connector-tp12744p12757.html Sent from the Apache Flex Users mailing list archive at

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply Yes i am sure -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL-Connector-tp12744p12760.html Sent from the Apache Flex Users mailing list archive at Nabble.co

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
The original code like this: if ( charSet == "utf8" ) { // not "utf-8" out = rowData.readMultiByte(colLengths[colIndex], "utf-8"); } else { out = rowData.readUTFBytes(colLengths[colIndex]); // this instruction execut

Re: Flex MySQL Connector

2016-05-25 Thread leokan23
I am not sure if this will help. I had the same problem when trying to create, update and select, containing Greek characters. I was using ZendAMF as a service with php, selecting data stored in mySQL. In my php class, i added the following line: mysqli_query($this->connection, "set names utf8")

Re: RTE on RTE

2016-05-25 Thread jude
It looks that way. AlignTool is based on ButtonBarButton. When the dataProvider is set it dispatches a "dataChange" event type as a regular Event instead of a FlexEvent as you said. The ButtonBarButton class expects it as a FlexEvent: [Event(name="dataChange", type="mx.events.FlexEvent")] So the

Re: RTE on RTE

2016-05-25 Thread jude
As a workaround you can remove the dataChange event listeners on each of the ButtonBarButtons in spark.skins.richTextEditorClasses.AlignToolSkin class. On Wed, May 25, 2016 at 6:59 AM, jude wrote: > It looks that way. AlignTool is based on ButtonBarButton. When the > dataProvider is set it dispa

Grouping arrayCollection

2016-05-25 Thread jfb
Hi All, I have this array collection: public var myAC:ArrayCollection = new ArrayCollection([ {name:"A", code:10, fy2014:50, fy2015:100}, {name:"A", code:10, fy2014:150, fy2015:250},

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
The conclusion : The First get (SELECT * FROM MYTABLE) --> I received '??' as you have seen The 2nd get --> I received 'عماد الدين' when you SELECT a DATA from database ... must be contains Arabic character in the first time else the same result '?' after applied this idea

Re: Flex MySQL Connector

2016-05-25 Thread maimoy
I had similar problems with Greek characters and MySql database server that i used through weborb for java. I resolved it by adding some more parameters in the creation of sql connection I am copying the part of cql connection string that resolved my ptoblem Check yours if it has the useUni

Re: Flex MySQL Connector

2016-05-25 Thread ImadEddine
Thanks for your reply I have just discovered something strange ... in this panel like this : -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-MySQL-Connector-tp12744p12764.html Sent fr

[FLEXJS] Cordova Update

2016-05-25 Thread Peter Ent
Hi, I've created a new Wiki to address using Cordova and FlexJS with Flash Builder[1]. I created a couple of launch configurations for Flash Builder which will be installed with FlexJS. One configuration builds your FlexJS application into a Cordova application (for the Android platform, but it