how would we go about making hotspots or plugins show up only on certain frames? i have videos i want on some walls but cant figure out how to do that.
multi frame and hotspots
-
-
Well, one way to do it is to set up your hotspots and then turn the visibility on and off using if statements within the same actions that increment and decrement the frame value. There may be a more elegant way to do this, but I can't think of it at the moment.
steve
-
Pinsane could provide an example of that. You seem to be able to manipulate xml in the same way Neo could change the Matrix. It would be much appreciated, along with all the other help you constantly provide.
-
what do you mean with certain frames??
Tuur
-
i used 4 360 images. thats 4 frames correct? each 360 is a frame. i only want the video to display on the frame with the monitors on the walls. not all of them have that. the way the tiles are broken out have all frames in 1 xml no way to apply a hotspot to an individual frame.
would be nice if Klaus could add a frame variable to hotspots. framecount="null" for unused and framecount="1" for it to show up in just that frame. maybe framecount="1,3,10" and the hostspot would display in all 3.
would that be possible Klaus?
-
not with the videoplayer .swf?
-
With frames you mean Scenes? can't you do that with keep="true/false"?
a scene is loaded as a new external xml so it should remove the videoplugin if keep is set to false. Else you could forcifully remove it with an onclick loadscene("something.xml");removeplugin[yourvideohotspot] (or removehotspot)
-
no you have to look at the xml exported by the kmake multiframe droplet. there is no scenes or anything. all tiles for all 4 scenes/frames/360 are all in 1 package no way to apply the hotspot to jsut 1 of them.
-
Hi VN2009 ,
As Steve pointed out above , you could use the image.frame variable to check which frame is currently displayed....
Perhaps a code could be something like:
Code<events onviewchange="if(image.frame == 1,set(hotspot[video].visible,true),set(hotspot[video].visible,false))" />
Hope this help.
SAlut.
-
Michel - thank you! you help is alwasy appreciated.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!