[Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread jared stanley
hey gang i have no idea what's going on here -

http://lab.freestyleinteractive.com/jared/wtf/

this is a basic tween, clip.x+=20 or whatever.

It's totally skipping/chugging? what is up with that? doing a motion tween
looks fine, it's just when it's procedural that it's funky.
We started noticing it on a project, now it's killing me - has it always
been there? jeez.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread tom rhodes
yup, pretty much always been there, depends on your actual framerate. to
make it smooth you'll have to do something timebased to calculate the
position...


On 29 September 2010 18:45, jared stanley jared.stan...@gmail.com wrote:

 hey gang i have no idea what's going on here -

 http://lab.freestyleinteractive.com/jared/wtf/

 this is a basic tween, clip.x+=20 or whatever.

 It's totally skipping/chugging? what is up with that? doing a motion tween
 looks fine, it's just when it's procedural that it's funky.
 We started noticing it on a project, now it's killing me - has it always
 been there? jeez.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread Bob Wohl
Up the frame rate and lower the x position update or use a tweening
class. For the most part I don't really see any skipping/chugging.


On Wed, Sep 29, 2010 at 9:45 AM, jared stanley jared.stan...@gmail.comwrote:

 hey gang i have no idea what's going on here -

 http://lab.freestyleinteractive.com/jared/wtf/

 this is a basic tween, clip.x+=20 or whatever.

 It's totally skipping/chugging? what is up with that? doing a motion tween
 looks fine, it's just when it's procedural that it's funky.
 We started noticing it on a project, now it's killing me - has it always
 been there? jeez.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread Taka Kojima
This is going to sound abrupt but have you ever heard of a tweening engine?

http://www.greensock.com/tweenlite/

On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl bob.w...@gmail.com wrote:

 Up the frame rate and lower the x position update or use a tweening
 class. For the most part I don't really see any skipping/chugging.


 On Wed, Sep 29, 2010 at 9:45 AM, jared stanley jared.stan...@gmail.com
 wrote:

  hey gang i have no idea what's going on here -
 
  http://lab.freestyleinteractive.com/jared/wtf/
 
  this is a basic tween, clip.x+=20 or whatever.
 
  It's totally skipping/chugging? what is up with that? doing a motion
 tween
  looks fine, it's just when it's procedural that it's funky.
  We started noticing it on a project, now it's killing me - has it always
  been there? jeez.
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread tom rhodes
he did say in the original post that a motion tween was smooth!


On 29 September 2010 19:25, Taka Kojima t...@gigafied.com wrote:

 This is going to sound abrupt but have you ever heard of a tweening engine?

 http://www.greensock.com/tweenlite/

 On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl bob.w...@gmail.com wrote:

  Up the frame rate and lower the x position update or use a tweening
  class. For the most part I don't really see any skipping/chugging.
 
 
  On Wed, Sep 29, 2010 at 9:45 AM, jared stanley jared.stan...@gmail.com
  wrote:
 
   hey gang i have no idea what's going on here -
  
   http://lab.freestyleinteractive.com/jared/wtf/
  
   this is a basic tween, clip.x+=20 or whatever.
  
   It's totally skipping/chugging? what is up with that? doing a motion
  tween
   looks fine, it's just when it's procedural that it's funky.
   We started noticing it on a project, now it's killing me - has it
 always
   been there? jeez.
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread jared stanley
i'm not looking for a way to tween things, i'm looking for an explanation on
why this happens? i've never noticed it but it must be this
framerate+velocity range or something

thanks for your input!

On Wed, Sep 29, 2010 at 10:48 AM, tom rhodes tom.rho...@gmail.com wrote:

 he did say in the original post that a motion tween was smooth!


 On 29 September 2010 19:25, Taka Kojima t...@gigafied.com wrote:

  This is going to sound abrupt but have you ever heard of a tweening
 engine?
 
  http://www.greensock.com/tweenlite/
 
  On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl bob.w...@gmail.com wrote:
 
   Up the frame rate and lower the x position update or use a tweening
   class. For the most part I don't really see any skipping/chugging.
  
  
   On Wed, Sep 29, 2010 at 9:45 AM, jared stanley 
 jared.stan...@gmail.com
   wrote:
  
hey gang i have no idea what's going on here -
   
http://lab.freestyleinteractive.com/jared/wtf/
   
this is a basic tween, clip.x+=20 or whatever.
   
It's totally skipping/chugging? what is up with that? doing a motion
   tween
looks fine, it's just when it's procedural that it's funky.
We started noticing it on a project, now it's killing me - has it
  always
been there? jeez.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
   
   ___
   Flashcoders mailing list
   Flashcoders@chattyfig.figleaf.com
   http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
  
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] NOOBed - wtf basic procedural tween skipping

