Re: Update Server setting

2024-05-04 Thread Harbs
You can turn off CORS restrictions for localhost in your browser. That might make development easier. Harbs > On May 4, 2024, at 11:11 PM, MARK HARTNETT wrote: > > The CORs policy restricts unknown servers from exchanging data. Tomcat needs > a CorsFilter.jar and CorsFi

Re: Royale AS3 with Starling Framework

2023-09-25 Thread Harbs
Very nice! > On Sep 25, 2023, at 10:49 PM, Josh Tynjala wrote: > > Hi Royale community, > > As you may know, I'm a big fan of finding ways for Royale's AS3 to JS > compiler to work with emulated Flash APIs. Today, I'm sharing a little > project created by Fancy2209 that uses AS3/Royale to

Re: moonshine-ide possible virus

2023-06-07 Thread Harbs
Antivirus has a lot of false positives. Sometimes just rebuilding installers helps. > On Jun 7, 2023, at 2:52 AM, Jim McNamara wrote: > > Hi- > > Edition Windows 11 Pro > Version 22H2 > Installed on ‎1/‎6/‎2023 > OS build 22621.1778 > Experience Windows Feature Experience Pack

Re: Happy New Year team. 2023

2023-01-02 Thread Harbs
Happy New Year! > On Jan 1, 2023, at 2:37 PM, Maria Jose Esteve wrote: > > Happy New Year team. > Let's make 2023 the year of Apache Royale!!! > > Hiedra

Re: Hierarchical presentation

2022-10-14 Thread Harbs
a list with custom renderers for the items. HTH, Harbs > On Oct 13, 2022, at 11:33 AM, Maria Jose Esteve wrote: > > Hello, I ask for your opinion... > I must implement a "Query Builder" [1] and I can't find the right strategy, > does anyone have any idea how I could impleme

Re: UIComponent and transformation matrix

2022-10-03 Thread Harbs
instead of >> this.transform.matrix = m; You’d use this.transformMatrix = m; HTH, Harbs > On Oct 3, 2022, at 5:46 PM, CapitanoG76 wrote: > > Thanks... I would be very interested in learning how to apply transformation > beads. Could not find an example > > On Mon, 3

Re: UIComponent and transformation matrix

2022-10-03 Thread Gabe Harbs
We also now have transformation beads. I’m not at my computer now to find an example of how that works, but you I think there might be an example. Yishay should be able to explain as well. I think he did that implementation. > On 3 Oct 2022, at 2:32, CapitanoG76 wrote: > >  > Hello, > > I

Re: Introducing asformat

2022-09-28 Thread Harbs
That’s great! This is a good reason to get another release out… :-) Harbs > On Sep 28, 2022, at 12:24 AM, Josh Tynjala wrote: > > I just wanted to follow up by mentioning that I recently added the ability > for the formatter load configuration files, in addition to the existin

Re: apache royale and Node js

2022-03-22 Thread Harbs
Ah. I guess I can publish the SWC on npm. Haven’t considered that. You can just copy the swc and you should not need to do anything “special”. > On Mar 22, 2022, at 1:18 PM, Roman Isitua wrote: > > As Spectrum is not part of the royale distribution since it is a standalone > library. I am

Re: apache royale and Node js

2022-03-22 Thread Harbs
> On Mar 22, 2022, at 12:35 PM, Roman Isitua wrote: > > > I recently stumbled upon the below links > > https://apache.github.io/royale-docs/get-started/royale-cli > > > https://apache.github.io/royale-docs/features/nodejs >

Re: Royale support for progressive web apps (pwa)

2022-03-22 Thread Harbs
> Roman, when you get this sorted out, let's figure out where in the > documentation we should explain how to use Royale to create progressive web > apps. I presume it would go alongside explaining how to prepare a Royale app > for use with Cordova to achieve a similar goal. >

Re: Royale support for progressive web apps (pwa)

2022-03-14 Thread Harbs
gt; it in the sp:Application (assuming I am using spectrum) area ? I.e In the fx > script portion of the mxml ? > > On Mon, 14 Mar 2022, 08:45 Roman Isitua, <mailto:romanisi...@gmail.com>> wrote: > Wow ! I will definitely try this and provide an update on the outcome. >

Re: Royale support for progressive web apps (pwa)

2022-03-14 Thread Harbs
gt; .register("/serviceWorker.js") > .then(res => console.log("service worker registered")) > .catch(err => console.log("service worker not registered", err)) > }) > } > To implement the main entry point js file was modified. >

Re: Royale support for progressive web apps (pwa)

2022-03-13 Thread Harbs
IFAIK, the only thing that needs enhancing might be to make sure there’s typedef support for the worker APIs. > On Mar 13, 2022, at 9:56 PM, Andrew Wetmore wrote: > > Is it worth enhancing Royale to support that out of the box? > > On Sun, Mar 13, 2022 at 4:20 PM Harbs &

Re: Royale support for progressive web apps (pwa)

2022-03-13 Thread Harbs
the royale sdk and compiler might need to be > tweaked to support those tasks. > > On Sun, 13 Mar 2022, 19:04 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > No. Why would you need to modify the js file? > >> On Mar 13, 2022, at 7:47 PM, Roman Isitua > <mail

Re: Royale support for progressive web apps (pwa)

2022-03-13 Thread Harbs
. But as I am using royale task three and > four look challenging. I think the royale sdk and compiler might need to be > tweaked to support those tasks. > > On Sun, 13 Mar 2022, 19:04 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > No. Why would you need to modify the js file?

Re: Royale support for progressive web apps (pwa)

2022-03-13 Thread Harbs
generated js file will be overwritten. An ideal > solution will be to add support for it in royale sdk. > > > > On Sun, 13 Mar 2022, 18:36 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > It shouldn’t be any different than a regular web app. > > You can ad

Re: Royale support for progressive web apps (pwa)

2022-03-13 Thread Harbs
It shouldn’t be any different than a regular web app. You can add whatever you want to the template index.html file. > On Mar 12, 2022, at 11:53 AM, Roman Isitua wrote: > > I just stumbled on a tutorial on how to create a pwa app using plain html, > javascript and css (i.e. no framework). >

Re: Spectrum UI components

2022-02-28 Thread Harbs
el property ? That allows us to specify the field in our data > object to be used ? > > > Also, How can we access this latest change ? > > We are using spectrum based on royale 0.9.8 with this commit id "024b730" > > In other words we are not on version 0.9

Re: Spectrum UI components

2022-02-28 Thread Harbs
> > > > > > > In the above example a static fx array was used. How can I use an arrayList > of data objects instead ? > > > > On Wed, Jan 12, 2022 at 5:21 PM Roman Isitua <mailto:romanisi...@gmail.com>> wrote: > Understood. Thanks. > &

Re: Talk on Royale

2022-01-26 Thread Harbs
the performance benefits of Royale. > On Jan 26, 2022, at 9:11 AM, Yishay Weiss wrote: > > Nice presentation. Too bad there wasn’t a Q What was the reaction? > > From: Harbs <mailto:harbs.li...@gmail.com> > Sent: Tuesday, January 25, 2022 1:57 PM > To: users@roya

Talk on Royale

2022-01-25 Thread Harbs
I recently gave a talk on Royale to a local group in Jerusalem. Please excuse the poor delivery. I was recovering from Covid and a flu. ;-) I went a bit into strands, beads and performance. I used the router classes as an example of MXML and Royale features. It might be of interest. There will

Re: Load time is very slow

