Activate events on application

2014-04-23 Thread Fréderic Cox
Can anyone with some expertise regarding transparent Adobe AIR applications
have a look at this issue?
http://stackoverflow.com/questions/23225425/adobe-air-application-activated-incorrectly

I'm thinking this is more of an AIR issue than it would be a Flex issue but
I know there are some experts on this mailing list so this is why I'm here
to ask for help.

Anyone know of the specific reasons an AIR app will be activated (dispatch
applicationActivate event) by the OS? When clicking in a transparent area it
should not be activated IIRC.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Activate-events-on-application-tp6234.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Activate events on application

2014-04-23 Thread Fréderic Cox
It is sized 100% because in other areas more components will pop-up. Also
inside the application there is a sidebar component which is aligned to the
right of the screen. When the application is inactive the sidebar will
resize to 1px. The app needs to be always in front so that when the user
moves the mouse to the edge of the screen on the right side a mouse_over
event will be detected and the sidebar will slide back in to be 300px width.

This way my app will behave as a sidebar on the OS which will be able to
fill the screen with several components. This is needed for a CRM
application used internally in the company I work for.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Activate-events-on-application-tp6234p6243.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Activate events on application

2014-04-23 Thread Fréderic Cox
That is my guess too Alex. However in the docs it is stated:

Important: On Linux, mouse events do not pass through fully transparent
pixels. You should avoid creating windows with large, fully transparent
areas since you may invisibly block the user’s access to other windows or
items on their desktop. On Mac OS X and Windows, mouse events do pass
through fully transparent pixels.

http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118666ade46-7e09.html#WS5b3ccc516d4fbf351e63e3d118676a452d-7fe5

So on MacOSX it "should" work. Any idea on where to go with this? AIR bug?
OS issue?

Can I somehow log this or detect? All I'm getting now is an activated event
without a reason.
If I could somehow "deactivate" my application when it is activated and the
mouse is not where I want it to be that could be a workaround but I can't
find how to deactivate an AIR application either.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Activate-events-on-application-tp6234p6245.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
Hi,

I've just restarted a one year old project for iOS (iPad). I updated to
Apache Flex 13 using AIR 14 and notice some small issues. One of them is
related to textinput.

I define my textinput in CSS:

TextInput{
font-family:"Helvetica";
background-color:#ee;
background-alpha:1;
border-color:NaN;
border-style:none;
font-size:25;
color:#00;
vertical-align:middle;
}

And in MXML:




















But you can see in the screenshot below that text is not aligned vertically
in the middle. The cross to delete the value is positioned correctly but the
text itself is not. On the AIR simulator positioning for the text is
correct. Is this a known bug? Is it related to Apache Flex or AIR? Any
workarounds? This is blocking the release of my app

 



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
It should align vertically by default. I just tested this build with Flex
4.6.0 / AIR 3.8 and it is working fine there. Also in Apache Flex 4.10 / AIR
3.8 it is working fine.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417p7419.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
I'm trying out different combinations to determine if this is a Flex or AIR
bug



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417p7420.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
Working fine in AIR3.8 with Flex 4.13.0 so this seems to be an AIR bug. Where
should I file this?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417p7421.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


FocusManager bug in 4.13.0 on iOS

2014-07-29 Thread Fréderic Cox
Hi,

I have a strange behaviour which looks like a bug to me. I have a screen on
iPad containing two textinput components. There are also other components in
the screen and one of them opens a callout. When this callout is closed
FocusManager sets the focus automatically on the first textinput. This is
not wanted behaviour and seems to have changed between 4.10.0 and 4.13.0
because I tested both with AIR 3.8 and only in 4.13.0 this problem appears.

This does not happen on any other occasion but only after a callout has been
closed so possibly related to that. Only happens on iOS not on desktop.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FocusManager-bug-in-4-13-0-on-iOS-tp7422.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
 skinClass="spark.skins.mobile.TextInputSkin" fixes this issue but then
autoCapitalize does not work.
Is it sure to be a AIR issue or can it also be a Apache Flex issue? If it is
an AIR issue I will report it as a bug



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417p7425.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problems with vertical alignment of Textinput on iOS

2014-07-29 Thread Fréderic Cox
https://bugbase.adobe.com/index.cfm?event=bug&id=3796371



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problems-with-vertical-alignment-of-Textinput-on-iOS-tp7417p7426.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FocusManager bug in 4.13.0 on iOS

2014-08-05 Thread Fréderic Cox
Anyone? Someone who worked on this change?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FocusManager-bug-in-4-13-0-on-iOS-tp7422p7476.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Design view for Flash Builder 4.7

2015-11-19 Thread Fréderic Cox
There is no indication that Adobe is actively working on Flash Builder.
Things are really quite on that front (unfortunately). I am still using
Flash Builder 4.7 daily (as a part of creative cloud).

On Thu, Nov 19, 2015 at 3:07 PM,  wrote:

> Does anybody know if Adobe actively working on Flash Builder even at a bug
> fix/maintenance level? It appears to be a part of Creative Cloud now, which
> I am not familiar with so I don't know how updates work, but I haven't seen
> any mention of a Change Log for the product.
>
> One bug I see daily is an error pop up that is displayed when the tooltip
> is generated for the "Run Web Application" button, after I build any
> project.  It doesn't break anything, but requires me to close an error pop
> up every time I want to run an application.
>
> A couple years ago I came across a nasty infinite loop issue with Flash
> Builder 2.7, luckily somebody at Adobe provided me with a patched jar file
> and I was able to work around it.  I don't know that the issue has been
> fixed for everybody though, since I haven't seen any updates.  Here is my
> blog post with the details if anybody is interested,
> http://cloudoflakitu.blogspot.com/2013/11/flash-builder-47-freezes-opening-mxml.html
>
> Cheers,
> Keegan
>
>
> -Original Message-
> From: Justin Mclean [mailto:jus...@classsoftware.com]
> Sent: Thursday, November 19, 2015 6:47 AM
> To: users@flex.apache.org
> Subject: Re: Design view for Flash Builder 4.7
>
> Hi,
>
> Short version is Flex SDK != Flash Builder. Adobe own Flash Builder and
> decided to drop support for design view and sorry but there’s not a lot we
> can do about that.
>
> Justin
>
>


Application in background throttle issues

2016-02-12 Thread Fréderic Cox
I have an AIR application (running on Mac OSX) which periodically does things
like:
 
- Checking data and altering it via HTTPService requests
- Checking things using Timers
- Using NetConnection to communicate between multiple devices
 
These functionalities are working fine when the application is actively used
by the users. However the problems occur when the application is in the
background. After 20-30 seconds the HTTPService requests are not executing,
the timers are not running and the netconnection is not receiving nor
sending any data until the application has been made active again.
 
I did some tests and also added an enterFrameHandler to trace the frames. I
can confirm the enterFrameHandler fires a lot when the application is active
and when it becomes inactive it degrades to 4 FPS to 1FPS to 0FPS.
 
I have set backgroundFrameRate to 60 and frameRate to 60 (although the
default backgroundFrameRate of -1 should suffice) but that doesn't prevent
the issue either.
 
This is occurring on Adobe AIR 3.8 with Apache Flex 4.10. Please can anyone
help me figure out how to keep a constant frame rate even when the
application is in the background? This is a critical feature for my
application.. hope anyone here has experienced with this to figure out what
is going on. Not sure if this is a Flex thing or AIR.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Application-in-background-throttle-issues-tp11976.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Application in background throttle issues

2016-02-12 Thread Fréderic Cox
I'd say luckily this has nothing to do with Flex or AIR :-). Thanks for your
answer I'll check into it immediately!



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Application-in-background-throttle-issues-tp11976p11978.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Network Reachability

2013-02-01 Thread Fréderic Cox
How I solve this problem is I have a 1kb file on Amazon S3 which I ping
via HTTPService in Flex (or you can use URLLoader in AS)

Fréderic Cox




On 01/02/13 15:11, "Philippe Bossu"  wrote:

>Hello,
>I would like to know if there is an equivalent of iOS Reachability class
>in
>ActionScript.
>
>I read this but I don't see how to test for WIFI access.
>-
>http://stackoverflow.com/questions/7999454/is-there-an-equivalent-of-the-r
>eachability-class-for-actionscript-3
>
>Thanks for your help.
>And nice new Flex website by the way.
>
>Regards




Re: Future of Flex technology

2013-02-28 Thread Fréderic Cox
At the company I work we have a sales application that runs on Mac + Win +
iPad, it could even run on an Android tablet. And it is the same code ..
That is what I call flexible. It works great for us and I know it works
great for other companies as well. We are also create Mac/Win desktop apps
this way for our clients. In that area HTML5 can do nothing, absolutely
nothing compared to Flex/AIR. Only for websites I believe HTML is better
but than it also comes with cross browser issues. So for productivity
Flex/AIR is also much better. And we create our websites in HTML here and
our apps in Flex/AIR. Guess who is the least frustrated here, HTML
developers or me? It just works here for me :-) My boss asked for a simple
HTML application where a tree would grow after playing a video. We created
it in HTML, tested in browser and was working fine. Then tested it on iPad
and it was REALLY slow (but using Canvas for drawing and using an animated
gif). One animated gif worked fine but we needed three separate gifs and
that just didn't work smoothly at all. Spend 2-3 days on it. We needed it
the next day, so in the evening I created it from scratch in Flex and
created an iPad app. My boss again was shown how for cutting edge projects
you need Flash/AIR, not HTML at the moment.

Fréderic Cox




On 28/02/13 16:37, "Russell Warren"  wrote:

>Regarding comments about Flex on mobile, I'll chime in with a variant on
>this.  I personally don't care much about Flex on "mobile" (ie: phones),
>but am definitely interested in Flex on tablets.  I separate the two,
>although I think most don't due to the often similar hardware and OS.
>
>Flex is excellent for enterprise (as often stated) and we're heavily
>invested in it... and this is as a newcomer to Flex in the last year or
>so,
>which may be of interest to some.
>
>However, 'enterprise' used to mean 'controlled environments using desktop
>PCs', but these days there is a lot of increased tablet use, especially by
>execs, in the enterprise space.  We haven't crossed that bridge yet, but
>don't realistically expect to get much of a code base ported from the
>desktop Flex apps over to the tablet space.  One can hope, of course, but
>I
>expect that when it comes time for tablet apps we'll be porting a lot of
>code.  Time will tell, and we'll be certainly trying out AIR on that day,
>but performance expectations for tablets are low based on the few demos
>we've played with.  This only marginally affects our enthusiasm for Flex
>on
>the desktop... rewriting code for different platforms is the norm these
>days, but from a desktop/os/browser portability perspective,
>Flex/AS3/Flash
>just can't be beat.  Plus it's awesome (no matter what the unfortunate
>state of public opinion/awareness is).
>
>We're sticking with Flex for a while yet.
>
>Russ




Re: Adobe¹s chief technology officer headed to Apple

2013-03-20 Thread Fréderic Cox
That does not shock me much, what is shocking to me is the fact that they
do not replace him ..

Fréderic Cox




On 20/03/13 16:07, "Lionel Pierre"  wrote:

>This might be old news for some of you but ... h.
>
>http://www.washingtonpost.com/business/technology/adobes-chief-technology-
>officer-headed-to-apple/2013/03/20/fa0a4302-9154-11e2-bdea-e32ad90da239_st
>ory.html
>
>*
>Lionel*




Playscript : AS3 to native code compiler ?

2013-04-05 Thread Fréderic Cox
Hi,

https://github.com/playscript/playscript-mono/blob/master/README.md

Can anyone explain to me what this exactly does? No need for native
extensions since we have a full API for coding in AS3 and using native
platform features?

Looks very promising (if I understand it correctly)

Thoughts?




Re: Playscript : AS3 to native code compiler ?

2013-04-05 Thread Fréderic Cox
"with access to the full native mobile API's on the mobile platform."

Fréderic Cox




On 05/04/13 12:02, "Tom Chiverton"  wrote:

>I don't see anything that implies you can call out of your compiled AS
>to the .Net framework to access the native features.
>
>It's very clever anyway though :-)
>
>Tom
>
>On 05/04/2013 09:58, Fréderic Cox wrote:
>> Hi,
>>
>> https://github.com/playscript/playscript-mono/blob/master/README.md
>>
>> Can anyone explain to me what this exactly does? No need for native
>> extensions since we have a full API for coding in AS3 and using native
>> platform features?
>>
>> Looks very promising (if I understand it correctly)
>>
>> Thoughts?
>>
>>
>>
>>
>> __
>> This email has been scanned by the Symantec Email Security.cloud
>>service.
>> For more information please visit http://www.symanteccloud.com
>> __
>




Re: encrypted media files

2013-05-06 Thread Fréderic Cox
What I did for this was changing the bytes in the file when not used in my
application. When about to play in my application I would change the bytes
again so that it only works in my application. Switch the first x bytes or
something similar ..

Fréderic Cox




