swf animation background

  • Hi, sorry but I'm a real newbee with flash coding...
    I'm trying to mal a 3D rotationg sphere mapped with an image in flash and use it as a plugin in krpano.
    I found a exemple to build the sphere and it's working, but when I use it in krpano the background of the swf is black and I would have it transparent...

    you can download the fla file here : 3d_sphere_krpano.rar

    by the way, if someone knows how to make the sphere rotate automaticly or on over the mouse it would be great !!!

    many thanx !

  • Hi,

    just look into your source codes *wink*

    The black-background is drawn by your code - look in the BitmapSphere.as in the drawBack() function!
    Just remove that.

    By default there will be no background and krpano will not draw a background for plugins too of course .

    Best regards,
    Klaus

  • Thanx for your support Klaus, it's very kind of you.
    I finally managed to make a rotating sphere with as3 but unfortunatly it makes the flash plugin unstable on firefox, IE, safari.. it just works all right on chrome.
    5 flash rotating sphere + krpano is maybe too much ?

    here is one for exemple : http://360images.fr/nova/skin/planetes/terre.swf

    and the code :

    Never mind, I'll use png planets instead...

    Thanx again Klaus !

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!