2022-01-12 Thread Harbs
bug and js-release you are compiling always double. > > In my case, the architecture of my project as well as the Maven compilation > files (pom.xml) were provided by an external company (we didn't know anything > about Maven or Royale at that time) and I understand that this

Re: Compiling Modules (was Re: Load time is very slow)

2022-01-12 Thread Harbs
loading modules. > > You might find it useful to shave off a few bytes in your app where you don’t > really want ALL unknown members to not be renamed. This option can let you > specify just the list of members that matter. > > HTH, > -Alex > > > From: Harbs

Re: Compiling Modules (was Re: Load time is very slow)

2022-01-12 Thread Harbs
compilation and > -js-dynamic-access-unknown-members doesn’t take a list of members. > > -Alex > > From: Harbs > Reply-To: "users@royale.apache.org" > Date: Wednesday, January 12, 2022 at 2:30 AM > To: "users@royale.apache.org" > Subject: Re: C

Re: Spectrum UI components

2022-01-12 Thread Harbs
> On Jan 12, 2022, at 6:08 PM, Roman Isitua wrote: > > What is the purpose of ? since it was no > longer necessary It’s necessary in Royale Basic to use ArrayLists. In Spectrum, there’s a default ListModel which correctly handles both both Array and ArrayList data. > > Also,

Re: Spectrum UI components

2022-01-12 Thread Harbs
> > > On Wed, Jan 12, 2022 at 4:19 PM Harbs <mailto:harbs.li...@gmail.com>> wrote: > How are you assigning the ArrayList? What’s the base component for the MXML? > > You might need to add ContainerDataBinding. > >> On Jan 12, 2022, at 5:08 PM, Roman Isitua >

Re: Spectrum UI components

2022-01-12 Thread Harbs
Also: If you need the list to dynamically update itself you might need EasyDataProviderChangeNotifier like I have below. > On Jan 12, 2022, at 5:19 PM, Harbs wrote: > > How are you assigning the ArrayList? What’s the base component for the MXML? > > You might need to add Conta

Re: Spectrum UI components

2022-01-12 Thread Harbs
How are you assigning the ArrayList? What’s the base component for the MXML? You might need to add ContainerDataBinding. > On Jan 12, 2022, at 5:08 PM, Roman Isitua wrote: > > I have tested it again. No errors. > > > > On Wed, Jan 12, 2022 at 3:54 PM Harbs <mail

Re: Spectrum UI components

2022-01-12 Thread Harbs
>labelField="description" > dataProvider="{newMenuItemList}" change="onSelectMenu(event)"> > > > > > > > > > > it does not render. see Below > > >

Re: Spectrum UI components

2022-01-12 Thread Harbs
Here’s the list of beads I’m using for a Spectrum List elsewhere (you don’t necessarily need ArrayListSelectionModel): > On Jan 12, 2022, at 4:18 PM, Harbs wrote: > >> It's not working. > > What’s not working? > >> Did I apply it

Re: Spectrum UI components

2022-01-12 Thread Harbs
ly it correctly ? > > Another question, which one do you use for your apps in production ? > > > On Wed, Jan 12, 2022 at 2:09 PM Harbs <mailto:harbs.li...@gmail.com>> wrote: > Any one of those three should work. >

Re: Spectrum UI components

2022-01-12 Thread Harbs
Any one of those three should work. > On Jan 12, 2022, at 3:09 PM, Harbs wrote: > > CSS: > #uploadsList{ > IBeadModel: > ClassReference("org.apache.royale.html.beads.models.ArrayListSelectionModel"); > IDataProviderItemRe

Re: Spectrum UI components

2022-01-12 Thread Harbs
> > > On Wed, 12 Jan 2022, 13:41 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > Yes.The default IDataProviderItemRendererMapper is > DataItemRendererFactoryForArrayData. > > If you are using collections you should use > DataItemRendererFactoryForArrayList or &

Re: Spectrum UI components

2022-01-12 Thread Harbs
Yes.The default IDataProviderItemRendererMapper is DataItemRendererFactoryForArrayData. If you are using collections you should use DataItemRendererFactoryForArrayList or DataItemRendererFactoryForCollectionView instead. HTH, Harbs > On Jan 12, 2022, at 1:35 PM, Roman Isitua wr

Re: Compiling Modules (was Re: Load time is very slow)

2022-01-12 Thread Harbs
How is this different than -js-dynamic-access-unknown-members? > On Jan 12, 2022, at 10:04 AM, Alex Harui wrote: > > I added a -prevent-rename-object-keys compiler option that works as a > post-processor. It scans the js files being copied into bin/js-debug and > adds quotes around things.

Re: Creating and using spectrum composite components

2022-01-08 Thread Harbs
There’s also FlexContainer which is offers flexbox layout. But I juts noticed that Container has ContainerBinding baked in and FlexContainer doesn’t. I don’t remember if there was a reason for that. Probably not. HTH, Harbs > On Jan 8, 2022, at 7:19 PM, Roman Isitua wr

Re: Creating and using spectrum composite components

2022-01-08 Thread Harbs
You will probably want to read about forks too: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks > On Jan 8, 2022, at 6:58 PM, Harbs wrote: > > pull requsest. > https://docs.github.com/en/pull-requests/collaborating-with-p

Re: Creating and using spectrum composite components

2022-01-08 Thread Harbs
an 8, 2022 at 5:52 PM Harbs <mailto:harbs.li...@gmail.com>> wrote: > Card subclasses SpectrumBase. > > To do what you want, it should subclass Spectrum Group. That’s an oversight. > > Please make a PR. :-) > >> On Jan 8, 2022, at 6:49 PM, Roman Isitua > <

