Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
in DateFormat. Harbs On Feb 1, 2014, at 8:10 PM, Christofer Dutz wrote: > Hi Hemadri, > > Thanks for that pointer. Seems to be what I've been looking for. > > How about integrating this functionality into the DateFormat class ... for me > this seems to be the most n

Easy way to remove TLF text cursor?

2014-02-02 Thread Harbs
I might be missing something obvious, but I don't see an easy way to remove a text cursor from TLF text. Setting stage.focus = null prevents input, but you still get the blinking cursor. Doing this on multiple text containers will get you multiple blinking cursors. Any suggestions? Harbs

Re: Easy way to remove TLF text cursor?

2014-02-02 Thread Harbs
I knew this at some point… textFlow.interactionManager.selectRange(-1,-1); On Feb 2, 2014, at 10:45 AM, Harbs wrote: > I might be missing something obvious, but I don't see an easy way to remove a > text cursor from TLF text. > > Setting stage.focus = null prevents input,

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
I just looked at DateField.stringToDate(). It looks like it only supports "M", "D" and "Y". That means it does not support weekdays or any time formatters. I guess I'm going to have to roll my own function… On Feb 1, 2014, at 8:10 PM, Christofer Dutz wrote: > Hi Hemadri, > > Thanks for that p

Re: Easy way to remove TLF text cursor?

2014-02-02 Thread Harbs
Yup. I'm very familiar with TLF. My issue was programmatically removing focus from an editable TextFlow… On Feb 2, 2014, at 3:10 PM, After24 wrote: > Hi Harbs, > > If you need a non-editable TextFlow, you just have to set his interaction > manager to null. > > Vincen

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
27;ll have to look into that... On Feb 2, 2014, at 1:28 PM, Paul Hastings wrote: > On 2/2/2014 4:53 PM, Harbs wrote: >> I just looked at DateField.stringToDate(). >> >> It looks like it only supports "M", "D" and "Y". That means it does not &

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
Thanks. That's much more robust. It might do what I need. Harbs On Feb 3, 2014, at 12:26 AM, Justin Mclean wrote: > Hi, > > You might want to look at parseDateString in DateFormatter. > > Thanks, > Justin

Re: Simple way to parse I18N dates?

2014-02-02 Thread Harbs
FWIW, it might make sense to deprecate the DateField.dateToString() method in favor of the DateFormatter.parseDateString() one. On Feb 3, 2014, at 8:20 AM, Harbs wrote: > Thanks. That's much more robust. It might do what I need. > > Harbs > > On Feb 3, 2014, at 12:26 AM,

Inline IME

2014-02-04 Thread Harbs
I haven't found very much info, but the little I found seems to indicate that inline IME is supposed to be possible. All the tests that I've done have an IME window which draws at the bottom of the screen. Is there a (simple) way to get the IME input to draw inline? Harbs

Re: Inline IME

2014-02-04 Thread Harbs
idget". > > IIRC, you have to enable the IME and make sure that tabEnabled and maybe > tabChildren is set on all parents of the widget. > > -Alex > > On 2/4/14 12:47 AM, "Harbs" wrote: > >> I haven't found very much info, but the little I foun

Re: Inline IME

2014-02-04 Thread Harbs
Yup. This web page is a perfectly good example: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/TextInput.html On Feb 4, 2014, at 7:53 PM, Alex Harui wrote: > Is your test case just a spark TextInput in an app? > > On 2/4/14 9:20 AM, "

Re: [FlexJS] Presenting at the HTML5 Dev Conference

2014-09-11 Thread Harbs
? (probably yes) Maybe some thoughts on the MXML approach vs. HTML/CSS approach? advantages and challenges, etc. What about TypeScript? Do we have advantages over that? What? (and good luck!) Harbs On Sep 11, 2014, at 9:56 PM, OmPrakash Muppirala wrote: > Thanks Alex! > > It would be

Re: Undo Redo management in AIR

2014-09-20 Thread Harbs
a single UndoManager for your whole app if you want to extend it beyond the basic TLF functionality. HTH, Harbs On Sep 20, 2014, at 10:43 PM, Tucsonjhall wrote: > I've been looking at the undoManager and not understanding some basic > principles, obviously. > > Situation, I ha

Re: Decimal to Hex conversion.

2014-09-29 Thread Harbs
I have TOTALLY not read this thread, but does this function do what you want? function toHex(d) { var r = d % 16; var result; if (d-r == 0) result = toChar(r); else result = toHex( (d-r)/16 ) + toChar(r); return result; } function toChar(n) { const alpha =

Re: New Flex product

2014-10-22 Thread Harbs
I took a quick look. Very nicely done! It seems like a great fit for an AIR tablet app as well. On Oct 23, 2014, at 12:05 AM, Scott Matheson wrote: > Hi All > I just want to thank the community for your help from time to time > when I was in my dark places, after 2 years of part time d

Re: Math.pow in ActionScript

2014-11-11 Thread Harbs
ating system in use. Harbs On Nov 11, 2014, at 7:50 PM, Devesh Mishra(NABFS00) wrote: > It's not floating point number. So I don't think so. > > -- > Thanks & Regards, > Devesh Mishra > > -Original Message- > From: Subscriptions [mailto:sub

Re: SVG/SWF to FXG Converter (Win, Mac, Eclipse)

2014-11-13 Thread Harbs
I have an extra Creative Cloud (team) license that I can lend to you while you work on this if you'd like. If you’re interested, send me a private email. Harbs On Nov 13, 2014, at 8:52 AM, Sascha Ahrend wrote: > Unfortunately my Illustrator trial has just expired, maybe you can p

Re: SVG/SWF to FXG Converter (Win, Mac, Eclipse)

2014-11-13 Thread Harbs
Okay. I sent you an email. On Nov 13, 2014, at 6:02 PM, Sascha Ahrend wrote: > I guess this would be in deed pretty helpful. So thank you, Harbs! > > My private email is m...@ahrend.tel <mailto:m...@ahrend.tel> > > I already did a little testing in Inkscape, no joy.

Re: Error #2032: Stream Error

2014-11-13 Thread Harbs
Here’s some suggestions: http://stackoverflow.com/questions/6507461/error-2032-stream-error On Nov 13, 2014, at 5:26 PM, DavidM wrote: > Getting that weird error intermittently during development. > - any pointers to a cure? > > dave > > > > -- > View this message in context: > http://apach

Re: Singleton question

2014-11-14 Thread Harbs
No. That’s wrong. It should be: private static var _instance:ModelLocator; public static function getInstance():ModelLocator { if(! _instance) _instance = new ModelLocator(); return _instance; } (No else, and you need to assign _instance.) On Nov 14, 2014, at 7:23 AM, pkumar.flex wrote:

Re: XMLList - find specific attribute

2014-11-19 Thread Harbs
You need to check for xml.@attr.length() to see if it exists. On Nov 19, 2014, at 11:25 PM, mark goldin wrote: > But I only want to check if both attr1 and attr1 exist. No value is known. > > On Wed, Nov 19, 2014 at 3:15 PM, Alex Harui wrote: > >> I’m not sure your example was valid. If you

Re: XMLList - find specific attribute

2014-11-19 Thread Harbs
I responded before seeing the other responses. So, you have three ways of doing the same thing… ;-) On Nov 20, 2014, at 8:58 AM, Harbs wrote: > You need to check for xml.@attr.length() to see if it exists. > > On Nov 19, 2014, at 11:25 PM, mark goldin wrote: > >> But I onl

Re: [ANNOUNCE] Apache Flex Tour De Flex 1.2

2014-12-01 Thread Harbs
You can use an mx tree. If you want to stick to Spark, there’s a couple of spark-olny implementations. I use this one: https://github.com/kachurovskiy/Spark-Tree On Dec 1, 2014, at 11:20 AM, Fred Brunton wrote: > No, thanks for asking. It's modeling software. The model is build by > creating

Blurry AIR App on Retina

2014-12-10 Thread Harbs
. Is there some setting that I’m missing to make things look smooth? Thanks, Harbs

Re: Blurry AIR App on Retina

2014-12-10 Thread Harbs
Never mind, I found it: high On Dec 10, 2014, at 11:53 PM, Harbs wrote: > I have not tried compiling an AIR desktop app in some time. I just put > together an AIR app (using Flex 4.12), and when I debug it, everything looks > fine, but when I compile the app and run the dep

Re: Blurry AIR App on Retina

2014-12-10 Thread Harbs
BTW, does anyone know why the default is “standard”? Why would you not want it to always be “high”? On Dec 11, 2014, at 12:16 AM, Harbs wrote: > Never mind, I found it: > > >high > > > On Dec 10, 2014, at 11:53 PM, Harbs wrote: > >> I have not tried c

Re: Blurry AIR App on Retina

2014-12-10 Thread Harbs
Interesting. Where did you see that tidbit? I spent a bit of googling, and I could not find an references that actually explain what the setting does. On Dec 11, 2014, at 9:11 AM, Seth. wrote: > because "high" always require more GPU > > On Thu, Dec 11, 2014 at 3:

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
Do you have a reference for that? How much more GPU? Most desktop AIR apps are not very GPU intensive. On Dec 11, 2014, at 9:11 AM, Seth. wrote: > because "high" always require more GPU > > On Thu, Dec 11, 2014 at 3:56 AM, Harbs wrote: > >> BTW, does anyone know

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
n the article > > On Thu, Dec 11, 2014 at 4:00 PM, Harbs wrote: > >> Do you have a reference for that? How much more GPU? >> >> Most desktop AIR apps are not very GPU intensive. >> >> On Dec 11, 2014, at 9:11 AM, Seth. wrote: >> >>> beca

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
I have no idea why. Even text was blurry in the app I built. Searching the web brought up very few results. You’d think something like this would have an awful lot of hits… On Dec 11, 2014, at 7:38 PM, OmPrakash Muppirala wrote: > It seems like not a lot of folks have run into this issue.

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
dering if we messed up something.. > > Thanks, > Om > > On Thu, Dec 11, 2014 at 10:06 AM, Harbs wrote: >> >> I have no idea why. >> >> Even text was blurry in the app I built. >> >> Searching the web brought up very few results. You’d thi

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
/emj93lumi6s06m7/BlurryTest.zip?dl=0 On Dec 11, 2014, at 8:10 PM, OmPrakash Muppirala wrote: > Can you try with an earlier version of the Flex SDK (4.13 or 4.12) ? I am > wondering if we messed up something.. > > Thanks, > Om > > On Thu, Dec 11, 2014 at 10:06 AM, Harbs wrote: >

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
gt; the one from the AIR kit, but first I want to make sure that this is truly > the root of the problem, and that it won’t be gpu/cpu intensive to default > to rendering times as many pixels. > > -Alex > > > On 12/11/14, 10:25 AM, "Harbs" wrote: > >>

Re: Blurry AIR App on Retina

2014-12-11 Thread Harbs
thinking about it more, I can see how, if the > app generates bitmaps and chooses anti-aliasing values based on low-res, > when scaled, those choices will be more apparent. > > -Alex > > On 12/11/14, 11:55 AM, "Harbs" wrote: > >> When I debug the app, it looks

Re: Blurry AIR App on Retina

2014-12-12 Thread Harbs
Of course that begs the question: why did Adobe not make high the default? On Dec 12, 2014, at 7:00 AM, Alex Harui wrote: > I asked on an internal list. The one person who responded said it should > be safe to set to high. > > -Alex > > On 12/11/14, 1:26 PM, "Harbs&

Re: [4.14] Help wanted: test new TLF version (now with tables!)

2014-12-17 Thread Harbs
Yes. Please. If you do find something broken, small test cases would be very helpful in getting it fixed. Thanks, Harbs On Dec 17, 2014, at 1:06 PM, Erik de Bruin wrote: > Hi, > > For the upcoming 4.14 release we hope to include an update to TLF that > adds support for tables. T

Re: TLF and images

2014-12-18 Thread Harbs
Can you create a JIRA issue with a sample app which shows the problem?[1] On Dec 18, 2014, at 5:38 PM, Miguel Ferreira wrote: > Neverthless the image problem is not fixed i saw that the > InlineGraphicElement did not load the image i will search what i need to do > to load it. > I installed t

Re: find and replace strings in TextFlow class

2015-01-06 Thread Harbs
1. Determine the location of the text within the string that you want to replace. 2. Determine the end location. 3. Create a SelectionState with those values as anchor and active positions. 4. Use EditManager.insertText() and supply the new text string and selection state. Harbs On Jan 6, 2015

Re: [4.14] help wanted: localisation of Installer string

2015-01-21 Thread Harbs
It’s just this one string: >> "Note: the use of the FlatSpark skin and components requires embedded font >> support." On Jan 19, 2015, at 4:13 PM, Angelo Lazzari wrote: > i can translate es_ES where i can find the strings? > > Thanks > Angelo > > Il giorno Mon Jan 19 2015 at 14:51:41 Ulrich An

Re: TLF tables examples

2015-02-15 Thread Harbs
ary 13, 2015 11:18 PM > To: > Subject: Re: TLF tables examples > >> Hi Lane, >> >> Draft of the documentation provided by Harbs and Jude: >> https://docs.google.com/document/d/1sT0IAiMfIOBVgmo8wwF6ZZviuNFcW2bUfQoj0zDmSog >> >> Some sample ap

Re: Future of Flex technology

2013-02-28 Thread Harbs
L /JS support is a longer term goal. I've never seen any indication to cause your concerns. Harbs On Feb 28, 2013, at 10:05 AM, Terry Corbet wrote: > Why is it that you fail to see that each time you advertize your rush to > cross-compiling MXML to HTML/CSS/Javascript and neve

Re: Future of Flex technology

2013-02-28 Thread Harbs
On Feb 28, 2013, at 5:20 PM, Alain Ekambi wrote: > For whatever reason people dont think Flex when they think mobile. Bad marketing at Adobe. Nothing more, nothing less. Most people think it will not even run under iOS. I think it's our job to tell the world that Flex IS relevant on mobile, an

Re: Future of Flex technology

2013-02-28 Thread Harbs
Great story! On Feb 28, 2013, at 5:56 PM, Fréderic Cox wrote: > At the company I work we have a sales application that runs on Mac + Win + > iPad, it could even run on an Android tablet. And it is the same code .. > That is what I call flexible. It works great for us and I know it works > great f

Re: Flex Cards Components Tutorial or example

2013-03-09 Thread Harbs
http://code.google.com/p/mad-components/downloads/list Or here: http://code.google.com/p/mad-components/source/checkout On Mar 9, 2013, at 3:10 AM, Franca Daniel wrote: > Hi,, > > Where we can download MC3D ? > > > > De: Greg Huddleston > Para: "users@flex.a

Re: launching natives app from flex

2013-03-13 Thread Harbs
It depends how you are deploying. If you are deploying using AIR, take a look at NativeProcess. Harbs On Mar 13, 2013, at 12:23 PM, DUTOURON FRANCK wrote: > Hello, how can i launch program's from adobe flex ? what command ? > > in advance thanks

[TLF] User Error or Bug?

2013-03-14 Thread Harbs
I have a custom TLF container which sometimes has the width constrained. The width sometimes expands a little beyond the constrained boundaries while typing. (up to 10 pixels or so) It only happens on words that don't quite break. INstead of being moved to the next line, the container expands.

Re: [TLF] User Error or Bug?

2013-03-14 Thread Harbs
ent.RESIZE)); } } The width is wider than what I specified in controller.setCompositionSize(value,controller.compositionHeight); On Mar 15, 2013, at 12:27 AM, Alex Harui wrote: > > > > On 3/14/13 3:19 PM, "Harbs" wrote: > >

Re: [TLF] User Error or Bug?

2013-03-14 Thread Harbs
Maybe > getContentBounds reflects that temporary state. If you look at > RichEditableText.as, there might be code that tackles that issue. > > > On 3/14/13 3:36 PM, "Harbs" wrote: > >> I was not very clearŠ ;-) >> >> I'm setti

Re: Limit Blendmode to 1 layer

2013-09-01 Thread Harbs
Do you mean something like the image cropping mechanism here? https://printui.com/web-to-print-demo-step-1.php It works with a rectangle mask with a hole punched out of it. It's redrawn every time updateDisplayList is called. As you can see, performance is fine… Harbs On Sep 1, 2013, at

Re: Limit Blendmode to 1 layer

2013-09-01 Thread Harbs
To(p2.x,p2.y); g.lineTo(p3.x,p3.y); g.lineTo(p4.x,p4.y); g.lineTo(p1.x,p1.y); // draw your outside rect g.drawRect(0,0,width,height); g.endFill(); On Sep 1, 2013, at 2:34 PM, Harbs wrote: > Do you mean something like the image cropping mechanism here? > https://printui.com/web-to-print-demo

Re: Limit Blendmode to 1 layer

2013-09-01 Thread Harbs
Sorry, but I wrote that backwards. First you draw the outside rect and then the inside one… On Sep 1, 2013, at 2:39 PM, Harbs wrote: > The drawing is not very difficult. You'd do something like this: > > //given four points for your inside rectangle and assuming that your outside

Re: Improve spark List performance

2013-09-03 Thread Harbs
at way you can simulate them being added and removed and have things reflow properly. You'll have to set gap to 0 and you might need to play around with spacers as well for this to work. HTH, Harbs On Sep 3, 2013, at 4:40 PM, Peter Ent wrote: > Each time the itemRenderer's data is

Re: Improve spark List performance

2013-09-03 Thread Harbs
placement and how many objects before its placement are visible.) That way all the built-in layout calculations should not be needed. On Sep 3, 2013, at 7:01 PM, Alex Harui wrote: > > > On 9/3/13 7:15 AM, "Harbs" wrote: > >> To expand on Peter's response: &

Re: Improve spark List performance

2013-09-04 Thread Harbs
Wow. Sounds very painful… ;-) On Sep 4, 2013, at 2:16 AM, Alex Harui wrote: > and I've seen folks put a DataGrid in a renderer.

Re: Displaying HTML content in AIR

2013-09-09 Thread Harbs
downloads properly… HTH, Harbs On Sep 9, 2013, at 10:12 PM, Philip Medlam wrote: > Hi I have added an FXP project (this is a Flex example) via the link > > I wrote it in FB 4.6 > Air 3.7 > Flex SDK 4.9.1 > > Simply allows you to navigate to any website. > Tested on a Ma

Re: backends - parse/backendless/roll your own

2013-09-09 Thread Harbs
ustom event… Harbs On Aug 8, 2013, at 8:40 PM, OmPrakash Muppirala wrote: > Have you tried the as3httpclient library? [1] > > Thanks, > Om > > [1] https://github.com/gabriel/as3httpclient/blob/master/EXAMPLES.md

Re: backends - parse/backendless/roll your own

2013-09-09 Thread Harbs
Yup. HTTPService is nice for basic stuff, but if you need anything more complex (like handling binary data), it falls short. On Aug 27, 2013, at 4:11 AM, Jerry Hamby wrote: > Instead of using HTTPService, I had to use URLRequest.

Popup blocking issue

2015-05-22 Thread Harbs
DropDownList seem to allow browser windows to be opened without being blocked. Anyone have suggestions here? Harbs

Re: Popup blocking issue

2015-05-22 Thread Harbs
On May 22, 2015, at 2:29 PM, Jeffry Houser wrote: > > I think I'm missing some context Probably. Details below: > > On 5/22/2015 4:56 AM, Harbs wrote: >> I have a spark DropDownList, and some of the items need to open a separate >> browser window. > > Y

Re: Popup blocking issue

2015-05-22 Thread Harbs
> Now I have no idea why that works A lot of this stuff feels like black magic… ;-) I’m thinking that I’m going to go with the Flash-popup-and-click-to-open-browser-window approach… Harbs

Re: Welcome Joseph Labrecque as Apache Flex committer

2015-08-18 Thread Harbs
Welcome aboard! Harbs

Re: AIR seems to be more alive than we think ;-)

2015-09-02 Thread Harbs
Where do you get this widget? On Sep 2, 2015, at 10:21 AM, Christofer Dutz wrote: > Hi Guys, > > > I stumbled over something interesting yesterday, that I think is worthy to > share :-) > > > For my presentations I'm always looking for some proof of people still using > Flash and Air even

Re: StageWebView not able to understand Http 307 Responses?

2015-09-11 Thread Harbs
case "202": // do something else break; } } Harbs On Sep 11, 2015, at 1:52 PM, Christofer Dutz wrote: > Hi Maxim, > > the problem is not authenticating against G+ fr

Re: FlexJS: migration tutorial

2015-10-21 Thread Harbs
HI Dolly, Good to see you here! (I do know you, right?) Great to see you interested in FlexJS! Harbs On Oct 21, 2015, at 4:53 PM, Dolly wrote: > Documents which explain how FlexJs is different from standard flex; how > Model/view/Controller interact; who dispatches viewChanged event

Re: FlexJS: Desktop Application creation using FlexJS & AIR

2015-11-05 Thread Harbs
If someone has the bandwidth to look into it, using CEF is probably a really good way to go.[1] [1]https://bitbucket.org/chromiumembedded/cef On Nov 5, 2015, at 3:23 PM, pkumar.flex wrote: > Using flexJs 0.0.2, i can compile flex application to JS but is there any > tool or way to package it f

Re: FlexJS: Desktop Application creation using FlexJS & AIR

2015-11-05 Thread Harbs
ons? They > are better than AIR because newer embedded browser? > > On Thursday, November 5, 2015, Harbs wrote: > >> If someone has the bandwidth to look into it, using CEF is probably a >> really good way to go.[1] >> >> [1]https://bitbucket.org/chromiumembedde

Re: spark TextInput selectedRange not work correctly

2015-11-10 Thread Harbs
Do you have a sample app that we could run to see this problem? On Nov 11, 2015, at 8:27 AM, pol2095 wrote: > the bug occur on windows, not with the mobile theme. > > > > -- > View this message in context: > http://apache-flex-users.246.n4.nabble.com/spark-TextInput-selectedRange-not-wor

Re: ColumnSeries width issue

2015-11-10 Thread Harbs
It does not look like anything has been done. It seems like the fix should be relatively easy. Why don’t you try and see if you can fix it? Harbs On Nov 11, 2015, at 7:57 AM, Deepak MS wrote: > Hi there, > I have a columnchart with columseries and a list which displays type of > ch

Re: spark TextInput selectedRange not work correctly

2015-11-11 Thread Harbs
mx TextInout or spark TextInput? You can try logging the bug in JIRA: https://issues.apache.org/jira/browse/FLEX On Nov 11, 2015, at 12:15 PM, pol2095 wrote: > you can test the problem at http://pol2095.free.fr/TextInput_selectRange/ > > > I a

Re: spark TextInput selectedRange not work correctly

2015-11-12 Thread Harbs
If there is a bug, you should log it in JIRA with sample code which illustrates the problem. Thanks, Harbs On Nov 11, 2015, at 10:54 PM, pol2095 wrote: > I find a workaround > > > > > > -- > View this message in context: > http://apache-flex-users.246.n4

Re: Next Flex SDK release

2015-11-18 Thread Harbs
Is this an AIR problem or a Flex problem? On Nov 18, 2015, at 9:14 PM, cgaviria wrote: > I would suggest fixing issues with StageVideo, and just video playback itself > for Android and iOS. I have an app I've written that uses video playback and > works fine in Android, but not in iOS (I've trie

Re: Getting user's locale settings

2015-12-02 Thread Harbs
In AIR you could use Capabilities.languages In Flash you have Capabilities.language, but that’s not as good. On Dec 2, 2015, at 9:32 PM, mark goldin wrote: > Is it possible to get into a Flex application user's locale settings such > as a current OS's language? > > Thanks

Re: Drag file from windows and drop into flex application

2015-12-10 Thread Harbs
That’s my perspective as well. $600 per developer for their component library is more than reasonable. Harbs On Dec 10, 2015, at 11:43 AM, OK wrote: >> Unfortunately, Ardisia is not free or open-source. > From my perspective the licence fee is more than fair and also includes the

Re: Undo and redo in TLF

2016-01-24 Thread Harbs
Jude, Can you test this against different Flex builds? I wonder if there was some side effect of TLF changes. FWIW, redo works for me in the current build using raw TLF, but I have not tried with Spark components. On Jan 16, 2016, at 3:22 AM, jude wrote: > I remember it working in previous v

Re: How to assign tabs to a Spark RichtText with TextLayoutFramework

2016-02-03 Thread Harbs
Tab stops can be set in two ways: Shorthand and explicitly. Shorthand would be something like this: format.tabStops ="s150 s250 s550"; explicitly would be something like this: var stops:Array = []; var stop:TabStopFormat; stop = new TabStopFormat(); stop.position = 150; stop.alignment = TabAlign

Re: Undo and redo in TLF

2016-03-13 Thread Harbs
ndo and CMD+SHIFT+Z for Redo. Does anyone > else recall this it working with this key combination? > > On Tue, Jan 26, 2016 at 12:54 PM, jude wrote: > >> Yeah, I'll come up with some more test cases. >> On Jan 24, 2016 1:44 AM, "Harbs" wrote: >> >

Re: Undo and redo in TLF

2016-03-18 Thread Harbs
s not hitting it because it's checking for lowercase z. The shift key > makes it uppercase so we need to check for character code 90 too. > > The following code in the EditManager class at line 307 adds a test for > case 90. http://pastebin.com/gwP1WiAj > > > On Sun, Mar 13,

Re: Responsive design needs for FlexJS HTML output

2016-04-12 Thread Harbs
HI Dhwani, It’s possible to build an SDK from source, but I always forget the details. If noone else chimes in, I’ll see if I can figure it out again. On Apr 13, 2016, at 2:31 AM, dhwanishah85 wrote: > I forgot to mention that i need to test BrowserResizeListener bead which is > not resolved t

Re: Responsive design needs for FlexJS HTML output

2016-04-12 Thread Harbs
ink Dhwani just needs to install the nightly as Om said. > > Instructions for setting up the SDK from source are here [1]. And if it > doesn't work, please let us know. > > -Alex > > [1] https://cwiki.apache.org/confluence/display/FLEX/FlexJS+Developer+Setup >

Re: [Non-DoD Source] Filtering XML doc

2016-04-18 Thread Harbs
var myXMLList:XMLList = myXml..Book; On Apr 18, 2016, at 7:50 PM, mark goldin wrote: > var myXml:XML = > > > > > > > > > > >

Re: [Non-DoD Source] Filtering XML doc

2016-04-18 Thread Harbs
;>> No such variable @id >>>> >>>> >>>> On Mon, Apr 18, 2016 at 1:55 PM mark goldin >>> wrote: >>>> >>>>> I am trying and it's not returning anything >>>>> >>>>> >>>>> On Mon, Apr

Re: [Non-DoD Source] Filtering XML doc

2016-04-18 Thread Harbs
t;>> >>>>>> ; >>>>>> >>>>>> var xl:XMLList=elementsList..*.(@id=="hello"); >>>>>> >>>>>> I am getting an error: >>>>>> >>>>>> No such variable @id

Re: [Non-DoD Source] Filtering XML doc

2016-04-18 Thread Harbs
t; > ; > > elementsList..node.(@id=="hello") // Fails with the error > > On Mon, Apr 18, 2016 at 3:51 PM Harbs wrote: > >> Please post some more complete code. >> >> On Apr 18, 2016, at 11:33 PM, mark goldin wrote: >> >>> This comma

FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
Does anyone know if there’s a way to get FDT to not flag JQuery expressions with “could not resolve variable” and "Maybe invoke a non function” warnings?

Re: FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
roblem And yes, js/libs/jquery.swc is included. If I remove it, I get an error that “$” is not defined instead of a warning. On Apr 21, 2016, at 1:39 AM, Alex Harui wrote: > > > On 4/20/16, 3:34 PM, "Harbs" wrote: > >> Does anyone know if there’s a way to g

Re: FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
other compiler options to > not actually do the "as" test in the JS output. > > Good luck, > -Alex > > > On 4/20/16, 3:46 PM, "Harbs" wrote: > >> Here’s an example: >> $("#topcoat").attr("href", "css/topc

Re: FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
ch > for it. > > -Alex > > On 4/20/16, 4:13 PM, "Harbs" wrote: > >> Replacing “$” with “jQuery” makes the warnings go away. Why would “$” be >> different than “jQuery”? It sounds to me like a bug in the definitions. >> >> jQuery always returns a J

Re: FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
Yes. On Apr 21, 2016, at 2:46 AM, OmPrakash Muppirala wrote: > Are you using the jquery.swc from the externs file

Re: FlexJS, JQuery and FDT

2016-04-20 Thread Harbs
are looking for? > : flex-falcon\externs\jquery\externs\jquery-1.9.js > > Thanks, > Om > > On Wed, Apr 20, 2016 at 11:21 PM, Harbs wrote: > >> I’m looking for where the jQuery definitions are and I can’t seem to find >> it. >> >> On Apr 21, 2016, a

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
ern files for similar usage. > > > -Alex > > > > On 4/20/16, 11:36 PM, "Harbs" wrote: > >> Yes. I was looking in asjs instead of falcon… >> >> I’ve never done typdefs before. Does this look right? >> >> /** >> * @const >&

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
FWIW, I just tried this, and the swc was not as well defined. Not sure why… On Apr 21, 2016, at 2:46 AM, OmPrakash Muppirala wrote: > or are you using the > dts2as tool to create one from a definitely typed definition file

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
Bah. .gitignore has this entry: externs/jquery/externs Is there any way to make this change and have it “stick” in the repo? On Apr 21, 2016, at 10:00 AM, Harbs wrote: > OK. I’ll make that change. I don’t have time to test today, so I’ll see what > happens in the next nightly… > &g

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
o these kinds of changes with Ant replace and replaceregex in the > build.xml. See the top-level build.xml and the externc.js.swc target. > > -Alex > > On 4/21/16, 12:04 AM, "Harbs" wrote: > >> Bah. .gitignore has this entry: externs/jquery/externs >> &

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
'll replicate the changes. > I just replicated the nodejs changes ... was quite an effort, but now I'm > back on track ... at least with that one ... > > Chris > > ____ > Von: Harbs > Gesendet: Donnerstag, 21. April 2016 11:48 >

Re: FlexJS, JQuery and FDT

2016-04-21 Thread Harbs
7;m completely stuck with the JS externs no longer generating :-( > > Chris > > ____ > Von: Harbs > Gesendet: Donnerstag, 21. April 2016 12:40 > An: users@flex.apache.org > Betreff: Re: FlexJS, JQuery and FDT > > OK. Would it be

Re: Flex JS

2016-04-21 Thread Harbs
Take a look at this: https://github.com/matrix3d/spriteflexjs On Apr 21, 2016, at 6:48 PM, Bruce wrote: > I see now that the project was sadly absorbed and cannibalized > by Away3D Foundation. > > > > -- > View this message in context: > http:/

Re: XML filtering

2016-04-21 Thread Harbs
You are not losing the hierarchy. XMLList is simply a list of the XML elements (kind of like an array). The original XML is not altered. You can walk the elements and find their parents and children. If you need new XML with only certain elements, you need to construct it (or destruct it) yours

Re: XML filtering

2016-04-21 Thread Harbs
ing original XML. What I want is reduce it on a > filter but preserve all the nested structure. > > On Thu, Apr 21, 2016 at 2:17 PM Harbs wrote: > >> You are not losing the hierarchy. XMLList is simply a list of the XML >> elements (kind of like an array). The original

Re: Thanks to the Team

2016-04-21 Thread Harbs
https://www.facebook.com/ApacheFlexSDK Harbs On Apr 22, 2016, at 7:00 AM, Lou wrote: > Yes. I've been pondering community outreach strategies myself. IMO the > showcase gallery is already very impressive (provided it hasn't accumulated > broken links). So I've been

Re: How to properly create a deep copy of XMLList

2016-04-22 Thread Harbs
var _copyXML:XML = orginalXML.copy(); http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/XML.html#copy%28%29 The same for XMLList: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/XMLList.html#copy%28%29 On Apr 22, 2016, at 6:11 PM, mark goldin wrote: > I am u

  1   2   >