Archive for February, 2008

29Feb

[Flex 3] Building a Simple RIA with Flickr Public Photos

No comments

Sorry, no little snippet today. I have been working on learning more about Flex 3. Here is a cool little tutorial:
Flex 3 Simple RIA

a2a_linkname=”[Flex 3] Building a Simple RIA with Flickr Public Photos”;
a2a_linkurl=”http://manewc.com/2008/02/29/flex-3-building-a-simple-ria-with-flickr-public-photos/”;
a2a_color_main=”D7E5ED”;a2a_color_border=”AECADB”;a2a_color_link_text=”333333″;a2a_color_link_text_hover=”333333″;

Categories: Flex Web Development
28Feb

[AS 3] Yahoo! Alert Box Component and Button Component

No comments

A simple demonstration of the Yahoo! alert box component. There is more functionality to this component to act much like a javascript:prompt window, I am just demonstrating a simple method here. You can find the demos over at Yahoo! Developer Network Alertmanager page.


Here is the document class used:

package
{
import flash.display.Sprite;
import fl.controls.Button;
import com.yahoo.astra.fl.managers.AlertManager;
import [...]

27Feb

[AS 3] DropShadowFilter: Drop Shadow on an Object

No comments

A simple demonstration of applying a drop shadow effect on a dynamically drawn object. Move your mouse around the Flash stage below to move the drop shadow.


Here is the Document Class DropShadow.as:

package {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
[...]

26Feb

[AS 3] Yahoo! Column Chart with External XML File

No comments

I just wanted to create a bar graph with the data from an XML file.
So I have an XML file called graph.xml with the below contents and placed the ColumnChart component in the library.


<Graph>
<Report>
<Point>
<Value>48</Value>
<Label>January 25, 2008</Label>
</Point>
<Point>
<Value>26</Value>
<Label>January 26, 2008</Label>
</Point>
<Point>
<Value>29</Value>
<Label>January 27, 2008</Label>
</Point>
<Point>
<Value>42</Value>
<Label>January 28, 2008</Label>
</Point>
<Point>
<Value>40</Value>
<Label>January 29, 2008</Label>
</Point>
<Point>
<Value>43</Value>
<Label>January 30, 2008</Label>
</Point>
<Point>
<Value>38</Value>
<Label>January 31, 2008</Label>
</Point>
<Point>
<Value>38</Value>
<Label>February 1, 2008</Label>
</Point>
<Point>
<Value>13</Value>
<Label>February 2, [...]

25Feb

[AS 3] Fullscreen Mode with a Stage Area ContextMenu()

4 comments so far

To follow up with a previous demo of the Fullscreen capabilities, there has been a request to allow for Fullscreen mode when the user simply clicks within the Flash stage area. I wrote up a new document class that would allow this, but with limitations based on the Flash Player vs. AIR applications.
Based on the [...]

Categories: Actionscript 3