possible bug with stoptween

  • Code
    set(hotspot[get(rwv_new_infospot_name)].onloaded,tween(hotspot[get(name)].ry,36000000,400000,linear));
    set(hotspot[get(rwv_new_infospot_name)].onover,stoptween(hotspot[get(name)].ry));
    set(hotspot[get(rwv_new_infospot_name)].onout,tween(hotspot[get(name)].ry,36000000,400000,linear));

    Dear Klaus,

    the above code should start the rotation of the particular hotspot when it's loaded, stop the rotation when the user puts the mouse over it, and re-start it when the user moves the cursor away, right?

    But the middle line doesn't seem to be working. If I substitute the get(name) call with the exact name of the hotspot, it works like it should, but not like this. The first and the third lines work just fine even like this though. Is this a bug, or something deliberate?

Jetzt mitmachen!

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