You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, December 22nd 2012, 9:51pm

textfield bug in Build 2012-10-05 ?

Hi Klaus

Sorry for the delay in getting back to you, re textfield bug, you can see the problem here:

http://www.trekwireless.co.uk/krpano-tes…d-bug/index.htm

If you view in safari text appears in correct place, switch to html5 (ie iPad) text is displayed in left centre.

Here is the xml I'm using:

<plugin name="titletext"
url="../plugins/textfield.swf"
keep="true"
align="bottomleft"
x="35" y="30"
autosize="left"
wordwrap="true"
background="false"
zorder="-1"
children="true"
html="TEST"
css="p{color:#FFFFFF; font-family:arial; font-style: regular; font-size:20;text-align:left; }"
effect="dropshadow(4,45,0x000000,4,1);"
/>



<action name="showname">
txtadd(plugin[titletext].html,[p],get(scene[get(xml.scene)].title),[p]);
</action>


Problem did not occur in previous release.

Thanks in advance *smile*

Cheers Tim

2

Saturday, December 29th 2012, 1:13pm

Hi,

the alignment problem (and many other html5 textfield problems) will be fixed in the next release.

But to get the same display in Flash and HTML5, the xml also need to be changed a bit:
  • add an unit (e.g. px) to the fontsize - e.g. font-size:20px;
  • and use the textfield textshadow settings instead of the 'effect' setting.
Best regards,
Klaus