Re: Where to report Bugs? Flex SDK vs. Air SDK

2013-12-01 Thread Alex Harui
Ideally, you would create a test case in an ActionScript-only Project (no Flex classes). If you can reproduce the problem there, then file it against AIR, otherwise file against Apache Flex. That can be hard and time consuming. You can ask on the mailing list and folks may be able to help you fi

Re: IE 9 issue

2013-12-02 Thread Alex Harui
No idea. Maybe some sort of DOCTYPE is required. On 12/2/13 4:13 AM, "jfb" wrote: >Alex, >In the cfm file I removed the first line: >"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > >I put this line back and now it works fine in IE, any explanation? >Thanks! > > > >-- >View this me

Re: Korean text not displayed in spark Label

2013-12-02 Thread Alex Harui
Can Native apps display Korean on those devices? If so, what font do they use? On 12/2/13 10:06 PM, "FlexForever" wrote: >I just submitted a bug: >https://issues.apache.org/jira/browse/FLEX-33973 > >This is quite a big issue for my Apps as one of my main market is Korea. >As >I mentioned in the

Re: Korean text not displayed in spark Label

2013-12-03 Thread Alex Harui
Are you using Spark or MX Buttons and Labels? On 12/3/13 1:13 AM, "FlexForever" wrote: >Yes, native apps can use these fonts. I am not sure what exact font names. >Seems that Nexus devices use NanumGothic but for Samsung, this fontFamily >doesnt work. > >I have only problems with Korean. All oth

Re: Frustration with FB 4.7

2013-12-03 Thread Alex Harui
I think this may be a class path or Java versioning problem. What OS and version of Java is on your computer? On 12/3/13 12:53 PM, "mark goldin" wrote: >Done that. > > >On Tue, Dec 3, 2013 at 2:39 PM, piotr.zarzycki >wrote: > >> Hi Mark. >> >> Try to increase amount of memory in FlashBuilder.in

Re: Frustration with FB 4.7

2013-12-03 Thread Alex Harui
Sometimes, longer >and >then starts throwing these errors and FB slowly dies. > > >On Tue, Dec 3, 2013 at 2:59 PM, mark goldin wrote: > >> Windows 7. *Version 7 Update 45* >> >> >> On Tue, Dec 3, 2013 at 2:57 PM, Alex Harui wrote: >> >>&

Re: main app blur disappears when using Alert.show() from modal TitleWindow

2013-12-04 Thread Alex Harui
File a bug with a simple test case. On 12/4/13 7:24 AM, "modjkl...@comcast.net" wrote: >Opening a modal Titlewindow blurs the main application slightly. If you >then issue an Alert.show(), when the Alert.show() popup closes, it takes >away the blur in the main application. > >Since anyone using

Re: SkinnablePopupContainer.open() -> close() -> increases System.privateMemory

2013-12-06 Thread Alex Harui
Also, System.gc() doesn't work on production Flash Players. On 12/6/13 1:36 AM, "Justin Mclean" wrote: >Hi, > >> seems to work when i call gc() on close > >You're assuming that memory is garbage collected frequently rather then >when required and that may not be the case. You're better off using

Re: SkinnablePopupContainer.open() -> close() -> increases System.privateMemory

2013-12-06 Thread Alex Harui
FlashPlayer GC is "opportunistic". It doesn't run as a background task. It generally runs at the end of some frames and before it has to allocate new pages of memory. Also, FP memory is supposedly never condensed when fragmented so a simple test of opening and closing a dialog several times may s

Re: error overriding mx_internal method setSelectedIndex()

2013-12-06 Thread Alex Harui
Pretty sure in 4.11 that method became public. On 12/6/13 7:35 AM, "modjkl...@comcast.net" wrote: >I'm trying to adopt the source code from here > >http://flexponential.com/2010/01/31/spark-dropdownlist-equivalent-of-the-h >tml-optgroup-concept/ > >to disable some items in a drop down list. In t

Re: Korean text not displayed in spark Label

2013-12-08 Thread Alex Harui
Without any other CSS specified like fontFamily, I think the application will choose Arial (or maybe Verdana). -Alex On 12/8/13 2:48 AM, "FlexForever" wrote: >I am on mobile so I use Spark Label. The error is easy to reproduce: > > >http://ns.adobe.com/mxml/2009"; >backgroundColor="white" xmlns

Re: Version 4.12 of Apache Flex

2013-12-09 Thread Alex Harui
Yes, it cannot be done as fast as the player code. And also, it is often backwards from what you want. The references pinning an object in memory is not the calls to addEventListener on that object, but the addEventListener calls that object made to other objects. Remember: foo.addEventListener(

Re: Version 4.12 of Apache Flex

2013-12-09 Thread Alex Harui
True, but in the five minutes I've spent thinking about this, I'm thinking this is for listeners added by a developer's AS code, not by code generated by MXML or by the framework, and it will be up to the developer to be disciplined enough to use it. So, if instead of writing: foo.addEventListener

Re: Korean text not displayed in spark Label

2013-12-10 Thread Alex Harui
Let's see if we can solve Label first. I just realized that Label is probably still using the FTE text engine but Buttons and List are not. There might be an issue with the way AIR chooses fonts for FTE. Try setting fontFamily on the Label to the name of the korean font. -Alex On 12/10/13 6:07

Re: Korean text not displayed in spark Label

2013-12-10 Thread Alex Harui
Are you sure NamunGothic is installed on the Samsung devices? Try using flash.text.Font.enumerateFonts(true) to see what fonts are available. Another thing to try would be to use spark.components.supportClasses.StyleableTextField instead of Label. -Alex On 12/10/13 8:17 PM, "FlexForever" wrote

Re: flex mobile get device font size

2013-12-10 Thread Alex Harui
There is a default fontSize style in the framework's defaults.css On 12/10/13 8:55 PM, "csumudu" wrote: >when we create a label control and add it to display list without any >styles >there is a default font size applied to the label, how does flex set that. > > > > > >-- >View this message in

Re: Korean text not displayed in spark Label

2013-12-11 Thread Alex Harui
I'm pretty sure by default, right-to-left text is not supported in mobile. The mobile themes use TextField for memory and performance reasons which does not support right-to-left text. Your test case is still not specifying a font. The default font I believe is Arial. So what this test may just

Re: Resizable TitleWindow and TileGroup

2013-12-12 Thread Alex Harui
If you are using % width/height, the measuredWidth/Height also becomes the minWidth/minHeight which can prevent shrinking. On 12/12/13 11:59 AM, "mark goldin" wrote: >I have a TitleWindow that is resizable. Inside of it I have a TileGroup >with a single dataGrid. Looks like when I resize the Tit

Re: Resizable TitleWindow and TileGroup

2013-12-12 Thread Alex Harui
t; DataGrid > >The same thing works fine without TileGroup. I tried to replace %% with >real numbers. Did not work either. > > >On Thu, Dec 12, 2013 at 3:57 PM, Alex Harui wrote: > >> If you are using % width/height, the measuredWidth/Height also becomes >>th

Re: a little help for using apache flex

2013-12-12 Thread Alex Harui
What version of Flex 4? ArrayList should be documented so you may need to ask flash develop folks about why it isn't hinting for you. -Alex On 12/12/13 7:05 PM, "SecCheng" wrote: >when i use List component in a Flex4 project,i find that apache flex has >added some new implementors(ArrayList an

Re: Resizable TitleWindow and TileGroup

2013-12-13 Thread Alex Harui
egroup to adjust its >measurements? Please give me some ideas. > >Thanks > > >On Thu, Dec 12, 2013 at 10:14 PM, Alex Harui wrote: > >> If you replace TileGroup's width/height with actual numbers, that's the >> size it will be and it will not shrink or

Re: a little help for using apache flex

2013-12-13 Thread Alex Harui
Sorry, when I saw "ArrayList" I assumed you meant mx.collection.ArrayList. The org.apache.flex.collection classes are in the ASDoc http://flex.apache.org/asdoc/index.html I don't know why FlashDevelop doesn't show it. Are you sure you have the apache.swc in your library path? -Alex On 12/13/1

Re: Resizable TitleWindow and TileGroup

2013-12-13 Thread Alex Harui
g smaller. On a side note. Is out there a resize >titlewindow example publicly available that I could use to show my test >case? > > >On Fri, Dec 13, 2013 at 11:18 AM, Alex Harui wrote: > >> TileGroup and other containers should resize according to the default >>

Re: focusManager and Popup with TitleWindow

2013-12-17 Thread Alex Harui
Probably calling too soon. Try waiting until after addPopUp returns or on creationComplete event On 12/17/13 8:14 AM, "mark goldin" wrote: >Not sure if this is a bug but here is the situation. >I am creating a popup based on TitleWindow. I am trying to access >focusManager in the following fash

Re: DropDownList in a Callout(Button) closes the Callout after selecting an item in the DropDownList

2013-12-17 Thread Alex Harui
In theory the mouseDown handler should check if the mouse was in the dropdown. The owns() or contains() method is normally used to check that. On 12/17/13 2:42 AM, "MichaPooh" wrote: >Hi > >A DropDownList in a Callout(Button) calloutContent closes the Callout >after >selecting an item in the Dr

Re: interacting with navigator from outside view stack

2013-12-17 Thread Alex Harui
What error are you getting? Is navigator a ViewStack? I don't think it has pushView. There is addChild and selectedIndex. Is this a mobile app? IIRC, timers can drain battery. If not, consider using a data model to represent the UI state. Then the timer changes the model and the view reacts

Re: Flex 3 Tree - Customised icons

2013-12-18 Thread Alex Harui
Yes, you'll just have to do more customization and override more of the renderer. It might be faster to make a copy of TreeItemRenderer and modify that. On 12/18/13 4:59 AM, "Deepak MS" wrote: >Hello, >I'm working on one of the flex 3 application currently. And I have a tree >in it. It shows de

Re: Scroller update performance

2013-12-18 Thread Alex Harui
Use Scout or the profiler to see what is taking all of that time. On 12/18/13 11:45 AM, "mark goldin" wrote: >Well, what I am experiencing is that it would take some time (seconds) >until I even get into scrollerInstance_creationCompleteHandler. > > >On Wed, Dec 18, 2013 at 1:42 PM, jude wrote:

Re: ButtonBar and tabbing

2013-12-18 Thread Alex Harui
Use an Hgroup of Buttons. ButtonBar uses arrow keys to move from one button to another much like RadioButton and TabNavigator. On 12/18/13 11:27 AM, "mark goldin" wrote: >I see that a basic buttonBar is not tabbable. I cannot tab from one button >or renderer to another. Can that be changed? > >

Re: FB 4.6 Error

2013-12-22 Thread Alex Harui
Every once in a while, FB gets stuck like that. The answer for me has been to delete the .metadata file in the workspace folder. This essentially "deletes" the workspace info, so when you restart you'll have a empty workspace and have to add in your projects and SDKs, etc, etc. Painful, but at le

Re: composite components and focus delegation

2013-12-23 Thread Alex Harui
On 12/23/13 10:42 AM, "Jason Guild" wrote: >Mark: > >Thanks for the reply. > >In your example, if firstTab were a reference to a composite component >instance, how would that component delegate the setFocus() call to one >of the child TextInputs within itself? The component would need some stra

Re: Flexmojos 6 and IntelliJ 13

2013-12-23 Thread Alex Harui
My FB 4.7 comes with Adobe Flex 4.6 and the flash-integration_rb.swc is not in there either. AFAIK, this is ok from the SDK's perspective. Flexmojos will have to be tolerant of that. On 12/23/13 8:32 AM, "Alexander Doroshko" wrote: >Workaround is to copy it from some other locale. > >I'd like s

Re: Understand when mouse stop

2013-12-24 Thread Alex Harui
Enter_frame gets dispatched all the time. There's no way to immediately know if the mouse is "stopped". The user could move the mouse at the very moment you check. You pretty much have to wait for some amount of time to see if there is another mouseMove or not. The SystemManager dispatches an

Re: JIRA stats

2013-12-27 Thread Alex Harui
Awesome. Would be fun to see what percentage was resolved by Justin. On 12/27/13 4:00 PM, "OmPrakash Muppirala" wrote: >These are some very awesome numbers! I am sure that a majority of those >were resolved by you :-) > >This is probably something we should do a blog post about. > >Thanks, >Om

Re: Flex Application Stage Size and Scaling

2013-12-30 Thread Alex Harui
There is no API to set the stage size for browser/web apps via ActionScript. The stage is sized by the HTML wrapper. In theory, you could write JavaScript code in the HTML wrapper and call it via ExternalInterface. Note that Flash has some built in pan/zoom capabilities on the right-click menu.

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

2014-01-03 Thread Alex Harui
It looks like you are using both visible and includeIn. It might be that since 4.1, properties are restored differently and visible is not being set back to true? You can use the -keep-generated-actionscript MXMLC option to see if anything is being generated differently, and if not, see if logic

Re: FlexEvent.FOCUS_IN

2014-01-06 Thread Alex Harui
It could also be programmatic or happen when the app is re-activated when switching back to it from another app. There are KEY_FOCUS_CHANGE and MOUSE_FOCUS_CHANGE events that might be helpful. On 1/6/14 9:45 AM, "mark goldin" wrote: >Is there a way to find out what triggered that event? Was it

Re: loaderInfo.uncaughtErrorEvents

2014-01-06 Thread Alex Harui
Isn't the parameter an UncaughtErrorEvent? It has an error object in the event. On 1/6/14 11:26 PM, "Raj U. Shaikh" wrote: >By listening to "UncaughtErrorEvent.UNCAUGHT_ERROR" error event, I am >able to execute a listener function whenever code throws an error from >modules. >But, parameter to

Re: loaderInfo.uncaughtErrorEvents

2014-01-07 Thread Alex Harui
If not what will be standard practice to log >errorr? > >-Original Message- >From: Alex Harui [mailto:aha...@adobe.com] >Sent: Tuesday, January 07, 2014 1:15 PM >To: users@flex.apache.org >Subject: Re: loaderInfo.uncaughtErrorEvents > >Isn't the parameter an

Re: AW: Running unit tests with flashplayer under wine

2014-01-07 Thread Alex Harui
Just curious: why does flexmojos need the flash player to run at all during a build? On 1/7/14 7:41 AM, "wim.deblauwe" wrote: >I just did a test with xvfb. I now get a "broken pipe" error: > >Xvfb starting$ Xvfb :1 -screen 0 1024x768x24 -fbdir >/var/lib/jenkins/2014-01-07_16-27-52184771383835436

Re: Running unit tests with flashplayer under wine

2014-01-07 Thread Alex Harui
Do you need to run unit tests in a standalone player or can you launch a browser? On 1/7/14 10:34 AM, "wim.deblauwe" wrote: >To run unit tests > >Op dinsdag 7 januari 2014 schreef Alex Harui [via Apache Flex Users] ( >ml-node+s246n4384...@n4.nabble.com): >

Re: Flex 3 (MX, halo) support in FLEX 5 and beyond

2014-01-13 Thread Alex Harui
Flex 3 and MX/Halo are, IMO, separate things. The MX/Halo components exist in Flex 4 as well as Flex 3. Maintaining the MX/Halo components in Apache Flex 4.x is relatively low cost so I can't imagine that support going away ever. Apache Flex is not currently creating new releases of Flex 3, main

Re: Flash Resource for Flex Code

2014-01-13 Thread Alex Harui
If these are "still" images (no animation, no video), why not just make a HorizontalList full of images? Then you wouldn't need Flash Pro. -Alex On 1/13/14 12:38 PM, "Tintin" <1955.mille.mig...@googlemail.com> wrote: >Hello > >I'll start at the end and work back. Bare with me! I want to create

Re: PersistenceManager not loading Data after full restart of APP ( iOS / Android

2014-01-14 Thread Alex Harui
Hmm. Could be timing like you are suggesting. You could stick some breakpoints on PersistenceManager and get a better sense of what it is doing. On 1/14/14 1:10 AM, "Saframan" wrote: >Hey! >Finally I found the problem. >It came from my main mxml file ( TabbedViewNavigatorApplication ). There

Re: Flash Resource for Flex Code

2014-01-14 Thread Alex Harui
IMO, there is a tradeoff. A multi-frame SWF is a bit tricky to generate automatically/programatically. But if you really don't need the frame sequencing aspects of Flash (where you can keep some assets on screen for many frames while others come and go), then you could choose to programatically c

Re: Flash Resource for Flex Code

2014-01-15 Thread Alex Harui
Not sure what is in your movie.swc. But in Flex, you could simply embed 25 frames and stick them into a viewstack and switch the current index based on the slider. On 1/15/14 12:46 AM, "Tintin" <1955.mille.mig...@googlemail.com> wrote: >I have imported 25 sequenced frames into a movieClip and pu

Re: Screen shown hidden event

2014-01-15 Thread Alex Harui
What do you mean by "screen"? On 1/15/14 10:36 AM, "mark goldin" wrote: >Is there an universal event that always fires when a screen is shown or >hidden by any means? > >Thanks

Re: Screen shown hidden event

2014-01-15 Thread Alex Harui
for example switching to another Tab in a Tab Navigator. But I >dont >want to use Tab Navigator events. I want something very generic. > > >On Wed, Jan 15, 2014 at 1:44 PM, Alex Harui wrote: > >> What do you mean by "screen"? >> >> On 1/15/14 10:36 AM

Re: Flash Resource for Flex Code

2014-01-16 Thread Alex Harui
I think I understand. The only reason I'm suggesting viewstack or horizontal list is because then you could create your movie.swf/swcs with Flex instead of Flash Pro which might make it easier to automatically generate. -Alex On 1/16/14 1:13 AM, "Tintin" <1955.mille.mig...@googlemail.com> wrote:

Re: Number Formatter Query

2014-01-17 Thread Alex Harui
I think even Java would have a problem here as well. There is a limit on the number of decimal places that Number can parse. I think it is 15. Java has a whole library of special classes to manipulate very large numbers like this. ActionScript doesn't appear to have as much support, but I did f

Re: Number Formatter Query

2014-01-17 Thread Alex Harui
Could be money too. I've been told that financial apps need this. Or storage. I think petabytes push the maximums. At some point in time, Flex will probably need a good library for this. On 1/17/14 8:51 AM, "Maurice Amsellem" wrote: >What could be the real-life use case for such huge figures

Re: Number Formatter Query

2014-01-17 Thread Alex Harui
ures >are never that huge, even with cents precision... > >Then there is the "storage" case. I agree that PetaBytes (10^15) would >push to the maximums. Hopefully, it's not that common. > >Maurice > >-Message d'origine- >De : Alex Harui [mailto

Re: Uncaught exception with weborb and flex sdk>4.6

2014-01-17 Thread Alex Harui
I believe the most common reason for that exception is that you did not select the option to install the BlazeDS libraries. It is one of the options when you install an Apache Flex SDK. -Alex On 1/17/14 4:27 PM, "Arne Broedel" wrote: >Hi, >there was a quite similar discussion a while ago and I

Re: AW: Flex monkey

2014-01-21 Thread Alex Harui
If you have time to debug it, it would be interesting to put a breakpoint on AutomationClass.as:addEvent and see who registers the MouseEvent in Flex 4.6. It might give a clue why it isn't getting registered in Apache Flex. -Alex On 1/21/14 7:15 AM, "Miguel Ferreira" wrote: >I tried: >Error;Er

Re: MX Datagrid Scroll issue incase of renderer as editor

2014-01-21 Thread Alex Harui
Attachments and rich text don't work so well on this mailing list. You might want to use plain text and include links to code. You could also open a JIRA ticket and put the code in there. -Alex From: mitesh Dave mailto:mites...@yahoo.co.in>> Reply-To: "users@flex.apache.org

Re: Screen shown hidden event

2014-01-21 Thread Alex Harui
>> > > *About Sybrant:* >> > > >> > > *³Sybrant is a premier web/mobile/UIUX expert. Most admirable IT >>firms >> in >> > > India too, leverage Sybrant¹s expertise for their Web & UIUX needs. >>We >> > are >> &g

Re: OSX 10.9 Debugging

2014-01-22 Thread Alex Harui
Jake, Let's start with debugging a web app. First, is this a brand new workspace or did you copy one from the old machine? If it is old, create a new workspace and create a test case project in it. Next, using the browser that you've chosen for FB debug configs, go to flashplayersion.com. Does

Re: OSX 10.9 Debugging

2014-01-22 Thread Alex Harui
That should be flashplayerversion.com On 1/22/14 2:49 PM, "Alex Harui" wrote: >Jake, > >Let's start with debugging a web app. First, is this a brand new >workspace or did you copy one from the old machine? If it is old, create >a new workspace and create a te

Re: OSX 10.9 Debugging

2014-01-22 Thread Alex Harui
flash plugin but both >showed debugger Yes on that test site. > >I went ahead and created a blank mobile project as well and tried to debug >in the emulator and stuck at 57%. > >-Jake > > > >On Wed, Jan 22, 2014 at 4:49 PM, Alex Harui wrote: > >> Jake, >&g

Re: OSX 10.9 Debugging

2014-01-22 Thread Alex Harui
rely I can't be the >only >person running into this. > >Thanks! > >-Jake > > >On Wed, Jan 22, 2014 at 5:54 PM, Alex Harui wrote: > >> OK. Restart the computer to free up any stuck sockets. >> >> If it still doesn't work, I would begin to wonde

Re: setting page title dynamically using ExternalInterface.call()

2014-01-22 Thread Alex Harui
BrowserManager? On 1/22/14 8:26 PM, "modjkl...@comcast.net" wrote: >Anyone know how to dynamically set the page title? I've seen various >posts using ExternalInterface, but haven't been able to get it working >with variables (hardcoded strings work fine though). Here's my latest >attempt: > >

Re: Focus in DataGrid

2014-01-24 Thread Alex Harui
Not sure I understood that. Is your goal just to have Tab move down instead of across? If so, one way folks do that is to get the keyFocusChange event, call stopImmediatePropagation, then fake an Enter key event. On 1/23/14 10:00 PM, "Devesh Mishra" wrote: >Hi, > >I am using Custom AdvanceData

Re: O'Reilly Apache Flex book help

2014-01-24 Thread Alex Harui
I stumbled on the fact today that the Apache Subversion project drafts its O'Reilly book as part of the project. It is checked in to their repository, gets updated as needed, and then every once in a while, O'Reilly prints a bunch. Could we/should we do the same? On 1/24/14 1:48 PM, "Joseph Bald

Re: Spark Datagrid Drag and Drop

2014-01-26 Thread Alex Harui
The Apache Flex Spark DataGrid should have Drag and Drop built in. See the dragEnabled/dropEnabled flags and related events. On 1/26/14 6:39 AM, "Pedro Serralha" wrote: >Good afternoon guys > > > >I've search Apache Flex Jira to find if this problem has been already >solved, and I couldn't fin

Re: Focus in DataGrid

2014-01-26 Thread Alex Harui
, focus should move to next cell and then next to next >and so on using the tab key. Focus should move from one cell to another >cell when I press the tab key. > >Hope it will give you a better understanding. > >-Original Message- >From: Alex Harui [mailto:aha...@adobe.c

Re: Urgent Request. Scorlling MAC OS

2014-01-27 Thread Alex Harui
hibley, Eng Software Architect | Codefish | www.codefish.com<http://www.codefish.com> t +961 5 450824 | m +961 70 250650 On Mon, Jan 27, 2014 at 7:35 PM, Alex Harui mailto:aha...@adobe.com>> wrote: Hi Ronny, Please continue to use the mailing lists. If you didn't get a

Re: Spark GridView and accessing the rendererLayer (4.10+)

2014-01-27 Thread Alex Harui
I thought you were supposed to use datagrid.grid.getItemRendererAt On 1/27/14 4:22 PM, "chromalux" wrote: >Hi Everybody, > >We've run into an issue accessing the rendererLayer in a Spark grid in >4.10. >It appears that this might be from the changes in the grid skin where the >gridLayers are no

Re: Printing at a set DPI

2014-01-28 Thread Alex Harui
I thought PrintJob returned information about page width/height. And I thought that was controlled by the print settings in the print dialog. -Alex On 1/28/14 10:42 AM, "jude" wrote: >Is there a way to print something at a certain DPI with the PrintJob or >FlexPrintJob classes? From what I've

Re: Problems installing Apache Flex SDK 4.11.0

2014-01-28 Thread Alex Harui
Hi Pedro, The installer.exe file actually "installs the installer". Running that exe should run what looks like a standard installation process, then offer to run the actual installer which would offer up a UI with options to pick a product and language. If you never got to any sort of installer

Re: Printing at a set DPI

2014-01-29 Thread Alex Harui
PrintJob.pageHeight); flexPrintJob.addObject(printableObject, FlexPrintJobScaleType.MATCH_WIDTH); flexPrintJob.send(); What I want to know is if somewhere along the line I can say I'd prefer to print this at 300 dpi vs 72dpi (screen)? If I supply it with an object that is twice as large as the

Re: Focus in DataGrid

2014-01-30 Thread Alex Harui
pletely, but partially it's >working. > >While pressing the tab key, somewhere it lost the focus from a particular >cell and move to somewhere else i.e. outside data grid. > >So, I want to do the same thing programmatically. Kindly let me know how >can I achieve the

Re: Focus in DataGrid

2014-01-30 Thread Alex Harui
rote: >I didn't get your point i.e. to start an edit session. > >Anyways I have already tried the same by setting editedItemPosition of >datagrid when we catch focusOut event at itemrenderer level. But no luck. > >-Original Message- >From: Alex Harui [mailto:aha.

Re: R: install nightly freezed

2014-01-30 Thread Alex Harui
Every once in a while, the AIR download goes bad. Then you have to clear the browser caches for every browser on your system. Seems strange since this is an AIR app, but somehow, AIR ends up using the browser's cache for downloads. Some folks have reported that the bad AIR download is cached in

Re: Datagrid Scroll issue in item renderer

2014-01-30 Thread Alex Harui
I haven't looked at the code you attached to the issue, but it looks like the editor changes height of the row from single-line to multi-line. I think that's probably a case we haven't tested. It does appear from the screenshot that the scrollbar isn't all the way to the bottom. Have you tried ch

Re: ADG with item renderers

2014-01-30 Thread Alex Harui
FocusOut may be too late. There is an ITEM_EDIT_END event you should be using instead, and I think it also matters when the property specified as the editorProperty is saved away. -Alex On 1/30/14 10:14 AM, "jfb" wrote: >I cannot fin explanation why my overrride focus out function is not >work

Re: Datagrid Scroll issue in item renderer

2014-01-30 Thread Alex Harui
Is it a requirement that the row gets taller when edited? Can you set it up so all rows are a couple of lines in height? On 1/30/14 11:24 AM, "mitesh Dave" wrote: >Hi Alex, >Yes i have tried to change the scroll position vertically ... But either >crashes or doesnt work at all ... Used setScrol

Re: ADG with item renderers

2014-01-30 Thread Alex Harui
We'll, itemEditEnd may fire before focusOut so it may not be possible to fix a problem in a focusOut handler. Normally, the ADG will store the value specified by the "editorDataField" on the column. One way to modify the text before it is stored is to assign the editorDataField to a getter and ha

Re: Datagrid Scroll issue in item renderer

2014-01-30 Thread Alex Harui
Can the editor be in a floating popup or does it have to look like it is in the row? On 1/30/14 7:20 PM, "mitesh Dave" wrote: >Hi, >Requirement is intially the cell will be single line text ... But as soon >as it gets focus .. Cell will have multiple lines based on data ... From >business point

Re: Compiled Flex SWF File Seems Too Large

2014-02-01 Thread Alex Harui
Is that SWF from an release build? Debug builds are much heavier. What version of the SDK are you using? -Alex On 2/1/14 10:33 AM, "Tintin" <1955.mille.mig...@googlemail.com> wrote: >I have created a simple application in IntelliJ IDEA 13. It comprises an >SWFObject and a HlSider in my 'View'

Re: Compiled Flex SWF File Seems Too Large

2014-02-02 Thread Alex Harui
Use the -link-report option and see what classes are in the link report. On 2/2/14 6:56 AM, "Tintin" <1955.mille.mig...@googlemail.com> wrote: >I have just found the Module compiler options and un-checked 'Generate >Debuggable SWF'. Now the compiled SWF is half the size, but it still seems >large

Re: Printing at a set DPI

2014-02-02 Thread Alex Harui
7;t know how to print gradients in a way that PDF can understand. I think border thickness can be affected by destination DPI and how antialiasing and other colors gets computed. I thought we did see artifacts like that on screen when cacheAsBitmap is on. -Alex > >On Wednesday, January

Re: Easy way to remove TLF text cursor?

2014-02-02 Thread Alex Harui
FWIW, setting stage.focus = null may get overridden by the Flex FocusManager. It might try to restore focus to the control. The FocusManager tries to make sure something always has focus. Also note that the blinking cursor is a child Sprite or Shape of the text widget. -Alex On 2/2/14 1:09 AM,

Re: why are my Worker in Firefox so slow?

2014-02-04 Thread Alex Harui
What does the os tools show for cpu usage? Maybe FF doesn't spread work to more than one or two cores. -Alex On 2/4/14 7:38 AM, "Marcus Fritze" wrote: >Hi, > >Ok, I have a main application and a worker. > >The worker is for very CPU intensive work. But I have a lot of "work" to >do at the same

Re: Inline IME

2014-02-04 Thread Alex Harui
Is this in a Flex app? Or AS-only? Flex components should be set up for in-line. Or at least, "near the widget". 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 foun

Re: why are my Worker in Firefox so slow?

2014-02-04 Thread Alex Harui
uot;Marcus Fritze" wrote: >Thanks for the quick response. > >Activity Monitor shows mostly 175 - 185 % and sometimes a max of 196 %. > >But my overall CPU usage is about 22%. > >Am 04.02.2014 um 16:51 schrieb Alex Harui : > >> What does the os tools show for c

Re: Inline IME

2014-02-04 Thread Alex Harui
In Chrome it's inline. > >For a custom TLF component, implementing IIMESupport allows >bottom-of-the-screen IME in Firefox and Safari, but the IME support does >not work at all in Chrome. > >I'm really not sure where the problem lies... > >On Feb 4, 2014, at 5:54 PM

Re: Inline IME

2014-02-04 Thread Alex Harui
Yup. This web page is a perfectly good example: >http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/c >omponents/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:

Re: Samsung & Windows

2014-02-05 Thread Alex Harui
For the record, I am still pursuing FlexJS output through Cordova as an alternate way to get to places AIR isn't or won't. On 2/5/14 7:26 AM, "Jeffry Houser" wrote: > > Vote for AIR support on Windows Phone 8 here: >https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3648920 > > I th

Re: Current Click Position in text filed

2014-02-05 Thread Alex Harui
TextField or RichEditableText? On 2/5/14 2:07 PM, "Scott Matheson" wrote: >still working on my sentence in a paragraph problem, is there a method >that would return the current position i.e. character clicked on by a >mouse > >ie > >"the man walk down the road: > >if you clicked on say ''a" of

Re: Current Click Position in text filed

2014-02-05 Thread Alex Harui
om my iPad > >> On 5 Feb 2014, at 22:36, "Alex Harui" wrote: >> >> TextField or RichEditableText? >> >>> On 2/5/14 2:07 PM, "Scott Matheson" wrote: >>> >>> still working on my sentence in a paragraph problem, is there a met

Re: Current Click Position in text filed

2014-02-05 Thread Alex Harui
Try: TextField.getCharIndexAtPoint On 2/5/14 3:04 PM, "Scott Matheson" wrote: >Textfield > >Sent from my iPhone > >> On 5 Feb 2014, at 23:00, "Alex Harui" wrote: >> >> I'm pretty sure the code to determine the character clicked is di

Re: Problems openning PDF file using navigateToURL

2014-02-06 Thread Alex Harui
What are you actually passing into the URLRequest parameter? On 2/6/14 8:07 AM, "Pedro Serralha" wrote: >Marcus thank you for replying. > >But for what I understood, on both links you've sent. They tell how to >encode parameters on URL and the escape() is to convert a string to a >URL-encoded fo

Re: Problems openning PDF file using navigateToURL

2014-02-06 Thread Alex Harui
t;Cumprimentos / Best Regards >Pedro Serralha > >-Original Message- >From: Alex Harui [mailto:aha...@adobe.com] >Sent: quinta-feira, 6 de Fevereiro de 2014 16:34 >To: users@flex.apache.org >Subject: Re: Problems openning PDF file using navigateToURL > >What are

Re: upgraded Mac OSX to Mavericks and application won't run

2014-02-10 Thread Alex Harui
Here's an earlier thread: http://mail-archives.apache.org/mod_mbox/flex-users/201401.mbox/%3cCAGbfzpd nwxilbggz+t_4wibgpo9xfteaep69iza358d3tyn...@mail.gmail.com%3e On 2/10/14 9:05 AM, "modjkl...@comcast.net" wrote: >Thanks Tom, > >I tried Google Chrome just now, and my app works great in OSX 10

[POLL] Retire Apache Flex Installer for Linux

2014-02-10 Thread Alex Harui
Hi Folks, To install Apache Flex SDK 4.11, we finally made available an Apache Flex Installer for Linux. However, we received feedback that, because the Installer is an Adobe AIR app, it is problematic for Linux users to have to install AIR first then Install the Installer before installing the A

Re: Native Extension

2014-02-12 Thread Alex Harui
I'm not an expert on Native Extensions, but my understanding is that they are designed to interface with a platform/device-specific native code. If you want per-platform UI, you can switch to different UI's using view states and/or themes. -Alex On 2/11/14 10:30 PM, "Sumudu Chinthaka" wrote: >

Re: AIR Desktop ap with Flex 4.6 + Spark components

2014-02-12 Thread Alex Harui
Flex components cannot be used in an Application generated from a .AS file. The Application must be an MXML file. The compiler generates special code the UI components need when compiling MXML. It does not do so for .AS files. -Alex On 2/12/14 6:18 AM, "Nando Vieira" wrote: >Doing a simple `

Re: new Mac machine, running Flex application sticks at 57%

2014-02-12 Thread Alex Harui
Let's try a different angle. 1) Download the projector content debugger. 2) From the command line, go to the SDK's bin folder and run fdb 3) Type 'r' and hit enter 4) Use the projector content debugger to load the SWF. The fdb debugger should stop execution of the SWF and display more information

Re: new Mac machine, running Flex application sticks at 57%

2014-02-12 Thread Alex Harui
un fdb >-base: run: command not found > >Did I do something wrong? > >- Original Message - > >From: "Alex Harui" >To: users@flex.apache.org >Sent: Wednesday, February 12, 2014 9:23:43 AM >Subject: Re: new Mac machine, running Flex application sticks

Re: new Mac machine, running Flex application sticks at 57%

2014-02-12 Thread Alex Harui
xit anyway? (y or n) y > >After I type y in the last line above, Flash Player Debugger opens a >window with the application in it, where it appears the application has >run (it's just a checkbox, centered in the window). > >I'm hoping that's a useful clue some

  1   2   3   4   5   6   7   8   9   10   >