wieso klappt merge nicht ? jetzt wohl doch

  • edit: es lag wohl an den unterschiedlichen namen meines plugins!!


    hallo,

    merge veranlasst doch, dass keine actions o.ä. ins nächste panorama übernommen werden, oder?

    per button rufe ich eine panoramaübersicht auf - plan.xml.

    in jeder xml habe ich ein textboxfeld. so wie es aussieht, wird die textbox mit inhalt immer richtig geladen, nur meine onhover-showtext wird aus dem vorhergehenden panorama übernommen - woran kann das denn liegen?

    mein button zur plan.xml:


    ... und mein textfeld mit button:

    der aufbau ist bei allen gleich mit der ausnahme, dass der plugin name des buttons immer unterschiedlich ist, in diesem fall "info_button_lok1".

    sascha

    keep="true" visible="true" enabled="true" handcursor="true" capture="true" children="false" zorder="1"
    align="lefttop" x="10" y="30"
    onclick="action(show_text);"
    onhover="showtext(Infos);"
    />

    set(plugin[textbox].visible,true); tween(plugin[textbox].alpha,1); set(plugin[info_button_lok1].onclick,action(hide_text)); </ACTION>
    tween(plugin[textbox].alpha,0,,,set(plugin[textbox].visible,false));set(plugin[info_button_lok1].onclick,action(show_text)); </ACTION>


    align="left" x="10" y="10"
    scale9grid="5|5|12|55"
    width="380"
    height="300"
    alpha="0.00"

    >


    parent="textbox"
    align="left" x="10" y="10"
    background="false" borderwidth="0"
    html="data:text123"
    autosize="left"
    mask="textmask"
    />


    parent="textbox"
    align="lefttop"
    x="5" width="355"
    y="5" height="290"
    />


    parent="textbox"
    align="righttop"
    x="24"
    y="5"
    rotate="-90"
    crop="0|0|19|19" onovercrop="0|19|19|19" ondowncrop="0|38|19|19"
    ondown="tween(plugin[text].y, 10, distance(300,0.7), linear);"
    onup="stoptween(plugin[text].y);"
    />

    parent="textbox"
    align="rightbottom"
    x="24"
    y="5"
    rotate="+90"
    crop="0|0|19|19" onovercrop="0|19|19|19" ondowncrop="0|38|19|19"
    ondown="tween(plugin[text].y, -265, distance(300,0.7), linear);"
    onup="stoptween(plugin[text].y);"
    />


    bla

Participate now!

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