Sie sind nicht angemeldet.

1

Samstag, 12. April 2014, 14:21

KrPano stop working after Flash Update 13.0.0.182

It seems that it ignores some functionality. Panorama is loading, all interface are there, but you can't rotate panorama and use interface buttons. Some functionality still there and some is gone :(

UPD: I localize the problem. Actualy it is not so bad. I have this code in curent project:

Zitat

<plugin name="invisible" type="container" bgcolor="0xffffff" bgalpha="0.001" bgcapture="true" width="100%" height="100%" keep="true" handcursor="false" onclick="hideintroimage();" zorder="1"/>

<action name="hideintroimage" keep="true">
set(plugin[invisible].visible, false);
tween(plugin[introimage].alpha, 0.0, 0.3, default, removeplugin(introimage));
</action>

<action name="showintroimage" keep="true">
addplugin(introimage);
set(plugin[introimage].url, interface/intro.jpg);
set(plugin[introimage].align, center);
set(plugin[introimage].height, prop);
set(plugin[introimage].width, 45%);
set(plugin[introimage].alpha, 0);
set(plugin[introimage].handcursor, false);
set(plugin[introimage].onclick, hideintroimage() );
tween(plugin[introimage].alpha, 0.7, 0.4);
set(plugin[invisible].visible, true);
</action>
It seems that this line "set(plugin[invisible].visible, false);" don't work after flash update.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Largo« (12. April 2014, 14:31)


panomaster

Fortgeschrittener

Beiträge: 297

Wohnort: Kobyłka, Poland

Beruf: Virtual Tours - Spherical Panoramas - Krpano developer

  • Nachricht senden

2

Samstag, 12. April 2014, 16:20

Have you tried to change name of the plugin? "Invisible" could be a restricted word.

3

Samstag, 12. April 2014, 22:51

Have you tried to change name of the plugin? "Invisible" could be a restricted word.

No, it is not the reason of problems :(

4

Sonntag, 13. April 2014, 22:14

Ok. Finaly I figured it all out. I have alot of code in current project, so it was complicated to find out the reason.
But it is that part of code:

Zitat

<plugin name="photo_fon" type="container" bgalpha="0" alpha="0" autoalpha="true" width="100%" height="100%" keep="true" zorder="1" bgcapture="true" handcursor="false" />
So, on the start of pano plugin[photo_fon] is visible, and autoalpha don't work.If I set it to visible="false" it works fine. In previous versions of flash all work fine.

5

Sonntag, 13. April 2014, 22:23

Yes. I checked it twice, and it is that. Autoalpha don't work on new flash version.

6

Montag, 14. April 2014, 07:08

Hi,

are you sure that really the Flashplayer version makes the differences?
Which two Flashplayer versions are you comparing?

In your posted code it seems two <plugin> elements have same zorder=1 - the "invisible" and "photo_fon" plugin elements - and when both elements have the same zorder (within the same parent element), then the final order of these both elements is undefined/random. That means one time the one element can be above and one time the other. And this could also explain the behavior.

Best regards,
Klaus

7

Montag, 14. April 2014, 07:24

I compare flash versions 12 (don't remember the exact build version) and 13.0.0.182.
I'm pretty sure that it all works on version 12. Tested it many times. Right after update it stop working. But as you said it sometimes working and sometimes not (zorder problem that you described) in 13 version.
May do some more tests if you wish.

P.S. Right now it works fine with visible.false visible.true trigger on plugin[photo-fon]. But yesterday I was thinking on completely remove plugin[invisible] and change it to onclick event. Is it possible? That plugin is there to remove intro image on any click on the screen. It is logical to set it to onclick event, but I don't know how to do it :(

P.P.S. Also your description of problem is not correct. plugin[photo-fon] was autoalpha="true" and alpha="0", so it supose to be not there when plugin[invisible] is on the screen.

8

Montag, 14. April 2014, 08:17

In this case can you please post or send me a full not-working example for analyzing?

The 'autoalpha' itself is a krpano-feature and not a Flashplayer one, so it's a bit strange that a Flashplayer update could affect it...
And I can't reproduce a problem here...

Best regards,
Klaus

9

Montag, 14. April 2014, 08:34

bad post, sorry, don't know how to delete it :(

10

Montag, 14. April 2014, 08:36

http://test.photo-largo.lclients.ru/G8/
This is not working version, that works fine on flash 12

Zitat

<plugin name="photo_fon" type="container" bgalpha="0" autoalpha="true" alpha="0" width="100%" height="100%" keep="true" zorder="1" bgcapture="true" handcursor="false" />
http://test.photo-largo.lclients.ru/G8good/
This is working version

Zitat

<plugin name="photo_fon" type="container" bgalpha="0" alpha="0" width="100%" height="100%" keep="true" zorder="1" bgcapture="true" handcursor="false" visible="false" />

11

Freitag, 18. April 2014, 14:07

Hi,

thanks for your example - I will check it in detail, but I think I can already say that the Flash version itself is not the reason.

Best regards,
Klaus

12

Donnerstag, 24. April 2014, 13:23

Hi,

this was a bug related to the order when the autoalpha and alpha settings were set.
It will be fixed in the next krpano release (1.17.1).

Best regards,
Klaus