Search Flex Samples
Showing posts with label 360Flex Samples. Show all posts
Showing posts with label 360Flex Samples. Show all posts

Creating a Simple RIA

Subtopics:
Learning Points - A summary of information and concepts for building a simple RIA
Code Files - Complete code files for the Flickr RIA
Code Anatomy - An interactive approach to understanding the Flickr RIA code
Tutorial - Step-by-step instructions on building the Flickr RIA
In this module, you will learn how to create a simple rich Internet application (RIA) that retrieves and displays photos from the Flickr API based on user-supplied keywords. To build this application you will use Flex Builder, pre-built Flex components, and the Flex HTTP service.
The following application is an embedded SWF file created by using Flex Builder; it is not a screen shot. Type a search term, like "Adobe," into the text box and click the Submit button to retrieve and display photo data from the Flickr API.
5 Learn more
What is an RIA?
Creating a Simple MP3 Player using ActionScript 3.0 and Flex 2
Rich Internet application
Rich Internet Applications Topic Center
Flex Learning Paths
Flex in a Week
Tour de Flex
NOTE: the images displayed are coming from a public photo feed. The results may be unpredictable and Adobe is not responsible for the contents of the feed itself.

Flex Using Shared Objects

About shared objects
Shared objects function like browser cookies. You use the SharedObject class to store data on the user's local hard disk and call that data during the same session or in a later session. Applications can access only their own SharedObject data, and only if they are running on the same domain. The data is not sent to the server and is not accessible by other Adobe® Flex® applications running on other domains, but can be made accessible by applications from the same domain.
Shared objects compared with cookies
Cookies and shared objects are very similar. Because most web programmers are familiar with how cookies work, it might be useful to compare cookies and local SharedObjects.
Cookies that adhere to the RFC 2109 standard generally have the following properties:
They can expire, and often do at the end of a session by default.
They can be disabled by the client on a site-specific basis.
There is a limit of 300 cookies total, and 20 cookies maximum per site.
They are usually limited to a size of 4 KB each.
They are sometimes perceived to be a security threat, and as a result, they are sometimes disabled on the client.
They are stored in a location specified by the client browser.
They are transmitted from client to server through HTTP.
In contrast, shared objects have the following properties:
They do not expire by default.
By default, they are limited to a size of 100 KB each.
They can store simple data types (such as String, Array, and Date).
They are stored in a location specified by the application (within the user's home directory).
They are never transmitted between the client and server.
About the SharedObject class
Using the SharedObject class, you can create and delete shared objects, as well as detect the current size of a SharedObject object that you are using. The SharedObject class consists of the following methods.
Method
Description
clear()
Purges all of the data from the SharedObject object, and deletes the SharedObject file from the disk.
flush()
Immediately writes the SharedObject file to a file on the client.
getLocal()
Returns a reference to the client's domain-specific, local SharedObject object. If none exists, this method creates a new shared object on the client.
getSize()
Gets the size of the SharedObject file, in bytes. The default size limit is 100 KB, although it can be larger if the client allows it.
In addition to these methods, SharedObject objects have the following properties:
Property
Description
data
Read-only property that represents the collection of attributes the shared object stores.
onStatus
The shared object's event handler that is invoked for every warning, error, or informational note.
You use the SharedObject class to store small amounts of data on the client computer.
About shared objects
Creating a shared object
Destroying shared objects
SharedObject example

FLSkin is available on adobe exchange

made three themes with different color code, Orange, Black and Grey. Those themes are having almost every components graphic skinning. It has art work files, if you want to modify any thing on graphics. Those themes are ready to use in any of flex or AIR projects.

You can download and explorer themes from here.

See you at 360Flex!

Just thought I’d do one of these “I’ll be at 360Flex” posts that everyone’s doing. Come find me and say hi. I look silly, like this. I’ll be attending the sessions all three days.

And here’s some more fun with fire and smoke effects in Flex:

Related Flex Samples

Learn Flex: Flex Samples | Flex Video Tutorials Flex Examples