Thanks for the replies,<br><br>I think I&#39;m just asked the poor old flash player to do too much.<br><br>@Moses The idea is to create an animation that runs very slowly, then change its speed by varying the gaps between the frames - Every frame means the animation is slow, every 20th frame means it is fast - The framerate stays the same, but the gaps between the number of the frame that is displayed changes .<br>
The nice thing is being able to move between the two - Like an old
school video editing desk with the spin-dials for spooling through the
film.<br><br>eg (@ 25 fps)<br><br>Frame : 1, 2, 3, 4, 5, 7, 10, 14, 19, 25, 32, 40, 49, 59<br><br>Would result in the animation speeding up exponentially.<br><br>I did some similar stuff with as2 a while back ( <a href="http://www.loopbrighton.com">www.loopbrighton.com</a> ) - The video masked by the text in the menu varies its framerate depending on mouse proximity, but this time round I was trying to use 500x500 px video. Just not meant to be - Maybe a couple of Flashplayers down the line.<br>
<br>@Jon<br>Maxed out on keyframes already. Think you&#39;re right. Will have to go the undynamic AfterEffects route.<br><br>Thanks again,<br><br>P.<br><br><div class="gmail_quote">2008/10/30  <span dir="ltr">&lt;<a href="mailto:golist-request@goasap.org">golist-request@goasap.org</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send GoList mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:golist@goasap.org">golist@goasap.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://goasap.org/mailman/listinfo/golist_goasap.org" target="_blank">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:golist-request@goasap.org">golist-request@goasap.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:golist-owner@goasap.org">golist-owner@goasap.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of GoList digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. Re: Tweening frame numbers in an Mc (Moses Gunesch)<br>
 &nbsp; 2. Re: Tweening frame numbers in an Mc (<a href="mailto:jon@shovemedia.com">jon@shovemedia.com</a>)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 30 Oct 2008 11:11:33 -0400<br>
