Including AIR in apk

2015-04-24 Thread doug777
Someone mentioned the other day that AIR can now be included in an apk. But how do you actually do that in Flash Builder 4.5? Can it be included in any other mobile or desktop projects or just Android? Doug -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Inclu

Re: How to set Flash Builder 4.7 Win7 64bit to use Java 1.8 ?

2016-10-07 Thread doug777
FYI It is now not possible to do an Export Release Build on Windows 10 with Timestamp selected in FlexBuilder 3 or FlashBuilder 4.x. Doug -- View this message in context: http://apache-flex-users.246.n4.nabble.com/How-to-set-Flash-Builder-4-7-Win7-64bit-to-use-Java-1-8-tp13775p13780.html

Calls to superclass failing

2016-11-27 Thread doug777
I have a strange problem with all my skins that were previously working correctly. This causes all sorts of problems with the components using these skins. Whenever I need to access the skin superclass I am getting warnings. For example: super.updateDisplayList(unscaledWidth, unscaledHeight); g

Re: Calls to superclass failing

2016-11-27 Thread doug777
In the email, the CDATA section seems to have been eaten by the mailer. The code inside this part is override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void { bgRectFill.color = getStyle('backgroundColor');

Re: Calls to superclass failing

2016-11-27 Thread doug777
There is no Skin class in my project's folder. None of my skins have names that are the same as any sdk skin. Most of the components using the skins eventually fail with a null object error and in the debugger I can see that the ultimate cause of the problem seems to be that it can't find the Skin

Re: Calls to superclass failing

2016-11-27 Thread doug777
I don't think the stack traces help as they only relate to the error caused. For example here is the trace for a DataGrid that uses a custom skin. TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components::GridColumnHeaderGroup/getHeaderRend

Re: Calls to superclass failing

2016-11-28 Thread doug777
If I create a test case it all works - the skins work fine in all my other projects. I've done something to this project that has caused this fault - I was just looking for some clue as to where the fault might lie. The fault is passed onto the compiled Release Build as well. In the particular tr

Re: Calls to superclass failing

2016-11-28 Thread doug777
It's so odd. This line in ViewListingsDataGridSkin - super.updateDisplayList(unscaledWidth, unscaledHeight); has the warning : Call to a possibly undefined method updateDisplayList Yet if I control-click on super, SparkSkin pops up where updateDisplayList is very obviously defined. How is that

Re: Calls to superclass failing

2016-11-28 Thread doug777
> you could use the debugger to step into the super.updateDisplayList call > to make sure no exception gets thrown at that point. The first line with a warning that gets called in my skin is super.initializationComplete and stepping into this shows it goes through various components UIComponent -

Re: Calls to superclass failing

2016-11-28 Thread doug777
So I ran swfdump and have been studying the results. The module in which this skin is used created a file with 200,000 lines. From the ABC2 tag to the end of the section where newclass ViewListingsDataGridSkin is shown there are about 3000 lines. I can't see anything in there that looks odd, but t

Re: Calls to superclass failing

2016-11-28 Thread doug777
That was the solution. Everything now works correctly. When I start to do some new work on an old project I always upgrade it to the latest sdk before starting. I never realized before that there can be hidden changes that affect things without showing errors or warnings in the Problems panel. E

Re: Calls to superclass failing

2016-11-28 Thread doug777
I doubt digging in further will be off any general help to anyone. The main thing is to recognize the problem and know what to do to solve it. Many thanks for your help, Doug -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Calls-to-superclass-failing-tp14230p142

Re: Flex Remoting to ColdFusion 10

2017-03-06 Thread doug777
If this is a local install and this is the CF Developer edition perhaps the flexgateway is at http://localhost:8500/flex2gateway/ Doug -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-Remoting-to-ColdFusion-10-tp14782p14784.html Sent from the Apache Flex Use

Re: FlexPrintJobScaleType doesn't work for me

2017-08-12 Thread doug777
We have tried to use FlexPrintJob in the past with or without printAsBitmap set. But we found the final print usually has odd artefacts included just as you are seeing. Unless you have a fairly simple document and you know it will never be more than one page long, I would suggest these alternatives

Instantiate ane returns null

2017-09-04 Thread doug777
I am trying to build a google maps ane with Android Studio 2.3.3 which comes with jdk 1.8 installed. adt builds the ane with no fault, but when I call : ExtensionContext.createExtensionContext("com.mysite.smallgminterface", "" ) it returns null, with no errors. There are some posts on various f

FlexJS 0.8.0 with IntelliJ IDEA

2017-09-06 Thread doug777
Re [FlexJS] 0.8.0 not working in IntelliJ IDEA on the developer list. Has this ever been resolved? Any suggestion on what to do instead in order to use 0.8.0? Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-06 Thread doug777
Hi Piotr, The nightly build downloads with no problems at all. I have followed through the setup instructions then copied the Hello World example into the IDE window. No errors show up (green tick in top right-hand corner). But when I try to build, I get the error Compilation failed - command

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread doug777
Piotr, I didn't try to run; just got as far as : You should be able to build your project now, click on Build -> Rebuild project. I then get the following in the Messages window - Information:[MySite]: Starting Flex compiler: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread doug777
OK so result is same and this line shows up as : Information:[MySite]: mxmlc -load-config=C:\Users\Doug\.IntelliJIdea2017.2\system\compile-server\tabletbookingwebsite_b0893d28\_temp_\IntelliJ_IDEA\idea-2B980A45-2D8F3090.xml -load-config+=C:/My Documents/FlexJS SDKs/0.9.0/ide/IDEA/intellij-config.x

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread doug777
This changed the result as follows but as Hello World has no event listeners I'm not sure what the new errors mean. Information:[MySite]: Starting Flex compiler: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe" -Dapplication.home=C:\FlexJSSDKs\0.9.0 -Dfile.encoding=UTF-8 -Dja

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread doug777
It's just this from the examples folder http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic"> -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-07 Thread doug777
If I open your project and then adjust the sdk paths then build I get the same error in my off-list email. I repeat the trace here. Information:[MySite]: Starting Flex compiler: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe" -Dapplication.home=C:\FlexJSSDKs\0.9.0 -Dfile.en

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread doug777
Thanks for your help. I will try Moonshine. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread doug777
Hi Piotr, With the dots removed from the sdk path, there are only four errors. Information:[MySite]: Starting Flex compiler: "C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.3\jre64\bin\java.exe" -Dapplication.home=C:\FlexJSSDKs\090Nightly -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.lan

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-08 Thread doug777
The batch file generates the following warnings : Sep 09, 2017 1:27:30 PM com.google.javascript.jscomp.LoggerErrorManager println WARNING: C:/FlexJSProjects/MySite/MySite/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:102: WARNING - Type annotation references non-existent type org.apache.

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-09 Thread doug777
Here are screenshots. Not sure if this is the launch configuration??

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-09 Thread doug777
Here they are : Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS 0.8.0 with IntelliJ IDEA

2017-09-10 Thread doug777
Hi Piotr, Moonshine works perfectly with no errors at all. I just felt that I would be able to work faster with IntelliJ and there's no rush as this is a new project and I have a lot of work to do before I need to compile and test anything. But now I wonder if FlexJS is going to be whole-hearted

How To Start Converting A Browser Project to FlexJS

2017-09-12 Thread doug777
My old Spark project starts with the following mxml tags : Application, RemoteObject, BorderContainer, HGroup and so on. Looking at the FlexJS API http://people.apache.org/~pent/asdoc-flexjs/index.html, I see four different Application tags. How to know which one to choose? The HelloWorld example

Re: How To Start Converting A Browser Project to FlexJS

2017-09-12 Thread doug777
Thanks for the info. The link I used came from Google - search for FlexJS API. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: How To Start Converting A Browser Project to FlexJS

2017-09-12 Thread doug777
Thanks guys! That's given me a lot of great stuff to delve into and already given me a much clearer idea of how to proceed. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

FlexJS RemoteObject with ColdFusion

2017-09-13 Thread doug777
>From the example it's not clear to me how to use this with CF. Using following as an example, how would this translate into the new js tag. var mailer:Object = {sendto:"a...@gmail.com", from:"me", subject:"New Info", html:1, message:message}; this.roSendEmail.sendmail(mailer); Doug

Re: FlexJS RemoteObject with ColdFusion

2017-09-14 Thread doug777
Thanks Alex. It was the first argument of the send function that I got wrong. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject with ColdFusion

2017-09-14 Thread doug777
Hi Alex, I'm trying to work out how to get the path between the js-release folder and CF. In Flash Builder you could set the build path so that the equivalent of js-release gets built somewhere useful, but I can't find out how to do that in Moonshine. You can't just copy the folder to the place wh

Re: FlexJS RemoteObject with ColdFusion

2017-09-14 Thread doug777
This is my simple tester: http://ns.adobe.com/mxml/2009"; xmlns:js="library://ns.apache.org/flexjs/basic" xmlns:local="*" pageTitle="HelloWorld" xmlns:ns="library://ns.apache.org/flexjs/html5" initialize="init()">

Re: FlexJS RemoteObject with ColdFusion

2017-09-15 Thread doug777
Adding that to Additional Compiler Options causes a whole heap of different errors and warnings. And the Hello World page does not appear in the browser. These are the errors - WARNING: C:/My Documents/Moonshine/Test/bin/js-debug/org/apache/flex/core/HTMLElementWrapper.js:93: WARNING - Type annot

Re: FlexJS RemoteObject with ColdFusion

2017-09-15 Thread doug777
In the Firefox web console I see this : destination fault handler Object { code: -1004, message: "Invalid response type.", detail: "Invalid XMLHttpRequest response sta…", data: null } Language.js:238:7 Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject with ColdFusion

2017-09-16 Thread doug777
Unfortunately on rebooting the computer and opening Moonshine, I now get an error if I try any of the Build options: Invalid SDK - Please configure a Flex SDK instead. The sdk is obviously okay, the mouse-over pop-ups appear correctly and so do the suggestion lists as you type in the Test.mxml fil

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
Hi Piotr, It was already set to 0.8.0 so I changed it to Nightly Build, but still get the same error. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
Sorry don't know how to set the FLEX_HOME variable. In fact all the build options generate this error. Where is the full stack trace? Here is what shows up in the panel at the bottom: Moonshine IDE 1.5.1 : Source is under Apache License, Version 2.0 : http://code.google.com/p/moonshineproject/

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
Now I think of it, there might have been an AIR update since I last ran Moonshine. Could it be this that's messed it up? Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
I already checked the system path variables, but none of the path variables in the build.xml file show up there. OK will try to build new project. Will be tomorrow morning my time. Thanks for your help, Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
It would be nice to get Moonshine working, it's actually quite a nice uncluttered environment to work in, but of course it has to function properly. So just have time to build new project and set SDK and compiler options and save. Then I can build or build and run no problem. But there are no mous

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
Hi Piotr, On opening a new mxml file inside the src folder already containing Test.mxml. It creates a file with s:Application as the main tag. Why would it do that? Anyway I've pasted the trace in the bottom window to https://justpaste.it/1bdiw Doug -- Sent from: http://apache-flex-users.2333

Re: FlexJS RemoteObject with ColdFusion

2017-09-17 Thread doug777
Hi Harbs, Followed all the instructions to set up VS Code for JSFlex and got to a point where when I press Ctrl Shift B I get a message that says No Build task found. When I click Configure Build Task it opens tasks.json. I've set up a directory called VSCode with a folder for my project inside

Re: FlexJS RemoteObject with ColdFusion

2017-09-18 Thread doug777
Thanks to everyone for your help. I'll keep trying to get something working and then if I can, I'll start a new thread to let you know if the new RemoteObject works. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
Hi All, Moonshine now working properly. The folks at Moonshine were fantastic, instant response and quickly solved my problem. The complete code for the project is at https://justpaste.it/1bgfa The important bit is here private function init():void{ this.roSTime.send("getUTCDateTimeN

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
Hi Alex, New error Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8500/booxotel/STime. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). (unknown) destination fault handler Object { code: -1004, message: "Invalid response

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
OK fixed the browser issue. Now http://localhost:8500/booxotel/STime.cfc"; result="roCheckTestResultHandler(event)" fault="roFaultHandler(event)"/> result destination fault handler Object { code: -1005, message: "Invalid response.", detail: "", data: null } Language.js:238:7 Doug -- Sent

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
xhr.status is 200. -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
-- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-19 Thread doug777
I can't find xhr.getResponseType - any clue as to where it will be shown? -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread doug777
Can't find any way to do this in Firefox, though I did find this in StackOverflow Currently there is no way to show the values of getters within the Firefox DevTools, but it is already filed as bug 820878. Tried to use Chrome, but this cannot load from localhost because no Access-Control-Allow-Or

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread doug777
Yes the second option fixed it. So now with the Chrome browser paused at line 137 "else if (readyState === 4) {" I can type in the console xhr.getResponseType("Content-type") and I get this strange response. VM624:1 Uncaught ReferenceError: xhr is not defined at eval (eval at org.apache.

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread doug777
Guess I should have typed this but still weird result this.xhr.getResponseType("Content-type") VM647:1 Uncaught TypeError: this.xhr.getResponseType is not a function at eval (eval at org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange (AMFNetConnection.js:137), :1:10) at

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread doug777
Still no luck. Now it returns this this.xhr.getResponseHeader("Content-type”) VM833:1 Uncaught SyntaxError: Invalid or unexpected token at org.apache.flex.net.remoting.amf.AMFNetConnection.onReadyStateChange (AMFNetConnection.js:136) at org.apache.flex.net.remoting.amf.AMFNetConnection.ca

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-20 Thread doug777
Hi Alex, Yes that works. The result is "text/html;charset=UTF-8" Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-21 Thread doug777
Hi Alex, Yes you're right of course. In fact I think js:RemoteObject should be written exactly as it is in mx:RemoteObject. What I'm doing wrong I think, is to try to build and run from Moonshine. I think I should just build it in the IDE then take the release output upload it to the server and t

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-21 Thread doug777
AbstractMessage.js is in the output. When run, the debugger shows this at https://justpaste.it/1bjah No real error but there is no result from CF. There is no SWF output. Now I have just changed mx to js. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-21 Thread doug777
Sorry, what I meant was that I had changed the current code to The source is definitely booxotel.STime But I removed endPoint because that totally stops it working. Hello World does not appear and the error is Uncaught TypeError: Cannot read property 'IEventDispatcher' of undefined at ~core/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-22 Thread doug777
Unfortunately not. This is all I get in the console IBeadModel.js:38 Uncaught TypeError: Cannot read property 'IEventDispatcher' of undefined at IBeadModel.js:38 Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-22 Thread doug777
Stack trace is at https://justpaste.it/1bksx With the same setup, Hello World without RemoteObject code runs with no issues. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: FlexJS RemoteObject Error with ColdFusion

2017-09-23 Thread doug777
JIRA created. I am only doing this in spare time for the moment, so time is not an issue. Thanks for all your help, Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Consume URL information

2018-05-03 Thread doug777
Hi bilbosax, Actually there's an easy way to do this if you don't mind it being just a little bit clunky. In the Project-app.xml file, find the allowBrowserInvocation line and set it to true. Make the first line of the Main.mxml init function - NativeApplication.nativeApplication.addEventListene

Re: Consume URL information

2018-05-03 Thread doug777
PS You also need to add the code under the heading 'Loading the air.swf file' which is higher up the page of the Adobe link I sent in the js of your html file. Doug -- Sent from: http://apache-flex-users.246.n4.nabble.com/