<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>memo.393 &#187; Illustrator</title>
	<atom:link href="http://memo.393.bz/cate/illustrator/feed" rel="self" type="application/rss+xml" />
	<link>http://memo.393.bz</link>
	<description>個人的メモです。間違いなどありましたらご指摘ください。。。</description>
	<lastBuildDate>Sun, 27 Nov 2011 15:27:41 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[AS]progression DoTweenerでフィルター関係(スペシャルプロパテイl)を操作するときPropではスペシャルプロパティは操作できないっぽい。</title>
		<link>http://memo.393.bz/archives/406</link>
		<comments>http://memo.393.bz/archives/406#comments</comments>
		<pubDate>Mon, 16 Mar 2009 06:42:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[Illustrator]]></category>

		<guid isPermaLink="false">http://memo.393.bz/?p=406</guid>
		<description><![CDATA[DoTweenerはTweenerの拡張ですので、同じ手順でスペシャルプロパティが使えます。 今回はフィルター関係のTweenを使いたかったので、 //インポートして import caurina.transitions [...]]]></description>
			<content:encoded><![CDATA[<p>DoTweenerはTweenerの拡張ですので、同じ手順でスペシャルプロパティが使えます。<br />
今回はフィルター関係のTweenを使いたかったので、</p>
<pre name="code" class="as">

//インポートして
import caurina.transitions.properties.FilterShortcuts;
//コンストラクタとかでイニシャライズ
FilterShortcuts.init();
</pre>
<p>通常のTweenerでやるときの作業でOK。<br />
ここで一点つまづいたのは・・・</p>
<p>「おお、Progressionでもフィルター使えるんか！<br />
えっとじゃあ、alpha初期化してるとこでフィルタの初期値もまとめて書いちゃうぜ！」</p>
<pre name="code" class="as">

addCommand(
new Prop(this.hoge1_mc, { _Blur_blurX:firstBlurX,alpha:0} ),
new Prop(this.hoge2_mc, { _Blur_blurX:firstBlurX,alpha:0} )
)		
</pre>
<p>だめでした。<br />
_Blur_blurXはTweenerのプロパテイなのでPropは認識しない様子。<br />
というわけで、DoTweenerのtime:0で初期化したらOKでした。</p>
<pre name="code" class="as">

addCommand(
new DoTweener(this.hoge1_mc, { _Blur_blurX:firstBlurX,alpha:0,time:0} ),
new DoTweener(this.hoge2_mc, { _Blur_blurX:firstBlurX,alpha:0,time:0} )
)		
</pre>
]]></content:encoded>
			<wfw:commentRss>http://memo.393.bz/archives/406/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[AS]ドキュメントクラスでのthisについて</title>
		<link>http://memo.393.bz/archives/233</link>
		<comments>http://memo.393.bz/archives/233#comments</comments>
		<pubDate>Wed, 28 Jan 2009 07:20:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ActionScript]]></category>
		<category><![CDATA[etc...]]></category>
		<category><![CDATA[Illustrator]]></category>
		<category><![CDATA[AS3]]></category>

		<guid isPermaLink="false">http://memo.393.bz/?p=233</guid>
		<description><![CDATA[ドキュメントクラスは、MovieClipかSpriteを継承していないといけない。 そのためどっちを継承したかでthisの性質が変わってくる模様。 以下、Spriteを継承しててはまったこと。 ステージにインスタンス名m [...]]]></description>
			<content:encoded><![CDATA[<p>ドキュメントクラスは、MovieClipかSpriteを継承していないといけない。<br />
そのためどっちを継承したかでthisの性質が変わってくる模様。</p>
<p>以下、Spriteを継承しててはまったこと。<br />
ステージにインスタンス名myMcのムービークリップを配置。<br />
ドキュメントクラスをMain.as</p>
<pre name="code" class="as">

//Main.as
public class Main extends Sprite {
public function Main() {
var main2:Main2 = new Main2(this);
}
}
</pre>
<pre name="code" class="as">

//Main2.asのコンストラクタ
public function Main2(container) {
var container2:Sprite = container

trace(container2.myMc.x);
}
</pre>
<p>これだと、container2にmyMcなんてプロパティ無いよと起こられる。<br />
おそらくSpriteはDynamicじゃないからってことかな？<br />
でも、↓こう書けばSprite継承でも参照できるみたい。<br />
trace(container2["myMc"].x);<br />
まぁcontainer2:Spriteとせずに、Mainとすれば問題ないけど。</p>
<p>最初からMainはMovieClipを継承してれば何の問題もない</p>
<pre name="code" class="as">

//Main.as
public class Main extends MovieClip{
public function Main() {
var main2:Main2 = new Main2(this);
}
}
</pre>
<pre name="code" class="as">

//Main2.asのコンストラクタ
public function Main2(container) {
var container2:MovieClip= container
trace(container2.myMc.x);
}
</pre>
<p>結論としては、ドキュメントクラスはMovieClipを継承しといた方が無難・・・</p>
]]></content:encoded>
			<wfw:commentRss>http://memo.393.bz/archives/233/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Ai]文字を湾曲させる方法</title>
		<link>http://memo.393.bz/archives/139</link>
		<comments>http://memo.393.bz/archives/139#comments</comments>
		<pubDate>Fri, 09 Jan 2009 05:45:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Illustrator]]></category>

		<guid isPermaLink="false">http://memo.393.bz/?p=139</guid>
		<description><![CDATA[「効果」→「ワープ」→「下弦」or「上弦」 効果適用後、パスとして確定させるには 「オブジェクト」→「アピアランスを分割」]]></description>
			<content:encoded><![CDATA[<p>「効果」→「ワープ」→「下弦」or「上弦」</p>
<p>効果適用後、パスとして確定させるには<br />
「オブジェクト」→「アピアランスを分割」</p>
]]></content:encoded>
			<wfw:commentRss>http://memo.393.bz/archives/139/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

