programming

TwitterFacebook
Get flash to fully experience Pearltrees
http://flexponential.com/2011/11/06/orientation-and-deviceorientation-in-flex-mobile-apps/

orientation and deviceOrientation in Flex Mobile apps

So you want to build a mobile app and tap into the 30+ billion app downloads that are estimated to happen in the next 5 years? Well, one of the first things you’ll have to think about is screen orientation: unlike in a desktop application, the user can rotate the screen through portrait and landscape orientations, both before and while your application is being used. This can be a great thing since your application can take advantage of the different screen dimensions to provide specialized UI but it also means you need to make some decisions about how your app is going to handle these situations.
The ViewNavigator.popView() method returns control from the current view back to the previous view on the stack. When the popView() method executes, the current view is destroyed and the previous View on the stack is restored. Restoring the previous View includes resetting its data property from the stack, For a complete description of the life cycle of a view, including events dispatched during creation, see The life cycle of the Spark ViewNavigator and View containers .

Flex 4.6 * Define views in a mobile application

http://help.adobe.com/en_US/flex/mobileapps/WSa122979b4619725672e48c412a3e152164-7fff.html#WS8b1c39bd7e9fc364-2a6983c212a58b0f062-8000

Using Traits in PHP 5.4 » phpmaster

Minimizing code duplication through better organization and code reuse is an important goal of Object Oriented Programming. But in PHP it can sometimes be difficult because of the limitations of the single inheritance model it uses; you might have some methods that you would like to use in multiple classes but they may not fit well into the inheritance hierarchy. Languages like C++ and Python allow us to inherit from multiple classes which solves this problem to some extent, and mixins in Ruby allows us to mix the functionality of one or more classes without using inheritance. http://phpmaster.com/using-traits-in-php-5-4/
http://www.boost.co.nz/blog/development/flex-radar-chart-component/

Flex radar chart component

We’ve released a radar (spider, polar) chart component for Flex as an open source (MIT) project on github . This is abstracted from our Sonarhq product. For the most part we’ve been using the Flex Charting components from Adobe, but this doesn’t include radar charts. We looked at several commercial packages, but these turned out to be either too expensive, or not flexible enough. There is a free component a vailable at Kap Lap , but it didn’t support the styles we needed to match the design we had. In the end it was easier to produce our own (about a day and a half of work).

Radar Chart component from Kap Labs Flex Reporting Package

version 2.0.0 released on 2011/03/09 A Radar Chart, also known as a Kiviat Chart or a Spider Chart, is a two-dimensional chart of three or more quantitative variables represented on axes starting from the same point. Each category of values corresponds to an axis and each set of values from the same series are connected with lines of different colors. The relative position and angle of the axes is uninformative. However the relative position of the series makes it possible to see data series relationships and make comparisons based on multiple categories. Kap IT Radar Chart is a ready-to-use Flex component that can be easily integrated in any Flex or Air application to provide a powerful data analysis tool and can be parameterized using a large set of properties. http://lab.kapit.fr/display/radarchart/Radar+Chart;jsessionid=83AB7DE2957EFA06E6ADDF5CCCD8276B
Sometimes the data displayed in a Radar Chart can be difficult to intuitively analyse. I read a good article on alternatives to radar charts and wanted to apply the “Petal Chart” in Flex. When you look at the result, you would’nt think that both charts visualize the same data! I used Kap Labs’ Kolbert API to generate a regular Radar Chart, and edited the data source and axis items to create a Flex Petal Chart. The two different data source CSV files can be seen if you right-click, View Source, and go to assets folder.

Data visualization in Flex 4.5 with Kolbert – Radar to Petal Chart « Bishop on Development

http://bbishop.org/blog/?p=552
https://sekati.com/product/sekati-bci

Brain-Computer Interface | Hello Sekati.

I left FITC Toronto excited about some ideas I had for a BCI ( ) project after chatting over drinks with a few physical computing artists who were also attending the conference.
http://www.developria.com/2009/12/flex-101-creating-an-swipeslid.html

Flex 101: Creating a Swipe/Slide Effect With Flex - DevelopRIA

In this example, we will walk through the creation of a swipe/slide effect inspired by the transitions that you often see in touch-capable devices when you use a finger to swipe from one screen to the next. One piece of content slides off to one side, and another piece of content seamlessly slides in from the opposite side. Before we get into how this effect is achieved, let's first examine the effect in action... Click on the "Animate!" button below to invoke the effect. You can change the animation direction by changing the selected item in the drop down list.
http://www.billdwhite.com/wordpress/2010/04/08/core-flex-4-elements-vs-children/ When I started using Flex 4 I tried to get up to speed by using the new version in a manner similar to its predecessor until I came across roadblocks or when I determined I was able to take advantage of the new features I had heard about such as skinning, states, etc. I quickly found that there were some obvious Flex questions that I was not able to answer without diving into the API docs and by playing with some examples so I could truly understand what is going on.

Core Flex 4 – Elements vs Children « Bill White's Blog

http://phpmaster.com/liskov-substitution-principle/ Welcome to the (overridden) Matrix. Hush… don’t tell anybody! In a deleted scene from the Matrix trilogy , the following dialogue takes place: Morpheus: Neo, I’m inside the Matrix right now.

The Liskov Substitution Principle » phpmaster

Cron Cron is a daemon that executes scheduled commands. Cron is started automatically from /etc/init.d on entering multi-user runlevels.

Cron and Crontab usage and examples

Optimizing performance for mobile AIR applications

This section highlights some best practices to improve performance in the mobile applications you build with Flash Professional. Decreasing application startup time To minimize load times, it is important to not bog the application down by loading your entire application all at once. For example, imagine that a game has 100 levels. There is no point in loading all 100 levels even before the title screen is displayed. This means you should not instantiate objects until they are ready to be used.

Flex Application Bootstrapping - Totally Custom Preloader

This article is written more than 2 years ago and it still receives a lot of interest. Technology has changed a lot in the last two years - Flex 3 transformed to Flex 4, etc. So I think, this article now needs a working sample demonstrating the approach below is still working. I’m not going to define and discuss what a RIA is, but I rather stress here on one very important aspect of rich internet applications and in particularly saving time .
An individual entry in a profile's feed as represented in the Graph API . The User , Page , Application and Group objects have feed connections containing post objects that represent their walls. In addition the User and Page objects have a connection named posts containing Post s made by the User and the Page respectively. Example A post from Facebook Platform:

Post - Facebook developers

Detect Spark List Control Scroll To End « Sönke Rohde

If you want to implement lazy loading (when the user scrolls to the end of the list it triggers to fetch more items) for a spark List control you have to use a workaround right now. Usually you would add an event listener on the scrollers verticalScrollBar but due to a bug it does not fire events if the user scroll with the mouse wheel or uses the arrow buttons. The bug shows a workaround by listening to the PropertyChangeEvent of the scrollers viewport. Here a little example app:
reference

library

XeerSoft

resources

windows

thunderbird