<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Understanding Flash CS4 Motion XML</title>
	<atom:link href="http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/feed/" rel="self" type="application/rss+xml" />
	<link>http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/</link>
	<description>...and especially enthusiastic about motion tweens in Flash...</description>
	<lastBuildDate>Mon, 06 Sep 2010 04:36:53 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: George Profenza</title>
		<link>http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/comment-page-1/#comment-41731</link>
		<dc:creator>George Profenza</dc:creator>
		<pubDate>Mon, 12 Apr 2010 18:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/#comment-41731</guid>
		<description>Great article! Very handy stuff ! 

I wish this and the other material that couldn&#039;t make it in this article was in a documentation somewhere.

The article shined a lot of light, but there are still bits which I don&#039;t fully understand:

1. the @timevalue for the second Keyframe in Motion_x is 23000. Does that mean the animation is 1 second long(AnimationCore.@duration/AnimationCore.@TimeScale), but the count is 0 based ? so go get timing of the second Keyframe I would use (parseInt(Keyframe.@timevalue) + 1000) / parseInt(AnimationCore.@TimeScale) ?

2. The y value of that second Keyframe @anchor is 336.95, I didn&#039;t understand what &#039;native units&#039; means. Then I pasted your xml into the MotionClipboard.xml file and just pasted the motion and had a look at it. Initially I pasted the motion to a clip that was at the centre of the stage, and numbers&#039;s from the property inspector/motion editor didn&#039;t match the xml. Then I placed my clip at 0,0 and pasted the motion...the numbers matched. Does this mean the xml values are relative values to where the clip is ?

3. This is the part I&#039;m most interested in at the moment...If the motion xml has relative coordinates, how can I get the absolute x,y,z properties for a 3d transformed object from jsfl ? Once the clip goes in &#039;3d mode&#039; the (Element).x property goes to 0. How does Copy Properties/Paste Properties from the timeline context menu work ? Is that accessible via jsfl ?

I am very interested in this, so any hint will help.

Thank you sharing all this,
George</description>
		<content:encoded><![CDATA[<p>Great article! Very handy stuff ! </p>
<p>I wish this and the other material that couldn&#8217;t make it in this article was in a documentation somewhere.</p>
<p>The article shined a lot of light, but there are still bits which I don&#8217;t fully understand:</p>
<p>1. the @timevalue for the second Keyframe in Motion_x is 23000. Does that mean the animation is 1 second long(AnimationCore.@duration/AnimationCore.@TimeScale), but the count is 0 based ? so go get timing of the second Keyframe I would use (parseInt(Keyframe.@timevalue) + 1000) / parseInt(AnimationCore.@TimeScale) ?</p>
<p>2. The y value of that second Keyframe @anchor is 336.95, I didn&#8217;t understand what &#8216;native units&#8217; means. Then I pasted your xml into the MotionClipboard.xml file and just pasted the motion and had a look at it. Initially I pasted the motion to a clip that was at the centre of the stage, and numbers&#8217;s from the property inspector/motion editor didn&#8217;t match the xml. Then I placed my clip at 0,0 and pasted the motion&#8230;the numbers matched. Does this mean the xml values are relative values to where the clip is ?</p>
<p>3. This is the part I&#8217;m most interested in at the moment&#8230;If the motion xml has relative coordinates, how can I get the absolute x,y,z properties for a 3d transformed object from jsfl ? Once the clip goes in &#8216;3d mode&#8217; the (Element).x property goes to 0. How does Copy Properties/Paste Properties from the timeline context menu work ? Is that accessible via jsfl ?</p>
<p>I am very interested in this, so any hint will help.</p>
<p>Thank you sharing all this,<br />
George</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/comment-page-1/#comment-29372</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Wed, 29 Jul 2009 21:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/#comment-29372</guid>
		<description>I&#039;m having a problem with the &quot;Copy Motion as ActionScript 3.0...&quot; feature in Flash CS4. I&#039;m not sure whether to submit a problem as a bug, or keep searching for the answer to the problem. I figured I would try here. I have found the problem mentioned on a few forums, but nobody has an answer. 

When I paste the code into new AS3 class, move things to the proper locations, and make it the document class; it works like a charm. See AS file at http://www.richhumphreys.com/source/SimpleMotion.as.txt
 
This code works if I have an Symbol on the timeline with the instance name &quot;box&quot;.

I run into problems when I try to create instances in ActionScript. If I try and create a symbol instance in code and add to the stage, then use the variable name as the first argument of the addTarget() method, I receive this error...

ReferenceError: Error #1069: Property instance1 not found on SimpleMotion and there is no default value.
	at fl.motion::AnimatorBase$/processCurrentFrame()
	at fl.motion::AnimatorFactoryBase/addTargetInfo()
	at fl.motion::AnimatorFactoryBase/addTarget()
	at SimpleMotion()

Just as a lark I added an instance name &quot;test&quot; to the code generated instance, but the error comes up the same only with &quot;Property test not found&quot;.

I suppose I could build a motion XML file like described in this Blog, but it seems rather verbose when I can handle it with one or two Arrays. 

Is this a bug? Where can I look to find how this is supposed to be used?

--Rich</description>
		<content:encoded><![CDATA[<p>I&#8217;m having a problem with the &#8220;Copy Motion as ActionScript 3.0&#8230;&#8221; feature in Flash CS4. I&#8217;m not sure whether to submit a problem as a bug, or keep searching for the answer to the problem. I figured I would try here. I have found the problem mentioned on a few forums, but nobody has an answer. </p>
<p>When I paste the code into new AS3 class, move things to the proper locations, and make it the document class; it works like a charm. See AS file at <a href="http://www.richhumphreys.com/source/SimpleMotion.as.txt" rel="nofollow">http://www.richhumphreys.com/source/SimpleMotion.as.txt</a></p>
<p>This code works if I have an Symbol on the timeline with the instance name &#8220;box&#8221;.</p>
<p>I run into problems when I try to create instances in ActionScript. If I try and create a symbol instance in code and add to the stage, then use the variable name as the first argument of the addTarget() method, I receive this error&#8230;</p>
<p>ReferenceError: Error #1069: Property instance1 not found on SimpleMotion and there is no default value.<br />
	at fl.motion::AnimatorBase$/processCurrentFrame()<br />
	at fl.motion::AnimatorFactoryBase/addTargetInfo()<br />
	at fl.motion::AnimatorFactoryBase/addTarget()<br />
	at SimpleMotion()</p>
<p>Just as a lark I added an instance name &#8220;test&#8221; to the code generated instance, but the error comes up the same only with &#8220;Property test not found&#8221;.</p>
<p>I suppose I could build a motion XML file like described in this Blog, but it seems rather verbose when I can handle it with one or two Arrays. </p>
<p>Is this a bug? Where can I look to find how this is supposed to be used?</p>
<p>&#8211;Rich</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamal</title>
		<link>http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/comment-page-1/#comment-18496</link>
		<dc:creator>kamal</dc:creator>
		<pubDate>Tue, 17 Mar 2009 02:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/#comment-18496</guid>
		<description>Hi,

I have volunteered to help my son&#039;s preschool update their website. I have tried to follow the tutorial written by Jen deHaan but I am not able to make the text and images  move the way i want to. Can someone please help?

Kamal</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have volunteered to help my son&#8217;s preschool update their website. I have tried to follow the tutorial written by Jen deHaan but I am not able to make the text and images  move the way i want to. Can someone please help?</p>
<p>Kamal</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin_P</title>
		<link>http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/comment-page-1/#comment-1155</link>
		<dc:creator>Justin_P</dc:creator>
		<pubDate>Tue, 11 Nov 2008 20:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://flashthusiast.com/2008/11/04/understanding-flash-cs4-motion-xml/#comment-1155</guid>
		<description>Great Article. Thanks for all the details, John!</description>
		<content:encoded><![CDATA[<p>Great Article. Thanks for all the details, John!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
