Re: Can't Debug From Flash Builder

2017-08-14 Thread Clint M
Here's what mine says in Firefox.

YOUR SYSTEM INFORMATION
Your Flash Version
26.0.0.151* (debug version) *
Your browser name
Firefox (NPAPI)
Your Operating System (OS)
Macintosh (OSX)

On Mon, Aug 14, 2017 at 6:55 AM, Yishay Weiss 
wrote:

> Hi Clint,
>
> This is what it shows:
>
> YOUR SYSTEM INFORMATION
> Your Flash Version
> 26.0.0
> Your browser name
> Firefox (NPAPI)
> Your Operating System (OS)
> Windows (Window 10)
>
> (but as I said in my latest post I'm able to debug under certain conditions
> so I assume it is the debug version.)
>
> Thanks.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Can-t-Debug-From-Flash-Builder-tp15724p15737.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Can't Debug From Flash Builder

2017-08-14 Thread Clint M
When you go here in Firefox does it say you have the (debug version) ?
https://helpx.adobe.com/flash-player.html

On Mon, Aug 14, 2017 at 2:58 AM, Yishay Weiss 
wrote:

> Thanks for everyone's replies, unfortunately none of them helped me. The
> best
> I was able to come up with:
>
> 1) Start a local server that serves your app
> 2) Configure FB to work with the localhost
> 3) Manually open up firefox
> 4) Debug your application as you normally would
>
> After doing 1-3 the experience is more or less what I'm used to doing, but
> obviously this isn't a perfect solution.
>
> I'm curious: is anyone else using windows 10 and FB and able to debug? If
> so, how? I've no problem using a different browser.
>
> Thanks.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Can-t-Debug-From-Flash-Builder-tp15724p15732.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Can't Debug From Flash Builder

2017-08-14 Thread Clint M
@Olaf it still works… here's how to make Chrome work:
https://helpx.adobe.com/flash-player/kb/enable-flash-player-content-debugger-in-google-chrome.html

On Mon, Aug 14, 2017 at 12:05 AM, Olaf Krueger  wrote:

> >I think this has come up on the list previously, so be sure to search the
> archives.
>
> I just remember this one but it was an issue with AIR I think [1].
> This was the solution [2].
>
> We're still using Win7/IE11 here but I am afraid of losing the debugging if
> we move to Win10 and latest browsers. So is this really the truth that just
> Firefox works? If so, is there any information on the web how long it will
> be supported?
> Maybe we have to move to AIR sooner than I thought...
>
> Thanks,
> Olaf
>
>
>
>
> [1]
> http://apache-flex-development.247.n4.nabble.
> com/Flash-Builder-desktop-debugging-issue-td63090.html#a63533
>
> [2]
> https://stackoverflow.com/questions/9986256/cant-get-
> flash-builder-4-6-debugger-to-run/10530208#10530208
>
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Can-t-Debug-From-Flash-Builder-tp15724p15730.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: FlashSocket error

2017-07-14 Thread Clint M
Sounds like a protocol error. Did you upgrade the websocket server?

Also do you see the crossdomain.xml request succeeding?

On Fri, Jul 14, 2017 at 8:27 AM, Jairo  wrote:

> I was using FlashSocket for some time and it was doing well.
> Now I can´t connect to my server and I don´t know why.
>
> Te problem rises in module FlashSocket.as. In the following code:
>
>
> if (message == "3probe")
> {
> // send the upgrade packet.
> webSocket.send("5");
> return;
> }
>
> After sending de "5" it disconnects, without any message.
>
> Thanks for you help.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/FlashSocket-error-tp15467.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: java.lang.NullPointerException Error in Flash Builder

2017-06-22 Thread Clint M
You probably need to repackage the ane with AIR 25.

On Wed, Jun 21, 2017 at 2:28 PM, bilbosax  wrote:

> So, I have made a little progress on the problem, but am still at an
> impass.
> The problem lies with the ANE.  I created a fresh new mobile project and
> copied all of the components, assets, etc from the old project to the new
> one, minus the ANE.  I was able to get it to compile in the simulator, and
> also install it on my iPad.  So I essentially got it back to where I had it
> orginally.  Now, I decided to add the ANE file to my project, and under
> Properties->Build Path->Native Extensions, I added my ANE.  Then, under
> Properties->Flex Build Packaging->Apple iOS->Native Extensions, I clicked
> to
> Package the ANE with the App.  Now when I try to deploy the app to my iPad,
> I get the java.lang.NullPointerException error.  If I remove the ANE, the
> problem goes away.  So the problem is definitely with the ANE.  I have used
> this ANE in another project, so I doubt the ANE is corrupt, and I also have
> an older version of the ANE and tried them both, and both give the java
> error.  Could this be a problem with AIR 25.0?
>
> I am very frustrated.  Any thoughts why an ANE might be causing this
> problem, or what you might try if you were me???
>
> THX!!
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/java-lang-NullPointerException-
> Error-in-Flash-Builder-tp15353p15363.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Changing a Components Visibility

2017-06-21 Thread Clint M
flash player will still render the object with alpha 0… it won't render the
object if visible is set to false

On Sat, Jun 17, 2017 at 2:02 PM, bilbosax  wrote:

> I think I found an acceptable solution, but am not sure why it works.
> Rather
> than setting the alpha property to 0 and then 1, I set the visible property
> to false and then true.  This allows the component to not show up until
> fully drawn, but I don't understand why this works but the alpha property
> did not???
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Changing-a-Components-Visibility-tp15334p15335.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Performance problem with RichText

2017-05-24 Thread Clint M
Would this work?
http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c-3c2dbaa612bb06a5ea2-8000.html

On Wed, May 24, 2017 at 3:52 PM, Erik J. Thomas  wrote:

> Hey all:
>
> We started noticing our mobile Flex app was unresponsive for like 5 or 6
> seconds at launch where the UI was frozen. After profiling, we found the
> entire problem is with RichText and RichEditableText controls.
>
> We have social posts (like twitter) that consist of a post (one
> RichEditableText control so links work) plus one or more comments on that
> post (one more RichEditableText so links work).
>
> With only 18 posts (36 total instances of RichEditableText) it takes just
> about 5 or 6 full seconds for the text to be imported (average post size is
> 15 or 20 words)!
>
> mainContent.textFlow = TextFlowUtil.importFromString(_post.text);
> // we have one custom link embedding an id rather than href so we have to
> do this as well, which could be part of the problem
> var linkElements:Array = StringUtils.findLinkElements(
> mainContent.textFlow);
> for each (var link:LinkElement in linkElements) {
> link.addEventListener(FlowElementMouseEvent.CLICK,
> linkClickedHandler, false, 0, true);
> }
>
> and
>
> commentContent.textFlow = TextFlowUtil.importFromString(content);
>
> Is there any other alternative? Any ideas how I can use hyperlinks in text
> displayed in a flex mobile app that doesn't carry the TLF behemoth along
> greatly appreciated.
>
> Erik


Re: SOLVED!: Re: Crippling Lag - Windows 10 IE11 - FlashPlayer / IBM ILOG Elixir

2017-05-18 Thread Clint M
Thanks so much for reporting the solution. Glad to hear you finally got it
solved.

On Thu, May 18, 2017 at 6:51 AM, DarrenEvans <
darren.ev...@allocatesoftware.com> wrote:

> SOLVED! (It's a bug in IE 11, but there is a workaround)
>
> So for prosperity I thought I'd share where this ended up.
>
> After much faffing, I managed to get into contact with an Adobe
> representative and we started technical liaison. After many emails,
> performance logs and videos we got to the bottom of it.
>
> It's a problem localised to IE 11 / Windows 8.1+ and an accessibility bug.
> The FlashPlayer implements support for screen readers by traversing the
> display list looking for readable text. The larger the list (ours is pretty
> damn big) the slower this traversal is.
>
> In Windows 7 and earlier, this accessibility API was only invoked when a
> screen reader was attached. IE 11 (we don't know if it's specifically IE 11
> or Windows 8.1+) is always invoking this API for every frame. Coupling this
> processing with our processing, causes operations like drag and drop to
> become unusable.
>
> Accessibility can be turned off (if this is an option for you) using the
> following code:
>
> /var accessProps:AccessibilityProperties = new AccessibilityProperties();
> accessProps.silent = true;
> root.accessibilityProperties = accessProps;
> if (Capabilities.hasAccessibility)
> Accessibility.updateProperties();
> /
>
> We got caught out when calling this too early, resulting in /root/ being
> null intermittently. Best place to call this is when the
> FlexEvent.APPLICATION_COMPLETE has been fired.
>
> Apparently Flex, Flash Builder, Flash Pro and Animate CC all have publish
> options to enable/disable accessibility as well. However, we use none of
> these.
>
> Turning off Accessibility completely sorted the problem for us. Abobe have
> raised this with Microsoft as a bug but whether it will be fixed remains to
> be seen.
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Crippling-Lag-Windows-10-IE11-
> FlashPlayer-IBM-ILOG-Elixir-tp14958p15246.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Deep Linking with Flex to Mobile Apps

2017-05-18 Thread Clint M
iOS: http://stackoverflow.com/a/22451681/3384609
Android: http://stackoverflow.com/a/35917525/3384609

You might want to take a look at a native extension such as:
https://airnativeextensions.com/extension/com.distriqt.Calendar

On Wed, May 17, 2017 at 8:04 PM, Erik Thomas <erikjtho...@icloud.com> wrote:

> Do you know the one for calendar events?
>
> > On May 15, 2017, at 11:10 AM, OmPrakash Muppirala <bigosma...@gmail.com>
> wrote:
> >
> > http://www.adobe.com/devnet/flex/articles/employee-
> directory-android-flex.html#articlecontentAdobe_numberedheader_5
> > has a few examples
> >
> > case "tel": navigateToURL(new URLRequest("tel:"+action.details)); break;
> > case "sms": navigateToURL(new URLRequest("sms:"+action.details)); break;
> > case "mailto": navigateToURL(new URLRequest("mailto:"+action.details));
> > break;
> >
> > On Mon, May 15, 2017 at 10:44 AM, Erik J. Thomas <e...@linqto.com>
> wrote:
> >
> >> Ah, no wonder my searching didn't find what I was looking for. Thank you
> >> very much, Clint!
> >>
> >> Erik
> >>
> >>> On May 15, 2017, at 9:01 AM, Clint M <cmod...@gmail.com> wrote:
> >>>
> >>> deep linking is the wrong term… I think you're looking for url schemes.
> >>>
> >>> phone is navigateToURL("tel:+55");
> >>> email is navigateToURL("mailto:a...@asdf.com;);
> >>>
> >>> On Mon, May 15, 2017 at 8:51 AM, Erik J. Thomas <e...@linqto.com>
> wrote:
> >>>
> >>>> Hey all:
> >>>>
> >>>> I need to be able to do various deep linking between mobile apps and
> my
> >>>> Flex app. I've learned to do this for twitter and linked in profiles
> >> pretty
> >>>> simply:
> >>>>
> >>>> var u:URLRequest = new URLRequest(data.twitterProfileUrl);
> >>>> navigateToURL(u, "_blank");
> >>>>
> >>>> If the twitter app is installed on the phone (at least iOS), this will
> >>>> launch the app. If the app is not available, it will open the browser
> >> and
> >>>> nav to the profile. Very cool stuff. Works for google maps too, when
> the
> >>>> user taps an address.
> >>>>
> >>>> But I need to do the following additional linking and don't know how
> to
> >>>> format the URLs to make it happen:
> >>>>
> >>>> User taps a phone number, dials the phone if the device is a phone.
> >>>> User taps an email address, and it launches their mail program to send
> >>>> mail. Just need the syntax for subject, content, additional addresses,
> >> etc.
> >>>> User taps a date/time field, and it launches their mobile calendar app
> >> and
> >>>> offers to create a new item.
> >>>>
> >>>> My guess is that this is all possible with Flex, but I'm not finding
> >> info
> >>>> on syntax and usage through Google searches. I found this list of
> device
> >>>> specific deep linking, but expect Flex has a platform agnostic URL
> >> format
> >>>> so we don't have to manage device/OS types in the flex app.
> >>>>
> >>>> Just a link to the docs for this type of deep linking would be great.
> >> And
> >>>> in the Mobile native world deep linking is usually about linking
> mobile
> >>>> apps. In the Flex world the term "deep linking" is most often
> referring
> >> to
> >>>> browser history management which is NOT what I need.
> >>>>
> >>>> Thanks!
> >>>>
> >>>> Erik
> >>>>
> >>>>
> >>
> >>
>
>


Re: Deep Linking with Flex to Mobile Apps

2017-05-15 Thread Clint M
deep linking is the wrong term… I think you're looking for url schemes.

phone is navigateToURL("tel:+55");
email is navigateToURL("mailto:a...@asdf.com;);

On Mon, May 15, 2017 at 8:51 AM, Erik J. Thomas  wrote:

> Hey all:
>
> I need to be able to do various deep linking between mobile apps and my
> Flex app. I've learned to do this for twitter and linked in profiles pretty
> simply:
>
> var u:URLRequest = new URLRequest(data.twitterProfileUrl);
> navigateToURL(u, "_blank");
>
> If the twitter app is installed on the phone (at least iOS), this will
> launch the app. If the app is not available, it will open the browser and
> nav to the profile. Very cool stuff. Works for google maps too, when the
> user taps an address.
>
> But I need to do the following additional linking and don't know how to
> format the URLs to make it happen:
>
> User taps a phone number, dials the phone if the device is a phone.
> User taps an email address, and it launches their mail program to send
> mail. Just need the syntax for subject, content, additional addresses, etc.
> User taps a date/time field, and it launches their mobile calendar app and
> offers to create a new item.
>
> My guess is that this is all possible with Flex, but I'm not finding info
> on syntax and usage through Google searches. I found this list of device
> specific deep linking, but expect Flex has a platform agnostic URL format
> so we don't have to manage device/OS types in the flex app.
>
> Just a link to the docs for this type of deep linking would be great. And
> in the Mobile native world deep linking is usually about linking mobile
> apps. In the Flex world the term "deep linking" is most often referring to
> browser history management which is NOT what I need.
>
> Thanks!
>
> Erik
>
>


Re: 2032 StreamError from URLRequest on older devices

2017-05-11 Thread Clint M
Add this to your descriptor file to talk to http…






On Thu, May 11, 2017 at 11:59 AM, Erik J. Thomas  wrote:

> Hey all:
>
> Tried testing my Flex app on iPhone 4S and iPad 2 and URLRequests are
> failing on both of them, though they work perfectly on iPhone 5, 6, and
> iPad AIR 2.
>
> The error is a 2032 StreamError.
>
> App descriptor supports v9:
>
> MinimumOSVersion
> 9.0
>
> Both the iPhone 4S and iPad 2 are running v9.3.5 (last supported version
> for these older devices).
> Captured AIR (v23)
> Flex SDK v4.15
>
> It seems really strange that this code would only work on iPhone 5 and
> later devices...
>
> var address:String = _controller.baseUrl + "/auth";
> var urlRequest:URLRequest = new URLRequest(address);
> urlRequest.method = URLRequestMethod.POST;
>
> urlRequest.idleTimeout = 16000;
> URLRequestDefaults.idleTimeout = 16000;
>
> var header:URLRequestHeader = new URLRequestHeader("email", username.text);
> urlRequest.requestHeaders.push(header);
> header = new URLRequestHeader("password", password.text);
> urlRequest.requestHeaders.push(header);
> header = new URLRequestHeader("eventId", _controller.brandedProperties.
> eventId);
> urlRequest.requestHeaders.push(header)
>
> var urlLoader:URLLoader = new URLLoader();
> urlLoader.addEventListener(Event.COMPLETE, loginSucceeded);
> urlLoader.addEventListener(IOErrorEvent.IO_ERROR, loginFailed);
> urlLoader.load(urlRequest);
>
> Thought it could be timeout issue on slow devices so I set the idleTimeout
> values to be sure. Makes no difference.
>
> Searched the web, found some references to 2032, but not this issue.
>
> Any ideas greatly appreciated.
>
> Erik
>
>


Re: ANE

2017-04-28 Thread Clint M
if you're on a device… what's the output from adb logcat?

On Fri, Apr 28, 2017 at 5:35 AM, Jairo  wrote:

> I thought that would be a simple question, but I don´t know how to make a
> simple ANE for Android work.
> I read the tutorials, download samples and nothing goes on.
> Even opening a already done app, like the vibration ANE and its example
> don´t work for me.
> I´m using Flash Builder 4.6 with Flex 4.16.
>
> Thanks..
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/ANE-tp15137.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: ANE

2017-04-28 Thread Clint M
are you running the samples on an android device?

On Fri, Apr 28, 2017 at 5:35 AM, Jairo  wrote:

> I thought that would be a simple question, but I don´t know how to make a
> simple ANE for Android work.
> I read the tutorials, download samples and nothing goes on.
> Even opening a already done app, like the vibration ANE and its example
> don´t work for me.
> I´m using Flash Builder 4.6 with Flex 4.16.
>
> Thanks..
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/ANE-tp15137.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Mobile App Running in Background

2017-04-19 Thread Clint M
this might be useful as well…
https://github.com/ncreated/BackgroundTransfer-ANE

On Wed, Apr 19, 2017 at 4:38 AM, 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.
>


Re: Mobile App Running in Background

2017-04-19 Thread Clint M
I would give this a read…
http://blogs.adobe.com/airodynamics/2012/05/04/air-ios-background-behavior/

On Wed, Apr 19, 2017 at 4:38 AM, 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.
>


Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Clint M
Ahh… ok I think I understand… you'd have to Embed the font first.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html

There is a legal consideration whether you're allowed to embed the font and
use it in your app though.

On Mon, Apr 17, 2017 at 3:42 PM, Erik J. Thomas <e...@linqto.com> wrote:

> Thanks Clint for your suggestion but this approach doesn't work either.
> Tried using every way I know how to assign the content to the RichText
> control. It could still be my error on how I'm assigning content to the TLF
> document.
>
> There must be some way to make this work since on can supposedly display
> Kanji characters in this way if the app is localized. The internals must be
> there for displaying multi-byte and/or unicode somewhere. Guess I'll resort
> to diving into RichText code and see what I can find.
>
> Thanks again.
>
> Erik
>
> > On Apr 17, 2017, at 3:28 PM, Clint M <cmod...@gmail.com> wrote:
> >
> > maybe this?
> > http://stackoverflow.com/questions/37192684/stagetext-
> and-emoji-on-android-air-mobile-as3 <http://stackoverflow.com/
> questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3>
> > txt2.text = decodeURI(txt1.text);
> >
> > On Mon, Apr 17, 2017 at 3:22 PM, Erik J. Thomas <e...@linqto.com
> <mailto:e...@linqto.com>> wrote:
> > Hey all:
> >
> > Do you have any idea how I can display this Unicode character U+1F601 <
> https://apps.timwhitlock.info/unicode/inspect/hex/1F601> or these UTF-8
> Bytes \xF0\x9F\x98\x81 using TLF (in RichEdit control)?
> >
> > Thanks!
> >
> > Erik
> >
> > For additional background on my problem, read on...
> >
> > I'm implementing a mobile social media feed display using TLF (spark
> RichText) to display inline emoji. The user enters a short message into a
> TextInput control on the phone, and using the soft keyboard selects emoji
> keyboard, selects an emoji to display with the text and posts their update.
> >
> > Getting the text from the user works fine and the emoji is represented
> as UTF or Unicode value though I don't know how to verify.
> >
> > The TextInput control on the device shows the emoji rendering perfectly
> (spark TextInput):
> >
> >
> >
> > The value in the IntelliJ debugger's Variables view also renders the
> Unicode or UTF bytes correctly:
> >
> >
> >
> > But when I attempt to set the contents of the RichText control with the
> contents of the input field, the emoji is lost:
> >
> >
> >
> > I have tried many approaches, some are:
> > var value:String = textInput.text; // this contains the emoji:
> > richEditControl.text = value;
> >
> > richEditControl.textFlow = TextFlowUtil.importFromString(value);
> >
> > richEditControl.textFlow = TextConverter.importToFlow(value,
> TextConverter.TEXT_FIELD_HTML_FORMAT);
> >
> > richEditControl.textFlow = TextConverter.importToFlow(value,
> TextConverter.PLAIN_TEXT_FORMAT);
> > They each fail to display the emoji. I can display complex content in
> the same control no problem and I'm pretty familiar with TLF:
> >
> >
> >
> > I want to deal with HTML markup and TextConverter rather than composing
> the TLF in code, but if I have to go that route, I'm willing to if it works.
> >
> > But getting the RichText control's TextFlow to display a UNICODE
> character is a mystery to me and googling for answers has not been fruitful.
> >
> > I understand there is some question of whether Android phones will
> display the equivalent emoji as on iPhone, I get that. But looking at this
> chart, it should be possible for the most part:
> >
> > https://apps.timwhitlock.info/emoji/tables/unicode <
> https://apps.timwhitlock.info/emoji/tables/unicode>
> >
> > My problem should be a simple as just learning how to display this
> Unicode character U+1F601 <https://apps.timwhitlock.
> info/unicode/inspect/hex/1F601> or these UTF-8 Bytes \xF0\x9F\x98\x81
> using TLF. Is it possible? Thanks! Erik
> >
> >
> >
>
>


Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Clint M
as the link mentions… this most likely won't work on android (or windows)
as they don't have access to the apple emoji font.

On Mon, Apr 17, 2017 at 3:28 PM, Clint M <cmod...@gmail.com> wrote:

> maybe this?
> http://stackoverflow.com/questions/37192684/stagetext-
> and-emoji-on-android-air-mobile-as3
>
> txt2.text = decodeURI(txt1.text);
>
>
> On Mon, Apr 17, 2017 at 3:22 PM, Erik J. Thomas <e...@linqto.com> wrote:
>
>> Hey all:
>>
>> Do you have any idea how I can display this Unicode character U+1F601
>> <https://apps.timwhitlock.info/unicode/inspect/hex/1F601> or these UTF-8
>> Bytes \xF0\x9F\x98\x81 using TLF (in RichEdit control)?
>>
>> Thanks!
>>
>> Erik
>>
>> For additional background on my problem, read on...
>>
>> I'm implementing a mobile social media feed display using TLF (spark
>> RichText) to display inline emoji. The user enters a short message into a
>> TextInput control on the phone, and using the soft keyboard selects emoji
>> keyboard, selects an emoji to display with the text and posts their update.
>>
>> Getting the text from the user works fine and the emoji is represented as
>> UTF or Unicode value though I don't know how to verify.
>>
>> The TextInput control on the device shows the emoji rendering perfectly
>> (spark TextInput):
>>
>>
>> The value in the IntelliJ debugger's Variables view also renders the
>> Unicode or UTF bytes correctly:
>>
>>
>> But when I attempt to set the contents of the RichText control with the
>> contents of the input field, the emoji is lost:
>>
>>
>> I have tried many approaches, some are:
>>
>> var value:String = textInput.text; // this contains the emoji:
>> richEditControl.text = value;
>>
>> richEditControl.textFlow = TextFlowUtil.importFromString(value);
>>
>> richEditControl.textFlow = TextConverter.importToFlow(value, 
>> TextConverter.TEXT_FIELD_HTML_FORMAT);
>>
>> richEditControl.textFlow = TextConverter.importToFlow(value, 
>> TextConverter.PLAIN_TEXT_FORMAT);
>>
>> They each fail to display the emoji. I can display complex content in the
>> same control no problem and I'm pretty familiar with TLF:
>>
>>
>> I want to deal with HTML markup and TextConverter rather than composing
>> the TLF in code, but if I have to go that route, I'm willing to if it works.
>>
>> But getting the RichText control's TextFlow to display a UNICODE
>> character is a mystery to me and googling for answers has not been fruitful.
>>
>> I understand there is some question of whether Android phones will
>> display the equivalent emoji as on iPhone, I get that. But looking at this
>> chart, it should be possible for the most part:
>>
>> https://apps.timwhitlock.info/emoji/tables/unicode
>>
>> My problem should be a simple as just learning how to display this
>> Unicode character U+1F601
>> <https://apps.timwhitlock.info/unicode/inspect/hex/1F601> or these UTF-8
>> Bytes \xF0\x9F\x98\x81 using TLF. Is it possible? Thanks! Erik
>>
>>
>>
>


Re: How to display a unicode char (emoji) in TLF (RichEdit control)

2017-04-17 Thread Clint M
maybe this?
http://stackoverflow.com/questions/37192684/stagetext-and-emoji-on-android-air-mobile-as3

txt2.text = decodeURI(txt1.text);


On Mon, Apr 17, 2017 at 3:22 PM, Erik J. Thomas  wrote:

> Hey all:
>
> Do you have any idea how I can display this Unicode character U+1F601
>  or these UTF-8
> Bytes \xF0\x9F\x98\x81 using TLF (in RichEdit control)?
>
> Thanks!
>
> Erik
>
> For additional background on my problem, read on...
>
> I'm implementing a mobile social media feed display using TLF (spark
> RichText) to display inline emoji. The user enters a short message into a
> TextInput control on the phone, and using the soft keyboard selects emoji
> keyboard, selects an emoji to display with the text and posts their update.
>
> Getting the text from the user works fine and the emoji is represented as
> UTF or Unicode value though I don't know how to verify.
>
> The TextInput control on the device shows the emoji rendering perfectly
> (spark TextInput):
>
>
> The value in the IntelliJ debugger's Variables view also renders the
> Unicode or UTF bytes correctly:
>
>
> But when I attempt to set the contents of the RichText control with the
> contents of the input field, the emoji is lost:
>
>
> I have tried many approaches, some are:
>
> var value:String = textInput.text; // this contains the emoji:
> richEditControl.text = value;
>
> richEditControl.textFlow = TextFlowUtil.importFromString(value);
>
> richEditControl.textFlow = TextConverter.importToFlow(value, 
> TextConverter.TEXT_FIELD_HTML_FORMAT);
>
> richEditControl.textFlow = TextConverter.importToFlow(value, 
> TextConverter.PLAIN_TEXT_FORMAT);
>
> They each fail to display the emoji. I can display complex content in the
> same control no problem and I'm pretty familiar with TLF:
>
>
> I want to deal with HTML markup and TextConverter rather than composing
> the TLF in code, but if I have to go that route, I'm willing to if it works.
>
> But getting the RichText control's TextFlow to display a UNICODE character
> is a mystery to me and googling for answers has not been fruitful.
>
> I understand there is some question of whether Android phones will display
> the equivalent emoji as on iPhone, I get that. But looking at this chart,
> it should be possible for the most part:
>
> https://apps.timwhitlock.info/emoji/tables/unicode
>
> My problem should be a simple as just learning how to display this Unicode
> character U+1F601
>  or these UTF-8
> Bytes \xF0\x9F\x98\x81 using TLF. Is it possible? Thanks! Erik
>
>
>


Re: Speeding up column resize

2017-04-15 Thread Clint M
You could catch the GridEvent.SEPARATOR_MOUSE_DOWN, SEPARATOR_MOUSE_DRAG,
and GridEvent.SEPARATOR_MOUSE_UP and then hide and show what you need to.
The events are dispatched by the GridColumnHeaderGroup but they're mouse
events so they should bubble up to the grid itself.

On Sat, Apr 15, 2017 at 1:43 PM, DanielMcQ 
wrote:

> Hi,
>
> My s:DataGrid is a bit slow when the user resizes a column, enough that it
> makes it hard to us. I'm assuming the delay is because my rows use one of
> two custom renderers (although both renderers are really just labels...one
> render adds a background rect. with an alternating color and an indent and
> some other small style tweaks).
>
> Is there any way to speed up performance when the user resizes a column?
> Perhaps have renderers listen for resize and hide themselves during the
> user's drag?
>
> Thanks for any tricks.
>
> Best Regards,
>
> Daniel
>
>
>
>
> -
> ~~~
> mcquilleninteractive.com
> simplediagrams.com
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Speeding-up-column-resize-tp15056.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Crippling Lag - Windows 10 IE11 - FlashPlayer / IBM ILOG Elixir

2017-04-11 Thread Clint M
It might be memory related.  How much memory is it using?

If it is memory related it might be IE's Enhanced Protection Mode (or lack
there of).  If this is disabled Flash Player will run as a 32 bit process
in IE.  I remember a problem where if the memory was greater than 800MB the
app would start to slow down and eventually crash to a grey screen.

Here's how you can enable it:
https://blogs.msdn.microsoft.com/asiatech/2013/12/25/how-internet-explorer-enhanced-protected-mode-epm-is-enabled-under-different-configurations/

Here's how you can check for it via javascript:
function is32BitInternetExplorer() {
return navigator.platform == 'Win32' &&
(window.navigator.userAgent.indexOf("MSIE") > -1 ||
window.navigator.userAgent.indexOf("Trident") > -1);
}

The approach I took was to warn the user that the browser was running in
32bit mode and gave them the link above to enable EPM to avoid memory
problems.

On Tue, Apr 11, 2017 at 9:43 AM, DarrenEvans <
darren.ev...@allocatesoftware.com> wrote:

> Alex Harui wrote
> > Yes, if you single step for a while and end up back at debugTickler, then
> > you saw all of the AS3 running in the frame, and it looks like there
> isn't
> > any serious work for it to do.
> >
> > Of course, if you can also get a debugger on the SWF when it isn't having
> > the performance problem, you can compare to see if it is running the same
> > AS3 and rule it out.
>
> As you can see from the Scout screenshots, there is virtually no
> Actionscript code being run. It's all in "Runtime Overhead". Tracing
> through
> and working vs non-working behave the same (in terms of Debugtickler
> stepping into other code).
>
>
> Alex Harui wrote
> > I think the next step is to start comparing working vs non-working.
> > Compare the stage size.  Amount of memory.  Networking configuration.  I
> > would swear that Flash uses up more cycles on a slower network, but I
> > don't have definitive proof.
> >
> > Also, are there any other configuration differences?  Screen depth,
> > resolution, etc?  Super-high-resolution screens could take more time to
> > render.
>
> 1. Total mixture of memory configurations.
> 2. Networking, I doubt, I'm running it all locally on 2 separate machines,
> 1
> with the problem and 1 without. I also connect just the client to a hosted
> Appserver using the same network cable (swapping in between) and 1 works, 1
> doesn't.
> 3. The machine I have with me that has the problem is quite a high
> resolution monitor. I've dropped the resolution down to exactly the same as
> the working one and the problem persists.
>
>
>
> Alex Harui wrote
> > There was also some performance issues related to line drawing.  If you
> > draw lines with different line-joins, some line-joins because really
> slow.
> >
> > In another case I saw, a bug kept a tiny Flash Authoring SWF they were
> > using for either a wait cursor or some advertising running.
>
> I don't think there is any manual line drawing stuff going on. Surely I'd
> see that in some ActionScript code being executed .
>
> We are now getting desperate. A few more clients are now reporting the
> problem. Is there an official Adobe paid support process we can get going
> to
> resolve this that anyone knows of. My entry in the bug-tracker system is
> still at "Needs Review". We'd probably pay for an Adobe consultant to look
> at this!
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Crippling-Lag-Windows-10-IE11-
> FlashPlayer-IBM-ILOG-Elixir-tp14958p15026.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Flex Apps on IOS compilation problem

2017-04-10 Thread Clint M
I've encountered similar problems.  I traced mine to a 700 line function by
slowly removing and re-adding parts of the application.  When I simply
split the function into to separate 350 line functions I was able to
compile. It took me a about a day and half to track it down though.


Re: FLEX MOBILE APP - How to integrate SSO using SAML with Flex Mobile application?

2017-04-05 Thread Clint M
Maybe this?
http://blogs.adobe.com/charles/2012/05/oauth-2-0-library-for-actionscript.html

On Tue, Apr 4, 2017 at 8:45 PM, Prabhu Moorthy <
prabu.moor...@symphonysummit.com> wrote:

> Hi,
>
> How to integrate SSO using SAML2.0 with flex mobile application?
>
> Is there any Action Script library for SAML2.0 like OAuth2.0?
>
> Try to use StageWebview to load Identity provider(PingIdentity) url, but
> couldn't able to read the Token/Respsonse after authentication from the
> StageWebview.
>
> Kindly let me know, integrate SAML2.0 with Flex mobile application.
>
> Thanks & Regards,
> M.Prabhu
>
>
>
> -
> Thanks & Regards,
> M.Prabhu
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/FLEX-MOBILE-APP-How-to-integrate-
> SSO-using-SAML-with-Flex-Mobile-application-tp14965.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: out-of-memory error with AIR: are ther hard memory limits?

2017-03-29 Thread Clint M
The limit you're probably hitting is a 32 bit memory limit.

If you're _actually_ using AIR 25 for captive apps which is 64 bit for
windows then I doubt you'll hit any memory limit.

Check this page:
http://labs.adobe.com/downloads/air.html
and look for: Download AIR SDK & Compiler for Win 64 bit only
https://fpdownload.macromedia.com/pub/labs/flashruntimes/air/win64SDK/AIRSDK_Compiler.zip


On Wed, Mar 29, 2017 at 2:22 PM, Hans Nuecke  wrote:

