You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Alexey Tkachenko

Professional

  • "Alexey Tkachenko" started this thread

Posts: 750

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

1

Wednesday, June 25th 2014, 3:08pm

Crop "jumps" in Flash when using scale="0.6". Flash bug?

Hi guys!

Today almost crashed my mind with the following issue and finally found out the reason. Take a look:

http://tours.viewit360.se/develop/bug_reports/crop_bug_test/

Upper buttons have scale=0.6 and lower ones have scale 0.5. In html5 all is fine, but in Flash upper buttons "jump" one pixel up and down when switching crop, this is very clearly seen in the left button. I've spent brain-storming hours adjusting buttons inside the .psd file and then checking crop values, but finally found the reason. Seems like Flash has some troubles when scale is set to 0.6.

the code is here:

http://tours.viewit360.se/develop/bug_re…g_test/tour.xml


Any thoughts?
Regards,

Alexey

2

Thursday, June 26th 2014, 9:05am

Hi,

no, that's not a bug - when scaling images irregularly, there can be always some scaling and interpolating issues like this.

The internal details in Flash are a little different to HTML5 and at same stages it is not possible to use fractional pixel positions.

Best regards,
Klaus