Re: I'm struggling with RemoteObject (AMF)

2020-07-03 Thread contact
o Ferreira a écrit : I'm struggling with RemoteObject (AMF). Trying to contact from Royale: https://drive.google.com/file/d/19MQ1yFYxWMPCmPGw-9FsHoHVYmGzG7oh/view?usp=sharing Trying to contact from Flex: https://drive.google.com/file/d/1J2M__rxQzwOayoNr2e96xrmryptxFsne/view?usp=sharing Roy

Re: I'm struggling with RemoteObject (AMF)

2020-07-03 Thread contact
ops[0]; var t:AsyncToken = _ro.getOperation(ops[1]).send(args); t.addResponder(r); } Regards Fred Le 03.07.2020 02:11, Hugo Ferreira a écrit : I'm struggling with RemoteObject (AMF). Trying to contact from Royale: https://drive.google.com/file/d/19MQ1yFYxWMPCmPGw-9FsHoHVYmG

Re: Youtube Video embeding

2020-07-29 Thread contact
Hi All, I see a lot of usefull knowlege in this thread and others (on chart component etc...). Unfortunaly this is not well indexed by search motors. For exemple search for "apache royale video play", the first result will be on stackoverflow. (https://stackoverflow.com/questions/58512563/how

Re: Youtube Video embeding

2020-07-29 Thread contact
Hi Carlos, Thanks for your reply. The fact is I didn't know about UIBase and iFrame. Is there a example somewhere how to use it ? Regards Le 29.07.2020 18:27, Carlos Rovira a écrit : Hi Fref, I'm all for SOF as you know since I think it is a good place to find answers and could be a w

Re: Releasing: Finally giving up

2020-03-26 Thread contact
Hi Guys, I'm a lover of Flex dev guy since more than 10 years, been members of Flex group on Montpellier (France) at golden age of Flex and go at all conferences when Michaël Chaize came to Montpellier (and using Flex every day). First of all I want to thank every one of you for your hard work,

Re: [DISCUSS] Coming back to collect requirements for the release process

2020-04-01 Thread contact
Hi Guys, I'm just a user, look at the date on this link : https://royale.apache.org/apache-royale-v0-9-6-released/ => October 8, 2019 ! Soon six month, ask users if they want a new release asap : +1 for me Go ahead, thanks for your hard works and long life to Apache royale :-) Le 01.04

Re: Broken royale-config in JS only build of released Apache Royale SDK 0.9.6

2019-10-10 Thread contact
Hi Guys, I would share my experience and feelings as a new and fresh user on Apache Royale, hope it will help... The background : I'm a Flex developper since about 10 years. I love it because for me it's (was...for flashplayer) the fastest way to do something that would have same render on al

[Discuss] DataGrid DataGridColumn basic component

2019-10-21 Thread contact
Hi Guys, I try to get a DataGrid working. Tried basic and express one, the basic is the one wich seem working except that we can only use fixed column width. (because DataGridColumn's columnWidth accept only strict number and there is no width property available) There is an issue with bead n

Re: [Discuss] DataGrid DataGridColumn basic component

2019-10-21 Thread contact
Hi Alex, Thanks for your message and all explanation. Effectively I didn't see DataGridPercentageLayout bead because when using code completion there is only DataGridPercentageView wich is show and I don't think to look at SDK files content. ( DataGridPercentageLayout is not usable in mxml) S

Re: Jewel ButtonBar and DataGrid first iteration! :)

2019-12-29 Thread contact
Hi Carlos, Thanks for this work on DataGrid. For me it was the last missing component needed to make business applications. Do you think adding sorting columns on header click ? Regards Le 28.12.2019 11:37, Carlos Rovira a écrit : > Hi all, > > just want to share a tweet about the latest

RemoteObject AMF issue

2022-03-29 Thread contact
Hi Guys, I have issue with RemoteObject AMF since sdk 0.9.9 I'm completely lost on now how to use RemoteObject I had open a ticket on it some time ago : https://github.com/apache/royale-asjs/issues/1174 now I 'm trying sdk 0.9.10, but the issue is not the same : [AMFBinaryData.readObject]

Re: RemoteObject AMF issue

2022-03-30 Thread contact
Hi, I answer myself my question as I find the solution to this issue. I beleve that from sdk 0.9.9 RemoteObject have been modified and removed AMF0 support to add it in a bed. Adding this to main app solve the issue : Now, I don't know why (I didn't dig), I think that AMFPHP from sile

Opinion about adding example project for locales use

2022-04-29 Thread contact
Hi, I had some difficulty using a Flex-like system for display text translation with Royale. So I made this working example which might be useful for peoples trying this. Could it be added in the examples ? What do you think ? https://github.com/apache/royale-asjs/pull/1191 Could you give

RE: TileHorizontalLayout compute wrong margin-right in case of scroller (ignoring scrollbar width) (Issue #1193)

2022-04-30 Thread contact
Hi, Sorry, I misunderstood your previous message. I belived that hostComponent.element.scrollWidth doesn't work properly on Mac. If that's working properly then this piece of code will solve the issue : var adjustedHostWidth:Number = Math.floor(host.width - borderMetrics.le

Audio and video player for Royale

2022-05-06 Thread contact
Dear Royale team, I use sometime Royale and love it. I have some background in video and audio thanks by several development using video or audio using Flex. I spent my last nights to read a maximum of Royale SDK, trying to understand how to add content and participate to ameliore. Finnally

Re: Audio and video player for Royale

2022-05-07 Thread contact
Many thanks for your messages. I will do some other tests and add doc , then I will make a PR. Fred Le 2022-05-06 17:10, Maria Jose Esteve a écrit : This is great cristallium Hiedra -Mensaje original- De: cont...@cristallium.com Enviado el: viernes, 6 de mayo de 2022 13:43 Para: de

Re: TileHorizontalLayout compute wrong margin-right in case of scroller (ignoring scrollbar width) (Issue #1193)

2022-05-09 Thread contact
Yes, this is perfect ! I tested on PC with Chrome and Firefox Le 2022-05-09 04:20, Maria Jose Esteve a écrit : I have obtained satisfactory results by adding observeElementSize to hostComponent.element (for Windows). This could be an initial version: https://github.com/mjesteve/royale-asjs/co

compiler issue or not ?

2022-05-18 Thread contact
Hi All, I notice something strange (using sdk 0.9.9), take this code : var d1:Date = new Date(); d1.hours = d1.minutes = d1.milliseconds = 0; trace ("d1->" + d1.getTime()); var d2:Date = new Date(); d2.hours = 0; d2.minutes = 0; d2.milliseconds = 0; trace ("d2->" + d2.getTime()); It will show

Re: compiler issue or not ?

2022-05-18 Thread contact
You are totally right : var /** @type {Date} */ d1 = new Date(); d1.setHours(d1.setMinutes(d1.setMilliseconds(0))); org.apache.royale.utils.Language.trace("d1->" + d1.getTime()); Le 2022-05-18 23:26, Greg Dove a écrit : Please report that as an issue. For the first one, I assume it is generati

Re: compiler issue or not ?

2022-05-18 Thread contact
Done : https://github.com/apache/royale-compiler/issues/212 Le 2022-05-18 23:26, Greg Dove a écrit : Please report that as an issue. For the first one, I assume it is generating something like d1.setHours(d1.setMinutes(d1.setMillseconds(0))) ? That is going to cause problems, because each of

Re: Audio and video player for Royale

2022-05-27 Thread contact
Maria, Following our discussion, I done another PR with code in HTML5 project : https://github.com/apache/royale-asjs/pull/1200 I tested it by compiling it with ant, but not maven. Let me know if you need help Le 2022-05-27 11:24, Maria Jose Esteve a écrit : Hello, this afternoon I will have

how to get url ?

2022-08-09 Thread contact
Hi all, I'm struggle on getting browser full url. (sdk 0.9.10) I tried this : var browserUrl:String = ExternalInterface.call("eval", "window.location.href"); Unfortunately this doesn't work in my case. Is there another way to get it ? I know ApplicationParametersCaseInsensitive as a beads ,

Re: how to get url ?

2022-08-09 Thread contact
Thanks for your quick reply. No way. Perhaps I do something wrong. It's working when I run in local (return "file:///D:/dev/Royale/MyProject/bin/js-debug/index.html"), but it return empty string on production server. Here is my code : http://ns.adobe.com/mxml/2009"; xmlns:j="library

Re: Introducing asformat

2022-10-05 Thread contact
Hi all, Congratulations, this is wonderful ! Le 2022-09-29 08:16, Harbs a écrit : Yes. Most of us have similar stories. As long as you're not afraid to start learning something new you will be surprised how much you can learn in small steps. Harbs On Sep 29, 2022, at 12:02 AM, Josh Tynjala

Re: Compile ANT - sass

2022-10-07 Thread contact
Hi, I don't know with ANT, but if it may help, when I want to update css for Jewel, I go into Jewel directory and I enter this command : mvn sass:update-stylesheets Regards Le 2022-10-07 11:20, Hugo Ferreira a écrit : Hi, I'm not familiary with sass format, however I believe that a bug r

Re: Compile ANT - sass

2022-10-07 Thread contact
Please give a try in directory royale-asjs\frameworks\projects\Jewel Le 2022-10-07 11:52, Hugo Ferreira a écrit : I just download maven for my macOS using Homebrew. Position on the folder: apache-royale-src/apache-royale/frameworks/projects/Jewel/src/main/sass/components An run the command: mvn

Performance issue with Datagrid / last build download issue

2023-04-25 Thread contact
Hi All, I'm on a dev using Apache Royale with Jewel DataGrid tryng to show about 500 rows. But I have an issue when I set dataprovider : the application is hanging about 20 seconds... Then I saw that there is a VirtualDataGrid. Using it is very fast. But there is an issue with vertical scro

Re: Performance issue with Datagrid / last build download issue

2023-04-25 Thread contact
Hi Maria, Many thanks for the CI link. As I changed my computer, I need to setup again tools to compile SDK. So to save time I will use your links Fred Le 2023-04-25 21:58, Maria Jose Esteve a écrit : Hi, can you compile the SDK? If you can't, this is a CI server access: https://ci-builds.

Re: Performance issue with Datagrid / last build download issue

2023-04-25 Thread contact
Hi Hugo, Thank a lot for your reply and sharing. I don't know if it's an issue with my webmail, I don't have an attachment. Could you send it directly on my email ? (contact at cristallium.com ) I will try with latest build from source to have some of your fix and study your

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread contact
um.com> cont...@cristallium.com <mailto:cont...@cristallium.com>>> escreveu no dia quarta, 26/04/2023 à(s) 07:37: Hi Hugo, Thank a lot for your reply and sharing. I don't know if it's an issue with my webmail, I don't have an attachment. Could you send it dire

Re: [DISCUSS] Release Apache Royale 0.9.10 RC2

2023-05-07 Thread contact
Hi, I didn't see any issues with tour de jewel. Here is what I did this morning : - Downloading 0.9.10-rc2 - Downloading java sdk 20 and ant-1.10.13 and setup env vars - Goes to royale-asjs folder and make an 'ant all' - When finish, open royale-asjs\examples\jewel\TourDeJewel with Visual S

Re: [DISCUSS] Release Apache Royale 0.9.10 RC3

2023-05-12 Thread contact
Hi all, If it may help : I have just downloaded 0.9.10 RC4 run "ant all" and set "y" for the question "Do you want to install the designmodo fonts? (y, [n])" => Compilation is fine : all: BUILD SUCCESSFUL Total time: 10 minutes 5 seconds Then I launch VisualStudio at "0.9.10-rc4\royale-as

Question about DropZone and FileReference

2023-07-11 Thread contact
Hi All, I struggle with drag and drop and upload file to a remote server. I can upload file using FileReference (_fr), this is working fine : private function ev_SelectedFile(e:Event):void { var url:URLRequest = new URLRequest("http://myserver.com/upload_file.php";)

Re: Question about DropZone and FileReference

2023-07-11 Thread contact
Thanks for your ultra quick reply, I'm not in my conford area with these data types that I have never used. I tried the following, but readAsArrayBuffer want a Blob type and DropEvent is giving an array of DroppedModel with fileData property wich is a BinaryData How do you cast BinaryData to

Re: Question about DropZone and FileReference

2023-07-11 Thread contact
This seems a good way. I tried this : var f:File = new File( (e.data[0] as DroppedModel).fileData , (e.data[0] as DroppedModel).fileName )); But the issue is to cast BinaryData to Array :( Le 2023-07-11 19:30, Harbs a écrit : You can also do this with the fileList: for each (var file:File

MD5 issue or wrong encoding ?

2023-07-12 Thread contact
Hi, Here is one test file of 1 octet (0xc0 ie 192 in decimal) inside. When using md5sum (on linux) of this file the result is 4843a4868714fa7589e8ef87756bcacf But when I do this : import org.apache.royale.utils.MD5; var test:BinaryData = new BinaryData([0xc0]); //À trace("->" + MD5.hash(

Re: MD5 issue or wrong encoding ?

2023-07-12 Thread contact
Hi, I answer myself... If fix the issue by patching MD5.as by removing UTF8 encoding like this : /* * Encode a string as utf-8 */ private static function str2rstrUTF8 (input:String):String { return input; //return unescape(encod

BinaryUploader issue

2023-09-21 Thread contact
Hi All, I try to send binary data with BinaryUploader . In short I do this : var ba:BinaryData = new BinaryData(); ba.writeByte(255); ba.writeByte(256); ba.writeByte(-256); ba.position = 0; var bup:BinaryUploader = new BinaryUploader(); bup.url = "http://.";; bup.method = HTTPConstants.P

Re: Rich media in Royale

2023-09-21 Thread contact
Hi Maria, Would you have some samples to share of externals js or perhaps is there somes others than the highlightjs example that I miss ? Fred Le 2023-09-21 17:10, Maria Jose Esteve a écrit : By the way,... +1 with cristallium, working with "externals" works very well; It depends a lot on h

Re: Rich media in Royale

2023-09-21 Thread contact
This is great ! Thanks for links Fred Le 2023-09-21 18:03, Maria Jose Esteve a écrit : The integration with Echart is here [1 [1]] [1] https://github.com/mjesteve/Royale-ECharts/tree/develop Hiedra De: Maria Jose Esteve Enviado el: jueves, 21 de septiembre de 2023 18:01 Para: dev@royale.apac

Re: BinaryUploader issue

2023-09-25 Thread contact
Hi, I have make a PR to fix the issue (https://github.com/apache/royale-asjs/pull/1234) Could you merge it ? Thanks Le 2023-09-21 10:34, cont...@cristallium.com a écrit : Hi All, I try to send binary data with BinaryUploader . In short I do this : var ba:BinaryData = new BinaryData(); b

Re: BinaryUploader issue

2023-09-25 Thread contact
Hi Maria, Thanks for your reply. I just discovered new issue with BinaryUploader . With the fix, it can send real datas instead of "[object ArrayBuffer]" . This is working right with text files, but it's not working right with some bytes. For exemple a file with 0xc0 inside will be wrong enco

Re: BinaryUploader issue

2023-09-25 Thread contact
fix done : https://github.com/apache/royale-asjs/pull/1235 Proposed file is changing 2 things : - Don't use String utf8 to send datas, instead use typedArray as XMLHttpRequest can handle this. - Call _binaryData.toString() instead _binaryData.data.toString() if used on GET method (not tested)

dummy question about Jewel Alert

2023-10-16 Thread contact
Hi all, Is there a way to change "YES" and "NO" label when calling Alert.show(...,,Alert.YES | Alert.NO) for Jewel componant. Looking at code there is no "Alert.yesLabel" property like on mx componant. There is a set yesLabel in Jewel AlertModel.as. But how to give an AlertModel when c

Re: Bug or wrong utilisation of MediaStreamConstraints ?

2025-02-03 Thread contact
I'm not sure that is't the fair way, but finally, I found a way how to use it. defining a file MediaStreamConstraints.as like this : package { [JSImport("MediaStreamConstraints")] public class MediaStreamConstraints { public var video:*; public var audio:*; }

Re: mx.net.FileReference chrome

2025-04-15 Thread contact
Hi Maria, Perhaps it's the same issue I had with autoplay on videos. Some browser need a user gesture event to enable it. Do you tried to add clic event to be sure that the browse method is called in a user clic case ? If it may help here is my working code : public function ev_cli