> Apologies for this not really Flex related question, but I'm sure there
> are many experienced users around with knowledge of AIR specific topics. So
> I wanted to give it a try...
>
> When loading dozens of JPG images (compressed: ~ 2.5Mb, uncompressed ~
> 10Mb), my  Flex/AIR application stops with the "out of memory error" once
> about 1.6Gb of memory is used (data based on Scout).
>
> This can be reproduced.
>
> When I reduce the cache size my app is using for images. I can avoid that
> error. But since I have no control about what the users of my app are
> doing, I'd like to either find a way increasing the memory; or a clear
> statement (with a link if possible) that there indeed is a limit. Also for
> 64 bit systems.
>
> I run Flex 4.16 with AIR 25, but could reproduce this error with Flex 4.15
> and AIR 25 also. Actually testing on a WIndows 10 64 sytem with 24GB of RAM.
>
> If you have a suggestion for a better place posting my question, please
> share (Adobe, SO, ...?)
>
> Thanks
>
> Hans
>
> --
>
>
>


Re: Slide to Unlock

2017-03-28 Thread Clint M
You could probably skin the HSlider control to do what you want.

On Tue, Mar 28, 2017 at 10:22 AM, Jairo  wrote:

> I need a "Slide to Unlock" control for my App. Does someone have something
> like this?
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Slide-to-Unlock-tp14936.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: SWF Debugging in Visual Studio Code

2017-03-18 Thread Clint M
ok… I think I've fcsh figured out… here's what I'm planning let me know
your thoughts… it depends on gulp (should be ok?)

1. Use this gulp plugin https://github.com/youpy/gulp-fcsh
2. Setup node.js + gulp.js to run locally (install node, setup gulp as a
dev dependency, npm install)
3. Add the gulp tasks to tasks.json like says to here
https://code.visualstudio.com/docs/editor/tasks#_background-watching-tasks
4. Add custom problemMatcher(s) to tasks.json to watch the output

The gulpfile.js in the root of the project would probably look like:
//---
var gulp = require('gulp');
var fcsh = require('gulp-fcsh');

gulp.task('fcsh', function () {
gulp.src('Main.mxml')
 .pipe(fcsh({
   compileOptions: '-library-path+=./libs'
 }))
 .pipe(gulp.dest('bin-debug'))
});
}

gulp.task('watch', function () {
  gulp.watch(['*.mxml', '*.as'], ['fcsh']);
}




On Sat, Mar 18, 2017 at 10:00 AM, Josh Tynjala <joshtynj...@gmail.com>
wrote:

> I'm not sure that it will be possible to run fcsh from a tasks.json file in
> VSCode, but I'm not particularly familiar with running it directly from the
> command line, so maybe I'm wrong. I can look into it.
>
> - Josh
>
> On Mar 17, 2017 10:52 PM, "Clint M" <cmod...@gmail.com> wrote:
>
> > is fcsh on your radar? I just got it to work with java 7 and
> > adding -Djava.util.Arrays.useLegacyMergeSort=true|
> > couldn't get it to work with java 8… getting Error: null on recompile
> >
> > On Fri, Mar 17, 2017 at 10:39 PM, Clint M <cmod...@gmail.com> wrote:
> >
> > > Ha… it works!!!
> > >
> > > I just checked it again… and this was my launch config (with duplicate
> > > keys??)
> > > I'm not sure if this was me or vs code but after I removed the
> duplicate
> > > keys (type, request, name, program) it worked just fine.
> > >
> > > Thanks Josh :)
> > >
> > > {
> > > // Use IntelliSense to learn about possible SWF debug attributes.
> > > // Hover to view descriptions of existing attributes.
> > > // For more information, visit: https://go.microsoft.com/
> > > fwlink/?linkid=830387
> > > "version": "0.2.0",
> > > "preLaunchTask": "asconfigc",
> > > "configurations": [
> > > {
> > > "type": "swf",
> > > "request": "launch",
> > > "name": "Launch SWF",
> > > "program": "bin/GreenMaps-app.xml",
> > > "type": "swf",
> > > "request": "launch",
> > > "name": "Launch SWF",
> > > "program": "bin/MyProject-app.xml",
> > > "profile": "mobileDevice",
> > > "screensize": "iPhoneRetina",
> > > "screenDPI": 326,
> > > "versionPlatform": "IOS"
> > > }
> > > ]
> > > }
> > >
> > > On Fri, Mar 17, 2017 at 10:32 PM, Josh Tynjala <joshtynj...@gmail.com>
> > > wrote:
> > >
> > >> When you debug with AIR, the error code will come from ADL, rather
> than
> > >> ADT, so it's meaning is going to be different. Looks like it is:
> > >>
> > >> The application descriptor file cannot be found.
> > >>
> > >> http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-6fa
> > >> 6d7e0128cca93d31-8000.html#WS5b3ccc516d4fbf351e63e3d118666ade46-7f62
> > >>
> > >> Make sure that you point to your AIR assocation descriptor in the
> > >> "application" field in asconfig.json. You'll also need an output path
> > for
> > >> the SWF under the compilerOptions.
> > >>
> > >> In the launch.json, you want the program to be the AIR application
> > >> descriptor instead of the SWF.
> > >>
> > >> - Josh
> > >>
> > >> On Mar 17, 2017 9:04 PM, "Clint M" <cmod...@gmail.com> wrote:
> > >>
> > >> got it to build… can't get it to launch the debugger… the error is:
> > >> Error launching SWF debug session. Process exited with code: 6
> > >>
> > >> Which according to this [1] means I can't write to the output dir (but
> > I'm
> > >> not specifying it). How do I do that?
> > >>
> > >> I wonder if I need to change where I i

Re: SWF Debugging in Visual Studio Code

2017-03-17 Thread Clint M
is fcsh on your radar? I just got it to work with java 7 and
adding -Djava.util.Arrays.useLegacyMergeSort=true|
couldn't get it to work with java 8… getting Error: null on recompile

On Fri, Mar 17, 2017 at 10:39 PM, Clint M <cmod...@gmail.com> wrote:

> Ha… it works!!!
>
> I just checked it again… and this was my launch config (with duplicate
> keys??)
> I'm not sure if this was me or vs code but after I removed the duplicate
> keys (type, request, name, program) it worked just fine.
>
> Thanks Josh :)
>
> {
> // Use IntelliSense to learn about possible SWF debug attributes.
> // Hover to view descriptions of existing attributes.
> // For more information, visit: https://go.microsoft.com/
> fwlink/?linkid=830387
> "version": "0.2.0",
> "preLaunchTask": "asconfigc",
> "configurations": [
> {
> "type": "swf",
> "request": "launch",
> "name": "Launch SWF",
> "program": "bin/GreenMaps-app.xml",
> "type": "swf",
> "request": "launch",
> "name": "Launch SWF",
> "program": "bin/MyProject-app.xml",
> "profile": "mobileDevice",
> "screensize": "iPhoneRetina",
> "screenDPI": 326,
> "versionPlatform": "IOS"
> }
> ]
> }
>
> On Fri, Mar 17, 2017 at 10:32 PM, Josh Tynjala <joshtynj...@gmail.com>
> wrote:
>
>> When you debug with AIR, the error code will come from ADL, rather than
>> ADT, so it's meaning is going to be different. Looks like it is:
>>
>> The application descriptor file cannot be found.
>>
>> http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-6fa
>> 6d7e0128cca93d31-8000.html#WS5b3ccc516d4fbf351e63e3d118666ade46-7f62
>>
>> Make sure that you point to your AIR assocation descriptor in the
>> "application" field in asconfig.json. You'll also need an output path for
>> the SWF under the compilerOptions.
>>
>> In the launch.json, you want the program to be the AIR application
>> descriptor instead of the SWF.
>>
>> - Josh
>>
>> On Mar 17, 2017 9:04 PM, "Clint M" <cmod...@gmail.com> wrote:
>>
>> got it to build… can't get it to launch the debugger… the error is:
>> Error launching SWF debug session. Process exited with code: 6
>>
>> Which according to this [1] means I can't write to the output dir (but I'm
>> not specifying it). How do I do that?
>>
>> I wonder if I need to change where I installed the FlexJS sdk?
>>
>> Here's what the launch config looks like in Flash Bungler.
>> https://www.dropbox.com/s/8f6kllihuoc3kol/Screen%20Shot%
>> 202017-03-17%20at%208.55.31%20PM.png?dl=0
>>
>>
>> [1] https://helpx.adobe.com/air/kb/air-developer-tool-adt-error.html
>> Exit codes
>> ADT exits with one of the following exit codes. For error conditions (code
>> > 1), ADT also prints a diagnostic message to stderr.
>> Exit Code Meaning
>> 0 Successful primary launch [1]
>> 2 Usage error (incorrect arguments)
>> 5 Unknown error
>> 6 Could not write to output directory
>>
>> On Fri, Mar 17, 2017 at 8:25 PM, Clint M <cmod...@gmail.com> wrote:
>>
>> > ha… got it to compile my flex mobile project with a couple of
>> workarounds…
>> >
>> > - "library-path": [ "libs" ], didn't work… I had to do:
>> "additionalOptions":
>> > "-library-path+=libs/",
>> > - I had to install both the flex sdk and the flexjs sdk… my
>> > ./.vscode/settings.json looks like:
>> > // Place your settings in this file to overwrite default and user
>> settings.
>> > {
>> > "nextgenas.sdk.framework": "/Users/clint/code/Flex/SDK/
>> > flex_sdk_4.15.0_AIR_23",
>> > "nextgenas.sdk.editor": "/usr/local/lib/node_modules/flexjs"
>> > }
>> >
>> >
>> > On Fri, Mar 17, 2017 at 8:03 PM, Clint M <cmod...@gmail.com> wrote:
>> >
>> >> trying to get it setup… do I need both the flexjs and flexswf sdks?
>> >>
>> >> On Fri, Mar 17, 2017 at 4:36 PM, Josh Tynjala <joshtynj...@gmail.com>
>> >> wrote:
>> >>
>> >>> Hello, Flex community!
>> >>>
>>

Re: SWF Debugging in Visual Studio Code

2017-03-17 Thread Clint M
got it to build… can't get it to launch the debugger… the error is:
Error launching SWF debug session. Process exited with code: 6

Which according to this [1] means I can't write to the output dir (but I'm
not specifying it). How do I do that?

I wonder if I need to change where I installed the FlexJS sdk?

Here's what the launch config looks like in Flash Bungler.
https://www.dropbox.com/s/8f6kllihuoc3kol/Screen%20Shot%202017-03-17%20at%208.55.31%20PM.png?dl=0


[1] https://helpx.adobe.com/air/kb/air-developer-tool-adt-error.html
Exit codes
ADT exits with one of the following exit codes. For error conditions (code
> 1), ADT also prints a diagnostic message to stderr.
Exit Code Meaning
0 Successful primary launch [1]
2 Usage error (incorrect arguments)
5 Unknown error
6 Could not write to output directory

On Fri, Mar 17, 2017 at 8:25 PM, Clint M <cmod...@gmail.com> wrote:

> ha… got it to compile my flex mobile project with a couple of workarounds…
>
> - "library-path": [ "libs" ], didn't work… I had to do: "additionalOptions":
> "-library-path+=libs/",
> - I had to install both the flex sdk and the flexjs sdk… my
> ./.vscode/settings.json looks like:
> // Place your settings in this file to overwrite default and user settings.
> {
> "nextgenas.sdk.framework": "/Users/clint/code/Flex/SDK/
> flex_sdk_4.15.0_AIR_23",
> "nextgenas.sdk.editor": "/usr/local/lib/node_modules/flexjs"
> }
>
>
> On Fri, Mar 17, 2017 at 8:03 PM, Clint M <cmod...@gmail.com> wrote:
>
>> trying to get it setup… do I need both the flexjs and flexswf sdks?
>>
>> On Fri, Mar 17, 2017 at 4:36 PM, Josh Tynjala <joshtynj...@gmail.com>
>> wrote:
>>
>>> Hello, Flex community!
>>>
>>> I hope you don't mind if I take a moment to plug one of my projects that
>>> I
>>> think many Flex developers here will find useful.
>>>
>>> As you may recall, I created an ActionScript and MXML extension for
>>> Visual
>>> Studio Code a while back. Originally, my main focus was on creating a
>>> development environment for FlexJS. Popular IDEs like Flash Builder and
>>> IntelliJ IDEA require jumping through some hoops to work with FlexJS,
>>> and I
>>> wanted to make sure the community has an editor where FlexJS is
>>> considered
>>> a first-class citizen.
>>>
>>> Well, I know many of you who are interested in FlexJS are also still
>>> targeting Adobe AIR and Flash Player with the original Apache Flex SDK.
>>> With that in mind, I've been working on ensuring that you can build
>>> projects for these runtimes in Visual Studio Code too! Earlier this
>>> week, I
>>> released a big, new update to the extension that adds support for SWF
>>> debugging in AIR and Flash Player.
>>>
>>> When you debug a SWF project in VSCode you'll be able to add breakpoints,
>>> pause and step through your code, see trace() output in the console,
>>> navigate the call stack, and inspect variables. It's a debugger with all
>>> the bells and whistles that we've come to expect.
>>>
>>> For more information about the Visual Studio Code extension, please visit
>>> the website:
>>>
>>> https://nextgenactionscript.com/vscode/
>>>
>>> For instructions about how to create a new project, set up the compiler,
>>> and debug any type of Apache Flex app in Adobe AIR and Flash Player,
>>> visit
>>> the Github wiki:
>>>
>>> https://github.com/BowlerHatLLC/vscode-nextgenas/wiki
>>>
>>> With the community's help, I can continue working on useful developer
>>> tools
>>> for ActionScript and MXML. Please join my Patreon campaign to lend a
>>> hand!
>>>
>>> https://www.patreon.com/josht
>>>
>>> Thank you, and happy coding!
>>>
>>> Josh Tynjala
>>> NextGen ActionScript
>>>
>>> Note: I am an Apache Flex committer and PMC member, but this VSCode
>>> extension is not an Apache project. Today, I am simply posting as a
>>> member
>>> of the community who wants to share a cool, independent project that
>>> others
>>> might enjoy.
>>>
>>
>>
>


Re: SWF Debugging in Visual Studio Code

2017-03-17 Thread Clint M
ha… got it to compile my flex mobile project with a couple of workarounds…

- "library-path": [ "libs" ], didn't work… I had to do: "additionalOptions":
"-library-path+=libs/",
- I had to install both the flex sdk and the flexjs sdk… my
./.vscode/settings.json looks like:
// Place your settings in this file to overwrite default and user settings.
{
"nextgenas.sdk.framework":
"/Users/clint/code/Flex/SDK/flex_sdk_4.15.0_AIR_23",
"nextgenas.sdk.editor": "/usr/local/lib/node_modules/flexjs"
}


On Fri, Mar 17, 2017 at 8:03 PM, Clint M <cmod...@gmail.com> wrote:

> trying to get it setup… do I need both the flexjs and flexswf sdks?
>
> On Fri, Mar 17, 2017 at 4:36 PM, Josh Tynjala <joshtynj...@gmail.com>
> wrote:
>
>> Hello, Flex community!
>>
>> I hope you don't mind if I take a moment to plug one of my projects that I
>> think many Flex developers here will find useful.
>>
>> As you may recall, I created an ActionScript and MXML extension for Visual
>> Studio Code a while back. Originally, my main focus was on creating a
>> development environment for FlexJS. Popular IDEs like Flash Builder and
>> IntelliJ IDEA require jumping through some hoops to work with FlexJS, and
>> I
>> wanted to make sure the community has an editor where FlexJS is considered
>> a first-class citizen.
>>
>> Well, I know many of you who are interested in FlexJS are also still
>> targeting Adobe AIR and Flash Player with the original Apache Flex SDK.
>> With that in mind, I've been working on ensuring that you can build
>> projects for these runtimes in Visual Studio Code too! Earlier this week,
>> I
>> released a big, new update to the extension that adds support for SWF
>> debugging in AIR and Flash Player.
>>
>> When you debug a SWF project in VSCode you'll be able to add breakpoints,
>> pause and step through your code, see trace() output in the console,
>> navigate the call stack, and inspect variables. It's a debugger with all
>> the bells and whistles that we've come to expect.
>>
>> For more information about the Visual Studio Code extension, please visit
>> the website:
>>
>> https://nextgenactionscript.com/vscode/
>>
>> For instructions about how to create a new project, set up the compiler,
>> and debug any type of Apache Flex app in Adobe AIR and Flash Player, visit
>> the Github wiki:
>>
>> https://github.com/BowlerHatLLC/vscode-nextgenas/wiki
>>
>> With the community's help, I can continue working on useful developer
>> tools
>> for ActionScript and MXML. Please join my Patreon campaign to lend a hand!
>>
>> https://www.patreon.com/josht
>>
>> Thank you, and happy coding!
>>
>> Josh Tynjala
>> NextGen ActionScript
>>
>> Note: I am an Apache Flex committer and PMC member, but this VSCode
>> extension is not an Apache project. Today, I am simply posting as a member
>> of the community who wants to share a cool, independent project that
>> others
>> might enjoy.
>>
>
>


Re: SWF Debugging in Visual Studio Code

2017-03-17 Thread Clint M
dude

On Fri, Mar 17, 2017 at 4:36 PM, Josh Tynjala  wrote:

> Hello, Flex community!
>
> I hope you don't mind if I take a moment to plug one of my projects that I
> think many Flex developers here will find useful.
>
> As you may recall, I created an ActionScript and MXML extension for Visual
> Studio Code a while back. Originally, my main focus was on creating a
> development environment for FlexJS. Popular IDEs like Flash Builder and
> IntelliJ IDEA require jumping through some hoops to work with FlexJS, and I
> wanted to make sure the community has an editor where FlexJS is considered
> a first-class citizen.
>
> Well, I know many of you who are interested in FlexJS are also still
> targeting Adobe AIR and Flash Player with the original Apache Flex SDK.
> With that in mind, I've been working on ensuring that you can build
> projects for these runtimes in Visual Studio Code too! Earlier this week, I
> released a big, new update to the extension that adds support for SWF
> debugging in AIR and Flash Player.
>
> When you debug a SWF project in VSCode you'll be able to add breakpoints,
> pause and step through your code, see trace() output in the console,
> navigate the call stack, and inspect variables. It's a debugger with all
> the bells and whistles that we've come to expect.
>
> For more information about the Visual Studio Code extension, please visit
> the website:
>
> https://nextgenactionscript.com/vscode/
>
> For instructions about how to create a new project, set up the compiler,
> and debug any type of Apache Flex app in Adobe AIR and Flash Player, visit
> the Github wiki:
>
> https://github.com/BowlerHatLLC/vscode-nextgenas/wiki
>
> With the community's help, I can continue working on useful developer tools
> for ActionScript and MXML. Please join my Patreon campaign to lend a hand!
>
> https://www.patreon.com/josht
>
> Thank you, and happy coding!
>
> Josh Tynjala
> NextGen ActionScript
>
> Note: I am an Apache Flex committer and PMC member, but this VSCode
> extension is not an Apache project. Today, I am simply posting as a member
> of the community who wants to share a cool, independent project that others
> might enjoy.
>


Re: How to set the color of a column chart item?

2017-03-15 Thread Clint M
i think the style you're looking for is stroke

On Wed, Mar 15, 2017 at 2:39 PM, OK  wrote:

> Hi,
> I'm trying to set the border color of an item of a column chart  [1].
> The fill style works like a charm but the color of the border doesn't.
>
> Any ideas?
>
> Thanks,
> Olaf
>
> [1]
> colSeries = new ColumnSeries;
> colSeries.xField = xField;
> colSeries.yField = yField;
> colSeries.setStyle("fill", solidColor);
> colSeries.setStyle("borderColor", 0x00);
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/How-to-set-the-color-of-a-column-
> chart-item-tp14817.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Status Bar on Android Devices

2017-03-14 Thread Clint M
https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

On Tue, Mar 14, 2017 at 1:42 PM, bilbosax  wrote:

> I'm going to give this a shot.  Unfortunately, when I try to use the Flex
> Installer to install Flex 4.16.0 and AIR 25 Beta, the installer crashes
> every time, giving a error #1000 and #1009 in the log.  Has anybody else
> ran
> into this? Are there good instructions on how to install a Flex and Air SDK
> manually?
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Status-Bar-on-Android-Devices-tp14803p14805.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Outdated AIR version in Apache SDK Installer

2017-03-09 Thread Clint M
This happens to me if I use the mac finder to copy the air sdk in to the
flex sdk. It works if I use the command line utility cp.

On Wed, Mar 8, 2017 at 7:45 PM, LesGWoolsey  wrote:

> I followed the instructions indicated and copied the files for air beta 25
> with compiler over another seek.  When I try to add it to FB 4.7 it says
> the
> directory does not contain a Flex SDK.  Any ideas on what's wrong.
>
> Of course if the apache flex installer would handle Air 25, I wouldn't need
> to try to kludge it.
>
> Thanks
> Les
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Outdated-AIR-version-in-Apache-SDK-Installer-
> tp14665p14793.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Socket implementation

2017-02-14 Thread Clint M
Looks like it's a known issue with a workaround proposed.
https://github.com/simb/FlashSocket.IO/issues/21

On Tue, Feb 14, 2017 at 11:52 AM, Jairo França  wrote:

> Thanks Clint.
>
> I´m listening for the events.. The connection event fires but the
> disconnect event don´t.
>
> If I turn off my wi-fi the log window shows a message "webSocketError:
> Server Timed Out!!", but don´t fire a disconnect.
>
> The Android implementation of socket.io that I used in another project
> reconnects automatically, as soon as the network wakes.
>


Re: Socket implementation

2017-02-14 Thread Clint M
make sure you're listening for and handling all the FlashSocketEvent events…
 (e.g. DISCONNECT)

package com.pnwrain.flashsocket.events
{
import flash.events.Event;

public class FlashSocketEvent extends Event
{
public static const CLOSE:String = "close";
public static const CONNECT:String = "connect";
public static const MESSAGE:String = "message";
public static const IO_ERROR:String = "ioError";
public static const SECURITY_ERROR:String = "securityError";
public static const DISCONNECT:String = "disconnect";
public static const CONNECT_ERROR:String = "connectError";

public var data:*;

public function FlashSocketEvent(type:String, 
bubbles:Boolean=true,
cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
}


On Tue, Feb 14, 2017 at 11:13 AM, Jairo  wrote:

> I´m developing a Mobile App with Flex and I need a connection with
> sockets. I
> downloaded Flashsocket. It connects and sends data with no problem, but if
> connection goes out, don´t reconnect.
> Anyone saw this with Flashsocket or have some better socket implementation?
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Socket-implementation-tp14684.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Flex 3 datagrid sorting

2017-02-13 Thread Clint M
can you post a small example of the behavior?
I'm sure someone here could spot the problem

On Mon, Feb 13, 2017 at 2:11 PM, mark goldin <markzolo...@gmail.com> wrote:

> Not sure what you are saying. All I do is clicking on an arrow icon of the
> first column. It gets sorted using default algorithm meaning not using my
> custom function. After clicking on a header of another column and clicking
> the first column's header again will start using the custom sort function
> of the first column.
>
> Thanks
>
> On Mon, Feb 13, 2017 at 4:07 PM Clint M <cmod...@gmail.com> wrote:
>
> > maybe try calling dataProvider.refresh() after applying the sort
> initially
> > or
> > not applying a sort to the base ICollectionView in the first place
> >
> > On Mon, Feb 13, 2017 at 1:40 PM, mark goldin <markzolo...@gmail.com>
> > wrote:
> >
> > > Also not sure about the example. Like I said if I click on some other
> > > column and then click on the first one, everything is working.
> > >
> > > On Mon, Feb 13, 2017 at 3:33 PM mark goldin <markzolo...@gmail.com>
> > wrote:
> > >
> > > > No, each column has its own sort function.
> > > >
> > > > On Mon, Feb 13, 2017 at 3:22 PM Clint M <cmod...@gmail.com> wrote:
> > > >
> > > > Maybe this example might help?
> > > >
> > > > http://www.jeffryhouser.com/index.cfm/2015/5/1/Why-wont-
> > > my-AdvancedDataGrid-sort-correctly
> > > >
> > > > Are you placing your sortCompare func on the columns on the whole
> grid?
> > > >
> > > > On Mon, Feb 13, 2017 at 12:52 PM, mark goldin <markzolo...@gmail.com
> >
> > > > wrote:
> > > >
> > > > > I have a strange problem with sorting in my datagrid. Its first
> > column
> > > > is a
> > > > > name - some string info. when grid comes up this column is marked
> > with
> > > a
> > > > > small number 1. If I start sorting my clicking on an arrow next to
> > this
> > > > > number the sortCompareFunction function is not executing. But if I
> > > click
> > > > on
> > > > > some other column first and go back sorting the first column
> > everything
> > > > is
> > > > > working fine. Any idea what's wrong?
> > > > >
> > > > > Thanks
> > > > >
> > > >
> > > >
> > >
> >
>


Re: flex datagrid column header click

2017-02-13 Thread Clint M
header.dispatchEvent(new MouseEvent(MouseEvent.CLICK));

On Mon, Feb 13, 2017 at 2:04 PM, mark goldin  wrote:

> Is there a way of doing it programmatically? When grid comes up I want to
> simulate a mouse click on a column that is not a first column.
>
> Thanks
>


Re: Flex 3 datagrid sorting

2017-02-13 Thread Clint M
maybe try calling dataProvider.refresh() after applying the sort initially
or
not applying a sort to the base ICollectionView in the first place

On Mon, Feb 13, 2017 at 1:40 PM, mark goldin <markzolo...@gmail.com> wrote:

> Also not sure about the example. Like I said if I click on some other
> column and then click on the first one, everything is working.
>
> On Mon, Feb 13, 2017 at 3:33 PM mark goldin <markzolo...@gmail.com> wrote:
>
> > No, each column has its own sort function.
> >
> > On Mon, Feb 13, 2017 at 3:22 PM Clint M <cmod...@gmail.com> wrote:
> >
> > Maybe this example might help?
> >
> > http://www.jeffryhouser.com/index.cfm/2015/5/1/Why-wont-
> my-AdvancedDataGrid-sort-correctly
> >
> > Are you placing your sortCompare func on the columns on the whole grid?
> >
> > On Mon, Feb 13, 2017 at 12:52 PM, mark goldin <markzolo...@gmail.com>
> > wrote:
> >
> > > I have a strange problem with sorting in my datagrid. Its first column
> > is a
> > > name - some string info. when grid comes up this column is marked with
> a
> > > small number 1. If I start sorting my clicking on an arrow next to this
> > > number the sortCompareFunction function is not executing. But if I
> click
> > on
> > > some other column first and go back sorting the first column everything
> > is
> > > working fine. Any idea what's wrong?
> > >
> > > Thanks
> > >
> >
> >
>


Re: Flex 3 datagrid sorting

2017-02-13 Thread Clint M
Maybe this example might help?
http://www.jeffryhouser.com/index.cfm/2015/5/1/Why-wont-my-AdvancedDataGrid-sort-correctly

Are you placing your sortCompare func on the columns on the whole grid?

On Mon, Feb 13, 2017 at 12:52 PM, mark goldin  wrote:

> I have a strange problem with sorting in my datagrid. Its first column is a
> name - some string info. when grid comes up this column is marked with a
> small number 1. If I start sorting my clicking on an arrow next to this
> number the sortCompareFunction function is not executing. But if I click on
> some other column first and go back sorting the first column everything is
> working fine. Any idea what's wrong?
>
> Thanks
>


Re: Outdated AIR version in Apache SDK Installer

2017-02-09 Thread Clint M
I think there was a change on the Adobe side in the way that they package
the sdk now that's not compatible with the current version of the installer
(dmg vs archive).

As a workaround you can copy any AIR SDK over top of any Apache Flex SDK
and it'll work.

Here's a tutorial:
https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html



On Thu, Feb 9, 2017 at 6:00 AM, Octavio Molano Anta <
octavio.mol...@gmail.com> wrote:

> Hello all.
>
> I've noticed that the Apache Flex installer only has the option to install
> up to AIR 24 Beta.
>
> The Final version of AIR 24 was released back in December. The installer
> should have been updated by now.
>
> Also it would be nice to have the installer also updated for the current
> AIR 25 Beta (25.0.0.108).
>
> Finally, if the installer is not going to be updated frequently, it would
> probably be a good idea to let the user manually specify an updated
> download URL in the installer interface to make the process easier.
>
> Best regards,
> Octavio
>


Re: Upgrading web app to Flex 4.15

2017-02-08 Thread Clint M
this part might take some time… -compiler.keep-generated-actionscript=true

On Wed, Feb 8, 2017 at 10:29 AM, olegkon  wrote:

> Clint,
>
> Here is an exerpt of the last few lines of  ant -d:
>
>[mxmlc] FlexTask.execute: -compiler.keep-generated-actionscript=true
> -compiler.incremental=true "+flexlib=C:\Program Files\Adobe\Adobe Flash
> Builder 4.7 (64 Bit)\sdks\4.15/frameworks"
> -compiler.actionscript-file-encoding=UTF-8 -load-externs=report.xml
> "-load-config=C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
> Bit)\sdks\4.15/frameworks/flex-config.xml"
> -compiler.keep-as3-metadata=Inject -compiler.keep-as3-metadata=
> PostConstruct
> -compiler.debug=true "-compiler.source-path=C:\Program Files\Adobe\Adobe
> Flash Builder 4.7 (64 Bit)\sdks\4.15/frameworks"
> -compiler.source-path=../ui/flex/main/
> -compiler.source-path=../ui/flex/assets/ -use-network=true
> -compiler.include-libraries+=C:\myapp\flex\libs\AlivePDF.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\SwiftSuspenders-v1.6.0.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\fds.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\fds_rb.swc
> -compiler.include-libraries+=C:\web\cre\ui\flex\libs\fiber.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\fiber_rb.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\flex-iframe-1.4.6.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\juicekit-flex-core.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\juicekit-flex-data.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\juicekit-
> flex-visualizations.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\playerfds.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs-
> framework-v1.5.2.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs-
> utilities-Modular-v0.5.3.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\robotlegs-
> utilities-StateMachine.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\serializers.swc
> -compiler.include-libraries+=C:\myapp\flex\libs\serializers_rb.swc
> -output=C:\myapp\map\Map.swf -- ../myapp/map/Map.mxml
> [mxmlc] Loading configuration file C:\Program Files\Adobe\Adobe Flash
> Builder 4.7 (64 Bit)\sdks\4.15\frameworks\flex-config.xml
> [mxmlc] C:\myapp\map\Map.swf.cache (The system cannot find the file
> specified)
> [mxmlc] C:\myapp\OptgroupDropDownList\OptgroupDropDownList.as(22):
> col:
> 21 Error: Overriding a function that is not marked for override.
> [mxmlc]
> [mxmlc] public function setSelectedIndex(value:int,
> dispatchChangeEvent:Boolean = false,
> [mxmlc] ^
> [mxmlc]
>
> BUILD FAILED
>
> We have old SWCs for libraries we are using.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603p14653.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Accepting Payment on Mobile

2017-02-08 Thread Clint M
Actionscript api
https://github.com/Khaledgarbaya/AS3-PayPal-API

Air native extension
https://airnativeextensions.com/extension/com.distriqt.PayPalSDK



On Tue, Feb 7, 2017 at 9:03 PM, bilbosax  wrote:

> I have been looking into Stripe and Paypal to accept subscription payments
> to
> use my app on mobile devices.  Unfortunately, none of the solutions look
> that straightforward to use because nobody has an AIR api for payment
> solutions.
>
> Does anyone have any experience doing this?  I was thinking that I may be
> able to create a web payment interface on my web server, and when a user
> clicked the "pay" button in my app, a stagewebview would open and display
> the payment page that exists on my webserver.
>
> Does anyone have any payment solutions that they have gotten to work with
> AIR on mobile?
>
> Thx
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Accepting-Payment-on-Mobile-tp14649.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Upgrading web app to Flex 4.15

2017-02-07 Thread Clint M
Are you able to post the output of the following?

ant [yourBuildTarget] -d

On Tue, Feb 7, 2017 at 11:23 AM, olegkon  wrote:

> 1) Actually it still did not compile, failed after almost 2 hours with:
> C:\web\cre\ui\flex\main\com\opera\mobiuss\cre\common\components\
> OptgroupDropDownList\OptgroupDropDownList.as(22):
> col: 25 Error: Overriding a function that is not marked for override.
> [mxmlc]
>public function setSelectedIndex(value:int,
> dispatchChangeEvent:Boolean = false,...
> And if I add override and save, get:   Method marked override must override
> another method.
> Note:  have that specified:  use namespace mx_internal;
> I also have that in the same class (maybe that effects it?):
> override mx_internal function setSelectedIndices(value:Vector.,
> dispatchChangeEvent:Boolean = false, changeCaret:Boolean=true):void {...}
> override protected function keyDownHandler(event:KeyboardEvent) : void
> {...}
>
> 2)
> >What is your Xmx set at?
> -Xms512m
> -Xmx2048m
> -XX:MaxPermSize2048m
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603p14642.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Upgrading web app to Flex 4.15

2017-02-07 Thread Clint M
fcsh is in the sdk
$FLEX_HOME/lib/fcsh.jar
and
$FLEX_HOME/bin/fcsh(.bat on win) <--wrapper script for the jar

On Tue, Feb 7, 2017 at 8:21 AM, olegkon  wrote:

> 4) when running Ant with FCSH second time getting issue:
> Files: 448 Time: 413ms
> Total time: 12344ms
> Peak memory usage: 271 MB (Heap: 226, Non-Heap: 45)
> (fcsh) ---[BUILD FAILED]---
> (fcsh) compile 1
> Loading configuration file C:\Apps\flex\4.15\frameworks\flex-config.xml
> Initial setup: 80227ms
> start loading swcs 1ms Running Total: 92571ms
> Loaded 52 SWCs: 174ms
> Nothing has changed since the last compile. Skip...
> Total time: 94018ms
> Peak memory usage: 210 MB (Heap: 163, Non-Heap: 47)
> Linking... 1412ms
>  Error: null
>  Total time: 1447ms
>
> Peak memory usage: 300 MB (Heap: 253, Non-Heap: 47)
> (fcsh) ---[BUILD FAILED]---
> [ERROR] No target was selected for removal
> [ERROR] No target was selected for recompile
>
> Is there a more recent version of Ant - FCSH integration available for
> 4.15?
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603p14639.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Upgrading web app to Flex 4.15

2017-02-07 Thread Clint M
Inline below

On Tue, Feb 7, 2017 at 7:49 AM, olegkon  wrote:

> Clint,
>
> 1) I tried what you suggested:
> override public function setSelectedIndex(value:int,
> dispatchChangeEvent:Boolean = false,
> changeCaret:Boolean=true):void {  ... }


> When I try to save it, getting compilation error:   Method marked override
> must override another method.
> So I removed override from there, that worked.
>

I'm not sure you want to remove that. I'm also not sure why it didn't work
for you. You can view the source the method is public now.

>From DropDownListBase.as
override public function setSelectedIndex(rowIndex:int,
dispatchChangeEvent:Boolean = false, changeCaret:Boolean = true):void


>
> 2) actually now compilation takes even longer - about 2 hours (!) on a good
> PC with 16GB of RAM and SSD,
> most of it in compile modules task.
> Why is it so terribly slow?
>

What is your Xmx set at?


>
>
> 3) Also, can we get a source code of flexTasks.jar (for 4.15)?
>

I don't think so but I'm not sure.  You could decompile it if you want.
What do you get when you run it with -d ?(eg. ant build -d)

This will give you the exact command that you could run on the command line
instead of using the ant tasks.


>
>
> 4) Also we are trying to use FSCH to compile that Flex project faster, but
> can only see one for Flex3.
> Is there a more recent one?   Or you think it is not a good idea with 4.15?
>


 Should work as long as you understand the speed boost is from:

a) not booting up the jvm everytime
b) incremental compilation is faster because it keeps a cache

If you're running ant… there's a good chance you don't want b) in the first
place and just want a clean build everytime.


>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603p14637.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Updating a Program

2017-02-06 Thread Clint M
SqlLite db's will be intact.

On Mon, Feb 6, 2017 at 12:34 AM, bilbosax  wrote:

> Do you know if updating an app per Clintm's suggestion will leave SQLite
> databases intact, or will they get wiped out in the update?
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Updating-a-Program-tp14613p14622.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Updating a Program

2017-02-05 Thread Clint M
As long as the app id's are the same it will update the application in
place.

If I remember right… if you change the certificate you'll have to either a)
change the app id or ask users to uninstall the current app first because
the install will fail.

On Sat, Feb 4, 2017 at 7:36 PM, bilbosax  wrote:

> I haven't looked into it yet, so thought I would start by asking the wise
> people here.  I have written an AIR app that runs on the desktop, with a
> version that works on mobile as well.  If I ever add a new feature or
> improve the efficiency of the code, I want to offer users updates that they
> can download from the app store or from my website for the desktop app.
> How
> hard is it to get an AIR app to update?  And by update, I mean totally
> replace the existing application with the new application, I am concerned
> that it will just install a new application next to the existing
> application
> instead of replacing it.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Updating-a-Program-tp14613.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: failed to run installer 3.2 on my Mac OS Sierra

2017-02-04 Thread Clint M
Maybe try to repair disk permissions and try again.

Also this,

"you can't save「Apache Flex SDK
Installer」,volume「4B486363-B090-4F61-8041-A0C076FE485A」is readonly。"

might suggest that it might be a file mode problem or that the volume is
locked.



On Fri, Feb 3, 2017 at 10:04 PM, Davidfeng  wrote:

> *I have problem on running Flex installer 3.2.0 on my Mac OS Sierra, After
> installation and open it, the system log shows that it failed to rename a
> file in a readonly folder, message as follow:*
>
> renaming failed with this error: Error Domain=NSCocoaErrorDomain Code=642
> "you can't save「Apache Flex SDK
> Installer」,volume「4B486363-B090-4F61-8041-A0C076FE485A」is readonly。"
> UserInfo={NSSourceFilePathErrorKey=/var/folders/4b/c0vc_
> 8ks6r5284qzdqw31jb0gn/T/AppTranslocation/4B486363-
> B090-4F61-8041-A0C076FE485A/d/Apache
> Flex SDK Installer.app/Contents/MacOS/Apache Flex SDK Installer,
> NSUserStringVariant=(
> Move
> ),
> NSFilePath=/var/folders/4b/c0vc_8ks6r5284qzdqw31jb0gn/T/
> AppTranslocation/4B486363-B090-4F61-8041-A0C076FE485A/d/Apache
> Flex SDK Installer.app/Contents/MacOS/Apache Flex SDK Installer,
> NSDestinationFilePath=/var/folders/4b/c0vc_8ks6r5284qzdqw31jb0gn/T/
> AppTranslocation/4B486363-B090-4F61-8041-A0C076FE485A/d/Apache
> Flex SDK Installer.app/Contents/MacOS/Apache Flex SDK Installer_32,
> NSUnderlyingError=0x4000e0 {Error Domain=NSPOSIXErrorDomain Code=30
> "Read-only file system"}}
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/failed-to-run-installer-3-2-on-my-
> Mac-OS-Sierra-tp14607.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Upgrading web app to Flex 4.15

2017-02-03 Thread Clint M
override mx_internal function setSelectedIndex
should be;
override public function setSelectedIndex //it's public now

ant build could be your java heap XMX… what's it set at?

paste the command you're using to run mxmlc

run ant with -d (e.g ant build -d)

what's your java -version say?

I'm running 1.7.0_79-b15


On Fri, Feb 3, 2017 at 8:11 AM, olegkon  wrote:

> Hi,
>
> We are trying to upgrade our Flex/BlazeDS4/Java8/Spring4 large web app
> from Flex 4.6 to 4.15.
> Getting a few issues:
> 1) compilation error on DropDownList:
> 1020: Method marked override must override another method.
> OptgroupDropDownList.as
> // Override the setSelectedIndex() mx_internal method to not select an item
> that has selectionEnabled=false.
>
> override mx_internal function setSelectedIndex(value:int,
> dispatchChangeEvent:Boolean = false,
>
> changeCaret:Boolean=true):void
>
> 2) ant build takes Very long time (mostly in Flex compilation), much longer
> than before:
> from 2 min went to 30 mins.
>
> Please help.
>
> TIA,
> Oleg.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Upgrading-web-app-to-Flex-4-15-tp14603.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Paid AS3/Flex dev support

2017-02-02 Thread Clint M
Hi… wanted to follow up… I'm coming off of both my contracts and looking
for work. Available to start anytime.

On Wed, Dec 14, 2016 at 1:26 AM, Krüger, Olaf  wrote:

> Hi there,
> our third baby was just born so I was and will be very inactive for a
> while here on the list.
>
> Today I've a request regarding paid AS3/Flex development support:
>
> I'm working for an automotive supplier in Germany.
> For a current project we'd like to evaluate if there's a chance to speed
> up development by recruiting external professionals for a while
> (Approximately 3-6 months from Feb 2017, on-site or anywhere).
> The app is built with PureMVC/AS3 and the latest Flex SDK. It consumes a
> REST (JSON) API which is implement with PHP.
> So my question is if there're still some guys who would be interested to
> help out with AS3/Flex development and what is the average hourly rate.
>
> To get an idea of if it would be great if interested people get in touch
> with me per mail.
>
> Many thanks in advance,
> Olaf
>
>
> [Merry Christmas - Frohe Weihnachten - Feliz Navidad - Joyeux Noel -
> Vesele Vanoce]
>
> 
>
> Edscha Holding GmbH
> Sitz der Gesellschaft: Remscheid
> Registergericht: Wuppertal, HRB 22889
> Geschäftsführung: Francisco J. Riberas Mera, Francisco López Peña, David
> Vázquez Pascual, Torsten Greiner, Markus Kirchner, Hans-Peter Schulz und
> Volker Weiss
>
> Vertretungsberechtigt sind nur Geschäftsführer und schriftlich
> Bevollmächtigte.
>
> Solely Managing Directors or employees with a written proxy have got power
> of representation.
>
> Der Inhalt dieser E-Mail einschließlich etwaiger beigefügter Dateien ist
> vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht der
> bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung,
> Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte
> informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie
> die E-Mail einschließlich etwaiger beigefügter Dateien von Ihrem System.
> Vielen Dank.
>
> The contents of this e-mail including any attachments are confidential and
> may be legally privileged. If you are not the intended recipient, any
> disclosure, copying, distribution or use of its contents is strictly
> prohibited, and you should please notify the sender immediately and then
> delete this e-mail including any attachments from your system. Thank you.
>


Re: Catch Errors

2017-01-20 Thread Clint M
I think you want event.error.

Also… if you compile with verbose-stacktraces=true and use the
event.error.getStackTrace() to get the call stack.

verbose-stacktraces will give you the stack trace even if you compile with
debug=false

On Fri, Jan 20, 2017 at 4:10 AM, Jairo  wrote:

> In my Apps I catch errors using the following command:
>
> systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(
> UncaughtErrorEvent.UNCAUGHT_ERROR,
> uncaughtErrorHandler);
>
> In the uncaughtErrorHandler function I use Error(event).message and
> event.text to get the errors but can´t get details about where the error
> occurs. How can I get this?
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Catch-Errors-tp14559.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: ViewNavigatorApplication // Surface // titleIcon

2017-01-19 Thread Clint M
Do you mean application icons?

http://help.adobe.com/en_US/air/build/WS2d929364fa0b81374fa5df4f129dca62884-8000.html#WS2d929364fa0b81374fa5df4f129dca62884-7ff9

On Mon, Jan 2, 2017 at 1:14 PM, chris_d_k  wrote:

> I have a projct with a ViewNavigatorApplication which is using the mobile
> theme and mobile components to run it on a windows surface tablet ...
>
> Is it possible to define the icon of the window (titleIcon) in this case?
>
> Kind regrads
>
> Christian
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/ViewNavigatorApplication-
> Surface-titleIcon-tp14403.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: air/flash 24 sdk, please update to release NOT beta

2017-01-18 Thread Clint M
For a 24.x release maybe? 24.0.0 was released on the 10th

Here's the air-sdk-description.xml from the downloaded dmg



AIR 24.0.0
24.0.0
180



On Wed, Jan 18, 2017 at 11:21 AM, OmPrakash Muppirala 
wrote:

>
> But they refreshed their beta today.  Note the date in the release notes:
> http://fpdownload.macromedia.com/pub/labs/flashruntimes/
> shared/air24_flashplayer24_releasenotes.pdf
>
>


Re: air/flash 24 sdk, please update to release NOT beta

2017-01-18 Thread Clint M
>> merging manually the sdk has some issue in osx with an indeterminate
result.

You can merge using the command line on osx… just do:

cp   where source_dir is the path to the air 24 sdk
and dest_dir is the path to the flex sdk

On Wed, Jan 18, 2017 at 2:28 AM, jaco  wrote:

> hi,
>
> just need to install latest adobe AIR sdk and flash sdk to 24 release NOT
> beta in osx/win, apache flex install fails @flash sdk download, which is
> probably due to a wrong checksum.
>
> This update is actually crucial due to a UIDeviceFamily ios field change:
> from string to integer, it blocks attempts to upload .ipa for test or sale.
>
> Please fix asap or let us know how to fix the md5 to complete installation.
>
> * merging manually the sdk has some issue in osx with an indeterminate
> result.
>
> thanx in advance
> Marco Fusett aka Jaco
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/air-flash-24-sdk-please-update-to-
> release-NOT-beta-tp14516.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: air/flash 24 sdk, please update to release NOT beta

2017-01-18 Thread Clint M
released on the 10th…
https://helpx.adobe.com/flash-player/release-note/fp_24_air_24_release_notes.html

available here… http://www.adobe.com/devnet/air/air-sdk-download.html

On Wed, Jan 18, 2017 at 11:04 AM, OmPrakash Muppirala 
wrote:

> I think AIR 24 is still in beta.  Thats what the labs page seems to
> indicate.
>
> http://labs.adobe.com/technologies/flashruntimes/flashplayer/
>
> Thanks,
> Om
>
> On Jan 18, 2017 2:30 AM, "jaco"  wrote:
>
> > hi,
> >
> > just need to install latest adobe AIR sdk and flash sdk to 24 release NOT
> > beta in osx/win, apache flex install fails @flash sdk download, which is
> > probably due to a wrong checksum.
> >
> > This update is actually crucial due to a UIDeviceFamily ios field change:
> > from string to integer, it blocks attempts to upload .ipa for test or
> sale.
> >
> > Please fix asap or let us know how to fix the md5 to complete
> installation.
> >
> > * merging manually the sdk has some issue in osx with an indeterminate
> > result.
> >
> > thanx in advance
> > Marco Fusett aka Jaco
> >
> >
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> > 246.n4.nabble.com/air-flash-24-sdk-please-update-to-
> > release-NOT-beta-tp14516.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>


Re: Apache Flex SDK Installer and Air 24.0

2017-01-17 Thread Clint M
Seems like the answer is yes some one from the Apache Flex team just
needs to update an xml file on a server.

As a workaround you can download the Adobe AIR 24 SDK and unzip it then
copy it over top of any existing Flex SDK to update it to AIR 24. Just make
sure you're using a windows sdk on windows and a mac sdk on mac.

On Tue, Jan 17, 2017 at 9:29 AM, pol2095  wrote:

> Hello,
>
> In the Apache Flex SDK Installer, I can choose "Air 24.0 beta" but not "Air
> 24.0" ?
>
> Thanks
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Apache-Flex-SDK-Installer-and-Air-24-0-tp14509.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: AIR app problem on Google Play

2017-01-17 Thread Clint M
I think you need at least AIR 21.
http://forum.starling-framework.org/topic/open-ssl-version-in-air

On Tue, Jan 17, 2017 at 4:23 AM, Jairo  wrote:

> I´m trying to publish my app on Google Play but got the error above.
>
> "OpenSSL
> The vulnerabilities were addressed in OpenSSL 1.02f/1.01r. To confirm your
> OpenSSL version, you can do a grep search for:
>
> \$ unzip -p YourApp.apk | strings | grep "OpenSSL"
>
> You can find more information and next steps in this Google Help Center
> article."
>
> I´m using Flash Builder 4.6 and Apache Flex 4.15.0 FP20.0 AIR20.0 en_US.
>
> Any ideas? Thanks.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/AIR-app-problem-on-Google-Play-tp14501.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: log air crashes on android

2017-01-16 Thread Clint M
You can use:
adb logcat
https://developer.android.com/studio/command-line/logcat.html

On Fri, Jan 13, 2017 at 10:13 PM, Frank Dahmen  wrote:

> Hi,
> is there a way to log kind of a "crash-report" (stack trace) in air mobile
> on android when running in live/release mode (not connected via usb etc.)?
>
>
>
>


Re: SDK Installer certificate problem