Re: Creating and using spectrum composite components

2022-01-08 Thread Harbs
Card subclasses SpectrumBase. To do what you want, it should subclass Spectrum Group. That’s an oversight. Please make a PR. :-) > On Jan 8, 2022, at 6:49 PM, Roman Isitua wrote: > > I have a simple spectrum view that references a container as follows > > > > > > > > > The SignInForm

Re: Spectrum UI components

2022-01-08 Thread Harbs
Use a > On Jan 8, 2022, at 4:34 PM, Roman Isitua wrote: > > Hi Harbs, > > I am trying to create a login form. How do I hide the password in > > > > could it be that it does not support password hiding ? Do I have to resort > to using royale basic text field ?

Re: Setting up spectrum

2022-01-07 Thread Harbs
f the royale sdk, is there an as > doc for spectrum ? > > I like looking api doc to understand how to use ui components (properties, > beads, e.t.c ) > > On Fri, 7 Jan 2022, 08:26 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > That’s right. There’s only one swc.

Re: Setting up spectrum

2022-01-06 Thread Harbs
there. > On Jan 7, 2022, at 8:53 AM, Roman Isitua wrote: > > Harbs I have been able to build the Spectrum project using ant. I used the > binary release of 0.9.8 to achieve this. > > I have a question, in the target folder I can see only one file > (Spectrum.swc). I was expecting to

Re: Setting up spectrum

2022-01-05 Thread Harbs
Sorry for the trouble. I don’t use Maven, so I don’t have a Maven build in Spectrum. You can feel free to make a PR with a Maven config to build it. Thanks, Harbs > On Jan 5, 2022, at 4:33 PM, Roman Isitua wrote: > > I commented it out. It did not work. I had to comment on ano

Re: Setting up spectrum

2022-01-04 Thread Harbs
It’s checking for compiler-mxmlc.jar in the lib directory in ROYALE_HOME. Are you missing that for some reason? I’m not sure why it’s checking for that instead of compc.jar which is what it should actually be using. It was copied from the build.xml files used in the framework compile. Maybe

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
End.js:248) > at HTMLAnchorElement.iy (FrontEnd.js:125) > at HTMLAnchorElement.b (FrontEnd.js:121) > 3Overview.js:56 Uncaught TypeError: Cannot read properties of undefined > (reading 'prototype') > at P (Overview.js:56) > at SG.convert (FrontEnd.js:904) &g

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
top and read it to you. > > Hiedra > > De: Harbs > Enviado el: jueves, 30 de diciembre de 2021 18:56 > Para: users@royale.apache.org > Asunto: Re: Compiling Modules (was Re: Load time is very slow) > > 1. I’d get rid of the agressive minification options. It

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
t 8:04 PM, Roman Isitua wrote: > > Kindly clarify what you mean by "no 1. Get rid of aggressive mimification > options " ? Which of the options are aggressive ? > > > I will apply no 2 and revert with my findings. > > On Thu, 30 Dec 2021, 18:56 Harbs, <m

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
that way you can see all > the compilation options used. The pom for the parent (FmClient2), the > MainApp and one module (Overview) have been attached to this email. > > > On Thu, Dec 30, 2021 at 6:22 PM Harbs <mailto:harbs.li...@gmail.com>> wrote: > Roman, can

Re: Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
at KE.hm (FrontEnd.js:1600) > at XE.M.Fb (FrontEnd.js:943) > at XE.M.uh (FrontEnd.js:937) > at FE.M.na <http://fe.m.na/> (FrontEnd.js:497) > at FE.M.v (FrontEnd.js:497) > at dR.M.S (FrontEnd.js:213) > at dR.Nz.S (FrontEnd.js:217) >

Compiling Modules (was Re: Load time is very slow)

2021-12-30 Thread Harbs
ula was > chosen to show us the options we had. > > A priori and without doing any test as Harb has done, I think that modularity > gives us the advantage of compiling parts of the code once and not compiling > them again if they are not modified. So far WITH MY COMPIL

