Set a layer dynamically as a child

  • Do you mean...

    ... if this is what I want:

    ...and this is the action to build the above stucture:

    Am I doing well?

    As you can see, my intension is to click on a button(hotspot) to open an image inside a box(textfield) and show some info.
    Also, images can be portrait or landscape: how can I check orientation of the photo without giving the parameter "orientation" to the button?
    Thanks.
    Regards,

  • HiCheck geometry sizes to detect orientation.
    It's common cases for programming logic
    About parent:
    if you need this

    Code
    <layer name="PAPA">
        <layaer name="CHILD" />
    </layer>

    Then just do so
    addlayer(PAPA);
    addlayer(CHILD);
    set(layer[CHILD].parent,PAPA);

    Regards
    Andrey

Jetzt mitmachen!

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