RE: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-25 Thread Merrill, Jason
video card? how come?

In my experience, if you don't have enough memory in your video card,
and you send a lot of data to it, you can see things not render or not
render properly. 

Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog  subscribe.




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


Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-24 Thread Leandro Ferreira
video card? how come?

On 3/21/08, Merrill, Jason [EMAIL PROTECTED] wrote:

 Fuse is really really bad IMO for tweening when performance (like with
 your complex vector graphic) is a concern.  I dropped it because it
 became unusable for me in high stress situations.  My current
 tweener-of-the-month I like is TweenLite.

 Also, Flash does have a hard time, tweening aside, when very very
 complex vector graphics are used.  We designed a very complex
 photo-realistic assets representing the inside of an ATM machine, which
 took us several days to build, and had performance issues that were
 unrelated to any code (we tested it in fresh .flas with no code) - and
 these graphics were done with only Flash drawing tools.  We used a ton
 of gradients to achieve photo-realistic rendering, but it came with a
 price.  The main problem we had was sometimes the Flash player (8 at the
 time) would not load the graphic, sometimes it would - completely
 random.  We finally got it working fine, but learned there are limits to
 what the browser/player/memory can render.  Possible it was related to
 the video card too, to be fair.  Anyway, something to keep in mind.

 Jason Merrill
 Bank of America
 GTO and Risk LLD Solutions Design  Development
 eTools  Multimedia

 Bank of America Flash Platform Developer Community


 Are you a Bank of America associate interested in innovative learning
 ideas and technologies?
 Check out our internal  GTO Innovative Learning Blog  subscribe.




 ___
 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] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Matt S.
Hi,
so this is a very odd problem, but I'm tweening an extremely large
vector file (about 4000x4000px), using the Fuse tween classes. Its
basically your standard slide across the surface of a massive object
from point to point effect, nothing fancy. But I'm having a bear of a
time getting it to animate smoothly. In particular, as it eases into
and out of tweens, I'm getting a weird jittering of the MC, so that it
stutters to a stop, like a car with bad brakes. The tweens themselves
are nothin fancy (see below). It seems like the problem started when I
added _rotation to the the mix. The file is vector, imported from AI.

is anyone familiar with this problem? Any recommendations for handling
this sort of basic (or so I thought) effect?

thanks,

.m


-

function slideToPos(){
var xPos = posArray[active][0];
var yPos = posArray[active][1]; 
var rPos = posArray[active][2]; 
active++;

mainpanel_mc.tween(_x,xPos,2,easeInOutSine);
mainpanel_mc.tween(_y,yPos,2.5,easeInOutSine);

mainpanel_mc.tween(_rotation,rPos,2.5,easeInOutSine,null,slideToPos2());

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


Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Sidney de Koning

Hi Matt,

Like the analogies :)
What tweening engine are you using?
If its your engine, there is a good speed comparison here: 
http://blog.greensock.com/tweening-speed-test/

If so, just change to a different engine, not every car is build to  
move boulders ;)


Sid

On Mar 21, 2008, at 2:57 PM, Matt S. wrote:


Hi,
so this is a very odd problem, but I'm tweening an extremely large
vector file (about 4000x4000px), using the Fuse tween classes. Its
basically your standard slide across the surface of a massive object
from point to point effect, nothing fancy. But I'm having a bear of a
time getting it to animate smoothly. In particular, as it eases into
and out of tweens, I'm getting a weird jittering of the MC, so that it
stutters to a stop, like a car with bad brakes. The tweens themselves
are nothin fancy (see below). It seems like the problem started when I
added _rotation to the the mix. The file is vector, imported from AI.

is anyone familiar with this problem? Any recommendations for handling
this sort of basic (or so I thought) effect?

thanks,

.m


-

function slideToPos(){
var xPos = posArray[active][0];
var yPos = posArray[active][1]; 
var rPos = posArray[active][2]; 
active++;

mainpanel_mc.tween(_x,xPos,2,easeInOutSine);
mainpanel_mc.tween(_y,yPos,2.5,easeInOutSine);
	mainpanel_mc.tween(_rotation,rPos, 
2.5,easeInOutSine,null,slideToPos2());


}
___
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] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Jon Bradley


On Mar 21, 2008, at 9:57 AM, Matt S. wrote:


 It seems like the problem started when I
added _rotation to the the mix. The file is vector, imported from AI.

is anyone familiar with this problem? Any recommendations for handling
this sort of basic (or so I thought) effect?



There's a bug in Flash on certain operating system configs. I just  
don't know what it is.


I've yet to find an appropriate solution for this myself. The issue  
is related to the rotation.


I've actually resorted to using Combustion to do some of my animation  
work because of it.


I too would 'love' to know if anyone has found the core issue or a  
work around.


thanks!

jon


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


Re: [Flashcoders] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Matt S.
So as far as you know its caused by the combination of large file +
rotation? Hmm, perhaps I'll try breaking it up into smaller MC's and
then place those in a larger mc...

.m

On Fri, Mar 21, 2008 at 10:31 AM, Jon Bradley [EMAIL PROTECTED] wrote:

  On Mar 21, 2008, at 9:57 AM, Matt S. wrote:

It seems like the problem started when I
   added _rotation to the the mix. The file is vector, imported from AI.
  
   is anyone familiar with this problem? Any recommendations for handling
   this sort of basic (or so I thought) effect?


  There's a bug in Flash on certain operating system configs. I just
  don't know what it is.

  I've yet to find an appropriate solution for this myself. The issue
  is related to the rotation.

  I've actually resorted to using Combustion to do some of my animation
  work because of it.

  I too would 'love' to know if anyone has found the core issue or a
  work around.

  thanks!

  jon




  ___
  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] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Zeh Fernando
