Re: mx:VDividedBox not resolved

2018-04-12 Thread Alex Harui
Take a look at your frameworks/air-config.xml. In the binaries for Apache 4.16.1, mine has a library-path section that looks like this: libs libs/mx libs/air libs/air locale/{locale} It may be that the overlay approach you are using

Re: mx:VDividedBox not resolved

2018-04-11 Thread Alex Harui
I just remembered that Flash Builder projects have configurations for being Spark-only or not. Check to see if your project is set up for Spark-only. If so, that's why it doesn't see mx.swc. I think you can also use Project/Properties to examine the list of SWCs it will compile against. Make

Re: mx:VDividedBox not resolved

2018-04-11 Thread Alex Harui
I tried it and it worked for me. What do you mean by overlaying AIR 27? I used Ant to install Apache Flex 4.16.1. You can verify that your SWCs are correct by unzipping frameworks/libs/mx.swc and seeing if VDividedBox is in catalog.xml in the SWC. Try building from the command-line and post

Re: mx:VDividedBox not resolved

2018-04-11 Thread Alex Harui
I think you have to use instead of HTH, -Alex On 4/9/18, 11:59 AM, "Alex P" wrote: >I have just started to move an Adobe Flex 4.6.0 to Apache Flex, but cannot >get mx:VDividedBox or mx:DividedBox to be recognized. I built the sdk by >unzipping the Apache Flex

Re: Flex Library Project gone?

2018-04-09 Thread Alex Harui
Which product and version are you referring to? On 4/9/18, 4:53 PM, "Jaabax" wrote: >I used to have an option to *import* a project as "Flex Library >Project"... I >can't see it anymore... only "Flash Builder Project" and "MX Skin >Artwork"... am I missing anything? (6 months

Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-09 Thread Alex Harui
onal? Do we really need this in the >SDK? > >Thanks, >Om > >On Sun, Apr 8, 2018 at 10:00 PM, Piotr Zarzycki ><piotrzarzyck...@gmail.com> >wrote: > >> Alex, >> >> I will look into the installer and try to fix issue. >> >> Thanks

Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-08 Thread Alex Harui
need to write to someone or on >some forums? > >Thanks, >Piotr > >On Sun, Apr 8, 2018, 08:00 Alex Harui <aha...@adobe.com.invalid> wrote: > >> IMO, there are several possible solutions: >> >> 1) Find a fix in the installer >> 2) Find out if SourceForg

Re: Flex Installer - Air 29 - OSMF Fail (Windows)

2018-04-08 Thread Alex Harui
IMO, there are several possible solutions: 1) Find a fix in the installer 2) Find out if SourceForge can fix it for us. 3) Try to get Adobe to host the OSMF files somewhere else 4) See if Adobe has any objections to someone else hosting the OSMF files somewhere else. I believe we can redirect

Re: Including Debug Info in Stacktrace

2018-03-22 Thread Alex Harui
Hi Erik, Don't know for sure. Most internet searches say it isn't possible. This post claims there is a way. https://stackoverflow.com/questions/4473059/how-can-i-get-stacktrace-for-ad obe-air-global-runtime-errors-in-non-debug-mode/27289101#27289101 HTH, -Alex On 3/22/18, 11:29 AM, "Erik J.

Re: Blaze DS Build and Binaries

2018-03-09 Thread Alex Harui
QWZ2TOFU1%2BusRP%2FL4ubyJAk9Km%2BB2Qw0AK4%3D=0 > >2018-03-09 18:09 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > >> Actually, the jars are available via Maven. If you are using Maven you >> should be able to switch the dependencies to the Apache coordinates. If &

Re: Blaze DS Build and Binaries

2018-03-09 Thread Alex Harui
Actually, the jars are available via Maven. If you are using Maven you should be able to switch the dependencies to the Apache coordinates. If you are not using Maven, you can either switch to Maven, or go to Maven Central and download the jars. Apache Flex is not producing everything that was

Re: Problems installing the SDK 4.16.1

2018-03-02 Thread Alex Harui
ENTOS\GERAL-FLEX\SDK-4.16.1\installer.xml:970: Redirection >detected from http to https. Protocol switch unsafe, not allowed. > >Total time: 26 minutes 8 seconds > > > >2018-03-02 14:33 GMT-03:00 Alex Harui <aha...@adobe.com.invalid>: > >> I tried switching t

