loading drag layer text from layer button

  • Im strugaling to open a text info box for each scene from layer button. not sure how to make it open main container.
    any help would be great. *smile*

    <layer name="btn3" style="galbtn" x="160" html="[p]Show gallery hair[/p]"
    onclick="?????????);" />

    <layer name="main container">
    <layer name="textbox" type="container" align="center" x="0" y="0" width="300" height="300" bgcolor="0x333333" bgalpha="0.7" bgcapture="true" ondown="draglayer();">
    <layer name="title" url="%SWFPATH%/plugins/textfield.swf" children="false" enabled="false" align="top" y="5" width="100%" autoheight="true"
    border="false" background="false"
    css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:14px;"
    html="Textbox"
    />
    <layer name="textmask" type="container" align="lefttop" x="10" y="30" width="280" height="260" bgcolor="0xFFFFFF" bgalpha="1.0" maskchildren="true">
    <layer name="text" url="%SWFPATH%/plugins/textfield.swf" children="false" align="lefttop" x="0" y="0" width="100%" autoheight="true"
    border="false" background="false"
    css="text-align:left; color:#000000; font-family:Arial; font-size:15px;"
    html="data:testtext"
    ondown="draglayer_text(start,260);"
    />
    </layer>
    </layer>
    </layer>

Participate now!

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