Re: Trying to get simple HTTPService to work

2015-07-27 Thread kamcknig
if you shared your BaseService class as well. Thanks, Om On Sun, Jul 26, 2015 at 7:38 AM, kamcknig [hidden email] http:///user/SendEmail.jtp?type=nodenode=10867i=0 wrote: I feel like this should be pretty darn simple. But I can't seem to get it to work. Trying to hit a URL that will return

Re: Trying to get simple HTTPService to work

2015-07-27 Thread kamcknig
- Accesso 602.515.1444 (M) On Mon, Jul 27, 2015 at 3:42 PM, Alex Harui [via Apache Flex Users] ml-node+s246n10869...@n4.nabble.com wrote: Sounds like some code is setting destination=null; On 7/27/15, 12:21 PM, kamcknig [hidden email] http:///user/SendEmail.jtp?type=nodenode=10869i=0

Trying to get simple HTTPService to work

2015-07-26 Thread kamcknig
I feel like this should be pretty darn simple. But I can't seem to get it to work. Trying to hit a URL that will return xml. But I'm getting a FaultEvent: faultCode:InvokeFailed faultString:'[MessagingError message='Destination 'null' either does not exist or the destination has no channels

Re: Flex - Getting values from custom item renderers in DataGridColumns

2015-07-21 Thread kamcknig
Gah! listItems. I couldn't find any property to iterate over the items. Thanks! -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Flex-Getting-values-from-custom-item-renderers-in-DataGridColumns-tp10831p10835.html Sent from the Apache Flex Users mailing list

Can't get Flex binding to work without warnings

2015-07-14 Thread kamcknig
I'm trying to get some databinding working and it keeps throwing warnings. I have the following MXML (PSEUDO CODE): Repeater id=deRep dataProvider={dependantXML} Text ... text=quot;{deRep.currentItem..RELATIONSHIP.@dep_cust_rel_type}quot; ... / TextArea ...

RE: Can't get Flex binding to work without warnings

2015-07-14 Thread kamcknig
of Architecture | www.CRMantra.com | office +1 (415) 839 9672 | mobile +1 (415) 272 4868 | [hidden email] http:///user/SendEmail.jtp?type=nodenode=10755i=0 -Original Message- From: kamcknig [mailto:[hidden email] http:///user/SendEmail.jtp?type=nodenode=10755i=1] Sent: Tuesday, July 14

Flex - Getting values from custom item renderers in DataGridColumns

2015-07-21 Thread kamcknig
I have a DataGrid set up like so: mx:DataGrid id=ticketListDataGrid dataProvider={_ticketList} mx:columns mx:DataGridColumn width=220 dataField=@package_name

Re: Can't get Flex binding to work without warnings

2015-07-15 Thread kamcknig
15, 2015 at 12:43 AM, kamcknig [via Apache Flex Users] [hidden email] http:///user/SendEmail.jtp?type=nodenode=10759i=0 wrote: I'm trying to get some databinding working and it keeps throwing warnings. I have the following MXML (PSEUDO CODE): Repeater id=deRep dataProvider={dependantXML

Re: Can't get Flex binding to work without warnings

2015-07-15 Thread kamcknig
: {XMLList(deRep.currentItem)..RELATIONSHIP.@dep_cust_rel_type} And {XMLList(deRep.currentItem).ADDRESS.@street} -Alex On 7/14/15, 12:13 PM, kamcknig [hidden email] http:///user/SendEmail.jtp?type=nodenode=10757i=0 wrote: I'm trying to get some databinding working and it keeps throwing

Re: Can't get Flex binding to work without warnings

2015-07-15 Thread kamcknig
AM, kamcknig [hidden email] http:///user/SendEmail.jtp?type=nodenode=10779i=0 wrote: That got rid of the warnings! Hopefully it still works correctly, I'll have to test it out. Thanks so much! Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Tue, Jul 14, 2015 at 6:54 PM

Re: TextInput in a DataGrid