2010-09-29 Thread Cédric Muller
We, almost everyone here, feel deeply sorry for what you are observing. As Thom 
said, we ve all been on /that/ path  some for years now 

anyway, this might help you understand what is going on with Flash Player engine
http://www.craftymind.com/2008/04/18/updated-elastic-racetrack-for-flash-9-and-avm2/

Then, there are techniques that could come up with better results (like using 
bitmaps, working with PixelBender,  all kind of hacky flashy hacks).

hth,
Cedric

 i'm not looking for a way to tween things, i'm looking for an explanation on
 why this happens? i've never noticed it but it must be this
 framerate+velocity range or something
 
 thanks for your input!
 
 On Wed, Sep 29, 2010 at 10:48 AM, tom rhodes tom.rho...@gmail.com wrote:
 
 he did say in the original post that a motion tween was smooth!
 
 
 On 29 September 2010 19:25, Taka Kojima t...@gigafied.com wrote:
 
 This is going to sound abrupt but have you ever heard of a tweening
 engine?
 
 http://www.greensock.com/tweenlite/
 
 On Wed, Sep 29, 2010 at 10:02 AM, Bob Wohl bob.w...@gmail.com wrote:
 
 Up the frame rate and lower the x position update or use a tweening
 class. For the most part I don't really see any skipping/chugging.
 
 
 On Wed, Sep 29, 2010 at 9:45 AM, jared stanley 
 jared.stan...@gmail.com
 wrote:
 
 hey gang i have no idea what's going on here -
 
 http://lab.freestyleinteractive.com/jared/wtf/
 
 this is a basic tween, clip.x+=20 or whatever.
 
 It's totally skipping/chugging? what is up with that? doing a motion
 tween
 looks fine, it's just when it's procedural that it's funky.
 We started noticing it on a project, now it's killing me - has it
 always
 been there? jeez.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Merrill, Jason
Weird issue, I seem to remember a bug similar to this in Flash player 9 where 
audio does not get released from memory, but I thought I read it had been fixed 
in Flash player 10.  Yet, we are seeing this problem in flash player 10,1,xx

I am playing a series of flv videos.  Each video is placed inside a class that 
extends sprite.  When the user clicks a button, there is code to remove the 
sprite that contains the video and any listeners associated with it, create a 
new sprite with a new movie.  I'm doing all the right things to wait for the 
video to load before playing, etc. This works great locally - video gets 
removed, new one plays.  However, when viewing my app online, sometimes (not 
always) when the user clicks the button, the new video plays as it should, but 
the audio from the previous video that was removed continues to play.  I can't 
seem to track down why this is happening or how to fix.

Anyone encounter this before and have any good fixes or workaround?  Thanks.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Deepanjan Das
Hi Jason,
How are you removing the video?
Are you closing the NetStream and setting it to null for performance, please
check.

In my case that solved this problem as far as I remember.
-- 
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*Think of the environment before printing this email*


