MAX Factory

Icon

Flash lite(携帯Flash)、Flex、widgetなどの技術メモ

[flex]flex3.5

flex3.5インストールしました。

○flex3.5ダウンロードサイト
http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+3

○Data Visualizationコンポーネント
http://www.adobe.com/cfusion/entitlement/index.cfm?e=flex3sdk

○Data Visualizationコンポーネントのインストール手順
※3.3時のインストールですが、手順は同様です。
http://www.noridon.net/weblogs/archives/flex/flex3/

3.5バージョンで、
preloader のローディング中にクリックすると、
SystemManager でエラーが出るバグがfixされました。

[flex]矢印描画

○様々な形の矢印を作成できる描画ライブラリ
http://www.dncompute.com/blog/2008/07/17/graphicsutil-a-utility-class-for-drawing-arrows.html

使い方もすごく簡単。イケてます。

[flex]点線、破線の描画

点線、破線の描画ライブラリ。

○Dashed Lines記事
http://www.quietlyscheming.com/blog/charts/dashed-lines/

・デモ
http://demo.quietlyscheming.com/dashes/index.html
・ソース
http://demo.quietlyscheming.com/dashes/srcview/index.html

[flex][pv3d]viewstack 画面切替effect

papervision3Dを利用したeffectライブラリ。

○Papervision3D Effects for Flex Source
http://www.tink.ws/blog/papervision3d-effects-for-flex-source/
デモ1:flip
http://www.tink.ws/blog/files/flex/FlipExample.html

面白いと思って調べていると、
この手のエフェクト、結構あるんですね。
知らなかったです。。遅れてました。。

○pv3d effect関連
http://www.dgrigg.com/post.cfm/04/18/2007/Flex-form-with-a-3d-twist
http://www.efflex.org/EfflexExplorer.html

[as3]parsing rss feeds

○as3syndicationlib
rssフィードをパースしてくれるライブラリ。
RSS1.0、RSS2.0、ATOM1.0など対応。
http://code.google.com/p/as3syndicationlib/

簡単なサンプル作成しました。

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application
xmlns:mx=”http://www.adobe.com/2006/mxml”
layout=”absolute” initialize=”init();”>

<mx:Script>
<![CDATA[
import com.adobe.xml.syndication.generic.IItem;
import com.adobe.xml.syndication.generic.IFeed;
import com.adobe.xml.syndication.generic.FeedFactory;

private function init():void
{
var loader:URLLoader = new URLLoader();
var request:URLRequest = new URLRequest("http://maxfactory.biz/blog/feed/");

loader.addEventListener(Event.COMPLETE, loadCompleteHandler);
loader.load( request );
}

private function loadCompleteHandler(e:Event):void
{
var rssString:String = URLLoader(e.target).data;
var feed:IFeed = FeedFactory.getFeedByString(rssString);
for (var i:uint=0; i<feed.items.length; i++)
{
var item:IItem = feed.items[i] as IItem;
trace( “title = ” + item.title );    //タイトル
trace( “link = ” + item.link );        //リンク
trace( “date = ” + item.date );        //日付
trace( “excerpt.value = ” + item.excerpt.value );    //記事内容(抜粋)
}
}
]]>
</mx:Script>

</mx:Application>

サンプルでは、このブログのRSS Feedを読み込んで、
記事のタイトル、日付などの情報をtraceしてます。
Feedのtype(RSS1.0、RSS2.0、ATOM1.0)を意識しないで、parseできるからいいです。

 

2010年3月
« 2月    
1234567
891011121314
15161718192021
22232425262728
293031  

プロフィール

Author:max
横浜で働いているFlashが好き。
ゆるーく書いてます。

◆受賞歴
○Yahoo×SoftBank主催モバイルウィジェットコンテスト
[アドビシステムズ賞(銀賞)]
○paperboy&co.主催ペパボクリエイターズコンテスト
戻るボタンアワード [ムームードメイン賞]

Twitter

Twitter Updates

    follow me on Twitter