You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-08-08 17:41:52

picaddict
New member
Registered: 2012-08-08
Posts: 6

Embedding an interactive object

Hi there!

I'm currently playing around with Panotour Pro and try to figure out how to embed an interacitve object.

Here's what I want:
1. The user clicks on a hotspot.
2. The hotspot opens an object which is displayed in the middle of the screen.
3. This object has mulitple pages, and the user can click through them.

1 & 2 is easy.
But I cannot figure out how to accomplish 3.
I've tried using an swf, which opens just fine, but as soon as I click on the button within the swf, the whole object disappears instead of switching to the next page of the object.

Can anybody tell me if that's possible at all?

One more thing: my initial approach was to open a html page - but I can't get it to work locally.
(haven't bought the license yet, so cannot check if it works online.)

Thanks a lot in advance for you help!
Stefan

Offline

 

#2 2012-08-08 22:56:45

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2358
Website

Re: Embedding an interactive object

Hi.. Flash interactive buttons using AS2 or AS3 do not work in ptp. You can use Javascript though.. I am surprised you managed to check the swf locally since it will only work correctly after uploading...

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#3 2012-08-09 10:38:15

picaddict
New member
Registered: 2012-08-08
Posts: 6

Re: Embedding an interactive object

Hi!

Thanks for the reply.
Can you point me to some examples how to use js in ptp?

Thanks!
Stefan

Offline

 

#4 2012-08-09 12:09:54

picaddict
New member
Registered: 2012-08-08
Posts: 6

Re: Embedding an interactive object

Hi!

Thanks for the examples... Cool stuff smile
Just one thing - how do you embed the javascript code?
I know how to code things shown in your examples, but where do I insert that into the hotspot?
Is the hotspot a link to a page or the javascript directly?

Cheers
Stefan

Offline

 

#5 2012-08-10 17:19:59

picaddict
New member
Registered: 2012-08-08
Posts: 6

Re: Embedding an interactive object

Hi!

Could you give me a hint, what's wrong with my approach:

I use wowslider to build the slideshow.
I put the folder witht the slideshow in the directory of my tour.
I point the hotspot to this url, e.g. wow/index.html.

If I click on the hotspot, I can see the html, but the js/css/images are not visible.
Seems like an error with the paths to me, but I don't understand what I do other than you...

Thanks for your help and have a great weekend!
Stefan

Offline

 

#6 2013-03-08 11:49:44

mwirth
New member
From: Solothurn, Schweiz
Registered: 2009-10-29
Posts: 5
Website

Re: Embedding an interactive object

Hi
I got the same problem as well.
I have created a room in a virtual museum. A click on a picture (hotspot), should open a infotable (swf) with 4 audiobuttons and a text.
If i click on a audiobutton into swf-file , the sound starts and the swf dissapears...
What is the sense of the possibitly to insert a swf to a hotspot, if it doesn't work as swf-file?

Is there realy no possibilty to insert a swf-file that works as a swf-file?

Thanks for any help
Michael

Offline

 

#7 2013-03-08 12:10:15

picaddict
New member
Registered: 2012-08-08
Posts: 6

Re: Embedding an interactive object

Hi Michael,

I finally found the solution to the problem, at least sort of...
The key is to use a lightbox which is fired from the javascript command in an hotspot.

To do so, you have to change the virtualtour.html to include the lightbox, e.g. colorbox.
You can look at what we've built at http://elearning.pacttraining.de/client … ltour.html

However, you need some understanding of php and javascript to get it done...

One more thing: I thought that kolor wanted to implement a feature for this in the latest version - you might to check for that.

If you need (professional) help, mail me at sts@bdecent.de

Best Wishes,
Stefan

Offline

 

#8 2013-03-10 09:25:00

Gund
Member
Registered: 2012-10-26
Posts: 68

Re: Embedding an interactive object

picaddict
Light and shadowbox is the only good solution I've found so far.
At my computers the tour that you;ve shown on the link above is jerky when you turn round the panorama - I guess that is due to wmode=transparent attribute used to put the lightbox window above the flash container.
When I made this one http://talyana.ru/gallery/panorama/   I didn't use wmode=transparent attribute and the pano moves much smoother on slower computers.
Ohhh and too bad these light-shadow-boxes would not work on Ipads-phones

Offline

 

#9 2013-03-11 12:09:17

picaddict
New member
Registered: 2012-08-08
Posts: 6

Re: Embedding an interactive object

Hi there,

that's right - the performance unfortunately decreases once you use the colorbox.
But colorboxes do work on tablet/mobile - it's just a matter of the right size...
(we didn't optimize here, because our content is flash, so it wouldn't work anyway, and our clients don't use mobile/tablet)

Best Wishes,
Stefan

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson