Apache Royale is the successor of Adobe Flex. While Flex used MXML and ActionScript 3 to produce rich internet applications for Adobe Flash Player and AIR, Apache Royale uses the same programming language (AS3) and XML definition files to produce applications targeting different platforms, including HTML/JavaScript without any plugins.
Questions tagged [apache-royale]
65 questions
0
votes
2 answers
Apache Royale : How to detect enter key on j:textInput
I have this code :
Unfortunaly looking at https://apache.github.io/royale-docs/component-sets/jewel/textinput I didn't find a bead for KeyDown event.
Is…

Fred
- 399
- 3
- 12
0
votes
1 answer
Does apache royale support two-way data binding now?
As title. I did not find any example or blog about two-way data binding. If not support, only can handle ui change event, or have some better way to update model(value object) ?

Taro.Yu
- 1
- 1
- 1
0
votes
1 answer
How to setFocus on Apache Royale Jewel Button?
All is in the title...
I would like to trigger at application startup this definition in css :
.jewel.button:focus
But I don't see any setFocus or focus property on j:Button
Could you tell me how to do ? Thanks
Regards

Fred
- 399
- 3
- 12
0
votes
1 answer
Apache Royale : equivalent of enabled property on j:Button
I have issue on using "enabled" with j:Button.
I know that I must add functionality with this bead :
But now I have the button showing disabled…

Fred
- 399
- 3
- 12
0
votes
1 answer
Apache Royale : issue with DataGrid Jewel on SDK 0.9.7
As I want to use new features of Apache Royale, I switch from SDK 0.9.6 to 0.9.7 #716 (JSOnly Nightly Build) downloaded today.
But when trying to use Jewel DataGrid, I have an js error:
DataGridView.js:171 Uncaught TypeError: Cannot read property…

Fred
- 399
- 3
- 12
0
votes
2 answers
Cannot compile royale app using Crux: Could not find file for class: mx.rpc.AsyncToken
I'm creating a hello world type of application using Royale 0.9.6 and Crux. It's my first time trying out Crux and I've been using the examples provided within the Royale sdk to move forward. Unfortunately after setting up everything the compilation…

Migs
- 96
- 6
0
votes
1 answer
Moonshine Apache Royal: bad interpreter: Operation not permitted
Getting an error when trying to build a new project, right after it was generated.
Here is what I bee trying so far:
changing mxmlc permission: chmod +x
removing mac sandbox: cd apache-royale-0.9.6-bin-js-swf and then xattr -cr .
Error output:
:…

Ilya Gazman
- 31,250
- 24
- 137
- 216
0
votes
1 answer
Issue on resize Event with Apache Royale SDK 0.9.6
How to handle parent container resize Event or at least browser resize Event ?
I try this code, but handleResize is never call :
package
{
//import org.apache.royale.html.Group;
import org.apache.royale.jewel.Group;
import…

Fred
- 399
- 3
- 12
0
votes
2 answers
How to set "z-index" of an element in Apache Royale (equivalent of setElementIndex in Flex)?
I want to make a simple pictures slideshow with Apache Royale.
To simplify I have 2 in a . Something like this (but written dynamicaly in as3)

Fred
- 399
- 3
- 12
0
votes
2 answers
How to set column 100% width on basic js|DataGrid on Apache Royale
I struggle with column width. I want the last column to be 100% width
Apparently I can't use columnWidth="100%".
I use js|DataGrid (basic) with SDK 0.9.6
Here is my code :

Fred
- 399
- 3
- 12
0
votes
1 answer
DataGrid cell background color issue on Apache Royale
Let't take this code

Fred
- 399
- 3
- 12
0
votes
1 answer
How to use js:DataGrid on Apache Royale ? Issue with Language.synthType
I have an issue using this code, I don't know what Language.synthType is...
Used SDK is 0.9.6

Fred
- 399
- 3
- 12
0
votes
1 answer
How do I use the js:Datagrid to dynamically update the dataprovider
js:dataGrid shows blanks instead of data.
The dataGrid component:

Bash
- 23
- 2
0
votes
1 answer
Configuring Royale in Visual Studio Code
Compiled Royale project in VSCode successfully but index.html display blank screen in Chrome.
Followed instruction from
https://github.com/BowlerHatLLC/vscode-as3mxml/wiki/Install-the-ActionScript-and-MXML-extension-for-Visual-Studio-Code
and setup…

dennislee
- 65
- 1
- 8
0
votes
1 answer
Is there an option to reduce the compiler output when converting AS to JS?
I'm using Apache Royale mxmljsc compiler to convert AS to JS and there is more information than I want to see in the output. I'm only interested in if it's successful or there are errors.
Is there a compiler argument I can set to reduce the output?

1.21 gigawatts
- 16,517
- 32
- 123
- 231