Upside-down dynamic text

I’m trying to do a reflection like this:

http://www.flashden.net/item/reflection-preloader/10737

I created a text box with the variable “upright”. Then I created a duplicate, except this one had a -100% height transform and held the variable “reflected”. I only had success changing the value of the upright one. The reflected one was blank… :m:


bytes_loaded = this.getBytesLoaded();
bytes_total = this.getBytesTotal();
getPercent = bytes_loaded/bytes_total;
this.loadText = Math.round(getPercent*100)+"%";
this.reflected = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
	this.gotoAndPlay("doneLoad");
}

embed your fonts.

And do rotation and -1 scaleX instead.

err scaleY, right?

no, rotation and negative scaleX will make it ‘mirrored’

scaleY will just flip it.

[QUOTE=sekasi;2355351]no, rotation and negative scaleX will make it ‘mirrored’

scaleY will just flip it.[/QUOTE]

Ah, I did miss where you blatently included the rotation :crazy:.

Nevertheless, is that supposed to be different than scaleY?

The solution was imbedding the font. I could either flip it manually or do it with AS.

I’m not quite sure what I was thinking there.

you’re absolutely right, there’s no difference :wink: Sorry for that brain aneurysm