Re: Problems installing the SDK 4.16.1

2018-03-02 Thread Alex Harui
I tried switching the URL for AIR 28 to https. Try again and see what you get. Thanks, -Alex On 3/2/18, 7:32 AM, "Udirley Otoni Pesse" wrote: >I've tried this way and now it looks like this error: > > ./apache-ant-1.10.2/bin/ant -f installer.xml > >get-with-no-params:

Re: flex converter encoding setting

2018-03-02 Thread Alex Harui
Is FlashBuilder able to create a new file and save it as UTF-8? If you add the -link-report compiler option, does that file get saved as UTF-8? If you add the JAVA_TOOL_OPTIONS to the environment before you launch FlashBuilder instead of FlashBuilder.ini, does that make a difference? Let us know,

Re: flex converter encoding setting

2018-03-01 Thread Alex Harui
FlashBuilder uses Eclipse, so see articles about Eclipse and UTF-8. HTH, -Alex On 3/1/18, 5:43 AM, "flashhtml5" <709653...@qq.com> wrote: >I added the line to FlashBuilder.ini,nothing happened.. > > > >-- >Sent from: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-fle

Re: flex converter encoding setting

2018-02-27 Thread Alex Harui
If you are using Windows, try the environment variable: JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 HTH, -Alex On 2/27/18, 6:17 PM, "flashhtml5" <709653...@qq.com> wrote: >This day I began to use flexjs,But I found the as/mxml compliered file >encoding was ANSI,Not UTF-8... I want to change it to

Re: Issues with using Apache Flex Installer.

2018-02-17 Thread Alex Harui
Hi Alberto, I tried this on my Windows machine. Using a browser, I went to: http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/frameworks/libs/O SMF2_0.swc?format=raw And downloaded that file to my C:\Users\aharui\Downloads folder. Then I created a new folder and created a

Re: Issues with using Apache Flex Installer.

2018-02-16 Thread Alex Harui
Hmm. Not sure if SourceForge is still recovering from an outage or not. Anyway, if you have a copy of OSMF somewhere else on your computer or another server, you might be able to get past this failure by doing the following: 1) create an empty folder where you want the SDK to go 2) add a

Re: Lazy parsing inf Flex

2018-02-16 Thread Alex Harui
ce. > >I wonder if that’s something that we can/should optimize… > >Harbs > >> On Feb 15, 2018, at 10:40 PM, Alex Harui <aha...@adobe.com.INVALID> >>wrote: >> >> It also turns out that Flash lazily parses XML, so when the XML arrived >>as >

Re: Lazy parsing inf Flex

2018-02-15 Thread Alex Harui
, the XML might look like: Alex Harui ... ... ... ... ... ... And so on, but also .. .. .. .. .. .. ... Some records had dozens of salary and especially benefits history

Re: HttpService header length restriction

2018-02-02 Thread Alex Harui
Looks like header length is a restriction on the server side. See https://stackoverflow.com/questions/686217/maximum-on-http-header-values So there may not be a way around it from the client. HTH, -Alex On 2/1/18, 9:12 PM, "Deepak MS" wrote: >Hi, >I am using

Re: How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Alex Harui
hen it dismisses, it shows a blank first view. This is disconcerting. I >can of course show a busy cursor over a blank screen until it's loaded >but that's not what the client wants. > >Get me now? > >Thanks so much! > >Erik > >On Jan 19, 2018, at 9:03 AM, Alex Harui &

Re: How to programmatically dismiss a preloader splashScreenImage

2018-01-19 Thread Alex Harui
Why can't you lower the min time? On 1/19/18, 8:50 AM, "Erik J. Thomas" wrote: >Hey all: > >I'm using Application.splashScreenImage (it's a preloader) in my Flex >mobile application which preloads a splash screen that needs to display >until my app is finished loading data

Re: flex app not working when launched from flash builder

2018-01-16 Thread Alex Harui
Have you seen this? https://support.mozilla.org/en-US/questions/1172126 You should be able to set up your Project to have the output go straight to your local webserver and have the debugger launch that localhost URL when you start the debugger. And, FWIW, testing from a local web server is a

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
Hi Chris, I don't know that part of TLF to give an educated answer. Maybe Harbs or someone else knows better. I looked up CSS line-height and it seemed to say that Firefox is using 120%. Did you verify that the space really is due to the correct calculation of 120%? Maybe it is actually

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
Hi Chris, It looked like you were sending HTML through one of the converters. IIRC, that produces a TextFlow, and RichText/TLF renders the TextFlow, not HTML. So if the converter added extra whitespace in the TextFlow, that would be a problem in the converter. If a known simple TextFlow

Re: Images in RichText-Control

2018-01-12 Thread Alex Harui
What does the the converter produce? I'm wondering if it is seeing line-breaks and stuff like that. -Alex On 1/12/18, 4:58 AM, "chris_flex" wrote: >Is there any way to set/remove this huge space above the image in some >way? I >still haven't found a solution for this

Re: Problem installing SDK

2018-01-10 Thread Alex Harui
Hi Mick, Sorry about the failures yesterday. We have a "chron job" that tracks the checksums of the Adobe files and it crapped out and we didn't know it. Should be working now, so try again and let us know. Thanks, -Alex On 1/10/18, 6:08 AM, "Mick Powell" wrote:

Re: Accordion

2018-01-05 Thread Alex Harui
You might need to set the VGroup width and height to 100%. Some for the Accordion. And set either the "label" or "name" property on the VGroup. On 1/5/18, 5:02 AM, "chris_flex" wrote: >Hi, > >I want to use the accordion. My code for testing is: >

Re: Preserve 'selectedItems' after appling 'filterFunction'

2018-01-02 Thread Alex Harui
IIRC, you have to back it up and filter it. I'm not sure what will happen if one or more of the selectedItems is no longer in the filtered data provider. HTH, -Alex On 1/2/18, 8:44 AM, "Olaf Krueger" wrote: >Hi, >It seems to me that 'selectedItems' property of a s:List

[FLEXJS][ROYALE] Please subscribe to Royale Mailing Lists

2017-12-26 Thread Alex Harui
Hi, Looks like a few folks may have missed that FlexJS discussions are now going on over in the Apache Royale project.. Please subscribe to the d...@royale.apache.org by sending an email to dev-subscr...@royale.apache.org This link might work: mailto:dev-subscr...@royale.apache.org You will

Re: TLF and images

2017-12-13 Thread Alex Harui
You can create a JIRA with your patch. Or file a Pull Request agains the flex-sdk mirror on GitHub. Did you mean to say you needed an asynchronous PNGEncoder? The one in Flex appears to be synchronous but I don't know for sure. Third-party dependencies have to be licensed in an

Re: TLF and images

2017-12-12 Thread Alex Harui
This isn't my area of expertise at all, but a quick look at InlineGraphic implies that you can set the "source" property to a DisplayObject. I would not use Spark Image. Spark and MX controls expect their parent to be another UIComponent which is unlikely in a TLF rendering. Maybe create a

Re: File Progress event

2017-12-11 Thread Alex Harui
"download" but aren't you using the "save" method? HTH, -Alex On 12/11/17, 2:20 PM, "Scott Matheson" <smathe...@intralinks.com> wrote: >No I am running on a Mac, the speed to download is proportional to the >number of report pages > >Sent fr

Re: File Progress event

2017-12-11 Thread Alex Harui
a indicator , i can spoof something if i >need too > >Scott > > > >> On 11 Dec 2017, at 02:20, Alex Harui <aha...@adobe.com.INVALID> wrote: >> >> How big is the buffer ByteArray and where are you writing the file? If >> the write can happen

Re: File Progress event

2017-12-10 Thread Alex Harui
How big is the buffer ByteArray and where are you writing the file? If the write can happen fast enough, no Progress events are fired. From the link you posted: "In some cases, progress events are not received. For example, when the file being transmitted is very small or the upload or download

Re: Scroll to the bottom of a spark.components.TextArea when a new line is added programmatically

2017-12-08 Thread Alex Harui
Try CallLater to run that code. On 12/8/17, 3:35 PM, "pol2095" wrote: >Hello, > >when I use "ta.scrollToRange(ta.text.length, ta.text.length)" in a >spark.components.TextArea on desktop, the scroller doesn't scroll to the >bottom correctly when a new line is added

Re: Flash player memory allocation for IE

2017-12-08 Thread Alex Harui
I don't believe the Flash Player knows how to cache DataGrid item renderers. I can't think of any API Flex could use to get the player to cache something, but maybe I'm forgetting something. IMO, the problem is as simple as: Flex will create 80 renderers * number of visible rows. Are all 100

Re: DragProxy Error

2017-12-07 Thread Alex Harui
Hi, The stack trace points out a legitimate bug. If the Drag starts, but then the mouse goes out of the app and the button is released without any mouseMove events coming into the DragProxy, the lastMouseEvent has not been set and you'll get this crash. I'm not quite sure how you can get zero

Re: ModuleLoader vs SWFLoader

2017-12-05 Thread Alex Harui
Theoretically, modules are dynamically loaded libraries of classes, whereas SWFLoader loads applications that can function as sub-applications so more like launching sub-processes or something like Iframe. SWFLoader SWFs often can run on their own unless they expect something from the host

Re: Strange error for existing project on Mac while Windows version works with same SDK version

2017-12-05 Thread Alex Harui
t; >Thanks for the help! > >Best regards, > >Fréderic > >On Fri, Dec 1, 2017 at 6:41 PM, Alex Harui <aha...@adobe.com.invalid> >wrote: > >> Hard to say for sure. It looks like there is a binding to the width of >> something. If you don't have lots of

Re: TileList selection visible with custom item renderer

2017-12-02 Thread Alex Harui
Assuming you are using mx:TileList, I think the answer is to implement IDropInListItemRenderer, which will give you an "owner" property which can be cast/coerced to be the TileList. And also, rowIndex and columnIndex. And from there you should be able to use TileList(owner).selectedIndex to

Re: Strange error for existing project on Mac while Windows version works with same SDK version

2017-12-01 Thread Alex Harui
Hard to say for sure. It looks like there is a binding to the width of something. If you don't have lots of binding expressions maybe you can find the binding to width (probably from DashboardIcon.width) Also, further down in the stack trace, I see: "Cannot create property icon on

Re: Flash Builder 4.7 crash

2017-11-29 Thread Alex Harui
Hi Vincent, Yes, I still use FB for Royale (FlexJS) framework and app development mainly to try to make sure there is one less thing that folks have to change to try Royale. I'm not sure if FB and even IntelliJ will ever upgrade to make Royale a first-class project type, and every day the new

Re: Flash Builder 4.7 crash

2017-11-29 Thread Alex Harui
Hi Vincent, I'm not sure what you mean by "working on". I am using FB 4.7 Premium every day, but I don't use it for Mobile development. I am mainly making sure that FB works ok for Royale by changing Royale's compiler. I've never been on the Flash Builder development team. HTH, -Alex On

Re: Flash Builder 4.7 crash

2017-11-29 Thread Alex Harui
Have you applied the changes to FB to handle Java 7/8? See the post below. http://blogs.adobe.com/flashplayer/2016/09/running-adobe-flash-builder-on-m ac-with-java-78.html HTH, -Alex On 11/29/17, 6:37 AM, "Piotr Zarzycki" wrote: >Hi Jesper, > >VSCode is better and

Re: Verify error #1014

2017-11-25 Thread Alex Harui
It means that that class is not linked into a SWF. Are you set up to use RSLs? Are there modules involved? Generate link-reports and see what it says about ItemRenderer. HTH, -Alex On 11/25/17, 10:37 AM, "After24" wrote: >Hi, > >I'm still stuck with this verify error

Re: [ANNOUNCE] Apache Flex 4.16.1 Released!

2017-11-24 Thread Alex Harui
ILEHASH "path to file" >-Algorithm MD5 > >Thanks, Piotr > > >2017-11-24 17:58 GMT+01:00 Alex Harui <aha...@adobe.com.invalid>: > >> Piotr, >> >> Did the MD5 check become a Powershell command? Can you tell Paul what >>the >> com

Re: [ANNOUNCE] Apache Flex 4.16.1 Released!

2017-11-24 Thread Alex Harui
Piotr, Did the MD5 check become a Powershell command? Can you tell Paul what the command line is so we can see if maybe if he gets a different format than we expected? Thanks, -Alex On 11/24/17, 3:19 AM, "Paul Hastings" wrote: >On 11/24/2017 5:27 PM, Piotr Zarzycki

Re: Verify error #1014

2017-11-22 Thread Alex Harui
Were you using 4.13 on the old computer? Did you copy from the old computer to the new computer or grab stuff from your version control? One of the problems with moving to a new computer is that changes to Flash Builder projects may not get reflected back to your version control and some settings

Re: Issue with XML to Object Proxy Conversion

2017-11-22 Thread Alex Harui
I think you will have to write your own XMLDecoder. You won't be the first user to have to write a custom decoder. This is not my area of expertise, but AIUI, unless you are using SOAP or otherwise have a WSDL or descriptor, the existing decoders must guess the type of each attribute and child

Re: Worker thread does not run

2017-11-13 Thread Alex Harui
If you want, post a link to one of those examples, but it sounds like you have things working now. -Alex On 11/13/17, 2:26 PM, "jiteshks" wrote: >I have found some examples wherein both main and worker thread can belong >to >same SWF. But that is not working for me. Worker

Re: Worker thread does not run

2017-11-09 Thread Alex Harui
I might be misreading your code, but I see: var swfBytes:ByteArray = Application.application.loaderInfo.bytes; That looks like swfBytes will the same SWF that you are running, instead of some other bytes for a Worker thread. HTH, -Alex On 11/8/17, 8:29 PM, "jiteshks"

Re: Worker thread does not run

2017-11-08 Thread Alex Harui
I would try to find other examples of Workers. I'm not sure trying to copy the main thread into a worker thread is supported. HTH, -Alex On 11/7/17, 5:38 PM, "jiteshks" wrote: >Hi, > >I am trying to do a simple POC for my application to show that >multi-threading can be

Re: FlexJS/Royale

2017-11-06 Thread Alex Harui
Ok, the original link should be working again for FlexJS 0.8.0. It might contain some stuff added after 0.8.0. Not sure about that. HTH, -Alex From: Alex Harui <aha...@adobe.com<mailto:aha...@adobe.com>> Reply-To: "us...@royale.apache.org<mailto:us...@roya

Re: Issue with XML to Object Proxy Conversion

2017-11-06 Thread Alex Harui
Do you know if your code is using one of the XMLDecoders? Or just e4x query? Or something else? -Alex On 11/6/17, 4:44 AM, "M.ABDUL Sakeer" wrote: >Hi, > >I am using HTTP Services for client-server communication. I am getting an >xml from server which contains a

Re: FlexJS/Royale

2017-11-05 Thread Alex Harui
pacheflexbuild.cloudapp.net%3A8080%2Fjob%2FFlexJS_ASDoc_Example%2F318%2Fartifact%2Fexamples%2Froyale%2FASDoc%2Fbin%2Fjs-debug%2Findex.html=02%7C01%7C%7C441f112262be49fffb3c08d52397f564%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636454057917408527=vPof4qvsa%2BDMQUjUp%2FRWlXU22JyjBf3cdQwaCcQ0SWI%3D=0> Th

Re: FlexJS/Royale

2017-11-04 Thread Alex Harui
Hi Carlos, Looks like the doc build broke in a way that didn't leave the last good database. Unfortunately, I won't have much time to look into it this weekend until my Sunday evening. Maybe someone else will be able to fix it. I don't know if you were able to build Royale from sources, but

Re: Apache Royale Compiler

2017-10-25 Thread Alex Harui
ull Blog, >Forum, Wiki applications. The Wiki was also meant to be the help system. >CruzControlBusiness_Blog 1740 >CruzControlBusiness_Forums 1742 >CruzControlUrBusiness_Wiki 1660 &g

Re: Apache Royale Compiler

2017-10-24 Thread Alex Harui
gt;web application to convert, I have yet to decide which direction to go, >so I guess it's a good thing I haven't done too much work with FlexJS. > >Thx! >Carlos > >-Original Message- >From: Alex Harui [mailto:aha...@adobe.com.INVALID] >Sent: Monday, October 23, 2017

Re: Apache Royale Compiler

2017-10-23 Thread Alex Harui
Hi Carlos, Yes, there are probably changes required. Look for the word "flexjs" and replace it with "royale". Then also look for occurrences of just plain "flex" (especially in package names) and many of those will also need replacing with "royale". HTH, -Alex On 10/23/17, 6:01 PM, "Carlos

Re: iOS using swf loader

2017-10-12 Thread Alex Harui
I think this is the latest doc: http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e 13.html#WS2f73111e7a180bd0-3db1ea4613c45877121-8000 I have not worked with IOS mobile SWFs, but this implies that you can load a SWF file if you don't make it "remote" and instead place it

Re: ItemRenderer Render Order

2017-10-12 Thread Alex Harui
There are probably other options as well. You could overlay the list with a single image and have the server concatenate the images into a single long image and send that up. Then under the covers, you bring the individual images into the cache and display them in item renderers. It is more

Re: ItemRenderer Render Order

2017-10-11 Thread Alex Harui
I don't know enough about the layers of the internet to answer your question, but a network monitor can help show why things are happening the way you describe them, and then you will have more data to use to form a solution/workaround. Right now, all we have is speculation. Think of it this

Re: ItemRenderer Render Order

2017-10-10 Thread Alex Harui
Well, the player uses deferred rendering, so if you send 20 requests for images and only 10 come back in the next frame interval, those 10 will be rendered all at once and you won't know which of those 10 came back first. Flex item renderers, like all Flex components, use invalidation/validation,

Re: Deploy RemoteObject Service Remotely

2017-10-08 Thread Alex Harui
Use Network Monitors to see what is being sent where. HTH, -Alex On 10/8/17, 4:53 PM, "bilbosax" wrote: >I thought I had solved this, but I haven't. I could still use any >suggestions anyone can possibly think of. I know I am missing something >small, but I totally

Re: [Royale] Flex to FlexJS migration path

2017-10-03 Thread Alex Harui
, at 11:22 PM, Harbs <harbs.li...@gmail.com> wrote: >> >> GH Pages is likely the way to go. Maybe we could make the comparison an >>interactive Royale app… ;-) >> >>> On Oct 3, 2017, at 11:18 PM, Alex Harui <aha...@adobe.com> wrote: >>> >>> OK

Re: [Royale] Flex to FlexJS migration path

2017-09-29 Thread Alex Harui
Re: [Royale] Flex to FlexJS migration path Hmm..But I was in my mind something simple. If we just show the names - without to much details - even Basic can landed onto that table. Once user see names will be able to look himself into that. Piotr On Sat, Sep 30, 2017, 00:22 Alex Harui <ah

Re: [Royale] Flex to FlexJS migration path

2017-09-29 Thread Alex Harui
ical or different) >>- if no corresponding class, the equivalent FlexJS class (with a detailed >>enumeration of differences between the two, plus examples, and for each >>strand, all the available beads) >>- if no equivalent, a suggested best-fit equivalent from an existing >

[FLEXJS][ROYALE] Github Issues replacing Apache JIRA

2017-09-29 Thread Alex Harui
Hi, It looks like GitHub Issues has been enabled on the new Royale repos. The Royale folks will no longer be watching Apache JIRA for issues related to FlexJS and Royale. Existing FlexJS JIRA issues will not be automatically migrated to GitHub Issues. If you have an open FlexJS issue in Apache

[FLEXJS][ROYALE] Royale Mailing Lists

2017-09-29 Thread Alex Harui
Hi, Looks like the Royale mailing lists are up and being archived by Apache and Nabble. Please subscribe to the d...@royale.apache.org by sending an email to dev-subscr...@royale.apache.org This link might work: mailto:dev-subscr...@royale.apache.org You will receive an email from the

Re: [FlexJS] Guidelines for implementation of layout containers and navigation containers

2017-09-28 Thread Alex Harui
Hi Nicolas, The Application developer is not required to use composition. They are most welcome to use inheritance just like in regular Flex and in fact, the MXML component workflow is the same as regular Flex and based on inheritance. You are correct about the Faucet analogy. Faucet

Re: [FlexJS] Debugging setup with Flashbuilder and JS output

2017-09-26 Thread Alex Harui
Hi Nicolas, Opinions are most welcome on our mailing lists. We want to know what our users are thinking even if it is criticism. Thanks, -Alex On 9/26/17, 2:07 PM, "Idylog - Nicolas Granon" wrote: >Alex, thank you for your comments. > >We will go the VSCode way : it

Re: [FlexJS] Debugging setup with Flashbuilder and JS output

2017-09-26 Thread Alex Harui
I think SourceMaps for MXML were working in some simple cases in 0.8.0 but there was a bug that Josh fixed that we were going to release in a 0.8.1. Given we're creating a new project, we'll probably call it Royale 0.9.0 and get it out shortly after we get everything else in the project up and

Re: [FlexJS] Output folders with FB

2017-09-26 Thread Alex Harui
of FB, the resulting JS output is >always sent to and never to . > >I do not have any specific or fancy internal mappings, virtual drives or >anything special. All tests are made on a local hard drive. OS is Win7. >I can make snapshots of FB settings if you think that could help...

Re: [FlexJS] Output folders with FB

2017-09-25 Thread Alex Harui
" from FB where simply applied to the >task. Seems like it does not work that way... >We have to get the correct configuration (we do not want to have to >launch a compile task manually on each save). > >Any clue ? (config file mismatch ? incorrect path to build task ?

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-23 Thread Alex Harui
Hi Doug, Can you zip up the MSTest folder and make it available somehow? Feel free to open a JIRA issue and attach the zip. It looks like the output is corrupted somehow. What browser and OS are you using? I may not have time to look until late Sunday (about 48 hours from now). Thanks, -Alex

Re: [Non-DoD Source] Flex 4.1A

2017-09-22 Thread Alex Harui
I hadn't realized those links on the SourceForge page were broken. I think I have them working again, but I had to redirect it through my CI server in order to present a License Acceptance UI. Adobe doesn't want folks downloading directly from fpdownloads server without acknowledging the

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-22 Thread Alex Harui
I'm not sure what browser you are now using, but there should be a way to start up the debugger, have it stop on unhandled or uncaught exceptions and reload the page. Then the debugger should stop on that line and some other pane should show the stack trace. Thanks -Alex On 9/22/17, 12:51 AM,

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-22 Thread Alex Harui
I'm pretty sure FlexJS RemoteObject requires an endpoint. The current implementation doesn't know about Channels and ChannelSets and services-config.xml. Is there more to the stack trace you get when you have an endpoint? Thanks, -Alex On 9/21/17, 11:43 PM, "doug777"

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-21 Thread Alex Harui
Hi Doug, Earlier, you posted that your code looks like: http://localhost:8500/booxotel/STime.cfc; result="roCheckTestResultHandler(event)" fault="roFaultHandler(event)"/> Comparing that to your mx:RemoteObject tag below, it might be worth changing your source property to be:

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-21 Thread Alex Harui
Hi Doug, I think it will be more efficient to debug the bin/js-debug version before trying to debug the js-release version. First check that AbstractMessage.js is in the bin/js-debug output from Moonshine, then copy the entire js-debug folder to the server and try to run it. If you are also

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread Alex Harui
Interesting. I don't think that is expected in AMF. And I noticed that xhr.response is null. That makes me think that the ColdFusion returned null instead of an AMF packet. Can you diagnose things on the server side? Maybe the request isn't formed correctly. Are you sure you have your