2017-01-12 Thread Clint M
You might also want to uninstall an older version of the Apache Flex SDK
installer. (If it's already installed.)

On Thu, Jan 12, 2017 at 2:05 AM, Joseph Balderson  wrote:

> When I run the 4.15 installer (apache-flex-sdk-installer-3.2.0-bin.exe),
> I get a
> message which says
>
> "Sorry, an error has occurred. The application cannot be installed due to a
> certificate problem.  The certificate does not match the installed
> application
> certificate, does not support application upgrades, or is invalid.  Please
> contact the application author."
>
> Running Windows 7 64-bit. I tried uninstalling AIR and reinstalling AIR
> 20, 21,
> 22, 23, & the latest AIR 24. Still same results.
>
> Can anyone help?
>
> Joseph
>


Re: Chinese characters in PDF

2017-01-11 Thread Clint M
Are you using this version of AlivePDF?
https://github.com/dmbreaker/alivepdf/search?utf8=%E2%9C%93=chinese

Looks like you might need to use the "ArialUnicodeMS" font

On Wed, Jan 11, 2017 at 9:37 AM, mark goldin <markzolo...@gmail.com> wrote:

> Yes, I have gone through these but still cannot come up with something that
> works.
>
> On Wed, Jan 11, 2017 at 11:35 AM Clint M <cmod...@gmail.com> wrote:
>
> > Wouldn't you need unicode to display Chinese characters?
> >
> > In the link I sent there are other links that talk specifically about
> > Chinese characters at (
> > https://code.google.com/archive/p/alivepdf/issues/175
> > )
> >
> > On Tue, Jan 10, 2017 at 6:23 AM, mark goldin <markzolo...@gmail.com>
> > wrote:
> >
> > > In that conversation they are talking about UnicodePDF() and isUnicode.
> > Noe
> > > is available for new PDF().
> > >
> > > On Mon, Jan 9, 2017 at 11:09 AM Clint M <cmod...@gmail.com> wrote:
> > >
> > > > maybe this?
> > > > http://stackoverflow.com/questions/17528896/alivepdf-
> unicode-character
> > > >
> > > > On Mon, Jan 9, 2017 at 8:53 AM, mark goldin <markzolo...@gmail.com>
> > > wrote:
> > > >
> > > > > I have got to fix a project that use AlivePDF to export some data
> > into
> > > a
> > > > > PDF file. Works fine with English data but shows ??? for Chinese
> > > > > characters. Can someone point where I should look for the problem?
> Is
> > > it
> > > > > Reader problem because it doesn't have Chinese fonts?
> > > > >
> > > > > Thanks
> > > > >
> > > >
> > >
> >
>


Re: Chinese characters in PDF

2017-01-11 Thread Clint M
Wouldn't you need unicode to display Chinese characters?

In the link I sent there are other links that talk specifically about
Chinese characters at (https://code.google.com/archive/p/alivepdf/issues/175
)

On Tue, Jan 10, 2017 at 6:23 AM, mark goldin <markzolo...@gmail.com> wrote:

> In that conversation they are talking about UnicodePDF() and isUnicode. Noe
> is available for new PDF().
>
> On Mon, Jan 9, 2017 at 11:09 AM Clint M <cmod...@gmail.com> wrote:
>
> > maybe this?
> > http://stackoverflow.com/questions/17528896/alivepdf-unicode-character
> >
> > On Mon, Jan 9, 2017 at 8:53 AM, mark goldin <markzolo...@gmail.com>
> wrote:
> >
> > > I have got to fix a project that use AlivePDF to export some data into
> a
> > > PDF file. Works fine with English data but shows ??? for Chinese
> > > characters. Can someone point where I should look for the problem? Is
> it
> > > Reader problem because it doesn't have Chinese fonts?
> > >
> > > Thanks
> > >
> >
>


Re: Chinese characters in PDF

2017-01-09 Thread Clint M
maybe this?
http://stackoverflow.com/questions/17528896/alivepdf-unicode-character

On Mon, Jan 9, 2017 at 8:53 AM, mark goldin  wrote:

> I have got to fix a project that use AlivePDF to export some data into a
> PDF file. Works fine with English data but shows ??? for Chinese
> characters. Can someone point where I should look for the problem? Is it
> Reader problem because it doesn't have Chinese fonts?
>
> Thanks
>


Re: RPC on AS3 project

2017-01-03 Thread Clint M
Hmh… didn't know this was possible… what is the resulting size of the swf?
(i.e. how much of the Flex framework did it suck in?)

Should dump and post the link report with the compiler option
-link-report=linkReport.xml

Maybe just post the flex related stuff if you don't want us to see your
class names, sizes, etc.

On Mon, Dec 19, 2016 at 12:16 PM, Dev LFM  wrote:

> I got it working!!
>
> Steps:
> - reference this libs:
>   - FLEX_SDK/frameworks/libs/framework.swc;
>   - FLEX_SDK/frameworks/libs/rpc.swc;
>   - FLEX_SDK/frameworks/locale/en_US/framework_rb.swc
>   - FLEX_SDK/frameworks/locale/en_US/rpc_rb.swc
>
> - register class's:
> registerClassAlias("flex.messaging.messages.RemotingMessage",
> RemotingMessage);
>
> registerClassAlias("flex.messaging.messages.CommandMessage",
> CommandMessage);
> registerClassAlias("flex.messaging.messages.AcknowledgeMessage",
> AcknowledgeMessage);
> registerClassAlias("flex.messaging.messages.ErrorMessage",
> ErrorMessage);
>
> Hope this helps someone. Carlos Rovira here you have it ;) I'll post the
> solution on starling forum too.
>
> p.s - thank you to Ghazi TRIKI that kindly tried to help me found the
> problem.
>
>
> Kind regards to all
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/RPC-on-AS3-project-tp14349p14356.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: AIR build error 105

2016-12-12 Thread Clint M
Quotes seem weird…
try without maybe:

 
assets/icon16x16.png
assets/icon32x32.png
assets/icon48x48.png
assets/icon128x128.png


On Mon, Dec 12, 2016 at 10:34 AM, Trevor Holman 
wrote:

> Trying to do a simple build and my icons seem to be causing an issue. It
> is telling me they contain invalid value null. Here’s what my app.xml icons
> look like.
>
>
> 
> "assets/icon16x16.
> png"
> "assets/icon32x32.
> png"
> "assets/icon48x48.
> png"
> "assets/icon128x128.png" image128x128>
> 
>
> Trevor


Re: Getting the exact screen density on AIR mobile

2016-12-08 Thread Clint M
Here's one for Android.  Shouldn't be too difficult to adapt for iOS and/or
Desktop.

https://github.com/SamYStudiO/flair-physical-density-ane

On Thu, Dec 8, 2016 at 2:05 AM, After24  wrote:

> Hello,
>
> I'm working on a project for which I need to get the exact screen density
> of
> the device but Capabilities.screenDPI doesn't seems to return a precise
> value. For example, the constructor specifications of my phone give 401 PPI
> but Capabilities.screenDPI returns 480 PPI.
>
> Does anyone knows if there is an ANE that provides a reliable screen
> density
> value ?
>
> Thank you.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Getting-the-exact-screen-density-on-
> AIR-mobile-tp14312.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Trouble shooting Resources

2016-11-30 Thread Clint M
what get's assigned

On Wed, Nov 30, 2016 at 9:36 AM, mark goldin <markzolo...@gmail.com> wrote:

> Yes, it does.
>
> On Wed, Nov 30, 2016 at 10:33 AM Clint M <cmod...@gmail.com> wrote:
>
> > Does any text get assigned to the label property?
> >
> > On Tue, Nov 29, 2016 at 1:10 PM, mark goldin <markzolo...@gmail.com>
> > wrote:
> >
> > > I am using the following code to have a text for a label:
> > > label="{resourceManager.getString('module_Alarms','
> CaseLibraryLabel')}"
> > >
> > > At the top of my mxml file I have this:
> > > 
> > > [ResourceBundle("module_Alarms")]
> > > 
> > >
> > > The key definitely is in there because on other screens I see the
> label.
> > > How can I trouble shoot this problem?
> > >
> > > Thanks
> > >
> >
>


Re: Trouble shooting Resources

2016-11-30 Thread Clint M
Does any text get assigned to the label property?

On Tue, Nov 29, 2016 at 1:10 PM, mark goldin  wrote:

> I am using the following code to have a text for a label:
> label="{resourceManager.getString('module_Alarms','CaseLibraryLabel')}"
>
> At the top of my mxml file I have this:
> 
> [ResourceBundle("module_Alarms")]
> 
>
> The key definitely is in there because on other screens I see the label.
> How can I trouble shoot this problem?
>
> Thanks
>


Re: Prevent an item to be highlighted in TileList

2016-11-19 Thread Clint M
or this http://www.m2websites.com/disable-list-item-highlighting-in-flex-3/



On Sat, Nov 19, 2016 at 12:35 PM, Clint M <cmod...@gmail.com> wrote:

> maybe this https://forums.adobe.com/thread/26219
>
> [image: Gregory Lafrance]
> <https://forums.adobe.com/people/Greg%20Lafrance>
> *Correct Answer*by Gregory Lafrance
> <https://forums.adobe.com/people/Greg%20Lafrance> on Jan 12, 2009 9:50 AM
>
>
>
> MXML
> 
>
> AS
> dg.setStyle("selectionColor", dg.getStyle("backgroundColor"));
>
> On Sat, Nov 19, 2016 at 8:47 AM, mark goldin <markzolo...@gmail.com>
> wrote:
>
>> Can some please explain how I can stop highlighting of an item in the
>> TileList? I am attaching pictures that illustrate it.
>> One picture shows top ab bottom border when I click on the item. The
>> other shows what happens when I move a mouse over.
>>
>> My TileList is something like this:
>> > direction="horizontal"
>> borderStyle="none" width="100%"
>> dataProvider="..">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> Please, help.
>>
>> Thanks
>>
>
>


Re: Prevent an item to be highlighted in TileList

2016-11-19 Thread Clint M
maybe this https://forums.adobe.com/thread/26219

[image: Gregory Lafrance] 
*Correct Answer*by Gregory Lafrance
 on Jan 12, 2009 9:50 AM



MXML


AS
dg.setStyle("selectionColor", dg.getStyle("backgroundColor"));

On Sat, Nov 19, 2016 at 8:47 AM, mark goldin  wrote:

> Can some please explain how I can stop highlighting of an item in the
> TileList? I am attaching pictures that illustrate it.
> One picture shows top ab bottom border when I click on the item. The other
> shows what happens when I move a mouse over.
>
> My TileList is something like this:
>  direction="horizontal"
> borderStyle="none" width="100%"
> dataProvider="..">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> Please, help.
>
> Thanks
>


Re: Scout - What does this mean?

2016-11-18 Thread Clint M
If you can create a small app to reproduce the problem I'm sure someone
here could spot the problem.

On Fri, Nov 18, 2016 at 11:59 AM, bilbosax  wrote:

> I believe that everything was off by a factor of 2. What would be awesome
> is
> if regardless of screen resolution or DPI, I could always assume that the
> scaling magic was related to a width of 768, which I could create as a
> constant and problem solved. That is what I did for the renderer and it
> worked like a charm, but I don't know if that will work for android or all
> iPads??
>
> I have a bigger issue now. The TypeErrors are gone, and all of the
> measuring
> seems to have been massively reduced, but the performance is not much
> better, only slightly. When tethered to Scout, the iPad button click still
> takes about 5000ms to slide the list onto the screen. Untethered, I would
> estimate it to be about 3000ms. So now the question comes down to two
> parts:
>
> 1) Would an actionscript itemrenderer make a noticeable difference? I am a
> little daunted to try it because I never have, and you already know that I
> have 30 labels and radiobutton and I know there will be a lot of overrides.
> But if you believe it will make a significant improvement, I could give it
> a
> try.
>
> 2) When the list moves up and completely covers the content behind it, how
> much does the content that it covers affect performance? I always assumed
> that it all stayed in the display list and was simply covered up
> temporarily. But on the main screen, I have 20 dropdownbuttons, buttons,
> and
> textinputs in heavily nested groups as well as 3 lists with itemrenderers,
> only one of which is visible at a time. If that all has to be removed and
> redrawn when the list transitions in and out, then maybe I need to trim the
> fat out of that code as well???
>
> Any thoughts are appreciated. The desktop version works great, but right
> now, the mobile version just does not feel like a professional app :(
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Scout-What-does-this-mean-tp14126p14156.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Scout - What does this mean?

2016-11-15 Thread Clint M
Inline below

On Tue, Nov 15, 2016 at 12:43 PM, bilbosax  wrote:

> The big question is do Exceptions take up time?
>

Yes.


>
> I am finally able to get some good data into Scout to profile my mobile
> application, and I am quite confused.  The compiler finds no errors,
> debugging throws no errors, my application is displaying all of the correct
> data, but when I run Scout and look at a frame that is taking nearly
> 4000ms,
> I find that hundreds of exceptions are being thrown.  They don't show that
> they are taking any time in ms, but surely hundreds of them have to be
> taking up some significant time.  They are all TypeError Exceptions.  I
> assume that they mean that I assigning an incorrect value to a datatype of
> some sort.  Here is a picture of a grab of the error list:
>
> 
>
> If I mouse over any of the exceptions, it gives me a ton of data that I
> don't really understand.  It does not give you a line-number of where the
> exception is being thrown, so I don't know exactly what variable is being
> cast wrong.  If anybody could take a look at this and help me narrow down a
> value that I am assigning incorrectly, I would greatly appreciate it.  I am
> assuming that it is an itemrenderer value that I use "data" to assign
> values
> to labels. Do you think  that hundreds of these exceptions are taking any
> appreciable amount of time?
>
> Exception: TypeError
> MethodInfo-12677
> mx.binding::Binding/wrapFunctionCall
> mx.binding::Binding/innerExecute
> mx.binding::Binding/wrapFunctionCall
> mx.binding::Binding/execute
> mx.binding::BindingManager$/executeBindings
> renderers::targetListRenderer/_targetListRenderer_Label3_i
> renderers::targetListRenderer/_targetListRenderer_Group5_i
> renderers::targetListRenderer/_targetListRenderer_HGroup2_c
> renderers::targetListRenderer/_targetListRenderer_Group4_c
> renderers::targetListRenderer/_targetListRenderer_HGroup1_c
> renderers::targetListRenderer
> mx.core::ClassFactory/newInstance
> spark.components::DataGroup/createRenderer
> spark.components::DataGroup/createVirtualRendererForItem
> spark.components::DataGroup/getVirtualElementAt
> spark.layouts::VerticalLayout/updateDisplayListVirtual
> spark.layouts::VerticalLayout/updateDisplayList
> spark.components.supportClasses::GroupBase/updateDisplayList
> spark.components::DataGroup/updateDisplayList
> mx.core::UIComponent/validateDisplayList
> mx.managers::LayoutManager/validateDisplayList
> mx.managers::LayoutManager/doPhasedInstantiation
> mx.managers::LayoutManager/validateNow
> mx.core::UIComponent/commitCurrentState
> mx.core::UIComponent/setCurrentState
> mx.core::UIComponent/set currentState
> views::RealDealsTabletRealDealsMainView/compClickedHandler
> flash.events::EventDispatcher/dispatchEvent
> mx.core::UIComponent/dispatchEvent
> views::RealDealsTabletRealDealsMainViewInnerClass0/myEventDispatcher
> views::RealDealsTabletRealDealsMainViewInnerClass0/___
> RealDealsTabletRealDealsMainViewInnerClass0_Button1_click
>
>
>
It could be a null pointer 1009. The data property can be set to null
especially when using binding.

Here's a util to debug bindings.
https://github.com/vectorscape/monet/blob/b0ea9d8eec7a8800853e49ac924bb171f72175d9/flex/src/com/velti/monet/utils/BindingDebugger.as

You may want to avoid using mxml for itemRenderers and also avoid using
bindings inside the item renderers all together.


>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Scout-What-does-this-mean-tp14126.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Less athen in MXML

2016-11-04 Thread Clint M


On Fri, Nov 4, 2016 at 9:08 AM, scott matheson  wrote:

> hi
>How to do write  Less than in MXML  i have a head black, to near the
> weekend almost beer time :)
>
> 
>
>


Re: Download Flash Builder 4.7 trial

2016-11-03 Thread Clint M
You could...
Uninstall FB
Install Charles
Start Charles
Install FB
Grab the download url from Charles

On Thu, Nov 3, 2016 at 11:17 AM, mark goldin <markzolo...@gmail.com> wrote:

> No, I need the image to install on another computer. For some reason that
> computer cannot download it.
>
> On Thu, Nov 3, 2016 at 1:10 PM Clint M <cmod...@gmail.com> wrote:
>
> > Uninstall it first… should let you download it again.
> >
> > On Thu, Nov 3, 2016 at 9:59 AM, mark goldin <markzolo...@gmail.com>
> wrote:
> >
> > > I am trying to download it but because I have it installed Creative
> Cloud
> > > is not allowing me to download it again.
> > >
> > > Any idea?
> > >
> > > Thanks
> > >
> >
>


Re: Download Flash Builder 4.7 trial

2016-11-03 Thread Clint M
Uninstall it first… should let you download it again.

On Thu, Nov 3, 2016 at 9:59 AM, mark goldin  wrote:

> I am trying to download it but because I have it installed Creative Cloud
> is not allowing me to download it again.
>
> Any idea?
>
> Thanks
>


Re: Padding above a text in Mobile Air App

2016-11-03 Thread Clint M
There are a lot of factors (more so on mobile devices because of dpi) that
could affect the positioning of the label.

If you can post a small example demonstrating the bug... that would help.

On Thu, Nov 3, 2016 at 9:22 AM, chris_d_k  wrote:

> Sorry... I don't get what you want to say...
>
> There are 2 devices with different font-sizes for each device. The labels
> height ist not set... so measured by flex...
>
> On one device (LG G4C) there is a huge "gap" in the label (top of label to
> to start of the text), on the other there is absolutely no gap
> (XperiaZUltra).
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Padding-above-a-text-in-Mobile-Air-
> App-tp14028p14033.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Padding above a text in Mobile Air App

2016-11-03 Thread Clint M
It is most likely this:
"The font size of text (not the text itself) is scaled to match the
resolution."
http://help.adobe.com/en_US/flex/mobileapps/WS19f279b149e7481c682e5a9412cf5976c17-8000.html

On Thu, Nov 3, 2016 at 7:55 AM, chris_d_k  wrote:

> I have the case that a label has on one device a huge gap above a number (I
> see it when i add some backgroundColor to the label) and on an other device
> there is no gap. Can anyone tell me where the problem could be?
>
>  n14028/Screenshot_2016-11-03-15-57-27.jpg>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Padding-above-a-text-in-Mobile-Air-App-tp14028.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Is AIR 24 Flex SDK available yet? need to test show stopper from Adobe

2016-11-02 Thread Clint M
Technically… there is no such thing as a AIR 24 Flex SDK.

You can unzip/overlay the air 24 sdk into/onto any existing apache flex sdk
to update the air sdk to 24.

Here's some instructions...
https://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html


On Wed, Nov 2, 2016 at 9:20 AM, born2net  wrote:

> So Adobe fixed (hopefully) a MAJOR show stopper with video and Android in
> beta release of AIR 24.
> reference: https://forums.adobe.com/message/9035224#9035224
>
> We would like to test it and let Adobe know if issue has been resolved.
>
> Is AIR 24 Flex SDK available yet? need to test show stopper from Adobe
>
> regards
>
> Sean.
>
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Is-AIR-24-Flex-SDK-available-yet-
> need-to-test-show-stopper-from-Adobe-tp14013.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Help to steer me (please) on a Flash Pro 6 to Flex SDK compiler path

2016-11-01 Thread Clint M
On Tue, Nov 1, 2016 at 3:44 PM,  wrote:

> Thank you @cmodien.
>
> Everything is class-based, starting from the document class of Main.
>
> Not one line of code in the App's timeline;
> though there is some code within the swc-based UI components,
> which *do* come from a .fla file.
>
>
>
> > The mxmlc / compc compilers can only compile .as files not fla files.
>
> So; once moving to the mxmlc / compc compiler;
> I see that I'll need to flatten the UI components FLA file out into .as
> and .bmps/.jpgs, etc.


>
> So, there are no separate tricks for just recompiling the small UI .FLA to
> .swc?
>

If it's small the easiest thing to do is what you mentioned above. Flatten
it out to .as files.

If the assets are marked for export to actionscript you might be able to
get away with embedding the assets like:

[Embed(source='SWFFileName.swf', symbol='symbolName')]

http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60546-7ff2.html


>
> Thanks
>
>
>
>
>
>
>
>
>
>
> --
> Securely sent with Tutanota. Claim your encrypted mailbox today!
> https://tutanota.com
>
> 1. Nov 2016 18:14 by cmod...@gmail.com:
>
>
> > Is/are the root app/s timeline based or does it have a root document
> class?
> > (movieclip or sprite based)
> >
> > The mxmlc / compc compilers can only compile .as files not fla files.
> >
> > If there's a document class you'll be set. You can just point mxmlc at
> the
> > document class + src + lib folders and it'll compile fine.
> >
> >
>


Re: Help to steer me (please) on a Flash Pro 6 to Flex SDK compiler path

2016-11-01 Thread Clint M
Is/are the root app/s timeline based or does it have a root document class?
(movieclip or sprite based)

The mxmlc / compc compilers can only compile .as files not fla files.

If there's a document class you'll be set. You can just point mxmlc at the
document class + src + lib folders and it'll compile fine.

On Tue, Nov 1, 2016 at 2:41 PM,  wrote:

> Hello Folks.
> (I'm a new list user, please be kind :-)
>
> Help to steer me (please) on a Flash Pro 6 to Flex SDK compiler path.
>
> Even -- to let me know where best to ask?
> (I think all of the old Flash mailing lists are gone)
>
> I have a (VERY LARGE) Adobe AIR app.
>
> It is fairly complex; with local mobile-side databases; it syncs to
> web-based databases; has voice-to-text features; camera interfaces;
> just all kinds of stuff.
>
> Chunks of the app functionality is reused in supporting Flash-based
> pages.
>
>   ... I used the Flash cross-platform features to the fullest extent
> possible ;-)
>
> ---
>
> The app is fully built in Adobe Flash Professional 6;
> using pure AS3 Actionscript code -- INCLUDING the setup and
> placement of on screen fields. No MXML.  I tried to stay away from
> FLEX and FLEX SDK ties.
>
>
> There are a couple of SWCS for some UI components; camera and sound
> processing.
>
> ---
>
> **MY QUESTION**
>
> I need to anticipate Adobe pulling the plug on Adobe Flash Pro 6.
>
>   - Adobe Flash Pro HAS to connect to Adobe for licensing.
>
>   - There are also a lot of steps to install Adobe Flash Pro
> and all pieces; so it's tedious to replicate.
>
> I do not want to use Adobe Creative Online.
> (They lost me when they forced a service-based model)
>
> How can I find out the steps, or even if it is possible,
> to replicate the ability to compile my AIR code
> using just the Flex compiler itself?
>
> *I greatly appreciate your help*.
>
> Thank you!
>
> ---
> Securely sent with Tutanota. Claim your encrypted mailbox today!
> https://tutanota.com


Re: Application starts but then shows black screen

2016-11-01 Thread Clint M
you might also want to handle the securityError event

On Tue, Nov 1, 2016 at 9:49 AM, mark goldin <markzolo...@gmail.com> wrote:

> Seems like a reason for the problem might be because of getting too many
> alert.show() going one after another.
> When application starts I am loading some images.
> Here is relevant code:
> private var imageArrayIndex:int = 0;
> public function PreloadImages():void
> {
> imageArrayIndex++;
> var request:URLRequest = new URLRequest("PathToImage");
> var imageLoader:Loader = new Loader();
> var loaderContext:LoaderContext = new LoaderContext();
> loaderContext.checkPolicyFile = true;
> imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> imageLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> imageLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> imageLoader.load(request,loaderContext);
> }
> private function PreloadImage_CompleteHandler(event:Event):void
> {
> imageArray.addItem(event.currentTarget.content.bitmapData);
> // Check to see if there are still images that need to be loaded.
> if (imageArrayIndex < imagesToLoad.length)
> {
> PreloadImages();
> }
> else
> {
> event.target.loader.contentLoaderInfo.removeEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> event.target.loader.contentLoaderInfo.removeEventListener(
> IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> }
> }
> // Called when the Loader we declared in PreloadImages() encountered an
> error trying to load the image.
> private function PreloadImage_ErrorHandler(event:Event):void
> {
> Alert.show(_iconStateName + " could not be loaded.\n\nPlease make sure the
> file exists.");
> // Check to see if there's still images that need to be loaded.
> if (imageArrayIndex < imagesToLoad.length)
> {
> PreloadImages();
> }
> }
> So, if a specific system cannot load images I am going to have a lot of
> alerts because I am loading about 30 files.
> What would you suggest? And why it mostly works? Definitely none of
> computers running it in-house have any problem.
>
> Thanks
>
> On Tue, Nov 1, 2016 at 11:14 AM mark goldin <markzolo...@gmail.com> wrote:
>
> > Great, will try.
> >
> > On Tue, Nov 1, 2016 at 10:48 AM Clint M <cmod...@gmail.com> wrote:
> >
> > Some ideas:
> >
> > - compile the app with -verbose-stacktraces=true
> > - get them to install the debug player… it'll show a dialog when an error
> > occurs
> > - or you could trap the uncaughtErrorEvent and display a message (
> > http://stackoverflow.com/a/6597046/3384609)
> >
> > Sometimes a null pointer in flex's validation methods (updateDisplayList,
> > commitProperties) can cause an app to crash.
> > You can listen for errors on those methods like this.
> >
> > import mx.core.UIComponentGlobals
> > import mx.managers.SystemManagerGlobals
> > import mx.events.DynamicEvent
> >
> > private function app_preinit(event:Event):void {
> >   UIComponentGlobals.catchCallLaterExceptions = true;
> >
> >
> > SystemManagerGlobals.topLevelSystemManagers[0].addEventListener("
> callLaterError",
> > systemManager_callLaterError);
> > }
> >
> > private function systemManager_callLaterError(event:DynamicEvent):void {
> >   Alert.show(event.error.message + "\n" + event.error.getStackTrace());
> > }
> >
> >
> > On Tue, Nov 1, 2016 at 8:11 AM, mark goldin <markzolo...@gmail.com>
> wrote:
> >
> > > We have flex 3 app compiled with 4.13 SDK. in our development
> environment
> > > everything works fine. But on the customer site some users are having
> > > problems running it in IE. The app starts loading showing a progress
> bar
> > > but then the whole screen becomes black. Any idea what that might be?
> Any
> > > debuging suggestions?
> > >
> > > Thanks
> > >
> >
> >
>


Re: Application starts but then shows black screen

2016-11-01 Thread Clint M
What's the actual error in event.text and id in event.id?

On Tue, Nov 1, 2016 at 9:49 AM, mark goldin <markzolo...@gmail.com> wrote:

> Seems like a reason for the problem might be because of getting too many
> alert.show() going one after another.
> When application starts I am loading some images.
> Here is relevant code:
> private var imageArrayIndex:int = 0;
> public function PreloadImages():void
> {
> imageArrayIndex++;
> var request:URLRequest = new URLRequest("PathToImage");
> var imageLoader:Loader = new Loader();
> var loaderContext:LoaderContext = new LoaderContext();
> loaderContext.checkPolicyFile = true;
> imageLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> imageLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> imageLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> imageLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> imageLoader.load(request,loaderContext);
> }
> private function PreloadImage_CompleteHandler(event:Event):void
> {
> imageArray.addItem(event.currentTarget.content.bitmapData);
> // Check to see if there are still images that need to be loaded.
> if (imageArrayIndex < imagesToLoad.length)
> {
> PreloadImages();
> }
> else
> {
> event.target.loader.contentLoaderInfo.removeEventListener(Event.COMPLETE,
> PreloadImage_CompleteHandler);
> event.target.loader.contentLoaderInfo.removeEventListener(
> IOErrorEvent.IO_ERROR,
> PreloadImage_ErrorHandler);
> }
> }
> // Called when the Loader we declared in PreloadImages() encountered an
> error trying to load the image.
> private function PreloadImage_ErrorHandler(event:Event):void
> {
> Alert.show(_iconStateName + " could not be loaded.\n\nPlease make sure the
> file exists.");
> // Check to see if there's still images that need to be loaded.
> if (imageArrayIndex < imagesToLoad.length)
> {
> PreloadImages();
> }
> }
> So, if a specific system cannot load images I am going to have a lot of
> alerts because I am loading about 30 files.
> What would you suggest? And why it mostly works? Definitely none of
> computers running it in-house have any problem.
>
> Thanks
>
> On Tue, Nov 1, 2016 at 11:14 AM mark goldin <markzolo...@gmail.com> wrote:
>
> > Great, will try.
> >
> > On Tue, Nov 1, 2016 at 10:48 AM Clint M <cmod...@gmail.com> wrote:
> >
> > Some ideas:
> >
> > - compile the app with -verbose-stacktraces=true
> > - get them to install the debug player… it'll show a dialog when an error
> > occurs
> > - or you could trap the uncaughtErrorEvent and display a message (
> > http://stackoverflow.com/a/6597046/3384609)
> >
> > Sometimes a null pointer in flex's validation methods (updateDisplayList,
> > commitProperties) can cause an app to crash.
> > You can listen for errors on those methods like this.
> >
> > import mx.core.UIComponentGlobals
> > import mx.managers.SystemManagerGlobals
> > import mx.events.DynamicEvent
> >
> > private function app_preinit(event:Event):void {
> >   UIComponentGlobals.catchCallLaterExceptions = true;
> >
> >
> > SystemManagerGlobals.topLevelSystemManagers[0].addEventListener("
> callLaterError",
> > systemManager_callLaterError);
> > }
> >
> > private function systemManager_callLaterError(event:DynamicEvent):void {
> >   Alert.show(event.error.message + "\n" + event.error.getStackTrace());
> > }
> >
> >
> > On Tue, Nov 1, 2016 at 8:11 AM, mark goldin <markzolo...@gmail.com>
> wrote:
> >
> > > We have flex 3 app compiled with 4.13 SDK. in our development
> environment
> > > everything works fine. But on the customer site some users are having
> > > problems running it in IE. The app starts loading showing a progress
> bar
> > > but then the whole screen becomes black. Any idea what that might be?
> Any
> > > debuging suggestions?
> > >
> > > Thanks
> > >
> >
> >
>


Re: Application starts but then shows black screen

2016-11-01 Thread Clint M
Some ideas:

- compile the app with -verbose-stacktraces=true
- get them to install the debug player… it'll show a dialog when an error
occurs
- or you could trap the uncaughtErrorEvent and display a message (
http://stackoverflow.com/a/6597046/3384609)

Sometimes a null pointer in flex's validation methods (updateDisplayList,
commitProperties) can cause an app to crash.
You can listen for errors on those methods like this.

import mx.core.UIComponentGlobals
import mx.managers.SystemManagerGlobals
import mx.events.DynamicEvent

private function app_preinit(event:Event):void {
  UIComponentGlobals.catchCallLaterExceptions = true;

SystemManagerGlobals.topLevelSystemManagers[0].addEventListener("callLaterError",
systemManager_callLaterError);
}

private function systemManager_callLaterError(event:DynamicEvent):void {
  Alert.show(event.error.message + "\n" + event.error.getStackTrace());
}


On Tue, Nov 1, 2016 at 8:11 AM, mark goldin  wrote:

> We have flex 3 app compiled with 4.13 SDK. in our development environment
> everything works fine. But on the customer site some users are having
> problems running it in IE. The app starts loading showing a progress bar
> but then the whole screen becomes black. Any idea what that might be? Any
> debuging suggestions?
>
> Thanks
>


Re: Do ItemRenderer's get reused across different components?

2016-10-26 Thread Clint M
was able to reproduce... pretty gnarly... assigning a new XMLList with the
same content multiple times yields different tilelayout arrangements.

On Wed, Oct 26, 2016 at 4:33 AM, kamcknig  wrote:

> Test project attached. If you just click each of the buttons multiple
> times,
> as in "set 1" two or three times, then set 2 two or three times, you'll see
> it keeps resetting the width. The width should auto fit to the shortest
> text
> each time.
>
> test.zip
> 
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Do-ItemRenderer-s-get-reused-
> across-different-components-tp13928p13945.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Adobe flex ios application ipa too large when deployed

2016-10-26 Thread Clint M
>> 106Mb which is refused by Apple for publication

I'm not sure that's correct.
http://stackoverflow.com/questions/4753100/max-size-of-an-ios-application


>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Adobe-flex-ios-application-ipa-too-
> large-when-deployed-tp13946.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Updating data for List refreshes entire List and scrolls to the top

2016-10-24 Thread Clint M
Inline below

On Mon, Oct 24, 2016 at 11:53 AM, Kyle McKnight  wrote:

> Hey everyone!
>
> I have a List that has enough items that one must scroll down to see them
> all.
>
> When clicking an item, it updates the data for that ItemRenderer with a
> quantity value.
>

How are you doing that.


>
> When this happens, I'm calling refresh() on the data provider for the List
> but this refreshes then entire List and causes it to scroll back up to the
> top.


Ya don't do that.


> Is there a way to only update the single ItemRenderer whose data
> changed? Or is there some other way around this?
>

It depends on how you're doing it in my first question but generally
something like that would just be handled in the itemRenderer like:

data.quantity = newVal; <-- this will also trigger a collectionChange event
on the lists dataProvider that you could handle

If you're bubbling a click event up and trying to handle it in a controller
then you could do something like:

list.dataProvider[itemRenderer.itemIndex].quantity = newValue;


>
> Thanks!
>
> Kyle McKnight
> Senior UI Engineer - Accesso
> 602.515.1444 (M)
>


Re: Can't get custom component to size down properly

2016-10-18 Thread Clint M
Does this work for you?


http://ns.adobe.com/mxml/2009;
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
width="100%"
height="100%">






On Tue, Oct 18, 2016 at 12:31 PM, kamcknig  wrote:

> I think it has something to do with the fact that I'm setting the
> measuredMinWidth in the measure() method. So when sizing down, it's looking
> at the measuredMinWidth and it can't size it down below that. But if I take
> that out then my app runs forever. And continues to grow in width/height
> non-stop and i have to end the process to get it to stop updating
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Can-t-get-custom-component-to-size-
> down-properly-tp13841p13842.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: disableAutoUpdate

2016-10-18 Thread Clint M
var ac:ArrayCollection = grid.dataProvider as ArrayCollection
if(ac) {
  ac.disableAutoUpdate();
  ac.sort = new Sort();
  ac.sort.fields = ["name"];
  ac.refresh();
  ac.enableAutoUpdate();
}

On Tue, Oct 18, 2016 at 8:47 AM, mark goldin <markzolo...@gmail.com> wrote:

> But how am I going to know that a sort is done and I can enable it?
>
> On Tue, Oct 18, 2016 at 10:42 AM Clint M <cmod...@gmail.com> wrote:
>
> > ya... with enableAutoUpdate()
> >
> > On Tue, Oct 18, 2016 at 8:36 AM, mark goldin <markzolo...@gmail.com>
> > wrote:
> >
> > > when I sort on some columns I
> > > do ArrayCollection(gird.dataProvider).disableAutoUpdate();. Should I
> at
> > > some point enable it back?
> > >
> > > Thanks
> > >
> >
>


Re: disableAutoUpdate

2016-10-18 Thread Clint M
ya... with enableAutoUpdate()

On Tue, Oct 18, 2016 at 8:36 AM, mark goldin  wrote:

> when I sort on some columns I
> do ArrayCollection(gird.dataProvider).disableAutoUpdate();. Should I at
> some point enable it back?
>
> Thanks
>


Re: Error handshaking for timestamp during AIR packaging

2016-10-05 Thread Clint M
Click the Customize Launch button in the export release dialog.

You can click Add Parameter there to add the tsa param there.

http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb527199b6e138eabbcce9-8000.html#WSe4e4b720da9dedb527199b6e138eabbcce9-7fff

On Wed, Oct 5, 2016 at 11:18 AM, Tucsonjhall <jh...@cactusware.com> wrote:

> Thank you much Clint. I have Charles installed on my desktop but not
> running. I do not have Charles installed on my laptop (the second machine
> I'm trying). To be honest, I've never compiled the application using any
> method other than the Flash Builder interface. Is there any setting I might
> be able to modify in Flash Builder UI to accomplish the same thing for
> specifying a different timestamp URI?
>
> On Wed, Oct 5, 2016 at 11:14 AM, Clint M [via Apache Flex Users] <
> ml-node+s246n13744...@n4.nabble.com> wrote:
>
> > Are you running Charles (or some other web proxy) with ssl proxying
> > enabled
> > that subs it's ssl cert for a valid one?
> >
> > As a workaround you can specify -tsa none as a compiler arg.
> >
> > http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d11866
> > 6ade46-7f72.html
> >
> > On Wed, Oct 5, 2016 at 10:57 AM, Tucsonjhall <[hidden email]
> > <http:///user/SendEmail.jtp?type=node=13744=0>> wrote:
> >
> > > All of a sudden after months of not thinking about it, I'm getting the
> > > following error when trying to package my AIR application this morning.
> > >
> > > https://www.dropbox.com/s/0alnytza9poxlsf/error.jpg?dl=0
> > >
> > > Error creating AIR file:Could not generate timestamp: Remote host
> closed
> > > connection during handshake.
> > >
> > > What I've already tried.
> > > 1. Rebooted computer and modem
> > > 2. Tried a different computer tethered to my phone
> > > 3. Verified that I have the latest Java
> > > 4. Based on some other posts temporarily forced Java to only use TLS
> 1.2
> > > (no
> > > change)
> > >
> > > I've not modified Flash Builder in either computer and was able to
> build
> > > and
> > > post earlier today. Since tethering to my phone raises the same error
> > and
> > > that has nothing to do with my ISP, I'm at a loss.
> > >
> > > Any thoughts or suggestions?
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context: http://apache-flex-users.
> > > 246.n4.nabble.com/Error-handshaking-for-timestamp-
> > > during-AIR-packaging-tp13743.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/Error-
> > handshaking-for-timestamp-during-AIR-packaging-tp13743p13744.html
> > To unsubscribe from Error handshaking for timestamp during AIR
> packaging, click
> > here
> > <http://apache-flex-users.246.n4.nabble.com/
> template/NamlServlet.jtp?macro=unsubscribe_by_code=13743=
> SmhhbGxAY2FjdHVzd2FyZS5jb218MTM3NDN8LTE3MTU2NjQyODY=>
> > .
> > NAML
> > <http://apache-flex-users.246.n4.nabble.com/
> template/NamlServlet.jtp?macro=macro_viewer=instant_
> html%21nabble%3Aemail.naml=nabble.naml.namespaces.
> BasicNamespace-nabble.view.web.template.NabbleNamespace-
> nabble.view.web.template.NodeNamespace=
> notify_subscribers%21nabble%3Aemail.naml-instant_emails%
> 21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> >
>
>
>
> --
> John Hall
> jh...@cactusware.com
> http://www.cactusware.com
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Error-handshaking-for-timestamp-
> during-AIR-packaging-tp13743p13745.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Error handshaking for timestamp during AIR packaging

2016-10-05 Thread Clint M
Are you running Charles (or some other web proxy) with ssl proxying enabled
that subs it's ssl cert for a valid one?

As a workaround you can specify -tsa none as a compiler arg.

http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7f72.html

On Wed, Oct 5, 2016 at 10:57 AM, Tucsonjhall  wrote:

> All of a sudden after months of not thinking about it, I'm getting the
> following error when trying to package my AIR application this morning.
>
> https://www.dropbox.com/s/0alnytza9poxlsf/error.jpg?dl=0
>
> Error creating AIR file:Could not generate timestamp: Remote host closed
> connection during handshake.
>
> What I've already tried.
> 1. Rebooted computer and modem
> 2. Tried a different computer tethered to my phone
> 3. Verified that I have the latest Java
> 4. Based on some other posts temporarily forced Java to only use TLS 1.2
> (no
> change)
>
> I've not modified Flash Builder in either computer and was able to build
> and
> post earlier today. Since tethering to my phone raises the same error and
> that has nothing to do with my ISP, I'm at a loss.
>
> Any thoughts or suggestions?
>
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Error-handshaking-for-timestamp-
> during-AIR-packaging-tp13743.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Get mouse coordinates on high speed

2016-10-05 Thread Clint M
I think the simple answer to what you're asking is no.

Try posting the code you're using to draw the curve though.

Someone might spot something to help speed it up.

On Wed, Oct 5, 2016 at 9:57 AM, Maxim Solodovnik 
wrote:

> Hello,
>
> Recently I got request to capture hand drawing from pen device using
> as3 (latest apache flex)
> unfortunately I got ungly results in case drawing is fast
> in case mouse/pen moves slowly I got smooth curve
>
> Is it possible to get mouse coordinates on higher frequency?
>
> --
> WBR
> Maxim aka solomax
>


Re: SDK Installer not running

2016-10-05 Thread Clint M
I can produce that error if I uninstall Adobe AIR. (i.e. if Adobe AIR is
not installed)

Maybe try uninstalling Adobe AIR via the command line:

AdobeAIRInstaller.exe -uninstall

You should see output like:
C:\Users\clint\Downloads>Uninstalling Adobe AIR (all versions)
done

Then try reinstalling AIR.

Then try running the Apache Flex SDK installer again.

Then if that doesn't work maybe try reinstalling the Apache Flex SDK
installer as well.


On Wed, Oct 5, 2016 at 8:19 AM, danishajaib  wrote:

> Thanks for the link, I downloaded and installed AIR, but SDK installer
> still
> show the same error.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/SDK-Installer-not-running-tp13721p13735.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: SDK Installer not running

2016-10-04 Thread Clint M
try this url
https://get.adobe.com/air/download/?installer=Adobe_AIR_23.0_for_Win32=1

On Tue, Oct 4, 2016 at 11:47 AM, danishajaib 
wrote:

> I tried to download Adobe AIR but the download button on
> http://www.adobe.com/go/getair always take me to Adobe's homepage.
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/SDK-Installer-not-running-tp13721p13730.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: SDK Installer not running

2016-10-04 Thread Clint M
I actually experienced this as well on my Mac.  I manually installed Adobe
AIR to work around it. https://get.adobe.com/air/

On Tue, Oct 4, 2016 at 9:22 AM, Alex Harui  wrote:

> Maybe this will help? https://forums.adobe.com/thread/1209430
>
> -Alex
>
> On 10/4/16, 8:36 AM, "danishajaib"  wrote:
>
> >Microsoft Windows 8.1 Pro 64bit
> >
> >
> >
> >--
> >View this message in context:
> >http://apache-flex-users.246.n4.nabble.com/SDK-
> Installer-not-running-t
> >p13721p13726.html
> >Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
>


Re: Flex mobile app - Read other native application storage data

2016-09-26 Thread Clint M
yes... if you know the file system path to the saved data for the other
applications you can access it.

On Sun, Sep 25, 2016 at 11:43 PM, Prabhu Moorthy <
prabu.moor...@symphonysummit.com> wrote:

> Hi,
>
> Is there anyway to read other native applications saved data(like Username,
> Email id) from Flex mobile app?
>
> Thanks & Regards,
> M.Prabhu
>
>
>
> -
> Thanks & Regards,
> M.Prabhu
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Flex-mobile-app-Read-other-native-
> application-storage-data-tp13633.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Hot to get smooth transitions in a flex mobile app

2016-08-27 Thread Clint M
Here's an example that Alex did to get you started with what I mean:
http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html

On Sat, Aug 27, 2016 at 2:56 AM, chris_d_k  wrote:

> Hi,
>
> our flex mobile app is using ViewNavigatorApplication and pure mvc. When we
> change the view in most cases we also load data from the server.
>
> The transistions are using a SlideViewTransition,
> suspendBackgroundProcessing is set to true.
>
> With some views the transitions are very choppy. Are there tricks to avoid
> that?
>
> Kind regards
>
> Christian
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Hot-to-get-smooth-transitions-in-a-
> flex-mobile-app-tp13426.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Hot to get smooth transitions in a flex mobile app

2016-08-27 Thread Clint M
If you run Adobe Scout and set -advanced-telemetry in your compiler options
you can see exactly what is dragging down the frame rate.

My guess is that you're processing the data response (populating classes
with data) while the animation is happening for longer than the framerate
allows.

Flash is single threaded. So if you're executing an ActionScript function
for longer than what your framerate is set to then you'll start pushing out
the current frame. This is called "dropping frames". (1 second / 60fps =
 16 milliseconds <- The amount of time you have on each frame.)

If you're processing data (or executing any ActionScript function) for
longer than 16 milliseconds @ 60 fps you'll prevent the ActionScript that
controls the execution of the animation from executing on the frames it
needs to execute on to look smooth to the human eye.

On Sat, Aug 27, 2016 at 2:56 AM, chris_d_k  wrote:

> Hi,
>
> our flex mobile app is using ViewNavigatorApplication and pure mvc. When we
> change the view in most cases we also load data from the server.
>
> The transistions are using a SlideViewTransition,
> suspendBackgroundProcessing is set to true.
>
> With some views the transitions are very choppy. Are there tricks to avoid
> that?
>
> Kind regards
>
> Christian
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/Hot-to-get-smooth-transitions-in-a-
> flex-mobile-app-tp13426.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: Flex mobile: prevent re-creating view when doing navigator.popView()

2016-08-25 Thread Clint M
http://www.adobe.com/devnet/flex/articles/flex-mobile-development-tips-tricks-pt1.html#articlecontentAdobe_numberedheader

The relevant part is:
"In Flex 4.5, only one View is active at any given time. By default, all
other Views will be destroyed and recreated when needed. This behavior is
controlled by the destructionPolicy property on the View class, which is
set to auto by default. If you set the value of this property to never ,
the View will be cached and hold its state until it is reactivated via a
call to navigator.popView() ."

On Thu, Aug 25, 2016 at 12:20 PM, Christofer Dutz <christofer.d...@c-ware.de
> wrote:

> Hi Clint,
>
>
> thanks for that tip.
>
>
> That sounds as if the view would remain in memory, even if it is "popped"
> from the stack. I would not be expecting that.
>
>
> But I'll give that a try.
>
>
> Chris
>
> 
> Von: Clint M <cmod...@gmail.com>
> Gesendet: Donnerstag, 25. August 2016 15:44:12
> An: users@flex.apache.org
> Betreff: Re: Flex mobile: prevent re-creating view when doing
> navigator.popView()
>
> er… i guess destructionPolicy="never"
>
> On Thu, Aug 25, 2016 at 6:42 AM, Clint M <cmod...@gmail.com> wrote:
>
> > destructionPolicy=”none”
> >
> > http://help.adobe.com/en_US/FlashPlatform/reference/
> actionscript/3/spark/
> > components/View.html#destructionPolicy
> >
> > On Thu, Aug 25, 2016 at 6:03 AM, Christofer Dutz <
> > christofer.d...@c-ware.de> wrote:
> >
> >> Hi,
> >>
> >>
> >> I am working on a little mobile application. Currently I have one view
> >> which is sort of like a shedule-view (Couldn't get the flexlib one to
> >> work). Layouting takes some time so I would like to reduce the number of
> >> times this is done. Currently if I open die view, it layouts for about 2
> >> seconds and all is good then. Now if I select an entry and open the
> details
> >> view and come back using navigator.popView() the layouting is done
> again.
> >>
> >>
> >> Is there a way to prevent this? I always thought the views are like a
> >> stack and as soon as you pop something from the top, the last one below
> is
> >> shown. Not only would the speed up the user experience, but also the
> user
> >> would be in the same position he was when opening the detail view.
> >>
> >>
> >> Chris
> >>
> >
> >
>


Re: Flex mobile: prevent re-creating view when doing navigator.popView()

2016-08-25 Thread Clint M
er… i guess destructionPolicy="never"

On Thu, Aug 25, 2016 at 6:42 AM, Clint M <cmod...@gmail.com> wrote:

> destructionPolicy=”none”
>
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/
> components/View.html#destructionPolicy
>
> On Thu, Aug 25, 2016 at 6:03 AM, Christofer Dutz <
> christofer.d...@c-ware.de> wrote:
>
>> Hi,
>>
>>
>> I am working on a little mobile application. Currently I have one view
>> which is sort of like a shedule-view (Couldn't get the flexlib one to
>> work). Layouting takes some time so I would like to reduce the number of
>> times this is done. Currently if I open die view, it layouts for about 2
>> seconds and all is good then. Now if I select an entry and open the details
>> view and come back using navigator.popView() the layouting is done again.
>>
>>
>> Is there a way to prevent this? I always thought the views are like a
>> stack and as soon as you pop something from the top, the last one below is
>> shown. Not only would the speed up the user experience, but also the user
>> would be in the same position he was when opening the detail view.
>>
>>
>> Chris
>>
>
>


Re: Flex mobile: prevent re-creating view when doing navigator.popView()

2016-08-25 Thread Clint M
destructionPolicy=”none”

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/View.html#destructionPolicy

On Thu, Aug 25, 2016 at 6:03 AM, Christofer Dutz 
wrote:

> Hi,
>
>
> I am working on a little mobile application. Currently I have one view
> which is sort of like a shedule-view (Couldn't get the flexlib one to
> work). Layouting takes some time so I would like to reduce the number of
> times this is done. Currently if I open die view, it layouts for about 2
> seconds and all is good then. Now if I select an entry and open the details
> view and come back using navigator.popView() the layouting is done again.
>
>
> Is there a way to prevent this? I always thought the views are like a
> stack and as soon as you pop something from the top, the last one below is
> shown. Not only would the speed up the user experience, but also the user
> would be in the same position he was when opening the detail view.
>
>
> Chris
>


Re: Flex Mobile App To Desktop App

2016-08-19 Thread Clint M
applicationDPI="{NaN}"

On Fri, Aug 19, 2016 at 5:59 AM, Deepak MS  wrote:

> Yeah, I tried that.
>
> *protected* *function* addedToStageHandler(event:Event):*void*
>
> {
>
> stage.align = StageAlign.TOP_LEFT;
>
> stage.scaleMode = StageScaleMode.NO_SCALE;
>
> }
>
>
> *protected* *function*
> windowedapplication1_windowCompleteHandler(event:AIREvent):*void*
>
>
> {
>
>
>
>
> nativeWindow.width = stage.fullScreenWidth;
>
>
> nativeWindow.height = stage.fullScreenHeight;
>
>
>
> }
> It scales up even bigger:
> http://pasteboard.co/awmrv9D4C.png
>
>
> Clint, Can't set it to NaN, as it expects string or null. I tried both.
>
>
>
> stage.scaleMode = StageScaleMode.NO_SCALE; seems to be okay. Application
> doesn't get scaled in anyway.
>
> Only thing is the width and height of the application \ stage is not
> getting setup properly:
>
> http://pasteboard.co/awwye9fCj.png
>
> On Fri, Aug 19, 2016 at 5:56 PM, Nemi  wrote:
>
> > Did you try scaling your app to fit the screen, then change NativeWindow
> > dimensions so it fits/wraps app ?
> >
> >
> >
> > --
> > View this message in context: http://apache-flex-users.
> > 246.n4.nabble.com/Flex-Mobile-App-To-Desktop-App-tp13344p13351.html
> > Sent from the Apache Flex Users mailing list archive at Nabble.com.
> >
>


  1   2   >