2017-01-31 Thread kamcknig
I solved it by binding the TextInput's text property to a property of the ItemRenderer's data Object and setting that data in a change handler on the TextInput and then calling dataProvider.itemUpdated(). I feel this is a bit hacky, so please, if anyone else has a way to do it, let me know? :)

TextInput in a DataGrid

2017-01-31 Thread kamcknig
Hey everyone, I'm using a spark DataGrid that has an inline ItemRenderer which has a TextInput inside of it. Whenever the data provider for the DataGrid changes the amount of ItemRenderers change based on the length of the dataProvider properly, but the TextInput's text doesnt empty back out.

Can't get Rect to draw one way, but works another

2016-09-14 Thread kamcknig
I'm attempting to get a Rect to draw within my code. I have wrapped it in a group container so as to make it a component I can drop anywhere. I've also tried creating an MXML class with the root being Rect and I get the same results. If I programatically draw the rect in my main class, like so,

Re: Can't get Rect to draw one way, but works another

2016-09-14 Thread kamcknig
I also then set the width and height of the Rect to equal the unscaledWidth/unscaledHeight in the updateDisplayList and that worked also. I'm unsure what the proper way to do things is. -- View this message in context:

Re: Can't get Rect to draw one way, but works another

2016-09-14 Thread kamcknig
If I set the width and height of the _rect explicitly within the creation complete of the group such as: within the BackgroundFill component then it works. But setting percentWidth and height apparently doesn't auto update the Rect when the size of the parent changes? -- View this message in

Re: Can't get selectionAnchorPosition to work

2016-10-04 Thread kamcknig
, 2016 at 3:12 PM, Josh Tynjala [via Apache Flex Users] < ml-node+s246n13732...@n4.nabble.com> wrote: > It should be different before your hit backspace, but after, no characters > will be selected, so they'll be equal. > > - Josh > > On Oct 4, 2016 12:02 PM, "kamc

Can't get selectionAnchorPosition to work

2016-10-04 Thread kamcknig
Maybe I'm misunderstanding what it's supposed to do, but if i select a block of text with the mouse with the following code and then hit the backspace key, the selectionActiveIndex is always equal to the selectionAnchorIndex. I also tried the change event with the same results, and the textInput

Re: Can't get Rect to draw one way, but works another

2016-09-16 Thread kamcknig
I'll check it out soon! On Sep 16, 2016 1:09 AM, "OK [via Apache Flex Users]" < ml-node+s246n13551...@n4.nabble.com> wrote: > HI, > I've just accidentally stumbled over this [1]. It contains a styled > rectangle component. > Seems that this perfectly fit your needs. > > HTH, > Olaf > > > [1]

Re: Downloading Large Amounts of Data from Database

2016-08-27 Thread kamcknig
I'm not sure how you are connecting to your DB, normally in the past I've used PHP. So I connect to a PHP scriipt that I can send GET parameters to and have the PHP handle the querying. -- View this message in context:

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

2016-10-25 Thread kamcknig
@n4.nabble.com> wrote: > > > On 10/25/16, 11:43 AM, "kamcknig" <[hidden email] > <http:///user/SendEmail.jtp?type=node=13933=0>> wrote: > > >I am not because I would like them to be dynamically sized. The only > width > >I believe I have set is

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

2016-10-26 Thread kamcknig
Lol. Gnarly.Good word for it :) -- View this message in context: http://apache-flex-users.246.n4.nabble.com/Do-ItemRenderer-s-get-reused-across-different-components-tp13928p13952.html Sent from the Apache Flex Users mailing list archive at Nabble.com.

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

2016-10-26 Thread kamcknig
Awesome thanks! I'll consider this answered. If I do play with it more and get it figured out I'll post the solution though. Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Wed, Oct 26, 2016 at 2:54 PM, Alex Harui [via Apache Flex Users] <

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

2016-10-19 Thread kamcknig
Oh my! You did it! Thanks so much! Sorry though, how would I set the width and height of the Rect to the width and height a user might set on the component? I tried setting _fillRect.width/height within the updateDisplayList() override method instead of setting the top/right/bottom/left in the

Can't get custom component to size down properly

2016-10-18 Thread kamcknig
Hey everyone, I'm porting a project over to RobotLegs and I had a huge issue of the components not properly resizing. It has taken me almost two weeks but I've finally narrowed it down to one (hopefully) component causing all of the issues. I have boiled it down to a simple test project. In my

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

2016-10-18 Thread kamcknig
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

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

2016-10-25 Thread kamcknig
OK it appears that I got that error becuse I was passing the index of the item in the "source" array. But on my data provider I had a filter on the array so not all items were there. I have now instead dispatched the change with the Object that was changed (FYI, I'm using Signals, not that it

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

2016-10-25 Thread kamcknig
Your solution works though it feels a bit hacky. I also get a flicker when I do it. So a lot of the items will blink out and back in for a split second. -- View this message in context:

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

2016-10-25 Thread kamcknig
I am not because I would like them to be dynamically sized. The only width I believe I have set is on the renderer itself I set the minWidth to 150. Kyle McKnight Senior UI Engineer - Accesso 602.515.1444 (M) On Tue, Oct 25, 2016 at 2:22 PM, Alex Harui [via Apache Flex Users] <

Re: Not all items in TileLayout are visible

2016-10-21 Thread kamcknig
I was able to create a simplified test project that shows what is happening and have attached it. test.zip -- View this message in context:

Re: Not all items in TileLayout are visible

2016-10-21 Thread kamcknig
I've attached two images that show what I mean. You can see in the first one there are seven items, but there should be 13. The second image is just after scrolling the list down some so you can see the bottom of the first renderer. The height of that first renderer is set correctly but the last

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

2016-10-26 Thread kamcknig
Ill attempt to break that part out into its own project sometime today On Oct 26, 2016 1:39 AM, "Alex Harui [via Apache Flex Users]" < ml-node+s246n13942...@n4.nabble.com> wrote: > > > On 10/25/16, 6:41 PM, "Kyle McKnight" <[hidden email] > >

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

2016-10-26 Thread kamcknig
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

Re: Trying to compile runtime resource modules

2017-01-01 Thread kamcknig
, 2017 at 3:55 PM, kamcknig [via Apache Flex Users] < ml-node+s246n14395...@n4.nabble.com> wrote: > I've done some more investigating, it seems that actually my SWFs might be > OK. I used the debugger and put a break point when the resource module SWF > is loaded and a used the get

Re: Trying to compile runtime resource modules

2017-01-01 Thread kamcknig
I've done some more investigating, it seems that actually my SWFs might be OK. I used the debugger and put a break point when the resource module SWF is loaded and a used the getString() method to pull out the string I wanted. The first two pictures show ID of the resource manager and the value of

Re: Trying to compile runtime resource modules

2017-01-01 Thread kamcknig
6n14397...@n4.nabble.com> wrote: > You mentioned in another thread that PostCodeValidator is looking in a > different bundle. Which bundle did you put your custom error messages in? > > -Alex > > On 1/1/17, 1:33 PM, "kamcknig" <[hidden email] > <http:///user

Re: Trying to compile runtime resource modules

2017-01-01 Thread kamcknig
I guess I could also show my ant build script. I have two source paths in there, one commented out. One points to the folder that has the compiled locale SWCs that I know work when compiled into the app (it's the commented out one right now), the other points to the folder that contains the

Re: unable to transcode font

2017-06-19 Thread kamcknig
Are these the jars downloaded mentioned on the Apache download page that can be obtained via the thirdparty-downloads ant target? If so this fails for me when it tries to download " https://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/frameworks/libs/OSMF2_0.swc?format=raw;. It says it

Re: unable to transcode font

2017-06-19 Thread kamcknig
allerCache/adobe/flexsdk/code/HEAD/tree/trunk/lib/rideau.jar > $HOME/InstallerCache/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.ja > > r > > > > > > In theory the Installer will pick up files from the cache instead of > SourceForge. > > HTH, > -Alex > > &g

Re: Modal background is not centered if modal is shown while minimized

2017-06-06 Thread kamcknig
-- View this message in context: http://apache-flex-users.246.n4.nabble.com/Modal-background-is-not-centered-if-modal-is-shown-while-minimized-tp15286p15287.html Sent from the Apache Flex

Flex Installer missing crosspromotion.swc

2018-09-06 Thread kamcknig
When I use the Flex installer and install Flex/AIR, if I then attempt to build my application using IntelliJ, I get an error that crosspromotion.swc is missing. I have tried multiple combinations, but it is always missing and I have to go back to a very old version of my SDKs (that I can't recall

Re: New install of 4.16.1 and air 31 missing things for build

2018-10-12 Thread kamcknig
I was able to compile from the source, thank you! I did however have to update the build.xml file to set more SWF versions because it stops version 35 -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Detecting window resize complete on AIR native desktop

2018-10-15 Thread kamcknig
As far as I know there isn't a way, a stackoverflow user asked the same https://stackoverflow.com/questions/11014968/detect-when-the-resize-event-has-finished I can't think of any way to do so. Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

New install of 4.16.1 and air 31 missing things for build

2018-10-03 Thread kamcknig
On a fresh install using the installer of the Flex SDK 4.16.1 and AIR 31, when I run the ant main target from the base folder, it fails on the thirdparty-downloads target on line 158 because the modules folder doesn't exist. Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Spark globalization and localization packages

2018-10-02 Thread kamcknig
I'm in the latest Flex and AIR trying to use the spark.formatters.CurrencyFormatter. The documentation says that it's a wrapper for the flash.globalization.CurrencyFormatter which uses system locale settings to display and format data. This seems to work generally. If i create a formatter with an

Re: Flex Installer missing crosspromotion.swc

2018-10-02 Thread kamcknig
I only just now saw this reply, apologies! I downloaded both the SDK with and without the new compiler and neither appear to have it in it. Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: New install of 4.16.1 and air 31 missing things for build

2018-10-10 Thread kamcknig
I have included two log files, the normal one, and one with verbose logging= I also noticed that playerglobal.version, playerglobal.swfversion and air.version aren't updated in the build.properties of the root folder of the SDK when using the apache installer to install the latest versions of

Re: setStyle on a Label

2018-09-20 Thread kamcknig
Your label needs a width. If you leave it at the default width, it resizes to the length of the text. So you are centering it, you just can' tell. At least that is my guess, without knowing the layout of the Label component within the parent. -- Sent from:

Re: New install of 4.16.1 and air 31 missing things for build

2018-11-16 Thread kamcknig
The solution is that you cannot use the installer as it uses the binary packages. You must use the source code if you are trying to build the SDK yourself. The installer itself at that time I had the issue was working fine, it was just building from the SDK from the installer files did not work.

Re: simple one

2018-12-14 Thread kamcknig
You can use encoded ampersands like this: visible="{data.accountType != 1 data.aPage }" -- Sent from: http://apache-flex-users.246.n4.nabble.com/

How do I see trace messages from Flex framework classes

2019-01-03 Thread kamcknig
How can I set up a logger or trace target that shows the trace messages from the Flex framework itself? Thanks Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Auto-Correct Oddities

2019-03-11 Thread kamcknig
I don't know much about this at all but are you using the spark theme? The apache docs say that this is not supported on the spark theme. I also saw a bug report that said something about autoCorrect wasn't working properly with custom skins (though I think it was a different issue, but maybe

Re: Auto-Correct Oddities

2019-03-11 Thread kamcknig
Here is the documentation I referenced mentioning that autoCorrect does not work for the Spark theme https://flex.apache.org/asdoc/spark/components/supportClasses/SkinnableTextBase.html#autoCorrect Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Auto-Correct Oddities

2019-03-12 Thread kamcknig
Again, I haven't themed much so I'm guessing, and I don't currently have 4.16.1, but in Flex 4.15 if you check the /frameworks/flex-config.xml I see that it looks like it's using the Spark theme. I have no idea if there is anything internally that changes that when compiling/packaging for mobile

Flex SDK installer doesn't seem to install

2019-04-16 Thread kamcknig
I'm attempting to install the SDK installer version 3.3.2. A dialog opens with progress saying it installs. It makes it all the way but then gives no error or success and the SDK installer is nowhere on my computer that I can find.

How does mxmlc.jar get created?

2019-04-16 Thread kamcknig
I have clone the SDK repo but the mxmlc.jar is not included it appears. How does that get built? I don't see a reference to it in the build files of the SDK either. Thanks! Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Style on custom component isn't being inherited by labels

2019-04-18 Thread kamcknig
So after more research it appears that using getStyle within the skin is the accepted way actually, according to the old 4.6 using flex documentation https://help.adobe.com/archive/en_US/flex/using/flex_4.6_help.pdf. However, I still am not sure why my Labels within BottomControlBar are not

Re: Error deleting batik lib contents during build

2019-04-19 Thread kamcknig
For Java I am using Amazon's Corretto 11. I did get it to work just by removing the ** so I'm OK not finding the answer to this at this point since I was able to get it to work. I did have another problem downloading some of the files during the build now but I'll start another thread for that

Re: Style on custom component isn't being inherited by labels

2019-04-19 Thread kamcknig
Ah good idea on pastebin *slaps forehead. Here it is in pastebin, https://pastebin.com/1y9yJvxu So are you saying that the Label within BottomControlBar would be something like: Thank you for taking the time, Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Error deleting batik lib contents during build

2019-04-19 Thread kamcknig
Hi there, Piotr! The project I'm working on is using it and they don't want to update yet (we're even still using AIR 20.0 instead of 32.0 ). I'd like to make some changes to the source and didn't want to just copy the class over to our own project and change it there. I also like to

Re: Style on custom component isn't being inherited by labels

2019-04-19 Thread kamcknig
Setting styleName to "{this}" on Labels within the BottomControlBar did indeed set the proper styles on the Label! And you were also right it looks like about inheriting, if I remove the selector for the spark Label in my css file and do /not/ use styleName on the Labels, then the Labels do

Style on custom component isn't being inherited by labels

2019-04-18 Thread kamcknig
I'm not very good with styles in flex but I'm attempting to add a style to a component and have the labels as children inherit the style. In my external style sheet I have the following. @namespace s "library://ns.adobe.com/flex/spark";@namespace controlbars

Re: Error deleting batik lib contents during build

2019-04-18 Thread kamcknig
Hello, I am using the latest Ant from the Apache site: 1.10.5 Thanks, Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Style on custom component isn't being inherited by labels

2019-04-18 Thread kamcknig
Wow. I wrote that as HTML and the preview was fine. Here is an image of what I originally wrote hah! As further information: IF within my custom skin for the custom component I bind fontFamily/fontSize to hostComponent.getStyle('fontFamily/fontStyle') the Labels do update there, though I feel

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
Forgot a step //somehwere else in your code to trigger focus on one of the text inputs' var element = currentFacture.getElementAt(); After that you have to set the focused property on element before updating element.focused = true/false; -- Sent from:

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
If I'm understanding what you mean, you would need to control it via data. The collection you pass into the dataProvider could have a property that indicates whether the TextInput associated with that piece of data should have focus. Then in the script for the ItemRenderer you override the set

Re: Set Focus at TextInput Inside Spark List ItemRenderer

2019-05-03 Thread kamcknig
You'll have to do something similar to this as far as I know https://pastebin.com/9LZbiasQ -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Camera issue on desktop (Win10)

2019-05-04 Thread kamcknig
Hi, I never saw this post or I would have responded, this has to do with the specific camera and driver you are using I will bet. I ran into this issue at my job and it took us weeks to figure out when clients told us this was happening. We ended up finding out that with the camera model they were

Re: Error with flex-tool-api-jar in modules/downloads.xml

2019-04-21 Thread kamcknig
I should wait a few before posting :) So after paying closer attention to the difference between 4.15.0 and 4.16.1, a "/" was as well in the target to download the jars. I removed that "/" from 4.15.0 modules/downloads.xml and was able to download the jars from the maven repository. However, I

Error with flex-tool-api-jar in modules/downloads.xml

2019-04-21 Thread kamcknig
Hello, So building 4.15.0 gives me errors with the flex-tool-api-jar target in modules/downloads.xml with the following error https://pastebin.com/Kcs0SwX5 I looked at the latest 4.16.1 tag and the URLs themselves look like they don't changed, just the way in which errors are handled. I'm not

Re: Flex SDK installer doesn't seem to install

2019-04-17 Thread kamcknig
Hi, This was on a Windows 10 Pro machine. I downloaded the file using this link http://www.apache.org/dyn/closer.lua/flex/installer/3.3.2/binaries/apache-flex-sdk-installer-3.3.2-bin.exe from this page http://flex.apache.org/installer.html Kyle -- Sent from:

Re: How does mxmlc.jar get created?

2019-04-17 Thread kamcknig
I had checked both the README and the main build.xml for references of it specifically before posting but hadn't seen any, maybe I missed it or it's elsewhere. I will attempt to build and report back at that point if I have any problems, thank you! Kyle -- Sent from:

Error deleting batik lib contents during build

2019-04-17 Thread kamcknig
Building the SDK appears to fail in the batik-jars target of the modules/downloads.xml build file. unzip-file: [unzip] Expanding: D:\apache\flex\flex-sdk\in\batik-src-1.7.zip into D:\apache\flex\flex-sdk\in copy-downloaded-jar: BUILD FAILED D:\apache\flex\flex-sdk\build.xml:158: The

Re: Error deleting batik lib contents during build

2019-04-17 Thread kamcknig
For additional info as well I am building from the 4.15.0 tag Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Error with flex-tool-api-jar in modules/downloads.xml

2019-04-23 Thread kamcknig
I downloaded the oracle 32 and 64 bit versions of 8 and the 64 bit version of 12. But none of them seem to work as well. Looks like 6 and 7 are harder to get now KYle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: Error with flex-tool-api-jar in modules/downloads.xml

2019-04-24 Thread kamcknig
It looks like I got it working, at least it compiled, I haven't yet tried to use the resultant libraries. Though I still had problems and this is what I had to do: 1. I reset the branch so that my local repo matches tag 4.15.0 as it is in the remote repo. 2. Updated env.properties in the base

Re: How to implement complex mouse focus in ItemRenderer with a list which has a children ItemRenderers which has a list with children ItemRenderers and so on,,,,?

2019-11-15 Thread kamcknig
Implementation might depend on things like if the parents can ever/never be selected. But you can do things like handle the changing event on the parent items and prevent default on the event in certain instances or all the time. Here is a pastebin https://pastebin.com/jpRc0U1s -- Sent from:

Re: Flattening a nested array of asymetrical depth

2019-10-10 Thread kamcknig
So my example will still work though because your 'nodes' don't have consistent naming, you'll probably have to add some data to the levels that you want to extract into the flattened array and then where I'm checking for "division" you would check for the new data that indicates it's at the level

Re: Flattening a nested array of asymetrical depth

2019-10-10 Thread kamcknig
Done in JS and def could be optimized. I have no idea on your data structure or what you want the final structure to be. https://pastebin.com/p0j2uTnp Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread kamcknig
You can add a keyDown listener and invoke event.stopPropagation(); You can also check the key being pressed if you only want certain key presses stopped Kyle -- Sent from: http://apache-flex-users.246.n4.nabble.com/

Re: deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread kamcknig
It's also worth nothing that in some circumstances you migth also want to use stopImmediatePropagation(). You can read about the differences on the doc page for the Event class https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event.html -- Sent from: