Android actuate gradiant tween issue

Hi dear community
I’m reporting a weird behavior on android build when I’m trying to tween a simple radial graidiant
The andriod build seems to add some extra tween to mine it was supposed to just scale the sprite containing the gradiant but it also moves it just on android, flash works fine.
here is my code:


import openfl.display.Sprite;
import openfl.Lib;
import openfl.geom.Matrix;
import openfl.display.GradientType;
import motion.Actuate;
 * ...
 * @author Mostafa Taheri
class Main extends Sprite 

	var bs:Sprite;
	var matrix:Matrix;
	public function new() 
		bs = new Sprite();
		matrix = new Matrix();
		var radius = 50;
		matrix.createGradientBox( 2 * radius, 2 * radius, 0, -radius, -radius); GradientType.RADIAL, [ 0xFCFF00, 0xFCFF00 ], [ 1, 0 ], [ 128, 255 ], matrix );, 0, 50);;, 1);, 0, 100, 100);
		bs.width = 80; bs.height = 70; bs.x =150; bs.y =150;
		Actuate.tween(bs, 2, {scaleX:1.1, scaleY:1}, true).delay(1).repeat().reflect();


I appreciate your help

Such an active community 11 days!!! Wow:clap:

Does openfl test android -Dopenfl-disable-graphics-upscaling behave differently? Thanks :slight_smile:

I’m sorry to say it was not helpful your majesty

Perhaps there is an issue with gradient fill rendering, as a workaround, you should be able to bitmapData.draw and scale that in a Bitmap without the gradient changing :slight_smile:

actualy I used a gradiant bitmap a week ago but I was curious about what is happening with this code