This is how it works. Thank you Admin.
1. drop Smoothscroller 2 onto the stage and give it an instance name
(for this example the instance name is: SS2TextScroll)2. drop an editblok onto Smoothscroller 2 and give it an instance name
(for this example the instance name is: EBTextScroll)3. add the following actionscript to the keyframe that holds both the SmoothScroller2 and it's EditButton
(change the places where you see EBTextScroll to your own instancename):
| Code: : |
var EBTextScrollListen:Object = {};
EBTextScrollListen.complete = function(obj:Object){ // {type, target, tagData}
var myText = obj.target.targetMC
if (myText.scroll == myText.maxscroll) scrl._visible = false
else scrl._visible = true
}
EBTextScroll.addEventListener("complete", EBTextScrollListen);
{
setProperty(this.scrollbar, _visible, 0);
}
|
4. create a MovieClip in your Library that is made up of a TextField that is set for Input Text. Give that TextField an instance name
(for this example the instance name is: InputTextField).
5. add the following actionscript to the keyframe within the MovieClip that holds the TextField
(change the place where you see InputTextField to your own instancename):
| Code: : |
InputTextField.autoSize = true
|
6. Give the MovieClip an Identifier name using the Linkage panel from the Library options (f
or this example the Identifier name is MCInputTextField).
7. Publish and upload your movie. Using your FlashBlocks editor; select the Smoothscroller2 (
SS2TextScroll) and go to FlashBlocks editor's Linkage ID and enter your Identifier name
(for this example the Identifier name is MCInputTextField).
8 Save data and Log out
Good luck, Eddy