You are not logged in.

1

Saturday, April 12th 2014, 2:21pm

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:

Quoted

<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.

This post has been edited 1 times, last edit by "Largo" (Apr 12th 2014, 2:31pm)


panomaster

Intermediate

Posts: 297

Location: Kobyłka, Poland

Occupation: Virtual Tours - Spherical Panoramas - Krpano developer

  • Send private message

2

Saturday, April 12th 2014, 4:20pm

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

3

Saturday, April 12th 2014, 10:51pm

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

No, it is not the reason of problems :(

4

Sunday, April 13th 2014, 10:14pm

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:

Quoted

<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

Sunday, April 13th 2014, 10:23pm

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

6

Monday, April 14th 2014, 7:08am

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

Monday, April 14th 2014, 7:24am

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

Monday, April 14th 2014, 8:17am

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

Monday, April 14th 2014, 8:34am

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

10

Monday, April 14th 2014, 8:36am

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

Quoted

<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

Quoted

<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

Friday, April 18th 2014, 2:07pm

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

Thursday, April 24th 2014, 1:23pm

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