Archive for July, 2008

JavsScript Motion Tween

Friday, July 11th, 2008
파이어폭스에서 투명 플래시를 사용할 경우, 레이어 뒤의 객체들을 사용할 수 없는 문제가 있어서, 자바스크립트로 된 트윈 효과를 구글해서 찾은 사이트 입니다. 어지간한 트윈 효과는 대부분 제공하는 듯 합니다.

모션 종료값을 나타내는 finish 프로퍼티 대신 setFinish() 메소드를 사용하는 것 외에는, 플래시에서 사용하는 트윈 클래스와 사용법은 거의 비슷하네요.

I encounted a problem in FireFox. Though I set the wmode property of an SWF movie to transparent in FireFox, I can not click on objects beneath the DIV layer that contains the SWF file. So I googled, and found this JavaScript Tween.

It is much the same with the Tween class in ActionScript except taht it uses setFinish() method rather than finish property to set the ending value of the target object property to be tweened.

ごめんなさい。このポストには日本語の翻訳を提供しません。

JavaScript Motion Tween

최진기 선생님의 TCC 현 정부의 환율방어 무엇이 문제인가?

Thursday, July 10th, 2008
http://megadownload.nefficient.co.kr/megaeventweb/MEGA/EVENT/SELF/E8TC0708JK01.ASF

과연 현 정부가 경제를 좀 알긴 아는걸까 라는 생각을 들게 만드는 동영상입니다. 주식이나 부동산에 투자를 하고 있거나, 경제에 관심이 있는 분이라면 꼭 한 번 보시길… 물론 한 사람의 소수 의견을 너무 과대평가 하는 것은 아닌지 조심스럽긴 하지만, 국민과 말도 통하지 않는 먹통같은 정부 당국자들 보다 더 신뢰가 가네요.

ps. 카페 돌아다니다 퍼왔는데, 저작권 등의 문제가 있다면 통보 즉시 삭제하도록 하겠습니다.

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

고양이 목에 방울 안달기

Wednesday, July 9th, 2008

믿을 놈을 믿어야지…
Sorry, English translation is not available on this post.
ごめんなさい。このポストには日本語の翻訳を提供しません。

FITC comes Seoul.

Tuesday, July 8th, 2008

캐나다의 플래시 페스티벌에서 출발해서 인터액티브 미디어 행사로 발전된, FITC(Flash in the Can)가 10월 14일 서울에서 개최됩니다.

Joshua Davis / Erik Natzke / Kyle Cooper / Richard Galvan / 설은아 / Ralph Hauwert / Marcos Weskamp 등 국내외 유명 아티스트들이 연사로 참석하여 디자인, 모션 그래픽 및 개발 등 다양한 분야의 주제에 대해서 강연합니다.

사전 예약이 8만원(일반 12만원)으로 다소 비싸게 느껴질 수도 있겠지만, 사장님 졸라서 경비처리 ㅋㅋㅋ

FITC Seoul 2008 | Journey. A Flash Design Event

Runtime font sharing.

Thursday, July 3rd, 2008
우선 공유하려는 폰트를 라이브러리에 등록하고, 아래 그림과 같이 설정한 다음 SWF을 퍼블리시 합니다.
First, register a font in the library, and set the linkage properties like the following image. Then, publish the SWF file.
まず、共有しようとするフォントをライブラリに登録し、下のイメージのように設定して、SWFファイルを出版します。

Sharing a font

이 SWF파일을 Loader 객체로 로드한 다음, 아래 코드를 사용하여 공유된 폰트를 등록, 사용할 수 있습니다.
Load the SWF via Loader object, then you can retrieve the shared font from the loaded SWF.
このSWFファイルをLoader客体を通じてロードした後で、次のコードを使って、共有されたフォントを登録し、使用できます。
var sharedFont:Class = font_loader.contentLoaderInfo.applicationDomain.getDefinition("Gothic") as Class;
Font.registerFont(sharedFont);

Using the shared font.

그러나 여기서 한 가지 문제가 있습니다. 같은 도메인의 경우 상관이 없으나, 서로 다른 도메인에서는 SWF가 로드되었다 하더라도, ApplicationDomain.getDefinition() 메소드를 통해 폰트를 가져올 수 없습니다. 즉, www.mydomain.com의 SWF에서 font.mydomain.com의 SWF파일에 정의된 폰트를 사용할 수 없다는 것입니다.

이 문제를 해결하기 위해서는 LoaderContext.securityDomain 속성을 사용하여, 다른 도메인의 SWF 사이에서 자원에 대한 접근을 허용할 필요가 있습니다. 다음의 코드는 LoaderContext를 사용하여 다른 도메인 사이에 폰트를 공유할 수 있도록 구성한 것입니다.

But there is a problem. If the two SWF files is on the same domain, no problem. If the SWFs are seperated in different domains, you can not access to the shared font with ApplicationDomain.getDefinition() method, though the SWF file is loaded in. So, an SWF file on www.mydomain.com can not use a font in an SWF on font.mydomain.com.

You can use LoaderContext property, to allow access to assets in a different domain’s SWF file. The following code shows how it works.

でも、一つ、問題があります。同じドメインなら問題ないが、二つのSWFファイルが違うドメインにあると、そのSWFをロードしても、ApplicationDomain.getDefinition()メソッドを使って共有フォントにアクセスすることが出来ないんです。

この問題を解決するために、LoaderContext.securityDomain属性を設定して、他のドメインにあるSWFファイルの資源にアクセスを許容しなければなりません。次のコードは、LoaderContextを使用して、違うドメインからフォントを共有しに作成したものです。

(more…)