iPad "pichotspot" hotspots for Flash

  • Sorry if i something overlooked, but i don't know how to "enable" HTML 5 hotspots for Flash version. Reason is simple - i created cca 50 hotspots for iPad (so they look like <hotspot name="pic33" style="pichotspot" pic="art33" ath="-145" atv="0"> ) and they behave corectly on iPad. But they are not available in Flash version on desktop. I know that for desktop i need to create some "clickmaps", BUT... i realy don't want :). So is there any simple way how to enable my pichotspot on Flash version without creating 50 new areas?

    And BTW is there any easy way how to create this areas?

    Thanks

  • Why do you not use the code you get automatically when you create a Vtour with the droplets.

    You can of course change it to your own hotspots instead of the default.

    I can not understand what your pic="art33" is. is it supposed to be an url to a png or jpg? If so you need the file type.
    But you can define that link in your style.
    This is how the default ones are created.

    <!-- hotspot styles (for Flash and HTML5) -->
    <style name="hotspot_ani_black"
    url="hotspots/hotspot_ani_black_64x64x20.png"
    crop="0|0|64|64"
    frames="20" framewidth="64" frameheight="64" frame="0"
    onloaded="hotspot_animate();"
    altonloaded="if(isphone, mul(scale,2)); onloaded();"
    />

    and in the scene
    <hotspot name="spot1" style="hotspot_ani_white"
    ath="125"
    atv="-5"
    zoom="false"
    onhover="showtext(Torvet i Den Gamle By,thumbtext);"

    onclick="looktohotspot(get(name)); loadscene(scene_02,null,MERGE,BLEND(1));view1());"
    />

    if you just have standard png file o jpg without animation you can of course remove the codes for that.

    Hans

  • Best if you can share a bit of the code so we can see what you're adding. Usually if the devices="all" is set then you should see it on flash, but it could be something else.

    I'm using this hotspot and related code from example "winegut"

    <style name="pichotspot"
    capture="false"
    zorder="1"
    onclick="showpic();"
    alturl="hotspots/zoomicon.png"
    altonloaded="if(isphone, mul(scale,2));"
    zoom="true"
    scale="0.5"
    ox="+40"
    oy="+30"
    />

    Then you need four actions (showpic, calc_flyout_size, flyout, flyin), which i will not copy here, they are just copy-paste from winegut example.

    Each hotspot is then defined like in previous post:

    <hotspot name="pic49" style="pichotspot" pic="art49" ath="-55" atv="2">
    </hotspot>

    On iPad i see nice magnification glass. On Mac or PC i see nothing.


    You can see it here
    http://dl.maler.cz/pano/vtour/tou…d=scene_1-stred

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!