day / night button in a specific scene

  • hi!
    how can i add a button to a specific scene?

    i added a plugin like this:

    <plugin name="daynight"
    url="%SWFPATH%/skin/daynight-2.png"
    align="topright"
    x="130"
    y="10"
    altonloaded="if(isphone, mul(x,2); mul(y,2); mul(scale,2));"
    onhover="showtext(Day/Night);"
    onclick="loadscene(scene_02, null, MERGE|KEEPVIEW, BLEND(1));"
    </>

    but it's not working as i want... the plugin must be loaded each time that the scene is loaded...

Jetzt mitmachen!

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