Archive for the ‘Platform’ Category

OrangeFlash.eu => Blog.Kiichigo.eu

Sunday, December 21st, 2008

Yeah, I’m moving blog to blog.kiichigo.eu. Hopefully I will write there more often =)

MultiView (0.1 Alpha)

Friday, November 9th, 2007

Small component which may act as ViewStack’s little brother.

Component acts somewhat like ViewStack, but it has following differences:

  • It accepts DisplayObjects (not only mx.core.Container instances)
  • It accepts IFactory instances.

And since it’s very young component, it missing some features like: exceptions and event dispatching, but it’s coming.
(more…)

Flex Debugging

Monday, October 22nd, 2007

I’ve found nice debugging tool not long ago. Seems to be quite handy. The only thing I miss is integrated Logging that’s might be useful with AIR development.

Project
Download

Easy way to add attribute to XML

Sunday, September 16th, 2007

Maybe I’m reinventing bicycle but..I just found 2 short ways to add attribute in XML node.

public function funnyXMLBehavior():void
{
	var xmlDemo:XML = ;

	//this is works

	xmlDemo.childNode[’@atr1′] = ‘Orange’;

	//and this is workwing too 0_o

	xmlDemo.childNode.@[’atr2′] = ‘Raspberry’;

	trace(xmlDemo.toXMLString());
}

Scion got Site of the Day Award :D

Tuesday, July 24th, 2007

I can’t say that I did big part for this site, but I’m proud of this anyways.

And yes, I will remember working on this site forever :D.

Orange Frameworks

Thursday, January 25th, 2007

I’ve just opened small site, with my humble collection of libriaries. - framework.orangeflash.eu. Currently you can find there:

  • XML RPC: Allows you work with XML RPC API on server, for example you can work with blogs.
  • WordPress: WordPress API, build on XML RPC API, for WordPress based blogs.
  • Yahoo: Wrapper for original YahooSearchAPI, that allows more comfortable work, alogn with MXML component

Note: I didn’t make examples yet :)

Creating Own Meta Data in Flex

Saturday, January 20th, 2007

To create your own meta data, in Flex you have to set compiler option: -keep-as3-metadata

Here is small example -

Index.mxml:



	
		
	
	

(more…)

Yahoo API Wrapper

Tuesday, January 16th, 2007

To be honest I don’t like Yahoo Search ActionScript 3.0 API, it doesn’t support all data types, for example in order to get thumbnail url, from image search request, you have to parse xml manualy… Also it does not compile with strict-mode compiler option.

So I’ve decided to create my own wrapper for Yahoo API. Here is another pre alpha version (damn, I have too many alphas :) ).

My wrapper has new event object - YahooEvent, and different ValueObjects for different search types. for example Web VO has following fields:

  • title
  • summary
  • url
  • clickURL
  • dateModified
  • cache:
    • url
    • size

(more…)

Flex Effects in Flash 8

Sunday, January 14th, 2007

I was porting mx.effects from Flex 2 Framework to ActionScript 2.0 recently, and here is some result. You can work with them just like in AS3, you can create effects and compositions (Parallel or Sequence).

Example.
Sources.

Note: I did not ported all classes, like Dissolve, Pixilate etc yet. And this is pre-alpha stage of porting, classes are not fully documenter, and only IEffect.play() method was tested so far.

Creating NanoRIA #2.1: .NET 3 Client

Tuesday, January 9th, 2007

In the previous tutorial we’ve created very small Web Service, which provides us with news, images and weather. Now we will create client to our Web Service in Microsoft Blend

So lets start Blend and C# Express, and create new project called “MiniRIA”, and lets start to develop!

But before we’ll actualy start to develop, we need WebService proxy class that call remote operations on our server. We’ll do this same way we did with GlobalWeather service:

  • Start your WebService from Visual Web Developer, and remmember it’s url, you can check in the Task Bar.
  • Open Command Promt, and type: wsdl.exe HERE_IS_URL /out:Path\to\project\Service.cs

Now let’s think a bit (yeah we have to do this stuff sometimes), since I’m using Windows Vista I really miss old Windows XP window layout, do you remmember blue panel with expanding toolboxes on your left, and content of a folder on your right? We’ll do similar layout in our application. On left side we’ll place weather and media information, and news on right. So we have to create 3 main UI Controls:

  • Weather control - holds information about weather.
  • News control - with propaganda :D.
  • Flickr control - with images.

Weather control will hold some Labels and TextBoxes controls, News and Flickr will contain ListBox instance, which will be filled with content (images for Flickr and news for News).
(more…)