狐に背中を飛び越されまして
flashファイルの上に何か表示できるのか? と何となく思ってやってみた。 埋込みタグ''にはwmodeというパラメータがあるらしい。 デフォルトではwmode="window"と設定されている。 このwindowの場合flash、アプリケーションが常に最前面にくる。 これをwmode="transparent"にすると動画の上に画像とかテキストを表示することができる 例 <object width="480" height="385"> <param name="movie" value="http://www.youtube.com/v/_UDkWklh6dk&hl=ja_JP&fs=1&"></param> <param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value=
はじめに Adobeより、フリーで入手可能なFree Flex 2 SDKが公開されています。Flexは、Adobeが提供するRIA(Rich Internet Application)と呼ばれる高度なインターネットアプリケーションを構築するためのツールとテクノロジーの総称です。Flex 2アプリケーションはFlash 9を利用して、さまざまな機能を実現します。 Flash 8の次のバージョンであるFlash 9では、ActionScript 3.0(以下、ActionScript 3)が採用されることになっており、Free Flex 2 SDKは、このActionScript 3を使ってプログラムを作っていきます。 対象読者 Free Flex 2 SDKで何か作ってみたい人 Flash 9が気になっている人 JavaやC++などオブジェクト指向プログラミングが分かる人 必要な環境 本稿
MXMLとはXML言語で、Adobe? Flex? アプリケーションのコンポーネントユーザインタフェース配置をする記述です。 MXML記述により、アプリケーションのバックグラウンドの定義をすることも可能で、サーバサイドデータソースへアクセスやユーザインタフェースコンポーネントとデータソース間のデータバインディングなども可能になるようです。 例えば以下のような記述をした場合 ]] idには参照用のプロパティが設定でき、labelにはラベルテキスト、clickではボタン押下時のアクションを記述しています。 Adobe(R)のFlexツールSDKを使用すると、MXMLとActionScriptのコード記述によってクラスライブラリ参照してアプリケーションの開発が可能です。 標準で実装されるクラスライブラリには、コンポーネント(コンテナおよびコントロール)、マネージャクラス、データサービスクラス他す
受け取り先のメソッドは、event:TimerEvent を引数に取れるようにしておけば、メソッド名はなんでも OK 。 イベント送出間隔を指定した Timer オブジェクトを作成し、イベントを受け取るメソッドを登録したら、t.start() でタイマを開始すれば良い。停止は t.stop() で良い。 サンプルコードは以下。前回同様、単に1フレーム目のフレームスクリプトとして記述すれば良いです。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 7
こんにちは、なかわけです。 今日は久しぶりにFlashの話です。いつもの備忘録です。 as3corelibで提供されているJSONユーティリティを使います。 エンコードの場合、 package { import flash.display.Sprite; import com.adobe.serialization.json.JSON; public class encodeJson extends Sprite { public function encodeJson():void { var encodedJson:String = JSON.encode({ 'name' : 'nakawake', 'type' : 'neko', 'age' : 3 }); } } } デコードの場合(ウェブから取得してきた場合) package { import flash.display.Sp
SEの竹村です。 Ajaxのレスポンスとして利用するJSON形式のデータですが、 一方はAjaxで単にリスト表示させて選択させるだけ、もう一方はFlashでインタラクティブに選択させる という要望が仕事で発生したので、JSONデータをFlashで利用できるのかを調査しました。 調べてみると、FlashでJSONファイルをパースしてオブジェクト型として返してくれるライブラリがあります。 JSON in ActionScript via: Collection & Copy - JSON入門 これを利用したサンプルが↓こちらです。 ▼FlashでJSONファイルを読み込むサンプル 時間の都合上、下記の制約がありますが、とりあえず今回はFlashでJSONをパースして出力することだけを行っています。 - ボックスは直近のアークウェブ ブログから取ってきたものですがリンクさせてません - 読み込む
概要 † Flex Builder 3は、EclipseベースのRIA開発環境です。 現在はパブリックベータ版が公開されており、 最新版のBeta 3 (M4)を試用できます。 この章では、 Flex Builder 3単体での開発方法やFlash CS3との連携方法を紹介します。 http://labs.adobe.com/technologies/flex/ ↑ ダウンロード † Flex Builder 3 Beta 3はAdobe Labsからダウンロードできます。 ここではWindows版で進めます。 1. http://labs.adobe.com/technologies/flex/flexbuilder3/で"Get the Flex Builder 3 beta 3 now"をクリックします。 2. サインインします。Adobe membershipのIDをお持ちでない場
ドメイン制限のないHTTPリクエストを行えるようになったURLRequest 今回は、AIRが持つネットワークアクセス機能のうち、flash.net.URLRequestに関連する機能をご紹介したい。 URLRequestは、これまでのFlexにも存在したクラスで、HTTPリクエストを実現するためのクラスだ。しかし、ブラウザ上で動作するFlash/Flexアプリケーションには、セキュリティを考慮した制限が設けられており、URLRequestを用いた通信を行う先は、SWFファイルのダウンロード元ドメインに制限されていた。 こうしたURLRequestに関する制限は、AIRアプリケーション上で使用する場合には一切存在しない。どのドメインにもHTTPリクエストを行うことができる。と言うことは、様々なサイトが提供するWeb APIの呼び出しを自由に行うこともできる、つまりAIR上でマッシュアップを
AIRではFlashベースのNativeWindowクラスとHTMLベースのJavaScriptWindowクラス があります。この基礎講座では、NativeWindowを使ったFlashベースかつWindowOS用 のAIRアプリケーションを作成する方法を紹介します。 AIRアプリケーションの基本的な作成方法は、Flexアプリケーションと一緒です。ここでは とりあえずAIRアプリケーションを作成してみましょう。 1.ログイン画面の作成 まず手始めとして、ログイン画面を表示するだけのAIRアプリケーションを作成します。 新しいウィンドウでリンクを開きます。簡単なログイン画面の作成手順 2.AIRアプリケーションのパッケージ化 AIRアプリケーションは、アプリケーションをユーザに配布し、インストールしてもらう 必要があります。このAIRアプリケーションをパッケージ化す
ポップアップウインドウとか、たまに必要になるのに、そのたびに作り方忘れるのでメモ。 まずはポップアップで開くウインドウをコンポーネントとして作ります。 < ?xml version="1.0" encoding="utf-8"?> < mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" showCloseButton="true" close="closePopup()" width="400" height="300"> < mx:Script> < ![CDATA[ import mx.managers.PopUpManager; private function closePopup():void{ PopUpManager.removePopUp(this); } ]]> < /mx:Script> < /mx:Titl
Security クラスによって、異なるドメインに属する複数の SWF ファイルが互いにどのようにやり取りするかを指定できます。 例を表示 関連項目
※この記事は、京都市のパソコン家庭教師「Flutter」が、パソコン初心者の方にお送りする豆知識コーナーです。 「こういった感じで授業を行います」という紹介も兼ねています。 お気に召しましたら、どうぞパソコン家庭教師のFlutterを宜しくお願いします。 ご意見・間違いのご指摘、不明な点などございましたら、コメント、もしくは こちらのページ(「パソコン家庭教師のFlutter」のページです) の、「お問い合わせ」よりお知らせください。 ※ここはちょっと上級者向けの内容になっています! SNS(ソーシャル・ネットワーキング・サービス)の中でも最大手と言っていいでしょう、 「mixi」にて、最近盛り上がっているのが「mixiアプリ」。 携帯でもパソコンでも無料で楽しめ、 楽しいゲームもあれば、 知識・教養を必要とするお勉強系、 便利ツールとしても使えるものなど 多種多様なアプリが公開されている
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く