29Apr

Median Chart of Google Dashboard Analytics XML and Yahoo Astra Charts

1 comment so far

A friend of mine was looking for a way to chart out Google Analytics with a median value embedded within the graph. I opted to use Yahoo! charts for to demo this as I wanted to learn a little more about their charting features. So, I took a websites Google Analytics report, went to the [...]

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 [...]

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, [...]

22Feb

[AS 3] Yahoo! TabBar Component

No comments

I was just wondering at the ease of the Yahoo! component, so I modified their code to output simple tab data (just the page id).
You can grab the component here: http://developer.yahoo.com/flash/


Here is the document class:

package
{
import flash.display.Sprite;
import flash.events.Event;
import fl.data.DataProvider;
import com.yahoo.astra.fl.controls.TabBar;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.TextFieldType;
[...]

15Feb

[AS 3] Actionscript 3 and Yahoo Maps without Flex

No comments

Fortunately I came across this site (zeuslabs) that has a hack to allow the use of Yahoo! Maps API. Their site provides excellent documentation of this implementation. I wrote up a class document that can viewed below.


Here is the class file I modified a little:

package {
import flash.display.Sprite;
import [...]