Re: Load time is very slow

2021-12-28 Thread Harbs
Yes. This is one of the things I’d like to see happen in 2022. It should even be possible to automatically load changed JS files in the browser without reloading the whole page (in some cases). > On Dec 28, 2021, at 9:13 AM, Yishay Weiss wrote: > > > That said, I’d like for us to add

Re: Load time is very slow

2021-12-27 Thread Harbs
e’s a very compelling reason to do so. I’d also consider very strongly whether you need something like Crux which brings along with it all the baggage associated with Reflection. My $0.02, Harbs > On Dec 28, 2021, at 2:01 AM, Alex Harui wrote: > > IMO, modularity is a well-pro

Re: Load time is very slow

2021-12-27 Thread Harbs
Four minutes for debug? Wow. Are you sure it’s only JS and debug? That seems insane. > On Dec 28, 2021, at 9:13 AM, Yishay Weiss wrote: > > We have a client now whose devs are seeing four minutes for each iteration, > on top of which they have other startup tasks that can take a few minutes.

Re: Load time is very slow

2021-12-27 Thread Harbs
The build instructions should be the same. checkout the branch in both royale-compiler and royale-asjs and rebuild the same way you normally do. This git command should check out the branch. git checkout feature/ROYALE_INTERFACE_INFO If it doesn’t work, details on what happens should help us

Re: Load time is very slow

2021-12-27 Thread Harbs
That doesn’t sound right. Are you sure you’re compiling debug and not release? That sounds like release build times. > On Dec 27, 2021, at 3:31 PM, Roman Isitua wrote: > > Wow ! You are using a workstation with a bleeding edge processor. > > I just compiled my app now. It took 44 seconds.

Re: Load time is very slow

2021-12-27 Thread Harbs
Yes. I made some changes which I’m hoping might help for modules. > On Dec 27, 2021, at 3:06 PM, Roman Isitua wrote: > > What feature are you referring to here ? Minification of modules ? Please > clarify. > > > On Mon, Dec 27, 2021 at 1:44 PM Harbs <mailto:harbs

Re: Load time is very slow

2021-12-27 Thread Harbs
> Compile times of debug builds should be very fast. What compile times are you > seeing? > > What I mean is that, if we develop the entire application using only one > module, as we add new functionality, compile times will continue to increase. > With the modular approach, functionality

Re: Load time is very slow

2021-12-27 Thread Harbs
If you could try out the feature/ROYALE_INTERFACE_INFO branch and let me know if that helps, it would be very helpful. You need to pull that branch both for royale-compiler and royale-asjs. > On Dec 27, 2021, at 2:04 PM, Roman Isitua wrote: > > So I definitely need to figure out how to get

Re: Load time is very slow

2021-12-27 Thread Harbs
> On Dec 27, 2021, at 2:04 PM, Roman Isitua wrote: > > - compile times. With modules as I am adding new features to the app, compile > times will not be affected too much. > This is very useful for my small team. We are not using the latest > workstation with bleeding edge processors. My

Re: Gett started with Royale with Intellij

2021-12-09 Thread Harbs
I know Greg is using IntelliJ. Greg do you have time to fill out that page? > On Dec 9, 2021, at 4:28 PM, Vincent Jugé wrote: > > Hello, > > As I have a some spare time, I would like to try Royale using Intellij IDE > but the "Intellij set up" wiki page >

Re: Nuevo control Jewel TriStateCheckBox

2021-12-08 Thread Harbs
Great work! :-) Harbs > On Dec 9, 2021, at 4:13 AM, Maria Jose Esteve wrote: > > Hi, > I wanted to share the new Jewel TriStateCheckBox control, a Jewel CheckBox, > only Js, with 3 states: Checked, Unchecked and Indeterminate. > > It can be configured with the indeter

Re: Global data transfer objects in a crux app

2021-12-02 Thread Harbs
Responses inline. > On Dec 2, 2021, at 12:22 AM, Roman Isitua wrote: > > I have started development using crux with modules. My current observation is > that crux initialize classes defined in the beans.xml of the child module. > > > To share data between modules e.g. parent and child are

Re: Royale with Material design lite

