Flash-text-type
From Frontal Wiki
Contents |
Purpose
This 'text' style makes teh text block either editable or not.
Value
Either "dynamic" or "input". If "dynamic" then the text is not editable. If "input" then it is editable. The default value is "dynamic".
flash-text-type: dynamic;
Example
When the checkbox is unchecked, the text is not editable. When it's checked, it is.
<style><![CDATA[ text { height: 100px; width: 400px; background-color: lightblue; font-size: 40px; font-family: Swift LTD Std; flash-text-type: dynamic; } input[type=checkbox] { @onClickRaw { gE ( "mytext" ).sS ( "flash-text-type", value ? "input" : "dynamic" ); } } ]]></style> <include rel="assets" blocking="true" src="assets.swf" fontClasses="SwiftLTStd, SwiftLTStdBold, SwiftLTStdItalic" /> <text id="mytext"><![CDATA[Hello, world.]]></text> <input type="checkbox"><![CDATA[input]]></input>
Can Be Applied To
This style can be applied to: