close textfield - text stays visible

  • Hi,
    I'm using the scrollable textfield SWF that was kindly provided to us by jeffouille although I'm not sure if this is relevant.
    The issue I am experiencing is, when I close the textfield using this simple action:

    <action name="close_textfield">

    The textfield itself disappears but the text stays visible.


    EDIT: Sorry, this should be in the beginners questions section.
    EDIT 2: ...ahh.... it is... *unsure*

  • I've found a workaround but I'm sure there has to be another (correct) way to do this.

    Here's the workaround:

    <data name="blankhtml">
    <p> </p>

    Then add into the 'close_textfield' action:


    It means adding 'set(plugin[text_field].html,data:1);' into my 'show_textfield' action to reset to the correct text if the user clicks on the info button more than once.
    It works for this occasion but, as I say, I don't think this can be the correct way. I'd be grateful if anyone can put me straight.


Participate now!

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