Custom XML dynamic textfield is a dynamic XML text field, with a custom scrollbar, easy to visually edit. It has a nice soft ease effect when scrolling.

scrollbar, easy to visually edit. It has a nice soft ease effect when scrolling.

Features:

-The textfields (there are 2, one for the title and the other for the content) and scrollbar are in a single MovieClip, making it easy to move to more different FLAs.
-The content textfield is HTML enabled, to enable adding images using the img tag
-In the first frame of the movie clip, all you have to do is set values for two variables, defining the height of the field and the source of data (XML file). The variables are explained in the code comments. In the XML you define the title text, and the content text.
- The scrollbar is made of 2 graphic elements (handle and background) which are easily edited to visualy fit your application. You can add a nice animated effect to the scrollbar handle, the code is there, just change the tween animation to your liking (the preview has a soft glow-up animation)
- The scrollbar automatically hides if the content height is less than the height you defined as visible
- Code is fully commented so you can easily edit it if you want




Author:
admin
Time:
Sunday, May 4th, 2008 at 2:21 pm
Category:
Uncategorized
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply