Account: (login)

More Channels


Are you the publisher? Claim this channel

Search in 110,966,940 RSS articles:

Channel Description:

Flex 4 examples and musings

Latest Articles in this Channel:

  • 05/05/11--12:25: SkinnableTextBase focusManager runtime error popup (chan 2130442)
  • When you show a popup in Flex in a mobile environment, defined as the style “interactionMode” being set to InteractionMode.TOUCH in this context, that is based on a component that does not implement the mx.managers.IFocusManagerContainer interface, you will receive a runtime error when the user taps the control that is to receive focus. Lets pretend [...]

    roustalskiroustalski

  • 05/18/11--11:40: Flex 4 Vertical Scroll Speed (chan 2130442)
  • By default, scrolling content when using the Scroller component occurs very slowly – Even down to 1px per event. Try running the following example: In order to bring scrollable content using a Scroller up to normal web standards (say 50px or 100px per event) with a setup like the above, you have to override the [...]

    roustalskiroustalski

  • 05/27/11--11:58: Simple TLF Text Editor (chan 2130442)
  • I found a great TLF editor that is simple and to the point, it is under the MIT license, and is of course open source. I don’t remember the combination of search terms to find it, but I’ve looked for something like this before and was unable to find it despite it being written in [...]

    roustalskiroustalski

  • 06/08/11--06:30: Flex 4 height limit of 10,000? (chan 2130442)
  • In my post about vertical scroll speed I show a code example of a scroller with several nested groups. A typical design of websites these days is to have a content area in the middle with an ever-expanding height and some sort of repeating background or colors on the sides – Just look at the [...]

    roustalskiroustalski

  • 06/14/11--05:39: mx Vertical Scroll Position (chan 2130442)
  • In regards to my post about maintaining vertical scroll position, James asked how the same would be done for mx based components. Here is an example using an mx:DataGrid. Here is an example of the problem: This is one way to solve the lost scroll position.

    roustalskiroustalski

  • 09/23/11--06:22: Workspace in use or Cannot be Created (chan 2130442)
  • If you close FlashBuilder and it doesn’t shut down correctly, sometimes a .lock file will be left in the .metadata directory of your workspace. If you try and restart FB with the .lock file present, you will get an error message about the workspace being in use. Either make sure the java program is killed [...]

    roustalskiroustalski

  • 09/30/11--13:04: ButtonBar radio logic hack (chan 2130442)
  • Update: Set the requireSelection property to true. When the button bar is used as a navigation tool for a set of tabs, it doesn’t make sense for the selected button to be unselected if the user clicks on it. It is also fairly typical for a result handler of the IndexChangeEvent.CHANGED to utilize the button [...]

    roustalskiroustalski

  • 10/21/11--06:31: Getter & Setter accessors with different namespaces (chan 2130442)
  • Although the bug is still open, you are able to create a getter/setter combo for a property with different namespaces. Sweet! You will get a compile error when trying to write to the read only property, and you will get a runtime error if you try bracket notation on the object to set the property.

    roustalskiroustalski

  • 11/07/11--06:52: Garbage Collection Strategy Reiterated (chan 2130442)
  • A new article was recently published on adobe’s devnet providing another recap of how memory is managed by Flash. I wanted to reiterate the importance of diligently clearing the stack memory of references to the heap memory in order to minimize the work of the collector in the Mark and Sweep phase. You, as the [...]

    roustalskiroustalski

  • 11/08/11--13:04: DropDownController PopupAnchor (chan 2130442)
  • Lets pretend you have a popup that you want to show when a button is clicked, as in the following example: How do you easily manage when the popup is closed in this case? Rather than having to manage opening and closing the popup when the button is clicked and the user interacts with the [...]

    roustalskiroustalski