Re: [FlexJS] Some examples on GitHub

2017-09-20 Thread Alex Harui
Hi Yishay, IMO, we want to improve ease of contributing for every line of our code, not just the examples, and we hope to get approved to use GitBox and make Github the center of development for FlexJS/Royale. However, I see it as our duty to the community to make sure that contributions are

Re: FlexJS Customer feedback

2017-09-20 Thread Alex Harui
Hi Tomislav, I don't have time to look at your code right now, but it sounds interesting, and I encourage you to try to port it to FlexJS. We have a Reflection.swc that I think reproduces Flash reflection APIs. We have not done custom serialization/deserialization via IExternalizable yet.

Re: FlexJS Customer feedback

2017-09-20 Thread Alex Harui
Hi Harbs, Yishay, Congratulation on your migration! I agree, everyone who has contributed to our PAYG philosophy and use of Beads deserves credit. It may not be fair to say that all performance gains are due to the coding patterns we've used. The JS runtimes in the browsers have gotten much

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread Alex Harui
@Doug, I just saw a StackOverflow topic where someone was getting that error because they cut and pasted the text instead of typing it and there was a hidden character in what they cut. If you haven't, please try typing it in manually. If you still can't get it to work, another option is to

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread Alex Harui
It is a function, not a property. I think in the console when you are stopped in the debugger, you can type: xhr.getResponseHeader("Content-type") And it should spit out what we want to see. HTH, -Alex On 9/19/17, 10:36 PM, "doug777" wrote: >I can't find

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread Alex Harui
Hi Doug, So it looks like responseType is correctly "arrayBuffer", but I can't see how to determine from your link what the result for xhr.getResponseType("Content-type") was. It must be something other than "application/x-amf" -Alex On 9/19/17, 9:51 PM, "doug777" wrote:

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread Alex Harui
OK, that's good to know. That code also checks: xhr.responseType == "arraybuffer" and xhr.getResponseHeader("Content-type").indexOf("application/x-amf") > -1) What are you getting for those values? -Alex On 9/19/17, 9:37 PM, "doug777" wrote: >xhr.status is

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread Alex Harui
Hi Doug, Looks like we could use better error reporting in that code. Please try setting a breakpoint in AMFNetConnection.js where it sees that readyState === 4 and see what the xhr.status is. It appears that you are not getting a 200 status code. I don't think this code currently handles

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread Alex Harui
Hi Doug, What browser are you using? And what is the URL for the app in the browser? Is it file:// or https:// or http://? IIRC, some browsers may be more picky about file:// accessing http://localhost. -Alex On 9/19/17, 8:41 PM, "doug777" wrote: >Hi Alex, > >New

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread Alex Harui
Hi Doug, 1004 appears to be when XHR returns something unexpected like status == 0 or responseType == "text". I think you need to set the RemoteObject endpoint to the be URL to hit. The RemoteObject source is passed as part of the message packet to the server and is not parsed to find the URL

Re: [FlexJS] Some examples on GitHub

2017-09-19 Thread Alex Harui
Hi Yishay, Sounds useful. Is there a reason these examples aren't being placed in an Apache repo? Just curious. -Alex On 9/19/17, 1:15 PM, "Yishay Weiss" wrote: >Hi, > >I've created a repository [1] on GitHub with some FlexJS examples. It now >includes basic

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-19 Thread Alex Harui
ow how to overpass >> >> 2017-09-19 21:51 GMT+02:00 Jeffry Houser <jef...@dot-com-it.com >> <mailto:jef...@dot-com-it.com>>: >> >> >> On 9/19/2017 12:29 PM, Alex Harui wrote: >> >> It might be interesting to hear why peop

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-19 Thread Alex Harui
know >how >to overpass > >2017-09-19 21:51 GMT+02:00 Jeffry Houser <jef...@dot-com-it.com>: > >> >> On 9/19/2017 12:29 PM, Alex Harui wrote: >> >>> It might be interesting to hear why people chose Flex in the first >>>place. >>> There

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-19 Thread Alex Harui
It might be interesting to hear why people chose Flex in the first place. There was competition back then as well (Silverlight, Lazlo, and more). I believe that developer productivity was a major factor. And performance/bandwidth advantages of AMF. To me, FlexJS bets heavily on the developer

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-15 Thread Alex Harui
t. Maybe FlexJS will just have to be for my personal >projects.. > > >On Fri, Sep 15, 2017 at 3:47 PM, Alex Harui <aha...@adobe.com.invalid> >wrote: > >> I forgot to mention why we are building our own components. One is to >>see >> how small we can get, but

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-15 Thread Alex Harui
Hi, Yes, we may target other output besides JS someday. Are there any you consider important? Thanks in advance, -Alex On 9/15/17, 3:24 PM, "0xC3" wrote: >To everybody we really do appreciate the hard work and accomplishments >made >by all involved. I really hope I did not

Re: [FLEXJS][Marketing] why should a web dev choose FlexJS?

2017-09-15 Thread Alex Harui
of this code. HTH, -Alex On 9/15/17, 2:42 PM, "Alex Harui" <aha...@adobe.com.INVALID> wrote: >We are building our own versions of Charts and DataGrids and DatePickers. >But how robust they will be depends on customer input. This project >doesn't currently have enough peo

<    1   2   3   4   5   6   7   8   9   10   >