On 05/05/13 04:39, "Lucas Junqueira"  wrote:

>Hi, is there a way to encrypt media files like videos, audios and
>pictures, and decrypt them while playing using the standard media-playing
>classes like video (netstream), sound and loader?
>
>I'm willing to distributed some media files with an AIR application that
>I want to be played only on my app, and considering that people may gain
>access to them, I want to find some way to protect them. Is this possible?
>
>Thank you!




Re: future of flash (yes, that old chestnut again)

2013-05-15 Thread Fréderic Cox
I can understand that. I don't agree with it but I can understand it.

What I fail to understand is why so little on AIR. I'm creating
applications(not games but enterprise and consumer applications) on mobile
and desktop using Flex and AIR and it is just wonderful to work with.
There is no alternative that even comes close to achieving these types of
results.


Fréderic Cox




On 15/05/13 16:22, "Lee Burrows"  wrote:

>I thought it was very telling that the word "Flash" was avoided during
>the Max keynote - it only got a single mention in passing as something
>like "our aquisition of Macromedia". I predict zero Flash-based sessions
>next year.
>
>On 15/05/2013 14:10, mike_l_mcconn...@lamd.uscourts.gov wrote:
>> I worry less about the message than I do the motivation behind the push
>> towards HTML5.  It still makes no sense to me from a developer's
>> perspective, though I've tried very hard to understand it.  "Standards
>> based" or not, HTML5 is inferior technology when compared to what can be
>> delivered with Flash and AIR (and the ease with which it can be done
>>using
>> development environments like Flex).  Users don't know or care about the
>> runtime environment in which their applications run, nor should they.
>>This
>> isn't really about users, though.  It's not about the web.  It's not
>>about
>> getting behind a "standard".  What it's about is creating demand for
>> products that make the difficult task of developing in
>>HTML/CSS/JavaScript
>> a bit more palatable.  And where there's demand, there's profit
>> (theoretically, anyway).  I don't believe for a minute that this is some
>> noble "drive the web forward" initiative.  That's only the veneer.  The
>> true goal, in my not so humble opinion, is what it always is and always
>> will be: enhancing the bottom line.  There's certainly nothing wrong
>>with a
>> company making moneyit's why they exist, after all.  But to tout
>>what
>> is clearly a less suitable solution (for RIAs) as the next great
>>frontier
>> is, at best, disingenuous.  These are my opinions...your mileage may
>>vary.
>>
>> M. McConnell
>>
>>
>>
>>
>> From:Lee Burrows 
>> To:  users@flex.apache.org
>> Date:05/15/2013 06:15 AM
>> Subject: Re: future of flash (yes, that old chestnut again)
>>
>>
>>
>> Thanks Alex.
>>
>> I appreciate your comments - with the 5 year commitment from Adobe, and
>> FlexJS on the horizon, i can relax (a bit).
>>
>> I just worry about your employers sometimes. At Max 2011, the message
>> was "use HTML5 for RIAs", and shortly afterwards mobile Flash Player was
>> dropped. At Max 2013, the message was "use HTML5 for games" - which made
>> me wonder what bombshell Adobe may drop this time.
>>
>> --
>> Lee Burrows
>> ActionScripter
>>
>>
>>
>> On 14/05/2013 20:29, Alex Harui wrote:
>>> The relevant documents are:
>>> [1] http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html
>>> [2] http://www.adobe.com/devnet/flex/whitepapers/roadmap.html
>>>
>>> It is [2] that mentions "five years".
>>>
>>> But realize that, to the best of my knowledge, there is no code that
>>>will
>>> cause Flash to stop working after some day about 4 years from now.  To
>>>do
>> so
>>> would "break the web" and neither Adobe nor the major desktop/laptop OS
>>> vendors are interested in doing that.  It is just that Adobe is not
>>> committing to new versions or taking support calls after that date.
>> Also,
>>> IMO, if something happens that gives Adobe a reason to extend that
>>>date,
>>> they probably would, but I don't really know what that would be.
>>>
>>> Meanwhile, Apache Flex is doing the best it can to make sure that Flex
>> has
>>> fewer bugs, supports more locales, etc.  And some of us are even
>>>looking
>>> into a next generation of Flex that will let you use MXML and
>> ActionScript
>>> to create apps that run in a browser or on mobile devices without
>> Flash/AIR
>>> so you don't have be quite so concerned about this "five year"
>> commitment.
>>> On 5/14/13 11:12 AM, "Lee Burrows" 
>>>wrote:
>>>
>>>> Hi All,
>>>>
>>>> I seem to remember that Adobe committed to supporting Flash Player and
>>>> AIR for 5 years - during, or shortly after, the Flex Community Summit
>>>> (of Dec 11).
>>>>
>>>> Is that right, or did i imagine it? - i cant find any reference to it
>>>>on
>>>> adobe.com
>>
>>
>>
>>
>
>
>-- 
>Lee Burrows
>ActionScripter
>




Could not create module error

2013-11-04 Thread Fréderic Cox
Hi,

I have recently migrated an online Flash applications (Content Managing
System) from Flex 4.1 to Apache Flex 4.10. I now have a bugreport from a
user who receives an error while loading a module:

"Could not create module (moduleName)"

I have searched this error on Google and I only find a reference on
http://mail-archives.apache.org/mod_mbox/incubator-flex-commits/201204.mbox/%3c20120426160038.8efde2388...@eris.apache.org%3E

stating:

+# Symbols
+
+# ModuleLoader
+
+couldNotCreateModule=Could not create module '{0}'.

Can anyone shed some light on this error? I am not able to reproduce it so
it might be a timing issue. Is it a network issue or how can I see where
this error is thrown?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Could-not-create-module-error-tp3514.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Problem with states not working as before without code change (only SDK)

2014-01-03 Thread Fréderic Cox
I have a confirmed bug in a module of a CMS I worked on in the past 2-3
years. The only change now is that I use Apache Flex 4.10.

I use includeIn for showing buttons in states. Since the migration from Flex
4.1 or 4.6 to 4.10 it is not working anymore. So I am not entirely sure if
the change in SDK happened between 4.1 and 4.6 or between 4.6 and 4.10.

The MXML shows different buttons being shown in different states. When I go
from "normal" to "editMode" and then back to "normal" the default buttons do
not show anymore. Anyone can help me?





















--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-with-states-not-working-as-before-without-code-change-only-SDK-tp4333.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Problem with states not working as before without code change (only SDK)

2014-01-03 Thread Fréderic Cox
Important to note that when going to batchMode state the buttons are
correctly shown. Only when going back to normal there is nothing happening
anymore and the buttons seem to have dissapeared. No buttons are showing at
that moment.



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Problem-with-states-not-working-as-before-without-code-change-only-SDK-tp4333p4334.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS venue videos?

2016-05-20 Thread Fréderic Cox
Yes I am wondering the same thing. Anyone?

On Thu, May 19, 2016 at 3:18 PM, Petr Nemecek  wrote:

> Hi all,
>
> are the videos from FlexJS venue on YouTube or somewhere else already?
>
> Many thanks,
>  Petr
>
>


Re: Typography in Labels

2016-06-06 Thread Fréderic Cox
But you can't edit TLF on mobile, right? How would you do that?

On Mon, Jun 6, 2016 at 3:04 PM, Harbs  wrote:

> As long as you are not constantly re-rendering the TLF text, it’s fine for
> mobile.
>
> On Jun 5, 2016, at 6:20 PM, leokan23  wrote:
>
> > Hi Alex,
> >
> > sorry, i forgot to specify that i work 100% on mobile. From what i
> > understand, TFL is not to be used in mobile due to performance.
> >
> >
> >
> > --
> > View this message in context:
> http://apache-flex-users.246.n4.nabble.com/Typography-in-Labels-tp12799p12802.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>


Re: Typography in Labels

2016-06-06 Thread Fréderic Cox
On iOS the RichTextEditor does not work due to
https://bugbase.adobe.com/index.cfm?event=bug&id=3962712

On Mon, Jun 6, 2016 at 9:09 PM, Alex Harui  wrote:

>
>
> On 6/6/16, 4:01 AM, "leokan23"  wrote:
>
> >I have never used it. I will give it a try and see if that works for me.
> >Thank you
> >
>
> There is an MXML mx.controls.RichTextEditor component if you need editing.
>  Again, it may be too limited for your needs.
>
> -Alex
>
>


Re: Typography in Labels

2016-06-07 Thread Fréderic Cox
Hi Alex,

If I add mx:RichtTextEditor in my code I get:

- Description Resource Path Location Type
Could not resolve  to a component implementation.
RichTextEditor.mxml /CFShopManagerMobile/[source path] src/mx/controls line
206 Flex Problem


On Mon, Jun 6, 2016 at 10:20 PM, Alex Harui  wrote:

> Pretty sure that's the Spark version.  Try mx.controls.RichTextEditor.  It
> does not use TLF.
>
> On 6/6/16, 12:13 PM, "Fréderic Cox"  wrote:
>
> >On iOS the RichTextEditor does not work due to
> >https://bugbase.adobe.com/index.cfm?event=bug&id=3962712
> >
> >On Mon, Jun 6, 2016 at 9:09 PM, Alex Harui  wrote:
> >
> >>
> >>
> >> On 6/6/16, 4:01 AM, "leokan23"  wrote:
> >>
> >> >I have never used it. I will give it a try and see if that works for
> >>me.
> >> >Thank you
> >> >
> >>
> >> There is an MXML mx.controls.RichTextEditor component if you need
> >>editing.
> >>  Again, it may be too limited for your needs.
> >>
> >> -Alex
> >>
> >>
>
>


Re: Typography in Labels

2016-06-07 Thread Fréderic Cox
Also I tried to use mx:TextArea (which compiles fine). The TextArea shows
the HTML formatted text until we edit it. Then the text format is lost due
to the native textinput being overlayed I guess. Since mx:RichtTextEditor
uses an mx:TextArea internally this is not a viable option either.

On Tue, Jun 7, 2016 at 3:14 PM, Fréderic Cox  wrote:

> Hi Alex,
>
> If I add mx:RichtTextEditor in my code I get:
>
> - Description Resource Path Location Type
> Could not resolve  to a component implementation.
> RichTextEditor.mxml /CFShopManagerMobile/[source path] src/mx/controls line
> 206 Flex Problem
>
>
> On Mon, Jun 6, 2016 at 10:20 PM, Alex Harui  wrote:
>
>> Pretty sure that's the Spark version.  Try mx.controls.RichTextEditor.  It
>> does not use TLF.
>>
>> On 6/6/16, 12:13 PM, "Fréderic Cox"  wrote:
>>
>> >On iOS the RichTextEditor does not work due to
>> >https://bugbase.adobe.com/index.cfm?event=bug&id=3962712
>> >
>> >On Mon, Jun 6, 2016 at 9:09 PM, Alex Harui  wrote:
>> >
>> >>
>> >>
>> >> On 6/6/16, 4:01 AM, "leokan23"  wrote:
>> >>
>> >> >I have never used it. I will give it a try and see if that works for
>> >>me.
>> >> >Thank you
>> >> >
>> >>
>> >> There is an MXML mx.controls.RichTextEditor component if you need
>> >>editing.
>> >>  Again, it may be too limited for your needs.
>> >>
>> >> -Alex
>> >>
>> >>
>>
>>
>


Re: Typography in Labels

2016-06-07 Thread Fréderic Cox
Hi Alex,