From: Moses Gunesch &lt;<a href="mailto:moses@goasap.org">moses@goasap.org</a>&gt;<br>
Subject: Re: [Golist] Tweening frame numbers in an Mc<br>
To: Mailing list for the Go ActionScript Animation Platform<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:golist@goasap.org">golist@goasap.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:FCA3B7E1-113A-4FA9-911A-F21EACD3B2B4@goasap.org">FCA3B7E1-113A-4FA9-911A-F21EACD3B2B4@goasap.org</a>&gt;<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;; Format=&quot;flowed&quot;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;DelSp=&quot;yes&quot;<br>
<br>
you mean the flash player framerate?<br>
<br>
flash player has a variable framerate that runs as fast as the host<br>
machine can process. tying anything to the player&#39;s framerate is not a<br>
good idea -- for example, flv video can run at its own framerate<br>
inside the player, but the way you&#39;re doing it will choke it and force<br>
it to lock to the variable framerate (and probably break). The thing<br>
that causes slowdown is usually rendering to the screen, so the only<br>
way around it is to use very small and lightweight graphics and<br>
animation.<br>
<br>
Out of curiosity, why do you need to tween frames of video? Maybe it&#39;s<br>
for a &quot;scan&quot; effect, like the one Phillip Kerman did for the Allied<br>
Works site a few years back?<br>
<br>
- m<br>
<br>
<br>
On Oct 27, 2008, at 4:28 PM, pedr browne wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; Guess this question isn&#39;t specific to Go, but I figure this is a<br>
&gt; good place to ask it...<br>
&gt;<br>
&gt; I&#39;m experimenting with tweening an mc&#39;s frame numbers. It is an mc<br>
&gt; containing 1000 frames of embedded video. Hooking the mc up to<br>
&gt; different tweening engines and letting them tween an int (a var<br>
&gt; called frame) between 0 and the total number of frames over a given<br>
&gt; time.<br>
&gt;<br>
&gt; I then have an ENTER_FRAME event looking at this var every time it<br>
&gt; is called and advancing to this frame. So the frame is only changing<br>
&gt; 25 times a second, not every time frame is changed.<br>
&gt;<br>
&gt; This works ok, but what I have noticed is strange. When the jumps<br>
&gt; between frames are small, the framerate is uneffected, but as the<br>
&gt; jumps between the frames increases, the framerate drops lower and<br>
&gt; lower.<br>
&gt;<br>
&gt; I have tried setting this up without a tween, incrementing frame by<br>
&gt; a fixed amount every ENTER_FRAME and I&#39;ve noticed the same behavior :-<br>
&gt;<br>
&gt; If i increment the frame by one every ENTER_FRAME, the framerate is<br>
&gt; stable at 24 fps, but if I increase the increment to five, the<br>
&gt; framerate drops to around 15 fps.<br>
&gt;<br>
&gt; I was wondering if anyone can tell me why this is? Is it something<br>
&gt; to do with how the framedata is stored?<br>
&gt;<br>
&gt; Thanks a lot.<br>
&gt;<br>
&gt; --<br>
&gt; +44 (0) 788 0600 363 &nbsp; &nbsp; | &nbsp; &nbsp; +44 (0) 127 3208 079<br>
&gt; _______________________________________________<br>
&gt; GoList mailing list<br>
&gt; <a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br>
&gt; <a href="http://goasap.org/mailman/listinfo/golist_goasap.org" target="_blank">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://goasap.org/pipermail/golist_goasap.org/attachments/20081030/bcd99b58/attachment-0001.html" target="_blank">http://goasap.org/pipermail/golist_goasap.org/attachments/20081030/bcd99b58/attachment-0001.html</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 30 Oct 2008 11:35:27 -0400 (EDT)<br>
From: <a href="mailto:jon@shovemedia.com">jon@shovemedia.com</a><br>
Subject: Re: [Golist] Tweening frame numbers in an Mc<br>
To: &quot;Mailing list for the Go ActionScript Animation Platform&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:golist@goasap.org">golist@goasap.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:1109.152.2.89.100.1225380927.squirrel@webmail.tuffmail.net">1109.152.2.89.100.1225380927.squirrel@webmail.tuffmail.net</a>&gt;<br>
Content-Type: text/plain;charset=iso-8859-1<br>
<br>
It&#39;s largely because of how video is encoded and decoded.<br>
It&#39;s meant to be read sequentially, in order, front to back.<br>
You might try increasing the density of video keyframes<br>
and re-importing the video, but my experiments in<br>
this area suggest it won&#39;t help enough.<br>
<br>
if your video is short enough (and has small dimensions)<br>
you might be able to get away with bitmap caching individual<br>
frames and displaying the correct one, but you&#39;re going<br>
to eat up memory really fast.<br>
<br>
If you can figure out a way the effect can be the same every<br>
time (for a given video) you&#39;re best off doing something static<br>
with aftereffects etc.<br>
<br>
And you&#39;re still going to have sync problems if this effect<br>
needs to transition back to normal speed due to the aforementioned<br>
flash framerate vs video framerate.<br>
<br>
If you absolutely must, I&#39;ve seen this sort of thing in processing<br>
once or twice. probably uses the technique in the 2nd paragraph.<br>
:j<br>
<br>
<br>
<br>
&gt; On Oct 27, 2008, at 4:28 PM, pedr browne wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Guess this question isn&#39;t specific to Go, but I figure this is a<br>
&gt;&gt; good place to ask it...<br>
&gt;&gt;<br>
&gt;&gt; I&#39;m experimenting with tweening an mc&#39;s frame numbers. It is an mc<br>
&gt;&gt; containing 1000 frames of embedded video. Hooking the mc up to<br>
&gt;&gt; different tweening engines and letting them tween an int (a var<br>
&gt;&gt; called frame) between 0 and the total number of frames over a given<br>
&gt;&gt; time.<br>
&gt;&gt;<br>
&gt;&gt; I then have an ENTER_FRAME event looking at this var every time it<br>
&gt;&gt; is called and advancing to this frame. So the frame is only changing<br>
&gt;&gt; 25 times a second, not every time frame is changed.<br>
&gt;&gt;<br>
&gt;&gt; This works ok, but what I have noticed is strange. When the jumps<br>
&gt;&gt; between frames are small, the framerate is uneffected, but as the<br>
&gt;&gt; jumps between the frames increases, the framerate drops lower and<br>
&gt;&gt; lower.<br>
&gt;&gt;<br>
&gt;&gt; I have tried setting this up without a tween, incrementing frame by<br>
&gt;&gt; a fixed amount every ENTER_FRAME and I&#39;ve noticed the same behavior :-<br>
&gt;&gt;<br>
&gt;&gt; If i increment the frame by one every ENTER_FRAME, the framerate is<br>
&gt;&gt; stable at 24 fps, but if I increase the increment to five, the<br>
&gt;&gt; framerate drops to around 15 fps.<br>
&gt;&gt;<br>
&gt;&gt; I was wondering if anyone can tell me why this is? Is it something<br>
&gt;&gt; to do with how the framedata is stored?<br>
&gt;&gt;<br>
&gt;&gt; Thanks a lot.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; +44 (0) 788 0600 363 &nbsp; &nbsp; | &nbsp; &nbsp; +44 (0) 127 3208 079<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; GoList mailing list<br>
&gt;&gt; <a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br>
&gt;&gt; <a href="http://goasap.org/mailman/listinfo/golist_goasap.org" target="_blank">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; GoList mailing list<br>
&gt; <a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br>
&gt; <a href="http://goasap.org/mailman/listinfo/golist_goasap.org" target="_blank">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br>
&gt;<br>
<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
GoList mailing list<br>
<a href="mailto:GoList@goasap.org">GoList@goasap.org</a><br>
<a href="http://goasap.org/mailman/listinfo/golist_goasap.org" target="_blank">http://goasap.org/mailman/listinfo/golist_goasap.org</a><br>
<br>
<br>
End of GoList Digest, Vol 11, Issue 7<br>
*************************************<br>
</blockquote></div><br><br clear="all"><br>-- <br>+44 (0) 788 0600 363 &nbsp; &nbsp; | &nbsp; &nbsp; +44 (0) 127 3208 079<br>