AdobeTV – Adobe CS4 Launch Broadcast

http://tv.adobe.com/#vi+f1556v1715

Retrieving the URL.

플래시 무비에서 해당 SWF 파일을 포함하는 HTML 문서의 URL을 구하려면, HTML 문서에서 설정을 해주어야 합니다. FlashVars 파라메터 또는 자바스크립트를 통해서 플래시 무비로 URL을 전달해 줘야 하죠. 그런데 플래시의 ExternalInterface API와 자바스크립트의 eval() 함수를 이용하면, 그럴 필요가 없습니다.
To retrieve the HTML document’s URL in which the SWF file is inserted, you have to modify the HTML document. Pass the URL to the SWF movie via an FlashVars parameter or a JavaScript function. But, the ExternalInterface API in Flash and eval() function in JavaScript provide you with a more simple solution.
SWFファイルが含まれているHTMLドキュメントのURLを得るためには、そのHTMLファイルに何か設定をしなければならない。FlashVarsパラメタとかJavaScriptを使ってフラッシュムービーにURLを伝達します。でも、フラッシュのExternalInterface APIと共にJavaScriptのeval()函数を使用すると、その必要はないんです。

1
2
3
4
5
6
7
8
9
10
11
var btn:Button;
for(var i:uint=1; i<=3; i++){
	btn = this["b" + i];
	btn.addEventListener(MouseEvent.CLICK, clickListener);
}
 
function clickListener(e:MouseEvent):void{
	btn = e.currentTarget as Button;
	var str:String = ExternalInterface.call("eval", btn.label);
	tf.text = str;
}

Related link: http://wooyaggo.tistory.com/163

Web Developer Toolbar’s Display Object Information

파이어 폭스의 익스텐션 중에서 웹 디벨로퍼 툴바의 기능 중 플래시 디버깅에 유용한 기능이 있어서 소개합니다.
Information > Display Object Information 메뉴를 선택하면, 플래시 오브젝트의 태그를 화면에 디스플레이 해 줍니다. 물론 소스보기를 통해서도 확인할 수 있는 내용이지만, 원하는 부분을 쉽게 찾기 어렵죠. 게다가 자바스크립트를 통해서 입력된 경우에는 더욱 그렇고요. 위 기능을 사용하면 매우 편리합니다.
There is a useful feature in Web Developer Toolbar extension for FireFox. If Display Object Information menu is activated, Flash objects’ tags are displayed on the screen. It is useful when you debug your Flash applications.
FireFox用Web Developer Toolbarの中でデバッグする時役に立つ機能があります。Display Object Informationメーにュを実行すると、フラッシュオブゼクトのタグを示します。デバッグする時、有用なものです。


CJmall Renewal!

CJ몰 홈페이지를 리뉴얼 했습니다. 빡빡한 일정에도 열심히 일해 준 이채홍대리와 이현정 대리 수고했어요.





수퍼개발자??? 글세, 아직은…

할 일은 많으나 일은 하기 싫어서 서핑이나 하면서 시간을 떼우다가 흥미로운 칼럼을 봤습니다. 많은 플래시 개발자들을 만나다 보면 대단하다는 둥 많은 찬사의 소리들도 종종 듣고, 때론 그걸로 인해서 우쭐해 하기도 하지만… 이 글을 읽다 보니 난 아직도 멀었구나 라는 생각이 드네요.

좀 더 공부하고, 좀 더 연마하고, 좀 더 나누어 줄 수 있는 그런 사람이 되어야 겠군요.

[수퍼개발자의 길 ③] 나눔과 교육으로 날아라
http://blog.naver.com/ykc1329/50034794269

Sorry, English translation is not available on this post.
ごめんなさい。このポストには日本語の翻訳を提供しません。
Older Posts »