I just tested this. I removed the mx from source and added both mx.swc and
sparkskins.mx. Now I was able to add mx:RichTextEditor into my project. It
shows on the mobile device too. Unfortunately the issue with the text area
showing HTML but not in "edit" mode stays the same. I don't see how a spark
textinput could be used by the app here. In RichTextEditor.mxml
clearly a  mx:TextArea
is used. Thanks for your suggestions but it seems this can not be done. I
am unable to edit HTML/TextFlow on mobile using Flex :-(

I might pursue the idea of using a webview with a HTML input field which
opens another webview in popup that show the HTML editor. And then passing
the results via JS to the Flex app. I think this is the only way it can be
done.

On Tue, Jun 7, 2016 at 5:04 PM, Alex Harui  wrote:

>
>
> On 6/7/16, 6:49 AM, "Fréderic Cox"  wrote:
>
> >Also I tried to use mx:TextArea (which compiles fine). The TextArea shows
> >the HTML formatted text until we edit it. Then the text format is lost due
> >to the native textinput being overlayed I guess. Since mx:RichtTextEditor
> >uses an mx:TextArea internally this is not a viable option either.
>
> I haven't tried it myself, but what you are seeing doesn't sound like
> things are configured correctly.  AIUI, (I could definitely be wrong,
> though), a TextField-based TextArea doesn't popup an input widget like a
> StageText.  If you want to pursue this further, make sure in your last
> attempt that the app didn't somehow end up using Spark TextArea.
>
> Regarding your prior post about a compile problem, it looks like your app
> is trying to access mx:RichTextEditor by setting up a source path to the
> source file.  But since MX libraries are not included by default in Mobile
> projects, have you included the MX library?  Then you shouldn't need the
> source path.
>
> TextField "should" have the ability to control the font on each keystroke.
>  You might want to test out a non-mobile version of mx:RichTextEditor to
> make sure it works as expected then compare what you get on mobile.
>
> HTH,
> -Alex
>
>


Re: Typography in Labels

2016-06-08 Thread Fréderic Cox
It's pretty sophisticated. However when I am done with it I might try to
port it to FlexJS as I really want to start playing with it.
I am going forward with a webview containing an HTMLEditor now in HTML/JS.

On Wed, Jun 8, 2016 at 1:56 AM, Alex Harui  wrote:

>
>
> On 6/7/16, 1:39 PM, "Fréderic Cox"  wrote:
>
> >Hi Alex,
> >
> >I just tested this. I removed the mx from source and added both mx.swc and
> >sparkskins.mx. Now I was able to add mx:RichTextEditor into my project.
> It
> >shows on the mobile device too. Unfortunately the issue with the text area
> >showing HTML but not in "edit" mode stays the same. I don't see how a
> >spark
> >textinput could be used by the app here. In RichTextEditor.mxml
> >clearly a  mx:TextArea
> >is used. Thanks for your suggestions but it seems this can not be done. I
> >am unable to edit HTML/TextFlow on mobile using Flex :-(
>
> Hmm.  Maybe other mobile text experts can confirm that this is expected
> behavior.  I would expect that there should be a way to control the input
> font.  Maybe mx:RichTextEditor isn't set up correctly since it was never
> certified for mobile.
>
> >
> >I might pursue the idea of using a webview with a HTML input field which
> >opens another webview in popup that show the HTML editor. And then passing
> >the results via JS to the Flex app. I think this is the only way it can be
> >done.
>
> I don't know how sophisticated your app is, but it might be interesting to
> try FlexJS.
>
> -Alex
>
>
>


Re: Unzip ANE for Flex\AIR Desktop App

2016-10-20 Thread Fréderic Cox
I successfully used 7za for both Mac and Windows. You don't need a native
extension for desktop but you can just use the NativeProcess API with the
extendedDesktop profile.

On Thu, Oct 20, 2016 at 10:48 AM, Deepak MS 
wrote:

> Hi Hans,
> Yes, I did try that. It works fine for smaller files. But unfortunately,
> unzipping process crashes if we use it for bigger files. My zip file size
> is around 500MB.  It fails at ByteArray.uncompress() as it tries to
> uncompress entire file at a time. That is the reason I was looking out for
> native way of unzipping the file.
>
> For iOS, I have used ANEZipFile library :
> https://github.com/xperiments/ANEZipFile
>
> It works flawlessly and takes just 5 - 6 seconds to unzip a 500MB zip file.
> That is just for iOS though.
>
> There is another library:
> http://airnativeextensions.com/extension/com.distriqt.ZipUtils which works
> on both iOS and Android, but it's not free.
>
> -Deepak
>
>
> On Thu, Oct 20, 2016 at 1:49 PM, Hans Nuecke  wrote:
>
> > Hi,
> >
> > I use an openSource Library for that: http://flex.coltware.com/2010/
> > 05/01/as3-zip-unzip-lib-airxzip/
> >
> > Search for keywords "coltware airxzip" and you'll find some nice posts at
> > stackoverflow with links to the sources or a swc file. And also hints how
> > to use it.
> >
> > BTW: What unzipt ANE are you using? I'm considering going the other way:
> > convert my desktop APP (or better: parts of it) to an iOS/Android app
> >
> > Regards
> >
> > Hans
> >
> >
> >
> >
> > Am 20.10.2016 um 06:48 schrieb Deepak MS:
> >
> >> Hi there,
> >>
> >> I have converted an iPad app to Desktop App ( to make it work on surface
> >> pro, touch based desktop). iPad App was using an unzip ANE. But it
> cannot
> >> be used for desktop app.
> >>
> >> I tried searching unzip ANEs for windows, but I couldn't come across
> any.
> >>
> >> There are C libraries like zlib and minizip. I tried creating ANE
> myself (
> >> http://easynativeextensions.com/windows-tutorial-the-
> native-dll-project/
> >>   ), but I end up getting many errors. I'm not good at C coding.
> >>
> >> Or if anyone is interested to take this up as a project, company is
> happy
> >> to outsource this piece of work at a cost.
> >>
> >> Kindly let me know about it.
> >>
> >> Cheers!
> >> Deepak
> >>
> >>
> > --
> >
> > ___
> >
> > *Hans J. Nuecke* / Gorch-Fock-Str. 6 • 81827 Muenchen • Germany / *VservU
> > GmbH*
> > Home:   +49 (89) 45344858  office:
> >+49 (89) 43906 707
> > mobile:+49 (176) 56529048
> > private: h...@nuecke.de 
>  business:
> > hnue...@vservu.de 
> > website: www.vservu.de  www.megazine3.de <
> > http://megazine3.de>
> > Munich HRB 181251Geschäftsführer:  Hans J. Nücke  USt-Id:
> >  DE266694113
> > ___
> >
> >
>


Re: Unzip ANE for Flex\AIR Desktop App

2016-10-23 Thread Fréderic Cox
You can use File.applicationDirectory and put the 7za.exe in your project
folder. I placed it in /native_bin/win/7za.exe. Make sure the file has
"execute" permissions (right-click for properties of the file in Flash
Builder).

I have defined it as NativeProgramsSettings.UNZIP =
File.applicationDirectory.resolvePath("native_bin/win/7za.exe"); for
Windows and NativeProgramsSettings.UNZIP =
File.applicationDirectory.resolvePath("native_bin/mac/7za"); for Mac
(depending on Capabilities.OS)

Then for unzipping (I don't use zip functionality in my app) it is as
follows:

private function unzipNative(zipFile:File):void{

this.dispatchEvent(new Event("indicatorShowRequest"));

var targetDir:File = File.applicationStorageDirectory.resolvePath("unzipped"
);

targetDir.createDirectory();

targetDir = targetDir.resolvePath("unzip_" + new Date().time + "_" +
Math.round(Math.random()*1));

targetDir.createDirectory();

tempDirectoryForZip = targetDir;

var npInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo;

npInfo.executable = NativeProgramsSettings.UNZIP;

var args:Vector. = new Vector.;

args.push("x");

args.push(zipFile.nativePath);

args.push("-r");

args.push("-o" + targetDir.nativePath);

npInfo.arguments = args;

var np:NativeProcess = new NativeProcess;

np.addEventListener(NativeProcessExitEvent.EXIT, npUnzipExitHandler);

np.start(npInfo);

}


For zip you need to have different arguments of course. You can check by
googling "7za command line".


Hope it works for you

On Fri, Oct 21, 2016 at 8:23 AM, Deepak MS  wrote:

> Interesting. I never knew about that. Doesn't that mean user needs to have
> 7za installed on their systems? If so, what if users don't have it
> installed. Can we package the 7za.exe within our AIR app and use it?
>
> I looked into some of the examples. But not quite getting it to work:
>
> Same code with pretty print : https://codepaste.net/82gk2q
>
>
> if(NativeProcess.isSupported)
> {
> var nativeProcessStartupInfo:NativeProcessStartupInfo = new
> NativeProcessStartupInfo();
> var file:File = new File('c://zip//7za.exe'); //instead of using it from
> local file system, i want to place exe file withing source and use it here
> nativeProcessStartupInfo.executable = file;
> var processArgs:Vector. = new Vector.();
> processArgs.push("7z e file.zip");//+localZipFile.nativePath);
> //"file.zip"
> resides inside "c://zip//", tried "7za e file.zip", tried "7za.exe
> file.zip", none of those work
> nativeProcessStartupInfo.arguments = processArgs;
> process = new NativeProcess();
> process.start(nativeProcessStartupInfo);
> process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA,
> onOutputData);
> process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
> process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
> process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR,
> onIOError);
> process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR, onIOError);
> }
>
> For all the options that i tried above, I get following trace:
>
> (onOutputData)
> Got:
> 7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
>
> (onErrorData)
> Error:
> Incorrect command line
>
> (onExit)
> Process exited with  7
>
>
> Kindly let me know if I am missing something there.
>
> On Thu, Oct 20, 2016 at 6:53 PM, Fréderic Cox 
> wrote:
>
> > I successfully used 7za for both Mac and Windows. You don't need a native
> > extension for desktop but you can just use the NativeProcess API with the
> > extendedDesktop profile.
> >
> > On Thu, Oct 20, 2016 at 10:48 AM, Deepak MS 
> > wrote:
> >
> > > Hi Hans,
> > > Yes, I did try that. It works fine for smaller files. But
> unfortunately,
> > > unzipping process crashes if we use it for bigger files. My zip file
> size
> > > is around 500MB.  It fails at ByteArray.uncompress() as it tries to
> > > uncompress entire file at a time. That is the reason I was looking out
> > for
> > > native way of unzipping the file.
> > >
> > > For iOS, I have used ANEZipFile library :
> > > https://github.com/xperiments/ANEZipFile
> > >
> > > It works flawlessly and takes just 5 - 6 seconds to unzip a 500MB zip
> > file.
> > > That is just for iOS though.
> > >
> > > There is another library:
> > > http://airnativeextensions.com/extension/com.distriqt.ZipUtils which
> > works
> > > on both iOS and Android, but it's not free.
> > >
> > > -Deepak
> >

Re: Unzip ANE for Flex\AIR Desktop App

2016-10-25 Thread Fréderic Cox
Glad I could help!

On Tue, Oct 25, 2016 at 8:46 AM, Deepak MS  wrote:

> Thank you thank you thank you so much Fréderic. It worked flawlessly. 500MB
> zip file gets unzipped in just 5  - 6 seconds. I had been cracking my head
> on how to get this working. You made my day! I'm sure others too
> would benefit from it.
>
> Cheers!
> -D
>
>
>
> On Sun, Oct 23, 2016 at 6:58 PM, Fréderic Cox 
> wrote:
>
> > You can use File.applicationDirectory and put the 7za.exe in your project
> > folder. I placed it in /native_bin/win/7za.exe. Make sure the file has
> > "execute" permissions (right-click for properties of the file in Flash
> > Builder).
> >
> > I have defined it as NativeProgramsSettings.UNZIP =
> > File.applicationDirectory.resolvePath("native_bin/win/7za.exe"); for
> > Windows and NativeProgramsSettings.UNZIP =
> > File.applicationDirectory.resolvePath("native_bin/mac/7za"); for Mac
> > (depending on Capabilities.OS)
> >
> > Then for unzipping (I don't use zip functionality in my app) it is as
> > follows:
> >
> > private function unzipNative(zipFile:File):void{
> >
> > this.dispatchEvent(new Event("indicatorShowRequest"));
> >
> > var targetDir:File = File.applicationStorageDirectory.
> > resolvePath("unzipped"
> > );
> >
> > targetDir.createDirectory();
> >
> > targetDir = targetDir.resolvePath("unzip_" + new Date().time + "_" +
> > Math.round(Math.random()*1));
> >
> > targetDir.createDirectory();
> >
> > tempDirectoryForZip = targetDir;
> >
> > var npInfo:NativeProcessStartupInfo = new NativeProcessStartupInfo;
> >
> > npInfo.executable = NativeProgramsSettings.UNZIP;
> >
> > var args:Vector. = new Vector.;
> >
> > args.push("x");
> >
> > args.push(zipFile.nativePath);
> >
> > args.push("-r");
> >
> > args.push("-o" + targetDir.nativePath);
> >
> > npInfo.arguments = args;
> >
> > var np:NativeProcess = new NativeProcess;
> >
> > np.addEventListener(NativeProcessExitEvent.EXIT, npUnzipExitHandler);
> >
> > np.start(npInfo);
> >
> > }
> >
> >
> > For zip you need to have different arguments of course. You can check by
> > googling "7za command line".
> >
> >
> > Hope it works for you
> >
> > On Fri, Oct 21, 2016 at 8:23 AM, Deepak MS 
> > wrote:
> >
> > > Interesting. I never knew about that. Doesn't that mean user needs to
> > have
> > > 7za installed on their systems? If so, what if users don't have it
> > > installed. Can we package the 7za.exe within our AIR app and use it?
> > >
> > > I looked into some of the examples. But not quite getting it to work:
> > >
> > > Same code with pretty print : https://codepaste.net/82gk2q
> > >
> > >
> > > if(NativeProcess.isSupported)
> > > {
> > > var nativeProcessStartupInfo:NativeProcessStartupInfo = new
> > > NativeProcessStartupInfo();
> > > var file:File = new File('c://zip//7za.exe'); //instead of using it
> from
> > > local file system, i want to place exe file withing source and use it
> > here
> > > nativeProcessStartupInfo.executable = file;
> > > var processArgs:Vector. = new Vector.();
> > > processArgs.push("7z e file.zip");//+localZipFile.nativePath);
> > > //"file.zip"
> > > resides inside "c://zip//", tried "7za e file.zip", tried "7za.exe
> > > file.zip", none of those work
> > > nativeProcessStartupInfo.arguments = processArgs;
> > > process = new NativeProcess();
> > > process.start(nativeProcessStartupInfo);
> > > process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA,
> > > onOutputData);
> > > process.addEventListener(ProgressEvent.STANDARD_ERROR_DATA,
> > onErrorData);
> > > process.addEventListener(NativeProcessExitEvent.EXIT, onExit);
> > > process.addEventListener(IOErrorEvent.STANDARD_OUTPUT_IO_ERROR,
> > > onIOError);
> > > process.addEventListener(IOErrorEvent.STANDARD_ERROR_IO_ERROR,
> > onIOError);
> > > }
> > >
> > > For all the options that i tried above, I get following trace:
> > >
> > > (onOutputData)
> > > Got:
> > > 7-Zip (A) 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
> > >
> > > (onErrorData)
> > > Error:

