onclick on container plugin/layer
-
-
You have
Bgcolor="0xffffff"> onclick blabla
Should be
Bgcolor="0xffffff" onclick="trace(ilovekrpano);" />
Or just an > at the end in case of nesting layers
So, onclick inside the layer tag
Hope it helps
Tuur
-
I am make misprint when type start topic
Code<layer name="q1" type="container" align="lefttop" x="400" y="400" width="100" height="100" bgcolor="0x111111" bgalpha="1" onclick="trace(aaa);" />
in code above events dont fired - verified
Code<layer name="q1" type="container" url="thumbnail/panorama1_thumbnail.jpg" align="lefttop" x="400" y="400" width="100" height="100" bgcolor="0x111111" bgalpha="1" onclick="trace(aaa);" />
but if I am add url - all work properly
why this happens?
-
Hi!
container must be bgcapture=true for capture mouse eventsAndrey
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!