2021-09-29 Thread Harbs
; >> On 29 Sep 2021, at 09:27, Roman Isitua > <mailto:romanisi...@gmail.com>> wrote: >> >> Interesting. Thanks for this information. I will definitely investigate >> this. >> >> >> >> On Wed, 29 Sep 2021, 08:43 Harbs, > <mailto:h

Re: Royale with Material design lite

2021-09-29 Thread Harbs
Regards, > > Roman. > > On Mon, Sep 13, 2021 at 10:51 AM Roman Isitua <mailto:romanisi...@gmail.com>> wrote: > Okay. > > > On Mon, 13 Sep 2021, 10:31 Harbs, <mailto:harbs.li...@gmail.com>> wrote: > It’s not built by or published to Maven. You can

Re: Introducing asformat

2021-09-22 Thread Harbs
Totally agree! B-) > On Sep 22, 2021, at 8:54 PM, Andrew Wetmore wrote: > > totally cool. > > On Wed, Sep 22, 2021 at 2:43 PM Josh Tynjala > wrote: > Hey everyone, > > I recently created asformat, which is a formatter for ActionScript code. It > is based on

Re: Royale with Material design lite

2021-09-13 Thread Harbs
It’s not built by or published to Maven. You can include a SWC in any project. > On Sep 13, 2021, at 11:41 AM, Roman Isitua wrote: > > Thanks for sharing Harbs. > This is another impressive ui library. > > > Just one observation. It appears not to have support for mave

Re: Royale with Material design lite

2021-09-13 Thread Harbs
https://github.com/unhurdle/spectrum-royale https://unhurdle.github.io/spectrum-royale/ > On Sep 13, 2021, at 10:22 AM, Piotr Zarzycki > wrote: > > Harbs I believe you have some links and examples - you did that > implementation - I'm just mentioning that cause it could be

Re: Errors building stand alone actionscript library

2021-09-03 Thread Harbs
You’re missing Collections (and likely others) from your pom. > On Sep 2, 2021, at 11:58 PM, Roman Isitua wrote: > >

Re: Strange runtime error With AMF and Moonshine

2021-04-06 Thread Harbs
What’s the bug? Was it using classes you did or didn’t import? > On Apr 6, 2021, at 12:03 PM, David Slotemaker de Bruine > wrote: > > Hi All, > > I have found the culprit. It has nothing to do with Moonshine, but seems to > be a "Feature" of the Compiler. I am not sure where I should file

Re: CSS variables error

2021-03-17 Thread Harbs
Anything in here: https://www.w3.org/Style/CSS/specs.en.html > On Mar 17, 2021, at 2:34 PM, Maria Jose Esteve wrote: > > Hahahaha, Do you notice that I am learning EVERYTHING? , I'm going to find > out what “plain vanilla” is and I'll tell you. > > Thanks Harbs > H

Re: CSS variables error

2021-03-17 Thread Harbs
/1999/xhtml>"; > @namespace j "library://ns.apache.org/royale/jewel > "; > > .global { > --pricolordark: #2196F3; > --pricolorlight: #BBDEFA; > } > > .jewel.topappbar .topBarAppHeader { > background: val(--pricolordark); >

Re: CSS variables error

2021-03-17 Thread Harbs
> It seems that the solution was to create an external css that would not go > into the compilation process but this does not work here. Wait. Missed this line. Why wouldn’t it work? > On Mar 17, 2021, at 1:08 AM, Maria Jose Esteve wrote: > > Hello, > I am trying to use "variables" in my

Re: CSS variables error

2021-03-17 Thread Harbs
The compiler needs to understand the css in order to compile it. Any features that the compiler doesn’t understand need to be added to the compiler. Definitely add this as a Github issue. To use unsupported CSS features, you need a CSS file which is not run through the compiler. What I do is

Re: WebBrowser vs IFrame

2021-02-23 Thread Harbs
uot;postMessage"]("foobaz",'*’); and myIframe.element.contentWindow.addEventListener(“message”,myOtherHandler); Although presumably, you’d be in the inner iframe code and it would just be “window”. HTH, Harbs > On Feb 22, 2021, at 9:14 PM, Bilbosax wrote: > > @Harbs, thanks for res

Re: WebBrowser vs IFrame

2021-02-22 Thread Harbs
s posted to. Messages must be content which can be serialized. You can also optionally pass a Transferable[2], but I never have actually tried that. HTH, Harbs [1]https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage [2]https://developer.mozilla.org/en-US/docs/Web/API/Transfer

Re: AS3 & MXML for VSCode and Mac M1

2021-02-10 Thread Harbs
I got an M1 machine for testing, but I have not yet tried to use VS Code for Royale with it. I’ll likely have an opportunity to do that sometime in the next week. Harbs > On Feb 10, 2021, at 11:37 AM, Isabelle LOYER wrote: > > Hi, > > Could you share your experien

Re: [EXTERNAL] CSS & JS file versioning

2021-01-23 Thread Harbs
That’s not necessary. All browsers have a checkbox to disable cache while devtools are open. HTH, Harbs > On Jan 23, 2021, at 1:58 AM, Brian Raymes wrote: > > FYI, I have expanded upon this for my debug version as well: > > This adds a timestamp to ever every js ref

Re: Popup and Databinding

2021-01-18 Thread Harbs
ContainerDataBinding might be more appropriate. > On Jan 18, 2021, at 4:14 PM, wkoch wrote: > > I found the issue. Was missing the ItemRendererDataBinding bead in the popup > code. > > > > -- > Sent from: http://apache-royale-users.20374.n8.nabble.com/

Re: Popup and Databinding

2021-01-17 Thread Harbs
What’s the base for your MXML file? > On Jan 17, 2021, at 11:44 PM, wkoch wrote: > > I'm sure I'm missing a bead somewhere... > > I am making a popup programatically. In that popup I have things that are > supposed to bind. I have a datagrid that is populated from a database call > and a

Re: CSS & JS file versioning

2021-01-12 Thread Harbs
wrote: > > Indeed, it was more about whether the "html-template" supports own > placeholders and versioning per se. > > > Gesendet: Dienstag, 12. Januar 2021 um 13:14 Uhr > Von: "Harbs" > An: users@royale.apache.org > Betreff: Re: CSS &

Re: CSS & JS file versioning

2021-01-12 Thread Harbs
I think the question was how to automatically insert the build number into the html (i.e.?v=12345678) > On Jan 12, 2021, at 1:41 PM, Carlos Rovira wrote: > > Hi, > > I think you need "htmlTemplate" compiler option. This is how to use in Maven: > >

Re: New to Royale

2020-11-07 Thread Harbs
Just CSS. All the code is in the components. > On Nov 6, 2020, at 1:37 PM, Carlos Rovira wrote: > > It's just CSS or JS too? > MDL had both > > El vie., 6 nov. 2020 a las 12:21, Harbs ( <mailto:harbs.li...@gmail.com>>) escribió: > Yup. The reason I made Spectrum

Re: New to Royale

2020-11-06 Thread Harbs
on is already in Jewel > List, but we still don't have a Menu component. > > > > El vie., 6 nov. 2020 a las 9:44, Harbs ( <mailto:harbs.li...@gmail.com>>) escribió: > Possibly, but I’m pretty sure Spectrum has components that Jewel is missing. > ;-) > >

Re: New to Royale

2020-11-06 Thread Harbs
Possibly, but I’m pretty sure Spectrum has components that Jewel is missing. ;-) Right now, we’re pretty much finished with a Tag Field component. We’re also working on keyboard navigation on lists and menus, etc. Just some friendly competition to keep us both on our toes… ;-p > On Nov 5,

Re: New to Royale

2020-11-05 Thread Harbs
It depends on which component set you use. I think Jewel has some responsive behavior, but I’m not familiar. Spectrum has responsive behavior built into the CSS, but the components only take minimal advantage of that. https://github.com/unhurdle/spectrum-royale

Re: Charts

2020-07-28 Thread Harbs
https://royale.apache.org/using-external-javascript-libraries-in-apache-royale/ Here’s a reference for other frameworks which integrated into echarts: https://echarts.apache.org/en/download-extension.html#framework > On Jul 27, 2020, at 8:20 PM, Maria Jose Esteve wrote: > > Piotr, where

Re: css rule @keyframes

2020-07-16 Thread Harbs
The way I work around CSS compiler bugs until they are fixed is by including a separate CSS file that I reference in the app HTML. I include the following in the template HTML: > On Jul 16, 2020, at 1:01 AM, Brian Raymes wrote: > > As a workaround, you can add any style that doesn’t’ work

Re: UIComponents set visible positioner.style.visibility = null not working wir IE11

2020-07-07 Thread Harbs
As soon as I get my act together… ;-) Harbs > On Jul 7, 2020, at 5:21 PM, tranquiliste wrote: > > I confirm that it is corrected in the nightly build. > > Do you know when 0.9.8 is expected to be released? > > Nicolas > > > > - > Nicolas > --

Re: No Event.cancel event present for org.apache.royale.Events.event

2020-06-30 Thread Harbs
flash.filters.GlowFilter to org.apache.royale.svg.DropShadowFilter should be more or a less drop-in replacement. HTH, Harbs > On Jun 30, 2020, at 12:06 AM, Anil Guntur - agun...@us.ibm.com > wrote: > > Is that something one can add to the event Class > > Also any alternative to flash.

Re: XSLT for royal jewel libs

2020-06-25 Thread Harbs
gives the following code intelligence in VS Code: We should be using Inspectable tags more religiously and I wonder if the compiler might be able to give warnings when values other than the accepted ones are used. Harbs > On Jun 25, 2020, at 2:08 PM, Yishay Weiss wrote: > > Hi Ani

Re: Need Migration Help

2020-06-25 Thread Harbs
Is it or ? You need to use fx:Script. > On Jun 25, 2020, at 11:13 AM, Sohail Abdul Khaliq wrote: > > Hi > I am having issue with some mx imports > > import mx.resources.IResourceManager; > import mx.resources.ResourceManager; > import mx.rpc.AsyncToken; > import mx.rpc.IResponder; > import

Re: Need Migration Help

2020-06-25 Thread Harbs
the way. We’re here to help. Harbs > On Jun 25, 2020, at 9:59 AM, Harbs wrote: > > Search and replace for imports which have a direct replacement is a good way > to do it. > > That should help get rid of a lot of errors. > > Harbs > >> On Jun 25, 2020

Re: Need Migration Help

2020-06-25 Thread Harbs
Search and replace for imports which have a direct replacement is a good way to do it. That should help get rid of a lot of errors. Harbs > On Jun 25, 2020, at 7:34 AM, Sohail Abdul Khaliq wrote: > > i have a large scale Application in Flex and i now want to migrate from Flex &g

Re: First time using Apache Royale

2020-06-24 Thread Harbs
Spectrum as a model on how to do that. HTH, Harbs > On Jun 24, 2020, at 7:04 AM, Anil Guntur - agun...@us.ibm.com > wrote: > > Hello, > We have a big Flex project with action script (compiled to a SWF). Looking at > ways to convert to a JS/HTML version. Came across Apache Ro

Re: Add Beads

2020-06-15 Thread Harbs
Cool. There might be beads which assume beadsAdded is only dispatched once, so Yishay’s solution is probably better. > On Jun 15, 2020, at 6:20 PM, Maria Jose Esteve wrote: > > Harbs, also works: > > > override public function ad

Re: Add Beads

2020-06-15 Thread Harbs
; putting a breakpoint in the “set strand” method of ComboBoxTextPrompt? > > From: Maria Jose Esteve <mailto:mjest...@iest.com> > Sent: Monday, June 15, 2020 3:04 PM > To: users@royale.apache.org <mailto:users@royale.apache.org> > Subject: RE: Add Beads > > Hi Harbs,

Re: Add Beads

2020-06-15 Thread Harbs
simply add it in the class constructor after super(). HTH, Harbs > On Jun 15, 2020, at 2:40 PM, Maria Jose Esteve wrote: > > Hello, > I am extending a component and need to add a default bead to it. (This is a > jewel control but I imagine it will be similar in basic or mx

Re: hscroll bar for adg hides the content

2020-06-12 Thread Harbs
There is probably a scroll bead which is adding the overflow:auto. > On Jun 12, 2020, at 10:32 AM, serkan wrote: > > I added the declaration in to the main application mxml. > > > .MXAdvancedDataGridItemRenderer { > overflow:none; > } > > > > > > > >

Re: Reminder !

2020-05-27 Thread Harbs
space. > > > > But I think it might be overkill for Serkan’s scenario. > > > > -Alex > > > > From: Harbs mailto:harbs.li...@gmail.com>> > Reply-To: "users@royale.apache.org <mailto:users@royale.apache.org>" > mailto:users@roya

  1   2   >