TextInput not interactive inside a DropdownList?

2017-01-12 Thread Fréderic Cox
Using Apache Flex 4.15.0 with AIR 20 and have a dropdownlist with a
dropdownlist custom skin that contains a PopUpAnchor to display a group as
popup inside that dropdown.

For some odd reason the s:TextInput is not editable inside that popup. It
works when I do not use a popUpAnchor but that would require a huge rewrite
of the component. I have set skinClass to StageTextInputSkin but it's not
working. Setting skinClass to the spark mobile TextInputSkin is not working
either.

The TextInput is receiving mouse events (click) and I'm able to set text
which displays but it is just not accepting user input. No focus is set on
the textDisplay itself. Anyone have a clue why this does not work inside a
popup?

I need this to work on Desktop and iPad and I'm using the Mobile theme. All
my other textinputs are working fine using StageTextInputSkin. Only inside
this popup it is not working.


Re: PHP Service Efficiency

2017-04-11 Thread Fréderic Cox
I think this is a question that is better suited for stackoverflow.

On Tue, Apr 11, 2017 at 3:21 AM, bilbosax  wrote:

> This is just a little theoretical question I have wondered about, so I
> thought I would ask it here.  I am writing an app that I hope will have at
> least 10k users daily.  When you set up your services, you can technically
> put them all in a single PHP file if you want to, or spread them out across
> several files that are more specific, however you want to do it.  But I am
> curious, if I have 10k users trying to access a single PHP file instead of
> having the workload spread across several PHP files, will this cause a
> bottleneck, and will I lose efficiency.
>
> I have no idea how PHP handles multiple users.  Does anybody know if the
> workload will be handled more efficiently if the PHP services are spread
> across multiple files rather than one big one?
>
> Thanks for any insight.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/PHP-Service-Efficiency-tp15015.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Mobile App Running in Background

2017-04-19 Thread Fréderic Cox
Check out the background networking functions from
http://help.adobe.com/en_US/air/build/WSfffb011ac560372f7e64a7f12cd2dd1867-8000.html#WSd6d4f896b3a8801b-15a1d5f91370ecb9970-8000

On Wed, Apr 19, 2017 at 1:38 PM, Jairo  wrote:

> I develop a mobile App in Flex and this app needs to be listening to socket
> data all the time.
> What i need is to make something like WhatsApp do: you can close the
> interface but the App is already active, listening to incoming remote data.
>
> It is possible to do this? How?
>
> Thanks
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Mobile-App-Running-in-Background-tp15082.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Custom theme in Flash Builder

2017-05-11 Thread Fréderic Cox
Hi,

I am trying to create a custom theme for Flash Builder which falls back to
the Mobile theme for missing definitions.

I have created a library project for the theme and I imported the .swc into
Flash Builder as a new theme.

So far so good ..

But when I make adjustments to the theme project it does not update/reflect
into the project that uses the theme. I need to remove the theme from FB
and import it again. A very annoying process.

Does anyone have a solution for this?


Re: Custom theme in Flash Builder

2017-05-11 Thread Fréderic Cox
I found a workflow that is very close to being very productive:

- Do not select the theme in the theme window of FB, instead leave it as
Mobile so the mobile theme is used
- Add the custom theme swc in the library path
- Add -theme
/Users/frederic/Desktop/Exuvis/Mediahuis/MHCFlexLibrary/bin/MHCFlexLibrary.swc
to the compiler arguments

Is this the way to go or anyone has an even better / cleaner solution?


Re: TextInput bug with soft keyboard (mobile)

2017-05-11 Thread Fréderic Cox
Which skin are you using for the TextInput? The default spark textinput
skin? The mobile textinput skin? Or ScrollingStageTextInput ?

On Thu, May 11, 2017 at 5:20 PM, Erik J. Thomas  wrote:

> I spent the better part of a day trying to solve for an annoying user
> experience with TextInput on mobile devices (Apple).
>
> If a TextInput or TextArea input field is located in the top 50% of the
> display area, and a setFocus() call on the input field is made, the soft
> keyboard displays and the input cursor is visible (all is well). But *if
> the input field is where it would be obscured by the soft keyboard (lower
> half of the display), Flex moves the content up so the input field is
> visible (nice feature), but the input cursor disappears.*
>
> I have tried many workarounds, all failing:
>
>
>- Using callLater to call a function that sets the input focus a
>second time.
>- Listening for soft keyboard events and then setting input focus
>again.
>- Setting kludge timer to wait after the soft keyboard is activated
>and set focus to the control again after waiting a variety of different
>durations.
>
>
> My latest idea is to try scrolling the content up myself so I know the
> input field is visible BEFORE setting focus so the input cursor will always
> be visible, but operations on the scroller don't give me the ability to
> place the input field exactly above the soft keyboard. *Before I go down
> the road of firing an event from the ItemRenderer that the parent view with
> the scroller can react to I wondered if there is a known solution that's
> less work.*
>
> Anyone found a good workaround for this obvious bug in Flex (or perhaps
> AIR)? BTW, I ran into this bug the first time about 5 years ago and worked
> around it by placing input fields in the top 50% of the display area, but
> in this case, my content is scrolling so I cannot do that. I was surprised
> to see this bug has never been fixed.
>
> For more detail read on...
>
> My design is a Facebook-ish social app (for one view) with scrolling
> content:
>
>
>
>
> When the user taps Comment and the input field is in the lower half of the
> device's display area, Flex moves the content up enough for the input field
> to be visible above the soft keyboard, but the input cursor never displays:
>
>
> Thanks so much for your suggestions!
>
> Erik
>
>
>
>
>


Re: Datagrid Sorting Problem on Mobile

2017-06-02 Thread Fréderic Cox
I'm having the exact same issue and it is driving me nuts! For me it is the
first 4 columns that are working but the others are not. Did you ever find a
solution to this problem?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Datagrid-Sorting-Problem-on-Mobile-tp13844p15278.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Datagrid Sorting Problem on Mobile

2017-06-02 Thread Fréderic Cox
bilbosax wrote
>  So it is happening straight down the middle of the iPad.  SURELY, there
> is nothing that I am doing to cause this, is there?

Thanks for this info, it is very valuable. It got me to the cause of the
problem. The problem is in spark.components.GridColumnHeaderGroup, in there
is a function mouseEventHeaderView which is called to determine which column
was touched. In there a function containsMouseEvent is called on the
spark.components.gridClasses/GridColumnHeaderView. In that function we find
the following code:

 public function containsMouseEvent(event:MouseEvent):Boolean
{
const eventStageX:Number = event.stageX;
const eventStageY:Number = event.stageY;
const origin:Point = localToGlobal(zeroPoint);

origin.x += horizontalScrollPosition;
if (layoutDirection == LayoutDirection.RTL)
origin.x -= width;

origin.y += verticalScrollPosition;

return (eventStageX >= origin.x) && (eventStageY >= origin.y) && 
(eventStageX < (origin.x + width)) && (eventStageY < (origin.y +
height));
}   

The problem is that width is half the size as it should be. Now I am trying
to find the cause why this is an incorrect value and hope I find a fix. Any
help appreciated!





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Datagrid-Sorting-Problem-on-Mobile-tp13844p15280.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Datagrid Sorting Problem on Mobile

2017-06-02 Thread Fréderic Cox
Ok I managed to find a workaround and got it working. What I did was
monkeypatch spark.components.gridClasses/GridColumnHeaderView and then
changed the code to

public static var dpiScaleFactor:Number = 1;

public function containsMouseEvent(event:MouseEvent):Boolean

{

const eventStageX:Number = event.stageX;

const eventStageY:Number = event.stageY;

const origin:Point = localToGlobal(zeroPoint);


origin.x += horizontalScrollPosition;

if (layoutDirection == LayoutDirection.RTL)

origin.x -= width;


origin.y += verticalScrollPosition;



return (eventStageX >= origin.x) && (eventStageY >= origin.y) &&

(eventStageX < (origin.x + (width*dpiScaleFactor))) &&
(eventStageY < (origin.y + height));

}


and in my application on preinitialize I do

GridColumnHeaderView.dpiScaleFactor = (runtimeDPI/applicationDPI);


This is working fine for me on the device now and fixes the issue, but I'm
sure someone with a deeper knowledge of the SDK can take a look for a
better fix?

On Fri, Jun 2, 2017 at 5:25 PM, Fréderic Cox  wrote:

> bilbosax wrote
> >  So it is happening straight down the middle of the iPad.  SURELY, there
> > is nothing that I am doing to cause this, is there?
>
> Thanks for this info, it is very valuable. It got me to the cause of the
> problem. The problem is in spark.components.GridColumnHeaderGroup, in
> there
> is a function mouseEventHeaderView which is called to determine which
> column
> was touched. In there a function containsMouseEvent is called on the
> spark.components.gridClasses/GridColumnHeaderView. In that function we
> find
> the following code:
>
>  public function containsMouseEvent(event:MouseEvent):Boolean
> {
> const eventStageX:Number = event.stageX;
> const eventStageY:Number = event.stageY;
> const origin:Point = localToGlobal(zeroPoint);
>
> origin.x += horizontalScrollPosition;
> if (layoutDirection == LayoutDirection.RTL)
> origin.x -= width;
>
> origin.y += verticalScrollPosition;
>
> return (eventStageX >= origin.x) && (eventStageY >= origin.y) &&
> (eventStageX < (origin.x + width)) && (eventStageY < (origin.y
> +
> height));
> }
>
> The problem is that width is half the size as it should be. Now I am trying
> to find the cause why this is an incorrect value and hope I find a fix. Any
> help appreciated!
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Datagrid-Sorting-Problem-on-
> Mobile-tp13844p15280.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: LinkedIn from Flex Development Question

2017-06-15 Thread Fréderic Cox
https://www.curiousm.com/labs/2011/03/09/connect-to-linked-in-api-from-as3-and-adobe-air/
not helpful?
An option could be to do the communication via PHP (
https://github.com/Happyr/LinkedIn-API-client) and create your own PHP
service to pass the data


On Wed, Jun 14, 2017 at 6:58 PM, Erik J. Thomas  wrote:

> Hey all:
>
> I've read through much of the LinkedIn Developer docs for using REST APIs,
> but can't find a simple answer to a simple need:
>
> We just want to be able to import a user's LinkedIn photo, title, and
> company name, in a Flex mobile app if the user wants to use it.
>
> The LinkedIn API docs make this a hugely complex process, using OAuth 2,
> requiring a server for authentication callbacks, etc., very heavyweight for
> such a simple need and I haven't found any Flex libraries that will help
> with this, though I may not be looking hard enough.
>
> Do any of you have any experience doing this sort of thing? And if we have
> to go with the heavyweight OAuth 2 approach, are any of you interested in a
> short-term development contact to help us develop it out in Flex for AIR?
> Or do you know of an AS3 library out there to do this?
>
> Thanks!
>
> Erik
>
>


Re: Remote object for Flex JS

2017-07-31 Thread Fréderic Cox
I have tried tonight on getting this to work but it did not work for me. I
am getting a FaultEvent returned immediately.

https://github.com/pkumar-ghub/AMFService is what I used. It did not work
when I added the .swc in my library folder (some errors regarding the
imports could not be found) but then I copied the source files in my
project and could compile.

However the FaultEvent is immediately returned. What can I do to debug here?


On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
christ...@kostenzer.net> wrote:

> Thanks - I will look at that and come back to you for setting up the
> environment.
>
> Regards
>
> __
>
> Mag.(FH) Christian Kostenzer
> Gärberbach 1
> 6020 Innsbruck Land I
>
> fon: +43 676 3327320
> fax: +43 810 9554 249195
> Email: christ...@kostenzer.net
> Web: www.kostenzer.net
> UID: ATU56508014
>
> > Am 27.07.2017 um 09:06 schrieb piotrz :
> >
> > Hi Chris,
> >
> > Wow! :) Thank you for interesting in that. Some time ago Carlos [1]
> started
> > initial work on that creating separate branch in FlexJS framework
> repository
> > [2]. I encourage you to ask any technical things where to start in that
> > thread. [1].
> >
> > In general you will have to work in framework code itself, so I would be
> > happy to help you setup environment for that purpose if you needed.
> > I will refresh "amf" branch today with newest code from "develop".
> >
> > [1]
> > http://apache-flex-development.247.n4.nabble.
> com/FlexJS-AMF-branch-feature-amf-Starting-the-effort-
> Special-Thanks-to-PKumar-td59640.html
> > [2] https://github.com/apache/flex-asjs/tree/feature/amf
> >
> > Thanks,
> > Piotr
> >
> >
> >
> >
> >
> > -
> > Apache Flex PMC
> > piotrzarzyck...@gmail.com
> > --
> > View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>


