Hi,
i try to get the compass 'numbers' in textfield..
I have:
Code
....onstart="set(heading, 0);intro();load1();" ...
<events onviewchange="onviewchange();" />
<action name="onviewchange">
sub(textview, view.hlookat, heading);
txtadd(data[html_pic_id].content,"<p>",'FOV=',get(textview), '°',"</p>");
trace('get(textview)');
</action>
<data name="html_pic_id">
</data>
<plugin name="text_pic_id"
url="../skin/plugins/textfield.swf"
keep="true"
visible="true" enabled="true" handcursor="false" capture="true" children="true"
zorder="100"
alpha="1.00" blendmode="normal"
smoothing="true"
origin="bottom" edge=""
x="0" y="5"
width="250" height="30"
scale="1"
onloaded="text_var();style_var();"
onover=""
onhover=""
onout=""
ondown=""
onup=""
onclick=""
autosize="none"
background="false"
backgroundcolor=""
blur="0"
bordercolor=""
borderwidth="0"
css=""
glow="0"
glowcolor=""
html="data:html_pic_id"
roundedge="8"
selectable="false"
shadow=""
textblur="0"
textglow="0"
textglowcolor=""
textshadow=""
parent="STAGE"
/>
Alles anzeigen
The trace in the onviewchange action gives the right result but why don't i see it changing in the textfield... it just says 0 ?
Thanx
Tuur