On Thu, Sep 30, 2010 at 7:32 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Weird issue, I seem to remember a bug similar to this in Flash player 9
 where audio does not get released from memory, but I thought I read it had
 been fixed in Flash player 10.  Yet, we are seeing this problem in flash
 player 10,1,xx

 I am playing a series of flv videos.  Each video is placed inside a class
 that extends sprite.  When the user clicks a button, there is code to remove
 the sprite that contains the video and any listeners associated with it,
 create a new sprite with a new movie.  I'm doing all the right things to
 wait for the video to load before playing, etc. This works great locally -
 video gets removed, new one plays.  However, when viewing my app online,
 sometimes (not always) when the user clicks the button, the new video plays
 as it should, but the audio from the previous video that was removed
 continues to play.  I can't seem to track down why this is happening or how
 to fix.

 Anyone encounter this before and have any good fixes or workaround?
  Thanks.

  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Merrill, Jason
Hmm, thanks.  I'm not using Netstream, I'm using an Actionscript-created 
instance of the flvplaybackcomponent.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning 


-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com 
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das
Sent: Wednesday, September 29, 2010 10:36 PM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV audio doesn't stop

Hi Jason,
How are you removing the video?
Are you closing the NetStream and setting it to null for performance, please 
check.

In my case that solved this problem as far as I remember.
--
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*Think of the environment before printing this email*


On Thu, Sep 30, 2010 at 7:32 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Weird issue, I seem to remember a bug similar to this in Flash player 9
 where audio does not get released from memory, but I thought I read it had
 been fixed in Flash player 10.  Yet, we are seeing this problem in flash
 player 10,1,xx

 I am playing a series of flv videos.  Each video is placed inside a class
 that extends sprite.  When the user clicks a button, there is code to remove
 the sprite that contains the video and any listeners associated with it,
 create a new sprite with a new movie.  I'm doing all the right things to
 wait for the video to load before playing, etc. This works great locally -
 video gets removed, new one plays.  However, when viewing my app online,
 sometimes (not always) when the user clicks the button, the new video plays
 as it should, but the audio from the previous video that was removed
 continues to play.  I can't seem to track down why this is happening or how
 to fix.

 Anyone encounter this before and have any good fixes or workaround?
  Thanks.

  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Nathan Mynarcik
I have encountered this as well with an e-Learning Flash Course I did last
year.  I read somewhere that unloadAndStop() was suppose to work when
unloading the current swf/flv.  I think this is a Flash 10 only method.
 Perhaps this might fix your issue?




On Wed, Sep 29, 2010 at 10:02 PM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Weird issue, I seem to remember a bug similar to this in Flash player 9
 where audio does not get released from memory, but I thought I read it had
 been fixed in Flash player 10.  Yet, we are seeing this problem in flash
 player 10,1,xx

 I am playing a series of flv videos.  Each video is placed inside a class
 that extends sprite.  When the user clicks a button, there is code to remove
 the sprite that contains the video and any listeners associated with it,
 create a new sprite with a new movie.  I'm doing all the right things to
 wait for the video to load before playing, etc. This works great locally -
 video gets removed, new one plays.  However, when viewing my app online,
 sometimes (not always) when the user clicks the button, the new video plays
 as it should, but the audio from the previous video that was removed
 continues to play.  I can't seem to track down why this is happening or how
 to fix.

 Anyone encounter this before and have any good fixes or workaround?
  Thanks.

  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Deepanjan Das
Hi,
I am also using the FLVPlayback Component, but accessed the NetStream from
the component to close it:

this.video.getVideoPlayer(0).close();
this.video.getVideoPlayer(0).netStream.close();

-- 
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*Think of the environment before printing this email*