That's a myth. If he's tweening one or two things the tweening engine 
makes absolutely no difference. The only differences in terms of speed 
between tweening engines is how each of they handle a massive number of 
property updates on a massive number of objects. So there's absolutely 
no problem using Fuse on that case, the problem's somewhere else. A 
bottleneck problem isn't solved with a larger bottle.


All I can say about the problem is that it seems to be related to 
rendering so yeah, you'll have to look into what you're doing. Use 
cacheAsBitmap WHERE appropriate (not in the whole movieclip - it's too 
big for that), use scrollRect when possible.


Remember, complex vector rendering is EXPENSIVE. So 4000px x 4000px is 
nearly suicidal.


Zeh

Sidney de Koning wrote:

Hi Matt,

Like the analogies :)
What tweening engine are you using?
If its your engine, there is a good speed comparison here: 
http://blog.greensock.com/tweening-speed-test/


If so, just change to a different engine, not every car is build to move 
boulders ;)


Sid

On Mar 21, 2008, at 2:57 PM, Matt S. wrote:


Hi,
so this is a very odd problem, but I'm tweening an extremely large
vector file (about 4000x4000px), using the Fuse tween classes. Its
basically your standard slide across the surface of a massive object
from point to point effect, nothing fancy. But I'm having a bear of a
time getting it to animate smoothly. In particular, as it eases into
and out of tweens, I'm getting a weird jittering of the MC, so that it
stutters to a stop, like a car with bad brakes. The tweens themselves
are nothin fancy (see below). It seems like the problem started when I
added _rotation to the the mix. The file is vector, imported from AI.

is anyone familiar with this problem? Any recommendations for handling
this sort of basic (or so I thought) effect?

thanks,

.m


-

function slideToPos(){
var xPos = posArray[active][0];
var yPos = posArray[active][1];   
var rPos = posArray[active][2];   
active++;

mainpanel_mc.tween(_x,xPos,2,easeInOutSine);

mainpanel_mc.tween(_y,yPos,2.5,easeInOutSine);
mainpanel_mc.tween(_rotation,rPos,2.5,easeInOutSine,null,slideToPos2()); 


}

___
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] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Matt S.
thanks Sidney! That's a useful comparison tool. :)

.m

On Fri, Mar 21, 2008 at 10:06 AM, Sidney de Koning
[EMAIL PROTECTED] wrote:
 Hi Matt,

  Like the analogies :)
  What tweening engine are you using?
  If its your engine, there is a good speed comparison here: 
 http://blog.greensock.com/tweening-speed-test/

  If so, just change to a different engine, not every car is build to
  move boulders ;)

  Sid



  On Mar 21, 2008, at 2:57 PM, Matt S. wrote:

   Hi,
   so this is a very odd problem, but I'm tweening an extremely large
   vector file (about 4000x4000px), using the Fuse tween classes. Its
   basically your standard slide across the surface of a massive object
   from point to point effect, nothing fancy. But I'm having a bear of a
   time getting it to animate smoothly. In particular, as it eases into
   and out of tweens, I'm getting a weird jittering of the MC, so that it
   stutters to a stop, like a car with bad brakes. The tweens themselves
   are nothin fancy (see below). It seems like the problem started when I
   added _rotation to the the mix. The file is vector, imported from AI.
  
   is anyone familiar with this problem? Any recommendations for handling
   this sort of basic (or so I thought) effect?
  
   thanks,
  
   .m
  
  
   -
  
   function slideToPos(){
 var xPos = posArray[active][0];
 var yPos = posArray[active][1];
 var rPos = posArray[active][2];
 active++;
  
 mainpanel_mc.tween(_x,xPos,2,easeInOutSine);
 mainpanel_mc.tween(_y,yPos,2.5,easeInOutSine);
 mainpanel_mc.tween(_rotation,rPos,
   2.5,easeInOutSine,null,slideToPos2());
  
   }
   ___
   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] AS2: Tweening a very large vector file causes shaking

2008-03-21 Thread Merrill, Jason
Fuse is really really bad IMO for tweening when performance (like with
your complex vector graphic) is a concern.  I dropped it because it
became unusable for me in high stress situations.  My current
tweener-of-the-month I like is TweenLite.  

Also, Flash does have a hard time, tweening aside, when very very
complex vector graphics are used.  We designed a very complex
photo-realistic assets representing the inside of an ATM machine, which
took us several days to build, and had performance issues that were
unrelated to any code (we tested it in fresh .flas with no code) - and
these graphics were done with only Flash drawing tools.  We used a ton
of gradients to achieve photo-realistic rendering, but it came with a
price.  The main problem we had was sometimes the Flash player (8 at the
time) would not load the graphic, sometimes it would - completely
random.  We finally got it working fine, but learned there are limits to
what the browser/player/memory can render.  Possible it was related to
the video card too, to be fair.  Anyway, something to keep in mind.  

Jason Merrill
Bank of America  
GTO and Risk LLD Solutions Design  Development 
eTools  Multimedia 

Bank of America Flash Platform Developer Community


Are you a Bank of America associate interested in innovative learning
ideas and technologies? 
Check out our internal  GTO Innovative Learning Blog  subscribe.



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