Flash question...
- Started
- Last post
- 4 Responses
- gabriel_pc
Any tips on how to improve image alpha tweening performance? I have to crossfade between large images (1000x570) and it's getting pretty choppy, any way to improve the playback speed? (framerate is set to 36)
Thanks!
- lvl_130
script it using _alpha. much smoother.
if you are already doing that i'm really not sure about further optimization.
- level20
put on the movie clip:
for fade out:
onClipEvent(enterFrame){
if (this._alpha > 0){
this._alpha -= 10;
}
}for fade in:
onClipEvent(enterFrame){
if (this._alpha < 100){
this._alpha += 10;
}
}This may be smoothing than tweening
- gabriel_pc0
thanks, I was wondering if using actionscript to control fades was any better than timeline tweening, I'll give it a shot
- lvl_130
doh! sorry i guess i could have included some code. haha level2' got you covered though : )