来自中国网友的提问,I have a simple question,From China

  • In krpano Forum....search answer,it's hard to me..Because of langure....
    I have a simple question..

    Code
    <layer name="[dynamicName]" url="url" align="right" x="dynamicX" y="dynamicY" scale="1" handcursor="false">	<plugin name="activespot" url="h.png"  keep="true" align="lefttop" x="1" y = "1" edge="center"/>
    </layer>
    <layer name="[dynamicName]" url="url" align="right" x="dynamicX" y="dynamicY" scale="1" handcursor="false"></layer>

    sometimes,i need get dynamicName or dynamicX & Y in action(xml) by the "Plugin[activespot]"
    I tried different way,but i can't...
    I tried like this

    Code
    get(layer[activespot].parent.name)


    Or

    Code
    get(layer[activespot].parent).name


    Or

    Code
    set(xxxxxxxxxx,get(layer[activespot].parent)
    get(xxxxxxxxxx)


    HELP........ *wacko*

  • thanks,"parent is already a layer name!",it's help me to understand the truth.
    now,i have to cut the string.i can do it myself. *cool*
    thank you so much. *thumbsup*

Participate now!

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