Oct 9
Removing list of elements from Array or ArrayCollection

If you need to remove list of selected items in List component in Flex
you should not go from first element to last element of selectedIndices array
because once you remove one selected element all indexes will shift on one position to the left

solution is very simple you just need to go from last element to first element of selectedIndices array

in this case you will not have any problems with indexes

same for simple Array

Mar 17
FLASH&FLEX Developer’s Magazine 02/2009 issue review

ffdmag

I am glad to say that Flash & Flex Developer’s Magazine published new issue

FFD’s magazine is great, they growing every day, it seems that there is working professional people, they know how to do work in a best way!

Their articles dealing with important things for flash and flex developers.

Contents includes the following  articles and tutorials

  • Flash Flex developer interview with Dave Schroeder about the Flashbelt Conference…
  • BannerSnack – A quick alternative to Flash?…
  • Working With Flash CS4 New Features: Inverse kinematics (IK) with Bone Tool…
  • Tracking Time with Screenweaver HX…
  • Using all the different components within CS4 to built a complete site…
  • Model View Controller – What’s the Secret Sauce… ?…
  • JSFL Quirks…
  • SWX: The Native Data Format for Adobe Flash…
  • An introduction to Flickr In Flash…
  • Flash video and AS3…
  • WebORB tricks…
  • Multi-user Applications in haXe…
  • 7Achieving a retro-style using only Flash…
  • Secrets of a professional Flash game programmer…
  • Interview with Lee Brimelow…
  • More …

I would like to highlight some excellent articles:

  • “WebORB tricks” by Vitaliy Morarian
    “WebORB for Java - it is server-side technology which enables connectivity between Flex, Flash, AJAX and Silverlight clients and Java applications.”
  • “Secrets of a professional Flash game programmer” by Tom Rassweiler
    “For the last five years as the leader of the Flash development team at Arkadium, a NY based game development company, I have worked on more than a hundred Flash games for clients, ranging from toy companies like Mattel to publishing giants like Hearst and NewsCorp.”
  • “Working With Flash CS4 New Features: Inverse kinematics (IK) With Bone Tool” by Chetankumar
    “You will learn about recent updates to Flash CS4. Work with Flash CS4 Bone Tool.”

Everyone who is interesting to publish article can do it without any problems, this magazine is open for any suggestions

I published my first article “OOP with AS3″ in their first issue on 1/2008  and was very happy

You can find my second article in 2/2009 issue:

  • “Model View Controller – What’s the Secret Sauce… ?” by Anton Krasnoshchok
    “Business applications consist of a user interface (UI), business logic, and data models. For example, standard UI components such as buttons or checkboxes have UI elements, logic that knows how to respond to user inputs, and data models.”

You can subscribe to FFD’s magazine here
Can’t wait for next issue, nice work guys!

Aug 19
gTween: Programmatic Tweening for AS3 Developers Beta 4 Release

New powerful tweening engine is initially being released as a beta

more info here:

http://www.gskinner.com/blog/archives/2008/08/gtween_a_new_tw.html

http://gskinner.com/libraries/gtween

Updates:  

gTween beta 3 released

Here’s the full list of beta 3 updates:

  • fixed a bug with smart rotation
  • added rotationProperties static property to specify properties to apply smartRotation to
  • fixed bug with proxy method calls not returning the return value (thanks to Matus Laco)
  • added a few semi colons :) (thanks to Matus Laco)
  • roundValues renamed to useSnapping
  • added snappingProperties static property to specify properties to apply snapping to.
  • fixed a bug that could cause setSize to be called twice
  • fixed a problem with copyInitProperties firing too many times
  • made the data parameter on addProgressPoint optional
  • changed removeProgressPoint to accept an optional data parameter
  • rewrote the progress point logic, fixing a problem that would prevent progress point events from firing if more than one progress point was passed in a single tick.
  • progress points will no longer fire when doing manual positioning, including using position=value, beginning() and end().
  • made it so that autoHide only applies while tweening alpha. (thanks to Randy Troppman)
  • added a defaultEase static property, which allows you to define the default easing function for all new tweens (thanks to Quentin)
  • made linearEase a public static method
  • added useSetSize property to allow you to turn off the setSize behaviour if necessary (thanks to jwopitz)

You can read the documentation, and download the latest version of gTween by clicking here.

gTween beta 4 released

Here is the full list of changes:

  • fixed a bug with autoHide (thanks to JTtheGeek)
  • fixed a bug with useSmartRotation and destination values over 360 (thanks to radicalFish)
  • added propertyTarget and getPropertyTarget(), to support GTweenFilter and other potential subclasses
  • renamed the static “ticker” property to “activeTicker” to prevent issues in some editors due to it being named the same as the instance property. (thanks to Thomas Brekelmans)
  • fixed a problem with progressPoints set to a position of 0 not firing (thanks to Toby Skinner)
  • moved event meta tags to before class declaration, so they show up properly in the API documentation (thanks to Jordi Boggiano)
  • updated .clone() to support .useSetSize and .useSnapping properties
  • modified .addChild() to accept GTween.TWEEN_PHASE, GTween.END, GTween.DURATION, GTween.BEGINNING as a second parameter, allow more complex synchronization options.
  • included GTweenFilter and MultiTween in package.

As always, you can view the latest documentation, and download the latest version of the library at  http://gskinner.com/libraries/gtween/

Apr 6
Object Oriented Programming in ActionScript 3.0

ActionScript 3.0 is called object-oriented because it supports inheritance, encapsulation and polymorphism. Read the rest of this entry »