Re: Remote object for Flex JS

2017-07-31 Thread Fréderic Cox
The error is:

Fault: code: -1000 message: Could not connect to the server. detail: Could
not reach AMF endpoint. data: null --- Endpoint:
http://winkelbeheer.cityfashion.be/amfphp/gateway.php (I added the URL part)

http://winkelbeheer.cityfashion.be/amfphp/gateway.php is a valid AMFPHP
endpoint which works fine in the regular Flex SDK

On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox 
wrote:

> I have tried tonight on getting this to work but it did not work for me. I
> am getting a FaultEvent returned immediately.
>
> https://github.com/pkumar-ghub/AMFService is what I used. It did not work
> when I added the .swc in my library folder (some errors regarding the
> imports could not be found) but then I copied the source files in my
> project and could compile.
>
> However the FaultEvent is immediately returned. What can I do to debug
> here?
>
>
> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> christ...@kostenzer.net> wrote:
>
>> Thanks - I will look at that and come back to you for setting up the
>> environment.
>>
>> Regards
>>
>> __
>>
>> Mag.(FH) Christian Kostenzer
>> Gärberbach 1
>> 6020 Innsbruck Land I
>>
>> fon: +43 676 3327320
>> fax: +43 810 9554 249195
>> Email: christ...@kostenzer.net
>> Web: www.kostenzer.net
>> UID: ATU56508014
>>
>> > Am 27.07.2017 um 09:06 schrieb piotrz :
>> >
>> > Hi Chris,
>> >
>> > Wow! :) Thank you for interesting in that. Some time ago Carlos [1]
>> started
>> > initial work on that creating separate branch in FlexJS framework
>> repository
>> > [2]. I encourage you to ask any technical things where to start in that
>> > thread. [1].
>> >
>> > In general you will have to work in framework code itself, so I would be
>> > happy to help you setup environment for that purpose if you needed.
>> > I will refresh "amf" branch today with newest code from "develop".
>> >
>> > [1]
>> > http://apache-flex-development.247.n4.nabble.com/FlexJS-
>> AMF-branch-feature-amf-Starting-the-effort-Special-
>> Thanks-to-PKumar-td59640.html
>> > [2] https://github.com/apache/flex-asjs/tree/feature/amf
>> >
>> > Thanks,
>> > Piotr
>> >
>> >
>> >
>> >
>> >
>> > -
>> > Apache Flex PMC
>> > piotrzarzyck...@gmail.com
>> > --
>> > View this message in context: http://apache-flex-users.2
>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
>> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>>
>


Re: Remote object for Flex JS

2017-08-01 Thread Fréderic Cox
I tried it in a FlexJS project. The AMF.js file inclusion also showed correctly 
in index.html in the bin folder

Verstuurd vanaf mijn iPhone

> Op 1 aug. 2017 om 13:17 heeft piotrz  het volgende 
> geschreven:
> 
> Hi Frederic,
> 
> Thanks for trying it. Just one question - did you try use this swc in Flex
> project or some FlexJS project ? I thought that provided library by Prashant
> is for use in FlexJS projects, but maybe I'm wrong.
> 
> Piotr
> 
> 
> 
> -
> Apache Flex PMC
> piotrzarzyck...@gmail.com
> --
> View this message in context: 
> http://apache-flex-users.246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15581.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Remote object for Flex JS

2017-08-01 Thread Fréderic Cox
Yes you can use the mentioned URL for testing. You can use the function 
getCountries in the Geo service

Verstuurd vanaf mijn iPhone

> Op 1 aug. 2017 om 18:01 heeft PKumar  het volgende 
> geschreven:
> 
> I will  check it and send you sample working code. Can I use the mentioned
> URL for testing.
> 
> On 01-Aug-2017 2:19 AM, "Fréderic Cox [via Apache Flex Users]" <
> ml+s246n15577...@n4.nabble.com> wrote:
> 
>> The error is:
>> 
>> Fault: code: -1000 message: Could not connect to the server. detail: Could
>> not reach AMF endpoint. data: null --- Endpoint:
>> http://winkelbeheer.cityfashion.be/amfphp/gateway.php (I added the URL
>> part)
>> 
>> http://winkelbeheer.cityfashion.be/amfphp/gateway.php is a valid AMFPHP
>> endpoint which works fine in the regular Flex SDK
>> 
>> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
>> wrote:
>> 
>>> I have tried tonight on getting this to work but it did not work for me.
>> I
>>> am getting a FaultEvent returned immediately.
>>> 
>>> https://github.com/pkumar-ghub/AMFService is what I used. It did not
>> work
>>> when I added the .swc in my library folder (some errors regarding the
>>> imports could not be found) but then I copied the source files in my
>>> project and could compile.
>>> 
>>> However the FaultEvent is immediately returned. What can I do to debug
>>> here?
>>> 
>>> 
>>> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
>> wrote:
>>> 
>>>> Thanks - I will look at that and come back to you for setting up the
>>>> environment.
>>>> 
>>>> Regards
>>>> 
>>>> __
>>>> 
>>>> Mag.(FH) Christian Kostenzer
>>>> Gärberbach 1
>>>> 6020 Innsbruck Land I
>>>> 
>>>> fon: +43 676 3327320 <+43%20676%203327320>
>>>> fax: +43 810 9554 249195 <+43%20810%209554249195>
>>>> Email: [hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
>>>> Web: www.kostenzer.net
>>>> UID: ATU56508014
>>>> 
>>>>> Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
>> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
>>>>> 
>>>>> Hi Chris,
>>>>> 
>>>>> Wow! :) Thank you for interesting in that. Some time ago Carlos [1]
>>>> started
>>>>> initial work on that creating separate branch in FlexJS framework
>>>> repository
>>>>> [2]. I encourage you to ask any technical things where to start in
>> that
>>>>> thread. [1].
>>>>> 
>>>>> In general you will have to work in framework code itself, so I would
>> be
>>>>> happy to help you setup environment for that purpose if you needed.
>>>>> I will refresh "amf" branch today with newest code from "develop".
>>>>> 
>>>>> [1]
>>>>> http://apache-flex-development.247.n4.nabble.com/FlexJS-
>>>> AMF-branch-feature-amf-Starting-the-effort-Special-
>>>> Thanks-to-PKumar-td59640.html
>>>>> [2] https://github.com/apache/flex-asjs/tree/feature/amf
>>>>> 
>>>>> Thanks,
>>>>> Piotr
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> -
>>>>> Apache Flex PMC
>>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=4>
>>>>> --
>>>>> View this message in context: http://apache-flex-users.2
>>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
>>>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>>> 
>>>> 
>>> 
>> 
>> 
>> --
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://apache-flex-users.246.n4.nabble.com/Remote-object-for-Flex-JS-
>> tp15510p15577.html
>> To start a new topic under Apache Flex Users, email
>> ml+s246n1...@n4.nabble.com
>> To unsubscribe from Apache Flex Users, click here
>> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
>> .
>> NAML
>> <http://apache-flex-users.246.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>> 
> 
> 
> 
> 
> -
> Regards,
> Prashant
> --
> View this message in context: 
> http://apache-flex-users.246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Remote object for Flex JS

2017-08-03 Thread Fréderic Cox
Any luck?

On Tue, Aug 1, 2017 at 8:58 PM, Fréderic Cox  wrote:

> Yes you can use the mentioned URL for testing. You can use the function
> getCountries in the Geo service
>
> Verstuurd vanaf mijn iPhone
>
> > Op 1 aug. 2017 om 18:01 heeft PKumar  het
> volgende geschreven:
> >
> > I will  check it and send you sample working code. Can I use the
> mentioned
> > URL for testing.
> >
> > On 01-Aug-2017 2:19 AM, "Fréderic Cox [via Apache Flex Users]" <
> > ml+s246n15577...@n4.nabble.com> wrote:
> >
> >> The error is:
> >>
> >> Fault: code: -1000 message: Could not connect to the server. detail:
> Could
> >> not reach AMF endpoint. data: null --- Endpoint:
> >> http://winkelbeheer.cityfashion.be/amfphp/gateway.php (I added the URL
> >> part)
> >>
> >> http://winkelbeheer.cityfashion.be/amfphp/gateway.php is a valid AMFPHP
> >> endpoint which works fine in the regular Flex SDK
> >>
> >> On Mon, Jul 31, 2017 at 10:45 PM, Fréderic Cox <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=0>>
> >> wrote:
> >>
> >>> I have tried tonight on getting this to work but it did not work for
> me.
> >> I
> >>> am getting a FaultEvent returned immediately.
> >>>
> >>> https://github.com/pkumar-ghub/AMFService is what I used. It did not
> >> work
> >>> when I added the .swc in my library folder (some errors regarding the
> >>> imports could not be found) but then I copied the source files in my
> >>> project and could compile.
> >>>
> >>> However the FaultEvent is immediately returned. What can I do to debug
> >>> here?
> >>>
> >>>
> >>> On Thu, Jul 27, 2017 at 10:31 AM, Christian Kostenzer <
> >>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=1>>
> >> wrote:
> >>>
> >>>> Thanks - I will look at that and come back to you for setting up the
> >>>> environment.
> >>>>
> >>>> Regards
> >>>>
> >>>> __
> >>>>
> >>>> Mag.(FH) Christian Kostenzer
> >>>> Gärberbach 1
> >>>> 6020 Innsbruck Land I
> >>>>
> >>>> fon: +43 676 3327320 <+43%20676%203327320>
> >>>> fax: +43 810 9554 249195 <+43%20810%209554249195>
> >>>> Email: [hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=2>
> >>>> Web: www.kostenzer.net
> >>>> UID: ATU56508014
> >>>>
> >>>>> Am 27.07.2017 um 09:06 schrieb piotrz <[hidden email]
> >> <http:///user/SendEmail.jtp?type=node&node=15577&i=3>>:
> >>>>>
> >>>>> Hi Chris,
> >>>>>
> >>>>> Wow! :) Thank you for interesting in that. Some time ago Carlos [1]
> >>>> started
> >>>>> initial work on that creating separate branch in FlexJS framework
> >>>> repository
> >>>>> [2]. I encourage you to ask any technical things where to start in
> >> that
> >>>>> thread. [1].
> >>>>>
> >>>>> In general you will have to work in framework code itself, so I would
> >> be
> >>>>> happy to help you setup environment for that purpose if you needed.
> >>>>> I will refresh "amf" branch today with newest code from "develop".
> >>>>>
> >>>>> [1]
> >>>>> http://apache-flex-development.247.n4.nabble.com/FlexJS-
> >>>> AMF-branch-feature-amf-Starting-the-effort-Special-
> >>>> Thanks-to-PKumar-td59640.html
> >>>>> [2] https://github.com/apache/flex-asjs/tree/feature/amf
> >>>>>
> >>>>> Thanks,
> >>>>> Piotr
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> -
> >>>>> Apache Flex PMC
> >>>>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=15577&i=4>
> >>>>> --
> >>>>> View this message in context: http://apache-flex-users.2
> >>>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15514.html
> >>>>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >>>>
> >>>>
> >>>
> >>
> >>
> >> --
> >> If you reply to this email, your message will be added to the discussion
> >> below:
> >> http://apache-flex-users.246.n4.nabble.com/Remote-
> object-for-Flex-JS-
> >> tp15510p15577.html
> >> To start a new topic under Apache Flex Users, email
> >> ml+s246n1...@n4.nabble.com
> >> To unsubscribe from Apache Flex Users, click here
> >> <http://apache-flex-users.246.n4.nabble.com/
> template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=
> cHJhc2hha3VtYXJAZ21haWwuY29tfDF8LTU0MTcyMzE2NA==>
> >> .
> >> NAML
> >> <http://apache-flex-users.246.n4.nabble.com/
> template/NamlServlet.jtp?macro=macro_viewer&id=instant_
> html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace&breadcrumbs=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >>
> >
> >
> >
> >
> > -
> > Regards,
> > Prashant
> > --
> > View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15585.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Remote object for Flex JS

2017-08-07 Thread Fréderic Cox
Ok thanks for the update Prashant! If there is anything I can help with
please let me know.

On Sun, Aug 6, 2017 at 3:52 PM, PKumar  wrote:

> As per my analysis,  this issue is related to JAVAScript api  over that i
> developed the  FlecJS wrapper code to call AMF end points.
>
> I tested this API with BlazeDS java end point and it  really works. I am
> further looking the java script API to fix this issue.
>
> Regards,
> Prashant
>
>
>
> -
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Remote object for Flex JS

2017-08-07 Thread Fréderic Cox
Could it have anything to do with the C extension plug-in for AMFPHP? Or
compression?

On Mon, Aug 7, 2017 at 9:39 AM, Fréderic Cox  wrote:

> Ok thanks for the update Prashant! If there is anything I can help with
> please let me know.
>
> On Sun, Aug 6, 2017 at 3:52 PM, PKumar  wrote:
>
>> As per my analysis,  this issue is related to JAVAScript api  over that i
>> developed the  FlecJS wrapper code to call AMF end points.
>>
>> I tested this API with BlazeDS java end point and it  really works. I am
>> further looking the java script API to fix this issue.
>>
>> Regards,
>> Prashant
>>
>>
>>
>> -
>> Regards,
>> Prashant
>> --
>> View this message in context: http://apache-flex-users.2
>> 46.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15613.html
>> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>>
>
>


Re: Remote object for Flex JS

2017-08-16 Thread Fréderic Cox
Ok thanks for the update Prashant!

On Tue, Aug 15, 2017 at 6:33 PM, PKumar  wrote:

> Hi Frederic,
>
> I debug the JavaScript API and found that issue. amfphp  service sending
> the
> object header and  amf JavaScript API does not support  object in header.
> So  getting the following exception,
>
> "Only string header data supported."
>
> i will setup amfphp ant my side and analyze  it further.
>
> Regards,
> Prashant
>
>
>
> -
> Regards,
> Prashant
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Remote-object-for-Flex-JS-tp15510p15751.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Re: Remote object for Flex JS

2017-08-23 Thread Fréderic Cox
Great Alex, thanks for looking into this.
I would also lean towards compatibility with regular Flex.

2017-08-23 7:42 GMT+02:00 :

> Bonjour,
>
> En congés jusqu'au 4 septembre, je prendrais connaissance de votre message
> à mon retour.
>
> Cordialement,
>
> Vincent/AFTER24
>
>
>
>


Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
Hi,

I tried installing Flex 4.10 combined with AIR 27 but it gives me the same
errors on the 3.2 and 3.3 version of the installer. Here is the log:

Installer version 3.3.0 (mac)
Using Locale: en_BE
Fetched the SDK download mirror URL from the CGI.
SDK version Apache Flex SDK 4.10.0
AIR version 27.0
Flash Player version 27.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://archive.apache.org/dist/flex/4.10.0/binaries/apache-flex-sdk-4.10.0-bin.tar.gz
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the
reference. The file is valid.
Uncompressing:
/Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-flex-sdk-4.10.0-bin.tar.gz
Finished uncompressing:
/Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-flex-sdk-4.10.0-bin.tar.gz
Downloading Adobe AIR Runtime Kit for Mac from:
http://airdownload.adobe.com/air/mac/download/27.0/AdobeAIRSDK.dmg
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true&label=Apache Flex
SDK 4.10.0&version=4.10.0&os=mac&installerversion=3.3.0&info=Uncompress
Adobe AIR Runtime Kit
Native Process error unable to untar Adobe AIR SDK
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

Finished untaring:
/Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/AdobeAIRSDK.dmg
Installing Adobe Flash Player playerglobal.swc from:
http://fpdownload.macromedia.com/get/flashplayer/updaters/27/playerglobal27_0.swc
Installing frameworks configuration files configured for use with an IDE
Downloading 2_2.zip from:
http://apacheflexbuild.cloudapp.net:8080/job/SWFObjectLegacyPackage/lastSuccessfulBuild/artifact/
Download complete
Downloading osmf.swc from: http://flex.apache.org/dependencies/osmf1/
Downloading flex-messaging-common.jar from:
http://flex.apache.org/dependencies/
Downloading afe.jar from: http://flex.apache.org/dependencies/
Downloading aglj40.jar from: http://flex.apache.org/dependencies/
Downloading flex-fontkit.jar from: http://flex.apache.org/dependencies/
Downloading rideau.jar from: http://flex.apache.org/dependencies/

Can anyone help me out? I have an issue in my app and need to update to
Adobe AIR 26 or higher.

Thanks for the help


Re: Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
4.16 with AIR 27 just installed successfully, but I would really need 4.10
to work with AIR 27 for the short term, any solutions there?

On Thu, Nov 30, 2017 at 12:28 PM, Piotr Zarzycki 
wrote:

> Hi Frederic,
>
> Did you try higher version of Flex ? Latest release 4.16.1 or at least
> 4.11.0 ?
>
> Thanks, Piotr
>
> 2017-11-30 12:16 GMT+01:00 Fréderic Cox :
>
> > Hi,
> >
> > I tried installing Flex 4.10 combined with AIR 27 but it gives me the
> same
> > errors on the 3.2 and 3.3 version of the installer. Here is the log:
> >
> > Installer version 3.3.0 (mac)
> > Using Locale: en_BE
> > Fetched the SDK download mirror URL from the CGI.
> > SDK version Apache Flex SDK 4.10.0
> > AIR version 27.0
> > Flash Player version 27.0
> > Creating Apache Flex home
> > Creating temporary directory
> > Downloading Apache Flex SDK from:
> > http://archive.apache.org/dist/flex/4.10.0/binaries/
> > apache-flex-sdk-4.10.0-bin.tar.gz
> > Verifying Apache Flex SDK MD5 Signature
> > The Apache Flex SDK MD5 Signature of the downloaded files matches the
> > reference. The file is valid.
> > Uncompressing:
> > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > flex-sdk-4.10.0-bin.tar.gz
> > Finished uncompressing:
> > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > flex-sdk-4.10.0-bin.tar.gz
> > Downloading Adobe AIR Runtime Kit for Mac from:
> > http://airdownload.adobe.com/air/mac/download/27.0/AdobeAIRSDK.dmg
> > Installation aborted:
> > http://flex.apache.org/track-installer.html?failure=true&label=Apache
> Flex
> > SDK 4.10.0&version=4.10.0&os=mac&installerversion=3.3.0&info=Uncompress
> > Adobe AIR Runtime Kit
> > Native Process error unable to untar Adobe AIR SDK
> > tar: Unrecognized archive format
> > tar: Error exit delayed from previous errors.
> >
> > Finished untaring:
> > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/AdobeAIRSDK.dmg
> > Installing Adobe Flash Player playerglobal.swc from:
> > http://fpdownload.macromedia.com/get/flashplayer/updaters/
> > 27/playerglobal27_0.swc
> > Installing frameworks configuration files configured for use with an IDE
> > Downloading 2_2.zip from:
> > http://apacheflexbuild.cloudapp.net:8080/job/SWFObjectLegacyPackage/
> > lastSuccessfulBuild/artifact/
> > Download complete
> > Downloading osmf.swc from: http://flex.apache.org/dependencies/osmf1/
> > Downloading flex-messaging-common.jar from:
> > http://flex.apache.org/dependencies/
> > Downloading afe.jar from: http://flex.apache.org/dependencies/
> > Downloading aglj40.jar from: http://flex.apache.org/dependencies/
> > Downloading flex-fontkit.jar from: http://flex.apache.org/dependencies/
> > Downloading rideau.jar from: http://flex.apache.org/dependencies/
> >
> > Can anyone help me out? I have an issue in my app and need to update to
> > Adobe AIR 26 or higher.
> >
> > Thanks for the help
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


Re: Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
Hi Piotr,

Thanks for your help but none of the links on
http://www.apache.org/dyn/closer.lua/flex/4.10.0/binaries/apache-flex-sdk-4.10.1-bin.tar.gz
work for me, not even the mirrors like
http://apache.belnet.be/flex/4.10.0/binaries/apache-flex-sdk-4.10.1-bin.tar.gz



On Thu, Nov 30, 2017 at 1:18 PM, Piotr Zarzycki 
wrote:

> Frederic,
>
> You can download binaries manually [1] for mac and try to use Ant on Air
> instruction [2]. Once you download binaries untar them, and go to the
> folder and Terminal:
> ant -f installer.xml -Dair.sdk.version=27.0
>
> Let me know it it helps
>
> [1]
> http://www.apache.org/dyn/closer.lua/flex/4.10.0/
> binaries/apache-flex-sdk-4.10.1-bin.tar.gz
> [2] https://cwiki.apache.org/confluence/display/FLEX/Installation+help
>
> Thanks, Piotr
>
>
> 2017-11-30 13:07 GMT+01:00 Fréderic Cox :
>
> > 4.16 with AIR 27 just installed successfully, but I would really need
> 4.10
> > to work with AIR 27 for the short term, any solutions there?
> >
> > On Thu, Nov 30, 2017 at 12:28 PM, Piotr Zarzycki <
> > piotrzarzyck...@gmail.com>
> > wrote:
> >
> > > Hi Frederic,
> > >
> > > Did you try higher version of Flex ? Latest release 4.16.1 or at least
> > > 4.11.0 ?
> > >
> > > Thanks, Piotr
> > >
> > > 2017-11-30 12:16 GMT+01:00 Fréderic Cox :
> > >
> > > > Hi,
> > > >
> > > > I tried installing Flex 4.10 combined with AIR 27 but it gives me the
> > > same
> > > > errors on the 3.2 and 3.3 version of the installer. Here is the log:
> > > >
> > > > Installer version 3.3.0 (mac)
> > > > Using Locale: en_BE
> > > > Fetched the SDK download mirror URL from the CGI.
> > > > SDK version Apache Flex SDK 4.10.0
> > > > AIR version 27.0
> > > > Flash Player version 27.0
> > > > Creating Apache Flex home
> > > > Creating temporary directory
> > > > Downloading Apache Flex SDK from:
> > > > http://archive.apache.org/dist/flex/4.10.0/binaries/
> > > > apache-flex-sdk-4.10.0-bin.tar.gz
> > > > Verifying Apache Flex SDK MD5 Signature
> > > > The Apache Flex SDK MD5 Signature of the downloaded files matches the
> > > > reference. The file is valid.
> > > > Uncompressing:
> > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > > > flex-sdk-4.10.0-bin.tar.gz
> > > > Finished uncompressing:
> > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > > > flex-sdk-4.10.0-bin.tar.gz
> > > > Downloading Adobe AIR Runtime Kit for Mac from:
> > > > http://airdownload.adobe.com/air/mac/download/27.0/AdobeAIRSDK.dmg
> > > > Installation aborted:
> > > > http://flex.apache.org/track-installer.html?failure=true&;
> label=Apache
> > > Flex
> > > > SDK 4.10.0&version=4.10.0&os=mac&installerversion=3.3.0&info=
> > Uncompress
> > > > Adobe AIR Runtime Kit
> > > > Native Process error unable to untar Adobe AIR SDK
> > > > tar: Unrecognized archive format
> > > > tar: Error exit delayed from previous errors.
> > > >
> > > > Finished untaring:
> > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/AdobeAIRSDK.dmg
> > > > Installing Adobe Flash Player playerglobal.swc from:
> > > > http://fpdownload.macromedia.com/get/flashplayer/updaters/
> > > > 27/playerglobal27_0.swc
> > > > Installing frameworks configuration files configured for use with an
> > IDE
> > > > Downloading 2_2.zip from:
> > > > http://apacheflexbuild.cloudapp.net:8080/job/SWFObjectLegacyPackage/
> > > > lastSuccessfulBuild/artifact/
> > > > Download complete
> > > > Downloading osmf.swc from: http://flex.apache.org/
> dependencies/osmf1/
> > > > Downloading flex-messaging-common.jar from:
> > > > http://flex.apache.org/dependencies/
> > > > Downloading afe.jar from: http://flex.apache.org/dependencies/
> > > > Downloading aglj40.jar from: http://flex.apache.org/dependencies/
> > > > Downloading flex-fontkit.jar from: http://flex.apache.org/
> > dependencies/
> > > > Downloading rideau.jar from: http://flex.apache.org/dependencies/
> > > >
> > > > Can anyone help me out? I have an issue in my app and need to update
> to
> > > > Adobe AIR 26 or higher.
> > > >
> > > > Thanks for the help
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Piotr Zarzycki
> > >
> > > Patreon: *https://www.patreon.com/piotrzarzycki
> > > <https://www.patreon.com/piotrzarzycki>*
> > >
> >
>
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> <https://www.patreon.com/piotrzarzycki>*
>


Re: Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
Frederics-MacBook-Pro:4.10_AIR27 frederic$ ant -f installer.xml
-Dair.sdk.version=27.0

Buildfile: installer.xml does not exist!

Build failed

On Thu, Nov 30, 2017 at 1:27 PM, Piotr Zarzycki 
wrote:

> Ahh I'm sorry it is under archive [1]
>
> [1]
> http://archive.apache.org/dist/flex/4.10.0/binaries/
> apache-flex-sdk-4.10.0-bin.tar.gz
>
> Thanks, Piotr
>
> 2017-11-30 13:21 GMT+01:00 Fréderic Cox :
>
> > Hi Piotr,
> >
> > Thanks for your help but none of the links on
> > http://www.apache.org/dyn/closer.lua/flex/4.10.0/
> > binaries/apache-flex-sdk-4.10.1-bin.tar.gz
> > work for me, not even the mirrors like
> > http://apache.belnet.be/flex/4.10.0/binaries/apache-flex-
> > sdk-4.10.1-bin.tar.gz
> >
> >
> >
> > On Thu, Nov 30, 2017 at 1:18 PM, Piotr Zarzycki <
> piotrzarzyck...@gmail.com
> > >
> > wrote:
> >
> > > Frederic,
> > >
> > > You can download binaries manually [1] for mac and try to use Ant on
> Air
> > > instruction [2]. Once you download binaries untar them, and go to the
> > > folder and Terminal:
> > > ant -f installer.xml -Dair.sdk.version=27.0
> > >
> > > Let me know it it helps
> > >
> > > [1]
> > > http://www.apache.org/dyn/closer.lua/flex/4.10.0/
> > > binaries/apache-flex-sdk-4.10.1-bin.tar.gz
> > > [2] https://cwiki.apache.org/confluence/display/FLEX/Installation+help
> > >
> > > Thanks, Piotr
> > >
> > >
> > > 2017-11-30 13:07 GMT+01:00 Fréderic Cox :
> > >
> > > > 4.16 with AIR 27 just installed successfully, but I would really need
> > > 4.10
> > > > to work with AIR 27 for the short term, any solutions there?
> > > >
> > > > On Thu, Nov 30, 2017 at 12:28 PM, Piotr Zarzycki <
> > > > piotrzarzyck...@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi Frederic,
> > > > >
> > > > > Did you try higher version of Flex ? Latest release 4.16.1 or at
> > least
> > > > > 4.11.0 ?
> > > > >
> > > > > Thanks, Piotr
> > > > >
> > > > > 2017-11-30 12:16 GMT+01:00 Fréderic Cox :
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I tried installing Flex 4.10 combined with AIR 27 but it gives me
> > the
> > > > > same
> > > > > > errors on the 3.2 and 3.3 version of the installer. Here is the
> > log:
> > > > > >
> > > > > > Installer version 3.3.0 (mac)
> > > > > > Using Locale: en_BE
> > > > > > Fetched the SDK download mirror URL from the CGI.
> > > > > > SDK version Apache Flex SDK 4.10.0
> > > > > > AIR version 27.0
> > > > > > Flash Player version 27.0
> > > > > > Creating Apache Flex home
> > > > > > Creating temporary directory
> > > > > > Downloading Apache Flex SDK from:
> > > > > > http://archive.apache.org/dist/flex/4.10.0/binaries/
> > > > > > apache-flex-sdk-4.10.0-bin.tar.gz
> > > > > > Verifying Apache Flex SDK MD5 Signature
> > > > > > The Apache Flex SDK MD5 Signature of the downloaded files matches
> > the
> > > > > > reference. The file is valid.
> > > > > > Uncompressing:
> > > > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > > > > > flex-sdk-4.10.0-bin.tar.gz
> > > > > > Finished uncompressing:
> > > > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> > > > > > flex-sdk-4.10.0-bin.tar.gz
> > > > > > Downloading Adobe AIR Runtime Kit for Mac from:
> > > > > > http://airdownload.adobe.com/air/mac/download/27.0/
> AdobeAIRSDK.dmg
> > > > > > Installation aborted:
> > > > > > http://flex.apache.org/track-installer.html?failure=true&;
> > > label=Apache
> > > > > Flex
> > > > > > SDK 4.10.0&version=4.10.0&os=mac&installerversion=3.3.0&info=
> > > > Uncompress
> > > > > > Adobe AIR Runtime Kit
> > > > > > Native Process error unable to untar Adobe AIR SDK
> > > > > > tar: Unrecognized archive format
> > > > > > tar: Error exit delayed from previous errors.
> > > > > >
> > 

Re: Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
Wow that is strange, I have 10.12.6 also, I will retry it once more

On Thu, Nov 30, 2017 at 1:36 PM, Piotr Zarzycki 
wrote:

> Frederic,
>
> FYI I just tried install that version with Adobe Air 27 on my mac OS Sierra
> 10.12.6 and it went all well. Installer 3.3.
>
> Thanks, Piotr
>
> 2017-11-30 13:27 GMT+01:00 Piotr Zarzycki :
>
> > Ahh I'm sorry it is under archive [1]
> >
> > [1] http://archive.apache.org/dist/flex/4.10.0/binaries/
> > apache-flex-sdk-4.10.0-bin.tar.gz
> >
> > Thanks, Piotr
> >
> > 2017-11-30 13:21 GMT+01:00 Fréderic Cox :
> >
> >> Hi Piotr,
> >>
> >> Thanks for your help but none of the links on
> >> http://www.apache.org/dyn/closer.lua/flex/4.10.0/binaries/
> >> apache-flex-sdk-4.10.1-bin.tar.gz
> >> work for me, not even the mirrors like
> >> http://apache.belnet.be/flex/4.10.0/binaries/apache-flex-sdk
> >> -4.10.1-bin.tar.gz
> >>
> >>
> >>
> >> On Thu, Nov 30, 2017 at 1:18 PM, Piotr Zarzycki <
> >> piotrzarzyck...@gmail.com>
> >> wrote:
> >>
> >> > Frederic,
> >> >
> >> > You can download binaries manually [1] for mac and try to use Ant on
> Air
> >> > instruction [2]. Once you download binaries untar them, and go to the
> >> > folder and Terminal:
> >> > ant -f installer.xml -Dair.sdk.version=27.0
> >> >
> >> > Let me know it it helps
> >> >
> >> > [1]
> >> > http://www.apache.org/dyn/closer.lua/flex/4.10.0/
> >> > binaries/apache-flex-sdk-4.10.1-bin.tar.gz
> >> > [2] https://cwiki.apache.org/confluence/display/FLEX/
> Installation+help
> >> >
> >> > Thanks, Piotr
> >> >
> >> >
> >> > 2017-11-30 13:07 GMT+01:00 Fréderic Cox :
> >> >
> >> > > 4.16 with AIR 27 just installed successfully, but I would really
> need
> >> > 4.10
> >> > > to work with AIR 27 for the short term, any solutions there?
> >> > >
> >> > > On Thu, Nov 30, 2017 at 12:28 PM, Piotr Zarzycki <
> >> > > piotrzarzyck...@gmail.com>
> >> > > wrote:
> >> > >
> >> > > > Hi Frederic,
> >> > > >
> >> > > > Did you try higher version of Flex ? Latest release 4.16.1 or at
> >> least
> >> > > > 4.11.0 ?
> >> > > >
> >> > > > Thanks, Piotr
> >> > > >
> >> > > > 2017-11-30 12:16 GMT+01:00 Fréderic Cox :
> >> > > >
> >> > > > > Hi,
> >> > > > >
> >> > > > > I tried installing Flex 4.10 combined with AIR 27 but it gives
> me
> >> the
> >> > > > same
> >> > > > > errors on the 3.2 and 3.3 version of the installer. Here is the
> >> log:
> >> > > > >
> >> > > > > Installer version 3.3.0 (mac)
> >> > > > > Using Locale: en_BE
> >> > > > > Fetched the SDK download mirror URL from the CGI.
> >> > > > > SDK version Apache Flex SDK 4.10.0
> >> > > > > AIR version 27.0
> >> > > > > Flash Player version 27.0
> >> > > > > Creating Apache Flex home
> >> > > > > Creating temporary directory
> >> > > > > Downloading Apache Flex SDK from:
> >> > > > > http://archive.apache.org/dist/flex/4.10.0/binaries/
> >> > > > > apache-flex-sdk-4.10.0-bin.tar.gz
> >> > > > > Verifying Apache Flex SDK MD5 Signature
> >> > > > > The Apache Flex SDK MD5 Signature of the downloaded files
> matches
> >> the
> >> > > > > reference. The file is valid.
> >> > > > > Uncompressing:
> >> > > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> >> > > > > flex-sdk-4.10.0-bin.tar.gz
> >> > > > > Finished uncompressing:
> >> > > > > /Users/frederic/ApacheFlex/sdk/4.10_AIR27/temp/apache-
> >> > > > > flex-sdk-4.10.0-bin.tar.gz
> >> > > > > Downloading Adobe AIR Runtime Kit for Mac from:
> >> > > > > http://airdownload.adobe.com/air/mac/download/27.0/AdobeAIRS
> >> DK.dmg
> >> > > > > Installation aborted:
> >> > > > > http://flex.apache.org/track-installer.ht

Re: Unable to install Flex SDK on 3.2 and 3.3 installer

2017-11-30 Thread Fréderic Cox
That would be amazing, I can then fix the issues and look at updating to
4.16 in the coming days.

Can you send it via WeTransfer?

On Thu, Nov 30, 2017 at 2:02 PM, Piotr Zarzycki 
wrote:

> Frederic,
>
> I can sent you downloaded version off the list if it helps you. Let me
> know.
>
> Thanks, Piotr
>
>
> 2017-11-30 13:56 GMT+01:00 Fréderic Cox :
>
> > Wow that is strange, I have 10.12.6 also, I will retry it once more
> >
> > On Thu, Nov 30, 2017 at 1:36 PM, Piotr Zarzycki <
> piotrzarzyck...@gmail.com
> > >
> > wrote:
> >
> > > Frederic,
> > >
> > > FYI I just tried install that version with Adobe Air 27 on my mac OS
> > Sierra
> > > 10.12.6 and it went all well. Installer 3.3.
> > >
> > > Thanks, Piotr
> > >
> > > 2017-11-30 13:27 GMT+01:00 Piotr Zarzycki :
> > >
> > > > Ahh I'm sorry it is under archive [1]
> > > >
> > > > [1] http://archive.apache.org/dist/flex/4.10.0/binaries/
> > > > apache-flex-sdk-4.10.0-bin.tar.gz
> > > >
> > > > Thanks, Piotr
> > > >
> > > > 2017-11-30 13:21 GMT+01:00 Fréderic Cox :
> > > >
> > > >> Hi Piotr,
> > > >>
> > > >> Thanks for your help but none of the links on
> > > >> http://www.apache.org/dyn/closer.lua/flex/4.10.0/binaries/
> > > >> apache-flex-sdk-4.10.1-bin.tar.gz
> > > >> work for me, not even the mirrors like
> > > >> http://apache.belnet.be/flex/4.10.0/binaries/apache-flex-sdk
> > > >> -4.10.1-bin.tar.gz
> > > >>
> > > >>
> > > >>
> > > >> On Thu, Nov 30, 2017 at 1:18 PM, Piotr Zarzycki <
> > > >> piotrzarzyck...@gmail.com>
> > > >> wrote:
> > > >>
> > > >> > Frederic,
> > > >> >
> > > >> > You can download binaries manually [1] for mac and try to use Ant
> on
> > > Air
> > > >> > instruction [2]. Once you download binaries untar them, and go to
> > the
> > > >> > folder and Terminal:
> > > >> > ant -f installer.xml -Dair.sdk.version=27.0
> > > >> >
> > > >> > Let me know it it helps
> > > >> >
> > > >> > [1]
> > > >> > http://www.apache.org/dyn/closer.lua/flex/4.10.0/
> > > >> > binaries/apache-flex-sdk-4.10.1-bin.tar.gz
> > > >> > [2] https://cwiki.apache.org/confluence/display/FLEX/
> > > Installation+help
> > > >> >
> > > >> > Thanks, Piotr
> > > >> >
> > > >> >
> > > >> > 2017-11-30 13:07 GMT+01:00 Fréderic Cox :
> > > >> >
> > > >> > > 4.16 with AIR 27 just installed successfully, but I would really
> > > need
> > > >> > 4.10
> > > >> > > to work with AIR 27 for the short term, any solutions there?
> > > >> > >
> > > >> > > On Thu, Nov 30, 2017 at 12:28 PM, Piotr Zarzycki <
> > > >> > > piotrzarzyck...@gmail.com>
> > > >> > > wrote:
> > > >> > >
> > > >> > > > Hi Frederic,
> > > >> > > >
> > > >> > > > Did you try higher version of Flex ? Latest release 4.16.1 or
> at
> > > >> least
> > > >> > > > 4.11.0 ?
> > > >> > > >
> > > >> > > > Thanks, Piotr
> > > >> > > >
> > > >> > > > 2017-11-30 12:16 GMT+01:00 Fréderic Cox <
> coxfrede...@gmail.com
> > >:
> > > >> > > >
> > > >> > > > > Hi,
> > > >> > > > >
> > > >> > > > > I tried installing Flex 4.10 combined with AIR 27 but it
> gives
> > > me
> > > >> the
> > > >> > > > same
> > > >> > > > > errors on the 3.2 and 3.3 version of the installer. Here is
> > the
> > > >> log:
> > > >> > > > >
> > > >> > > > > Installer version 3.3.0 (mac)
> > > >> > > > > Using Locale: en_BE
> > > >> > > > > Fetched the SDK download mirror URL from the CGI.
> > > >> > > > > SDK version Apache Flex SDK 4.10.0
> > >

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

2017-12-01 Thread Fréderic Cox
Hi,

I'm having a strange issue with an existing project.
The project is built with Flex 4.15 and AIR 20. In order to solve a
particular issue I need to use AIR27.

I re-added the project (which I didn't work on for 6 months) in Flash
Builder and saw it was selecting 4.15 SDK with AIR20.

I opened VMWare to check the Windows version and also there it uses 4.15
SDK with AIR20.

I then selected 4.15 SDK on Mac with AIR27 and noticed the following error
when opening the application:

TypeError: Error #1010: A term is undefined and has no properties.
at
mx.binding::Watcher/notifyListeners()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\binding\Watcher.as:317]
at
mx.binding::PropertyWatcher/eventHandler()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\binding\PropertyWatcher.as:385]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.core::UIComponent/dispatchEvent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:13688]
at mx.core::UIComponent/set
width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:2883]
at spark.components::Group/set
width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:362]
at
components::DashboardIcon()[/Users/frederic/Desktop/Exuvis/Mediahuis/MHCFlexLibrary/src/components/DashboardIcon.mxml:3]
at views::DashboardView/_DashboardView_DashboardIcon1_i()
at
views::DashboardView/_DashboardView_Group1_i()[/Users/frederic/Desktop/Exuvis/CityFashion/CityFashionTransferLib/src/views/DashboardView.mxml:3]
at views::DashboardView/_DashboardView_Array3_c()
at
mx.core::DeferredInstanceFromFunction/getInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\DeferredInstanceFromFunction.as:116]
at
spark.components::SkinnableContainer/createDeferredContent()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1091]
at
spark.components::SkinnableContainer/createContentIfNeeded()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:1120]
at
spark.components::SkinnableContainer/createChildren()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:915]
at
mx.core::UIComponent/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7695]
at
spark.components::View/initialize()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\View.as:1008]
at views::DashboardView/initialize()
at mx.core::UIComponent/
http://www.adobe.com/2006/flex/mx/internal::childAdded()[D
:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7556]
at
mx.core::UIComponent/addChildAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:7260]
at
spark.components::Group/addDisplayObjectToDisplayList()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:2116]
at spark.components::Group/
http://www.adobe.com/2006/flex/mx/internal::elementAdded()[D
:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1707]
at
spark.components::Group/addElementAt()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1466]
at
spark.components::Group/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\Group.as:1424]
at
spark.components::SkinnableContainer/addElement()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\spark\src\spark\components\SkinnableContainer.as:777]
at
spark.components::ViewNavigator/createViewInstance()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:2026]
at
spark.components::ViewNavigator/commitNavigatorAction()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1940]
at
spark.components::ViewNavigator/commitProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\mobilecomponents\src\spark\components\ViewNavigator.as:1309]
at
mx.core::UIComponent/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8751]
at
mx.managers::LayoutManager/validateProperties()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:601]
at
mx.managers::LayoutManager/doPhasedInstantiation()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:817]
at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1191]
at flash.utils::Timer/_timerDispatch()
at flas

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

2017-12-05 Thread Fréderic Cox
Hi Alex,

Thanks for helping me figuring this out! You were right (as always .. ;-))
I was using a new theme and it has a built-in components.DashboardIcon
which was different then the components.DashboardIcon class in this older
project that now uses the new theme.

Now it works as I deleted the old components.DashboardIcon.

Thanks for the help!

Best regards,

Fréderic

On Fri, Dec 1, 2017 at 6:41 PM, Alex Harui  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 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 components.DashboardIcon."
>
>
> That makes me wonder if you have a different DashboardIcon in the source
> paths of your Mac build.  I think if you SWFDump the SWF it will show you
> the path to the actual DashboardIcon that was used.
>
> HTH,
> -Alex
>
> On 12/1/17, 4:48 AM, "Fréderic Cox"  wrote:
>
> >Hi,
> >
> >I'm having a strange issue with an existing project.
> >The project is built with Flex 4.15 and AIR 20. In order to solve a
> >particular issue I need to use AIR27.
> >
> >I re-added the project (which I didn't work on for 6 months) in Flash
> >Builder and saw it was selecting 4.15 SDK with AIR20.
> >
> >I opened VMWare to check the Windows version and also there it uses 4.15
> >SDK with AIR20.
> >
> >I then selected 4.15 SDK on Mac with AIR27 and noticed the following error
> >when opening the application:
> >
> >TypeError: Error #1010: A term is undefined and has no properties.
> >at
> >mx.binding::Watcher/notifyListeners()[D:\flex_sdk\
> Sources\flex-sdk\framewo
> >rks\projects\framework\src\mx\binding\Watcher.as:317]
> >at
> >mx.binding::PropertyWatcher/eventHandler()[D:\flex_sdk\
> Sources\flex-sdk\fr
> >ameworks\projects\framework\src\mx\binding\PropertyWatcher.as:385]
> >at flash.events::EventDispatcher/dispatchEventFunction()
> >at flash.events::EventDispatcher/dispatchEvent()
> >at
> >mx.core::UIComponent/dispatchEvent()[D:\flex_sdk\
> Sources\flex-sdk\framewor
> >ks\projects\framework\src\mx\core\UIComponent.as:13688]
> >at mx.core::UIComponent/set
> >width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\
> framework\src\mx\
> >core\UIComponent.as:2883]
> >at spark.components::Group/set
> >width()[D:\flex_sdk\Sources\flex-sdk\frameworks\projects\
> spark\src\spark\c
> >omponents\Group.as:362]
> >at
> >components::DashboardIcon()[/Users/frederic/Desktop/Exuvis/
> Mediahuis/MHCFl
> >exLibrary/src/components/DashboardIcon.mxml:3]
> >at views::DashboardView/_DashboardView_DashboardIcon1_i()
> >at
> >views::DashboardView/_DashboardView_Group1_i()[/
> Users/frederic/Desktop/Exu
> >vis/CityFashion/CityFashionTransferLib/src/views/DashboardView.mxml:3]
> >at views::DashboardView/_DashboardView_Array3_c()
> >at
> >mx.core::DeferredInstanceFromFunction/getInstance()[D:\flex_sdk\
> Sources\fl
> >ex-sdk\frameworks\projects\framework\src\mx\core\
> DeferredInstanceFromFunct
> >ion.as:116]
> >at
> >spark.components::SkinnableContainer/createDeferredContent()[D:\
> flex_sdk\S
> >ources\flex-sdk\frameworks\projects\spark\src\spark\
> components\SkinnableCo
> >ntainer.as:1091]
> >at
> >spark.components::SkinnableContainer/createContentIfNeeded()[D:\
> flex_sdk\S
> >ources\flex-sdk\frameworks\projects\spark\src\spark\
> components\SkinnableCo
> >ntainer.as:1120]
> >at
> >spark.components::SkinnableContainer/createChildren()[D:\flex_sdk\
> Sources\
> >flex-sdk\frameworks\projects\spark\src\spark\components\
> SkinnableContainer
> >.as:915]
> >at
> >mx.core::UIComponent/initialize()[D:\flex_sdk\
> Sources\flex-sdk\frameworks\
> >projects\framework\src\mx\core\UIComponent.as:7695]
> >at
> >spark.components::View/initialize()[D:\flex_sdk\
> Sources\flex-sdk\framework
> >s\projects\mobilecomponents\src\spark\components\View.as:1008]
> >at views::DashboardView/initialize()
> >at mx.core::UIComponent/
> >http://www.adobe.com/2006/flex/mx/internal::childAdded()[D
> >:\flex_sdk\Sources\flex-sdk\frameworks\projects\framework\
> src\mx\core\UICo
> >mponent.as:7556]
> >at
> >mx.core::UIComponent/addChildAt()[D:\flex_sdk\
> Sources\flex-sdk\frameworks\
> >projects\framework\src\mx\core\UIComponent.as:7260]
> >at
> >spark.components::Group/

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

2018-04-06 Thread Fréderic Cox
Not working for me..neither through installer and not via ant

  [get] http://airdownload.adobe.com/a
ts=201804061818 permanently moved to https
oad/29.0/AdobeAIRSDK.zip?ts=201804061818

BUILD FAILED
C:\ApacheFlex4.16.1_AIR29\installer.xml:35
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:37
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:89
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:92
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:92
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:96
ttps. Protocol switch unsafe, not allowed.



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


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

2018-04-06 Thread Fréderic Cox
get-with-no-params:
  [get] Getting:
http://airdownload.adobe.com/air/win/download/29.0//AdobeAI
RSDK.zip?ts=201804061818
  [get] To: C:\ApacheFlex4.16.1_AIR29\in\AdobeAIRSDK.zip
  [get]
http://airdownload.adobe.com/air/win/download/29.0//AdobeAIRSDK.zip?
ts=201804061818 permanently moved to
https://airdownload.adobe.com/air/win/downl
oad/29.0/AdobeAIRSDK.zip?ts=201804061818

BUILD FAILED
C:\ApacheFlex4.16.1_AIR29\installer.xml:351: The following error occurred
while
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:371: The following error occurred
while
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:895: The following error occurred
while
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:920: The following error occurred
while
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:927: The following error occurred
while
executing this line:
C:\ApacheFlex4.16.1_AIR29\installer.xml:967: Redirection detected from http
to h
ttps. Protocol switch unsafe, not allowed.




--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: Apache flex sdk installer fail

2018-08-24 Thread Fréderic Cox
Same issue (?) for me on Mac

Installer path: /Applications/Apache Flex/Apache Flex SDK
Installer.app/Contents/Resources
Installer version 3.3.2 (mac)
Using Locale: en_BE
Fetched the SDK download mirror URL from the CGI.
SDK version Apache Flex SDK 4.16.1
AIR version 30.0
Flash Player version 30.0
Creating Apache Flex home
Creating temporary directory
Downloading Apache Flex SDK from:
http://www-eu.apache.org/dist/flex/4.16.1/binaries/apache-flex-sdk-4.16.1-bin.tar.gz
Verifying Apache Flex SDK MD5 Signature
The Apache Flex SDK MD5 Signature of the downloaded files matches the
reference. The file is valid.
Uncompressing:
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/temp/apache-flex-sdk-4.16.1-bin.tar.gz
Finished uncompressing:
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/temp/apache-flex-sdk-4.16.1-bin.tar.gz
Downloading Adobe AIR Runtime Kit for Mac from:
https://airdownload.adobe.com/air/mac/download/30.0//AdobeAIRSDK.dmg
Validating download:
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/AdobeAIRSDK.dmg
Should unzip: ${shouldUnzip}
Mounting dmg
IS WINDOWS: ${isWindows}, IS MAC: mac
Copying AIR SDK from mounted volume
Unmounting AIR SDK
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/frameworks/libs/air
to /Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/frameworks/libs
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/frameworks/projects/air
to /Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/frameworks/projects
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/include to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/lib/android to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/lib
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/lib/aot to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/lib
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/lib/nai to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/lib
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/runtimes to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/samples/badge to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/samples
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/samples/icons to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/samples
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/templates/air to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/templates
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/templates/extensions
to /Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/templates
Copying files from
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/in/airsdk/templates/sdk to
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/templates
Installing Adobe Flash Player playerglobal.swc from:
https://fpdownload.macromedia.com/get/flashplayer/updaters/30//playerglobal30_0.swc
Validating download:
/Users/frederic/ApacheFlex/sdk/4.16.1_AIR30/frameworks/libs/player/30.0/playerglobal.swc
Flash SDK download failed
Installation aborted:
http://flex.apache.org/track-installer.html?failure=true&label=Apache Flex
SDK
4.16.1&version=4.16.1&os=mac&installerversion=3.3.2&info=&info=Flash%20SDK%20download%20failed


On Wed, Aug 22, 2018 at 3:50 PM Piotr Zarzycki 
wrote:

> There is possible that md5 hashes from Adobe expired. I will try to find
> some time to update it, but no promise that it will be today.
>
> Thanks,
> Piotr
>
> śr., 22 sie 2018 o 15:47 rodol...@essencialcode.com.br <
> rodol...@essencialcode.com.br> napisał(a):
>
> > Try to run under admin privileges...
> >
> >
> >
> > --
> > Sent from: http://apache-flex-users.246.n4.nabble.com/
> >
>
>
> --
>
> Piotr Zarzycki
>
> Patreon: *https://www.patreon.com/piotrzarzycki
> *
>