I can't see my swf hotspot made with actionscript

  • Hi to all, and thank from now for the replyes :)

    I have a waterfall made only with with as3 code,and when i try it alone it working well...but if i put it into krpano,i can't see it!

    Is there a way to but into the tour as3 hotspot made with?

    Thanks to all again.

  • Thanks for the helps!

    With the Debugger i have discovered that the hotspot is not made well,intead it made me:

    TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
    at Waterfall_fla::MainTimeline/init()
    at Waterfall_fla::MainTimeline/frame1()

    I'm a beginner in the flash's world, and i don't know how i can resolve the problem,btw i don't want to annoying you with stupid questions...

    But if is interesting for you,i have taken the waterfall's file here:
    http://www.flashandmath.com/flashcs4/waterfall/

    Here you can find the zip file,and into it,the .fla file...
    maybe sameone want to resolve it... ;)

  • you should look at https://krpano.com/docu/plugininterface/#as3 (and click the tab that says flash CS code)

    in the part where it says if(0)

    you should add

    plugin.registercontentsize(200,300);
    var waterfall:Waterfall = new Waterfall(200,300,false);
    this.addChild(waterfall);

    make sure the com folder is in your project folder and you have imported all those close (import com.flashandmath.dg.* etc)

Participate now!

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