You are not logged in.

Search results

Search results 1-20 of 69.

Saturday, February 2nd 2019, 7:24pm

Author: Anoril

Nested arrays and Tween. A Bug or a Feature?

Hoy! I tried to fix by giving an actual name to the sub-item using txtadd(subName, "sub", get(i)) but I had the same behaviour. A magic moment :) Regards

Saturday, February 2nd 2019, 5:02pm

Author: Anoril

Nested arrays and Tween. A Bug or a Feature?

Hi there! I'm working on some stuff and I have to efficietly parse children of Layers. Because I got a lot of layers and children, I decided to store the children nodes into a parent array instead of having a loop through all layers available. (That may be inconsistent, just tell me if you have better idea ). OK, to get you see, Here is the expected structure: Source code 1 2 3 4 5 <layer name="Parent"> <layer name="Child0" /> <layer name="Child1" /> </laver> This structure is created by an acti...

Thursday, January 31st 2019, 6:54pm

Author: Anoril

KRPano actions and javascript actions calls

Hi indexofrefraction! Thanks for the answer. My point is that I should pass an array. I read Action are limited to 99 params, that is a first limitation, and the second is that I don't know how to access params in a form of an array (like in JS: "args[idx]"). Today, I have about 50 params (items in my array) but in production, it might go up to 10 000 000 items :P Regards

Thursday, January 31st 2019, 11:09am

Author: Anoril

KRPano actions and javascript actions calls

Hello all! I'm playing with KRPano and for some technical and performances reasons, I decided to work in XML file with both Javascript and Native actions. Today, I'm struggling hard to get the things work together! :) Calling is an javascript-type action from a standard KRPano native-action is straight forward: Source code 1 2 3 4 5 6 7 <action name="caller"> callee(); </action> <action name="callee" type="javascript"> console.debug("yeepee"); </action> But for some technical reasons, it's more ...

Wednesday, January 30th 2019, 2:12pm

Author: Anoril

Spheretoscreen gives NaN at some point

Thanks! It works but I don't like the calculus it implies... By the way, I suppose I'm not in a situation where a mul and a test is a killer. :) Thanks again! Paul

Friday, January 25th 2019, 2:16pm

Author: Anoril

Spheretoscreen gives NaN at some point

Hello! I am asking myself: How do I check SphereToScreen result validity? A call set vars with resulting data, but some times, when hotspots are out of screen, data is "NaN". My point is that I don't know how to test "NaN"... Source code 1 2 3 sphereToScreen(a, b, c, d); if( c == NaN, trace(is NaN), trace(is not NaN)); if( c == Number.NaN, trace(is NaN), trace(is not NaN)); Above code does not work... I tried to check against screen dimensions, but that fails too : NaN is both greater and lesser...

Friday, January 25th 2019, 12:17pm

Author: Anoril

set (and get) array elements

Hi ! I'm experiencing a destabilizing behaviour with arrays. I want a global array to store data. In a high-level action, I ask for array creation as documented: Source code 1 def(miaou, array); Then I start using it: Source code 1 set( miaou[0].stuff, "meow" ); But this tells me : Quoted WARNING: set miaou[0].stuff=meow - miaou is not an array! ... WHY ?!? If I don't use DEF(), it works... ^_^ But I don't really like using data I don't initialize... Pleaaaase, help ! :D

Monday, January 14th 2019, 2:52pm

Author: Anoril

Masking with 2 images and an alpha mask image, is it posble ?

Oh, yes! Thank you Tuur! I thought MaskChildren was only purposed to hide inner stuff, but I realise it evolved and now deal with parent CSS boxing. This is a bit limitating (to rectangles, rounded-rectangles and circles) but that helps! Many thanks for the update and to point it out! Regards, Paul

Friday, January 11th 2019, 3:15pm

Author: Anoril

Masking with 2 images and an alpha mask image, is it posble ?

Hello! I'm trying to make use of this mask attribute, but with no success. It seems it is no more available on Hotspots, am I correct? When I update the sample given by Klaus to 1.19, I just end with a white blured circle wandering arround. :/ How to get it work with 1.19? Best regards, and all my best wishes for the new year! Paul

Monday, September 5th 2016, 1:29pm

Author: Anoril

[FIXED] Mobile and Scene

I first supposed the issue can come from the fact I have several XML files and, maybe, loading them (using "include") would have strange behaviours. I then placed all the content in a single XML file, but the issue remains. Regards,

Monday, September 5th 2016, 1:23pm

Author: Anoril

[FIXED] Mobile and Scene

Hi! I'm going crazy with scene loading issues. (1.19-pr4 up to 6) This project : http://anoril.no-ip.com/360/DemoHeadset/ does not work the same way on Mobile and laptop browsers. Even in Chrome, it does not play the same way as in Chrome emulating a device! 1_ On mobile, my first scene is played and quickly replaced with the second scene, which is not called with "loadscene" from anywhere! Using a laptop browser (Forefox/Chrome) all works fine: the first scene is loaded, played successfully and...

Wednesday, August 31st 2016, 4:57pm

Author: Anoril

WebVR and Layer interaction

Hello all! I'm trying to get this working: A WebVR experience with an animated introduction. The introduction consists in several logos and texts to be displayed, one after the other, in full-stage: a black background layer hides the 360 view while logos are displayed. At the end, I hide the background layer to get the user viewing the actual panorama. I made this with simple delayed calls and it works fine. But I want it to work with a VR headset. So I placed a "Start" button which triggers "we...

Monday, August 15th 2016, 8:38pm

Author: Anoril

scale text in tekstfield

Hello! I'm still having this king of issue (1.19-pre5) : I can't resize my text in HTML5 using textfields (I did not tried Flash and I'm not interrested in Flash anymore ;) ). I had to make use of an external HTML page to be displayed using CSS trick "font-size: 18vm" (with "vm" not yet accepted by all browser ^_^' ). Actually, "vm" is not understood by KRPano even when let managed by the browser (weird to me actually...) So, if you have an esay step to get my Textfield content scaled to my view...

Sunday, August 7th 2016, 11:28pm

Author: Anoril

Autorotate Object issue

Ahahah ! How dumb I could be... :) Thanks a lot for the note, Tuur! Many thanks! Paul, The Blind One

Sunday, August 7th 2016, 2:21pm

Author: Anoril

Autorotate Object issue

Hello all! I experience a strange issue with Autorotate. For the first time, I want to programmatically activate it or disable it. Thus I got an action that calls, as depicted in the documentation, "autorotate.start()". But when it comes to call this, I have this error message: Source code 1 WARNING: unknown action: autorotate.start It works when I use Source code 1 set( autorotate.enabled, TRUE ); I a bit disapointed :) I'm using 1.19-pr3, HTML5, Win7, Firefox. Best regards, Paul

Monday, May 16th 2016, 8:17pm

Author: Anoril

onvideopaused and onvideopaused events

Hello! Same issue on my side with 19-pre4. I'll check if there is no redefinition of the call somewhere in the code... Regards,

Monday, May 16th 2016, 8:15pm

Author: Anoril

onvideoplay event is not called on playvideo action

Hi! Got the same issue on 19-Pre4. I'll go search for the code if there is no redefinition of the call somewhere... :) Regards

Tuesday, May 10th 2016, 11:32am

Author: Anoril

HTML5 black screen

Hi! Thanks for your help SVB, and for the fix, Klaus! Warm regards,

Sunday, April 17th 2016, 2:42pm

Author: Anoril

Is it possible to make audio player with timebar?

Hi! Thanks Tuur! I'll get a glance to this! Regards,

Friday, April 15th 2016, 10:06pm

Author: Anoril

Is it possible to make audio player with timebar?

Hello there! I raise this thread as I'm very interested in having that king of data from a sound (html5 only). Maybe someone has a pretty solution (or Klaus has?)... For those interested with a workaround, I would set a kind of "data" tag with file name and manually entering the time I KNOW it is. Then , by using the frame rate/timeelapsed, you are able to know the percent of the file played. The Very Ugly Way: (I'm sure a better person that I will produce a more efficient code) Source code 1 2 ...