On Thu, Sep 30, 2010 at 8:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

 Hmm, thanks.  I'm not using Netstream, I'm using an Actionscript-created
 instance of the flvplaybackcomponent.

  Jason Merrill
  Instructional Technology Architect
  Bank of America  Global Learning


  -Original Message-
 From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
 flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das
 Sent: Wednesday, September 29, 2010 10:36 PM
 To: Flash Coders List
 Subject: Re: [Flashcoders] FLV audio doesn't stop

 Hi Jason,
 How are you removing the video?
 Are you closing the NetStream and setting it to null for performance,
 please check.

 In my case that solved this problem as far as I remember.
 --
 Warm Regards
 Deepanjan Das
 W: http://deepanjandas.wordpress.com
 || Om Manasamarthadata Shri Aniruddhaya Namah ||

 *Think of the environment before printing this email*


 On Thu, Sep 30, 2010 at 7:32 AM, Merrill, Jason 
 jason.merr...@bankofamerica.com wrote:

  Weird issue, I seem to remember a bug similar to this in Flash player 9
  where audio does not get released from memory, but I thought I read it
 had
  been fixed in Flash player 10.  Yet, we are seeing this problem in flash
  player 10,1,xx
 
  I am playing a series of flv videos.  Each video is placed inside a class
  that extends sprite.  When the user clicks a button, there is code to
 remove
  the sprite that contains the video and any listeners associated with it,
  create a new sprite with a new movie.  I'm doing all the right things to
  wait for the video to load before playing, etc. This works great locally
 -
  video gets removed, new one plays.  However, when viewing my app online,
  sometimes (not always) when the user clicks the button, the new video
 plays
  as it should, but the audio from the previous video that was removed
  continues to play.  I can't seem to track down why this is happening or
 how
  to fix.
 
  Anyone encounter this before and have any good fixes or workaround?
   Thanks.
 
   Jason Merrill
   Instructional Technology Architect
   Bank of America  Global Learning
 
 
 
 
  ___
  Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FLV audio doesn't stop

2010-09-29 Thread Karl DeSaulniers

Hi Jason,
I believe you have to initiate the FLV to actually stop before  
unloading.


IE:
myVideo.stop();
myVideo.removeListeners();

//then unload or load a new video.

I had this situation with a video player that played multiple videos and
stopping the video before I loaded another one did the trick.
Just remember to unload any listeners for cuepoints and such
from the previous video before loading the new one or leaving the area.

HTH,
Best,

Karl


On Sep 29, 2010, at 9:49 PM, Deepanjan Das wrote:


Hi,
I am also using the FLVPlayback Component, but accessed the  
NetStream from

the component to close it:

this.video.getVideoPlayer(0).close();
this.video.getVideoPlayer(0).netStream.close();

--
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*Think of the environment before printing this email*


On Thu, Sep 30, 2010 at 8:11 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

Hmm, thanks.  I'm not using Netstream, I'm using an Actionscript- 
created

instance of the flvplaybackcomponent.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning


 -Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com [mailto:
flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Deepanjan Das
Sent: Wednesday, September 29, 2010 10:36 PM
To: Flash Coders List
Subject: Re: [Flashcoders] FLV audio doesn't stop

Hi Jason,
How are you removing the video?
Are you closing the NetStream and setting it to null for performance,
please check.

In my case that solved this problem as far as I remember.
--
Warm Regards
Deepanjan Das
W: http://deepanjandas.wordpress.com
|| Om Manasamarthadata Shri Aniruddhaya Namah ||

*Think of the environment before printing this email*


On Thu, Sep 30, 2010 at 7:32 AM, Merrill, Jason 
jason.merr...@bankofamerica.com wrote:

Weird issue, I seem to remember a bug similar to this in Flash  
player 9
where audio does not get released from memory, but I thought I  
read it

had
been fixed in Flash player 10.  Yet, we are seeing this problem  
in flash

player 10,1,xx

I am playing a series of flv videos.  Each video is placed inside  
a class
that extends sprite.  When the user clicks a button, there is  
code to

remove
the sprite that contains the video and any listeners associated  
with it,
create a new sprite with a new movie.  I'm doing all the right  
things to
wait for the video to load before playing, etc. This works great  
locally

-
video gets removed, new one plays.  However, when viewing my app  
online,
sometimes (not always) when the user clicks the button, the new  
video

plays

as it should, but the audio from the previous video that was removed
continues to play.  I can't seem to track down why this is  
happening or

how

to fix.

Anyone encounter this before and have any good fixes or workaround?
 Thanks.

 Jason Merrill
 Instructional Technology Architect
 Bank of America  Global Learning




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Karl DeSaulniers
Design Drumm
http://designdrumm.com

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders