PDA

View Full Version : Panoramas and flash components embedded


africano
11-14-2008, 03:48 PM
Hi, Im sure this has been asked but Id like to see if I can get a precise answer.
Can I embed flash content like for example components from:http://www.flashloaded.com/
Into a panorama?ї

Im just trying to see how far it can go, would be great to embed things like 3Dspere, 3DWall etc into the actual pano activating it via a link/hotspot.

If it can be done how would you go about doing this and is there any examples, a very nice person on this person has shown me a simple gallery....can other flash components like the examples shown via link also be embeded?ї:D
cheerio!

nidrig
11-14-2008, 04:05 PM
Hi,

It's possible, I've did it with flashloaded components and also afcomponents.

Flashloaded components are *buggy*; some proved to be unusable, like the flipbook for instance, which crashes when embedded..Look carefully at their forums before buying a component from them.

The 3D wall is a pain to set up, even out of fpp.

Anyway, enough rant. If you want to embed these components within fpp, you can simply doing so by loading them as hotspot, if you need not to interact with fpp.

Now, as sexy as these components are, they proved to have a terrible user experience, especially the 3D spiral. Maybe ask your customers if they're interested in such visual effects. Mine weren't that convinced..

cu

africano
11-14-2008, 04:38 PM
Thanks, really like your example! :) Im sorry but im not sure how to embed these type of components. In your Maison example you have a Galerie D'Images button, when clicked opens up a gallery(I suppose this is a component). Is this coded inside the pano.xml..or do you link it somehow?
Sorry if Im not being clear!

nidrig
11-14-2008, 04:55 PM
I link the gallery (or swf more accurately) from fpp xml file:


<spot id="gallery" url="photoflow/galleryGrid.swf?file=photoflow/content_grid.xml" static="1" visible="0" salign="LT" align="LT" depth="100" blockMouse="1" buttonMode="0"/>

Note that the "?file=photoflow/content_grid.xml" part which is mandatory if you want your swf to load external data, otherwise it won't work.

Note also the visible="0" so you won't see the gallery when fpp starts.

Now I have a "show gallery" spot:


<spot id="galBtn" smartScale="1" alignY="-0.09" static="1" salign="TC" url="images/galBtn.swf" refreshRate="30" depth="101" onClick="global.showGallery()" />

which calls a showGallery fct that basically does: gallery.visible=1;

The gallery I'm using is part a component, part home made. The grid is afcomponent and the popup is home made. I needed a fluid layout that resized itself according to the browser size and user's resizing events, so I coded it.

africano
11-18-2008, 04:34 PM
Hi nidrig....I understand its a little tricky....I really like the flipping book, like the one found here:
http://www.peggy-huyn-kinh.fr/site/PHK1.htm

In your post you say that the flipping book is not usable, are these people not using it? or is what they have an application they have made themselves?

If you know anything about the posibility of flipbook or a way to achieve the same effect as on that page Id love to hear any advice you have on the subject,

cheers and thanks for the help!:)

nidrig
11-18-2008, 07:20 PM
hi,

In the site you linked, they're using an AS2 flipping book, which is also possible. I wanted to use an AS3 one, but the only available I found was at flashloaded.

I only set up a flipping book in fpp for test purposes, way behind what has been achieved in your link. Thus, I have no useful advices to provide, except how I would do it if I had to..and I'll wait for a customer to pay for it!

cu

africano
11-19-2008, 09:42 AM
Hi, Im testing with flipping book component. The info goes through an xml file. Ive integrated it into my panorama following your instructions(cheers:)) and I can get it to load etc....but after sometime when I try and turn a page theres a sort of glitch(a visual one-instead of a small curl in the page I see the whole page) although it still turns the page.

Is this a problem with the FlippingBook, or its integration in the pano?

Basically at the moment I have a button which executes the booklet swf. I can turn the pages etc but if I return to the cover the swf vanishes/stops. If I try and click on the button to execute it again it doesnt...so its only executing on the first go.
This is my code so far:
<spot id="booklet" url="mypageflip.swf?file=config.xml" static="1"staticX="218.00" staticY="12.00" visible="0" salign="LT" align="LT" depth="100"scale="1.07" blockMouse="1" buttonMode="0"/>

<spot id="bookletBtn" smartScale="1" alignY="-0.09" static="1" salign="TC" url="images/black_p.png" refreshRate="30" depth="101" onClick="global.showBooklet()"

onClick="showBooklet()"
showBooklet="booklet.visible=1;"

/>