Many thanks for your advice!
I will give this a go for the next update of the app.
-Ursprüngliche Nachricht-
Von: omup...@gmail.com [mailto:omup...@gmail.com] Im Auftrag von OmPrakash
Muppirala
Gesendet: Donnerstag, 11. Juni 2015 00:43
An: users@flex.apache.org
Betreff: Re: Faulty
I already have the line -compiler.theme=${flexlib}\themes\Halo\halo.swc.
IntelliJ is slightly different with no theme selector so you have to
manually specify that.
If I don't specify that it defaults to the spark theme and I get 110 of
these type warnings instead:
Warning:[ProductClient]:
Let me give you a simplified version of what I tried.
Suppose I have an array of Employee objects.
class Employee {
firstName:String;
lastName:String;
age:Number;
}
var employees:Array = [
{ firstName:Joe, lastName:Doe, age:25},
{ firstName:Ann, lastName:Cavanah, age:28}
];
var
Best way to do that is to use fabridge. This is how we were able to expose
the flash/flex api to JavaScript/GWT
On 15 Jun 2015 18:09, olegkon oleg...@gmail.com wrote:
Let me give you a simplified version of what I tried.
Suppose I have an array of Employee objects.
class Employee {
Hi Alex,
Changing the linkage of framework classes to rsl (and for framework itself to
internal) fixed my issue with the embedded_assets.
Maven is so unforgiving and a real pita!
-Original Message-
From: Alex Harui [mailto:aha...@adobe.com]
Sent: donderdag 11 juni 2015 16:49
To:
Alex,
Those were indeed from the maven build of the main application (the main
project so to speak)...
I've checked and maven-compiled with link-reports and also build in
flash-builder with link-report param
and there is now nowhere a Marshal class mentioned.
Still the error persists...
Could
This works fine for me:
AS:
protected function application1_initializeHandler(event:FlexEvent):void
{
var employees:Array = [
{ firstName:Joe, lastName:Doe, age:25},
{ firstName:Ann, lastName:Cavanah, age:28}
];
ExternalInterface.call(passDataToJS, employees);
}
JS:
function
On Mon, Jun 15, 2015 at 8:48 AM, olegkon oleg...@gmail.com wrote:
Let me give you a simplified version of what I tried.
Suppose I have an array of Employee objects.
class Employee {
firstName:String;
lastName:String;
age:Number;
}
var employees:Array = [
{ firstName:Joe,
Even if it is an ArrayCollection, it should come through on the JS side as
an Object. No need to encode it as a string first. You will be able to
walk through it in JS. But you will lose all type information, so you will
have to account for that in the JS code.
AS:
protected function
Is there a way to customize that conversion function to stringify
ArrayCollection - encode it into a string?
Yeah, I guess you should write a custom JSONSerializer and JSONDeserializer,
for ArayCollection, you can serialize the source Array instead for example.
Frédéric THOMAS
Yes, that worked for me too with:
var jsonStr:Sting = JSON.stringify(employees, null, 4);
But in reality my value object is much more complex
and includes ArrayCollection children and some boolean (so it fails to
work).
Is there a way to customize that conversion function to stringify
On 6/15/15, 9:59 AM, L'Hommelet Filip
Filip.L'homme...@ilias-solutions.com wrote:
Alex,
Those were indeed from the maven build of the main application (the main
project so to speak)...
I've checked and maven-compiled with link-reports and also build in
flash-builder with link-report param
and
Did you try to add this in your FM configuration ?
includes
includemx.managers.systemClasses.MarshallingSupport/include
/includes
Frédéric THOMAS
From: Filip.L'homme...@ilias-solutions.com
To: users@flex.apache.org
Subject: RE: AW: issue with
13 matches
Mail list logo