Re: is being broken by the compiler

2018-05-09 Thread Piotr Zarzycki
Serkan, I'm looking forward to your final classes. You can now create nice API. Maybe it would be good to have separate classes with that injections and expose API. As you can see in my link I'm wrapping up some methods from library and expose mine. :) 2018-05-10 6:59 GMT+02:00 Serkan Taş : > Hi

Re: is being broken by the compiler

2018-05-09 Thread Serkan Taş
Hi Piotr and Alex, Piotr; I worked on your code and it was starting point of my implementation. Tank you so much. Alex, I now see the that i missed meaning of "has to go in the ASDoc for the constructor"   in your mail belongs to previous thread. Sorry for misunderstanding and thank you f

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread doug777
Hi Carlos, Sure, I can take a look at this. Leave it with me. Doug -- Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread doug777
I'm using CF11 in developer mode locally and this setting has never been changed since installation. I'm wondering if this setting is applied only for high-level objects not when CF is serializing a Query object since the object getting specified here as an ArrayCollection is a very simple Array o

Re: is being broken by the compiler

2018-05-09 Thread Piotr Zarzycki
Serkan, Look how I'm injecting plugin for colorize code on the website [1]. This is how you should do in your code. [1] https://github.com/piotrzarzycki21/TranspiledActionScript/blob/examples/Examples/TranspiledActionScriptWebsite/src/utils/Highlight.as Piotr On Thu, May 10, 2018, 12:04 AM Alex

Re: is being broken by the compiler

2018-05-09 Thread Alex Harui
Hi Serkan, It is hard to tell from your description what you are trying, but as I mentioned in the other thread, the must be in an ASDoc comment for the constructor function of a class. You can't put it anywhere in the class file. Show us the code that isn't working if you are still not unde

is being broken by the compiler

2018-05-09 Thread Serkan Taş
Hi Alex, After working on the probabilities, i discovered that under several circumstances the is being broken by the compiler. Here is my case : 1. I created a simple class 2. Inserted inject_html section as first item in class 3. Built the project and can see that the script are included

Re: Declarations Objects not defined on initComplete

2018-05-09 Thread Alex Harui
Hi Doug, Thanks for digging into that. We'll have to keep in mind the differences regarding includeInLayout in the emulation components. -Alex On 5/9/18, 2:12 AM, "doug777" wrote: Hi Alex, I have finally found out what is really wrong in my code causing all these undefined

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread Carlos Rovira
Hi, this is something we talked that would happen. I think we must to find a way to overcome it. Some options just think now: 1.- simply put ArrayCollection on place (although is becoming part of mx royale, I think this deserves to be isolated I some core library (maybe Collections) 2.- make som

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread Paul Hastings
That's odd. What version of cf? All updated/hot fixed? Was the cf service restarted since that change was made?

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread doug777
If you mean the setting in wwwroot/WEBINF/flex/services-config.xml -- Sadly it is already set to false - false But thanks for pointing out that there is a setting for this. Doug -- Sent from: http://apache-r

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread doug777
Hi Piotr, I can't change it. This is something CF does inside its serializer before sending the data. The original data are just fields in a database converted to a query by CF and then serialized by its internal converter. The writer of AMFBinaryData was obviously aware of the problem as the fol

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread Paul Hastings
If you're relying on ColdFusion for automatic serialization and you're converting queries you might look at your services-config.xml and turn this option off serialize-array-to-arraycollection

Re: Declarations Objects not defined on initComplete

2018-05-09 Thread doug777
Hi Alex, I have finally found out what is really wrong in my code causing all these undefined errors. In old Flex, setting visible and includeInLayout to false prevents the object from appearing or having space allocated for it in the layout. In JS you only need to set visible to false to achiev

Re: ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread Piotr Zarzycki
Hi Doug, We simply don't have ArrayCollection in Royale, that's why you are receiving such issue. Does changing to a simple array will cost you a lot ? If you receive from AMF simple array - you can get it in Royale and wrap up it to ArrayList in order to take advantage from Binding. Piotr 2018-

ArrayCollection Problem in AMFBinaryData.as

2018-05-09 Thread doug777
My RemoteObject returns a complex Object in part of which CF has specified what looks to me like a simple array as an ArrayCollection in the returned AMF Data. (Works ok in the old SWF project.) Stepping through the code in the browser debugger, when the reader reaches the n of ArrayCollection in

New Blog Post: Binding the text property of a Jewel TextInput to update a text Label

2018-05-09 Thread Carlos Rovira
Just published! Thanks to Andrew for his support as always to get the most of the post and make it shine! :) https://royale.apache.org/binding-the-text-property-of-a-jewel-textinput-to-update-a-text-label/ Enjoy! -- Carlos Rovira http://about.me/carlosrovira