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

  • 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

Jetzt mitmachen!

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