Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.893.030 Times

SWF::Builder::Character::EditText 0.16

  Date Added: November 09, 2010  |  Visits: 813


Report Broken Link
Printer Friendly Version

Product Homepage
Download (77 downloads)

SWF::Builder::Character::EditText is a SWF dynamic editable text object. SYNOPSIS my $text = $mc->new_dynamic_text( $font ) ->size(10) ->color(000000) ->text(This is a text.); my $text_i = $text->place; my $field = $mc->new_input_field; $field->place; ^This module creates dynamic editable text objects, which can be changed at playing time. Basic dynamic editable text object $etext = $mc->new_edit_text( [$font, $text] ) returns a new basic dynamic editable text object. It has interfaces to raw DefineEditText tag. $font is an SWF::Builder::Font object. $etext->font( $font ) applies the font to the text. $font is an SWF::Builder::Font object. Unlike static text, the font is applied to the whole text. If the text will be changed in the playing time, you should add glyph data of all characters which will be used to the font by $font->add_glyph or turn off the embed flag of the font. $etext->size( $size ) sets a font size to $size in pixel. Unlike static text, the font size of the whole text is changed. $etext->color( $color ) sets color of the text. The color can take a six or eight-figure hexadecimal string, an array reference of R, G, B, and optional alpha value, an array reference of named parameters such as [Red => 255], and SWF::Element::RGB/RGBA object. Unlike static text, the color is applied to the whole text. $etext->text( $string ) writes the $string. $etext->leading( $leading ) sets the vertical distance between the lines in pixel. $etext->box_size( $width, $height ) sets the bounding box of the text and stops auto-sizing the box. When either $width or $height is undef, it is unchanged. Fixing bounding box may cause unexpected text clipping. You should set DefineEditText flag Multiline and/or WordWrap. See SWF::Element. $etext->draw_border draws the border. $etext->align( left / right / center / justify ) sets the text alignment. $etext->methos for SWF::Element::Tag::DefineEditText You can control details of the texts to call methods for DefineEditText tag. See SWF::Element. Preset dynamic text object The following objects are inheritants of the basic dynamic editable text. These are preset some proper flags of DefineEditText tag. $dtext = $mc->new_dynamic_text( [$font, $text] ) returns a new dynamic text. It is read-only, multiline text enabled, and auto-sized its bounding box. $htmltext = $mc->new_html_text( [$html] ) returns a new HTML text. It is read-only, multiline text enabled, and auto-sized its bounding box. The text is treated as a subset of HTML. Supported tags are < a >, < b >, < br >, < font >, < i >, < img >, < li >, < p >, < span >, < u >, and two special tags, < tab > and < textformat >. See Macromedia Flash File Format Specification and ActionScript Reference Guide for further information. $htmltext->use_font( $font, ... ) tells $htmltext what fonts are used in the HTML. In general, upright, italic, bold, and bold italic font are in the different TrueType font files. You should prepare 2-4 fonts if you use < b > and < i > tags, like this: my $fp = $ENV{SYSTEMROOT}./fonts; # for Windows. my $font = $m->new_font("$fp/arial.ttf"); $font->add_glyph(a, z); my $fonti = $m->new_font("$fp/ariali.ttf"); $fonti->add_glyph(a, z); my $ht = $m->new_html_text; $ht->text(test < i >string< /i >< /font >); $ht->use_font($font, $fonti); $mc->new_text_area( $width, $height ) returns a new editable text area. It takes area width and height in pixel. $mc->new_input_field( [$length] ) returns a new one-line input field. $length is a max length of input string. $mc->new_password_field( [$length] ) returns a new one-line password field. $length is a max length of input string..

Requirements: No special requirements
Platforms: Linux
Keyword: Bounding Box Defineedittext Dynamic Editable Editable Text Edittext Font Html Mc- New Swf Swfbuildercharacteredittext Text Text Object
Users rating: 0/10

License: Freeware Size: 163.84 KB
More Reviews or Write Review

Automation Tools  -  Text Files to HTML Files 1.1
Text Files to HTML Files is a free Automator action that will create an HTML file or Safari webarchive from the content of the text files passed from the previous action. One HTML or webarchive file is created for each of the passed files.
51.2 KB  
Libraries  -  Text::EtText::EtText2HTML 2.2
Text::EtText::EtText2HTML is a Perl module to convert from the simple EtText editable-text format into HTML. SYNOPSIS my $t = new Text::EtText::EtText2HTML; print $t->text2html ($text); or my $t = new Text::EtText::EtText2HTML; print...
143.36 KB  
Content Management  -  miniCWB 2.1.1
miniCWB is a Content Management Software and is meant to satisfy the needs of those who do not have access to a database, but want a dynamic website, editable through admin area and most of all, based on a FREE solution. The most important aspect...
MS Office Add-Ins  -  Free PDF Editor 1.0
Modify pdf content with free pdf editor by iCareAll to change any pdf content on a word editable format that you may add or remove any information including text photos. iCareAll PDF Editor is a rich-featured comprehensive pdf editing software...
35.61 MB  
Libraries  -  Gtk2::Ex::MindMapView::Content::Uri 0.000001
Gtk2::Ex::MindMapView::Content::Uri is a Perl module to display an clickable Uri. HEIRARCHY Gtk2::Ex::MindMapView::Content +----Gtk2::Ex::MindMapView::Content::EllipsisText +----Gtk2::Ex::MindMapView::Content::Uri SYNOPSIS use...
50.18 KB  
File Converters  -  PDFMate Free PDF Converter 1.20
PDFMate Free PDF Converter is a free but powerful 5-in-1 PDF tool: PDF to Text Converter + PDF to EPUB Converter + PDF to Image Converter + PDF to HTML Converter + PDF to SWF Converter. As Freeware, however, PDFMate Free PDF Converter...
25.42 MB  
Development Tools  -  Piccolo Particle Simulator 1.0
In this version the particles are bouncing in a square or circular bounding box with perfectly elastic collisions.Particles have masses and radius.It's a very educational script to learn something about particle physics.You can set a flag and save...
102.4 KB  
Development Tools  -  Interpolation of Latitude and Longitude within specified bounding box 1.0
In geomatic projects, it is often required to generate a regular grid containing points at pre determined intervals. Such grids could be used as a reference to georectify toposheets.This script when run asks for the bounding box of the study area...
10 KB  
Network Monitors  -  HTML To Text 1.74
HTML To Text utility converts HTML documents to simple text files, by removing all HTML tags and formatting the text according to your preferences. Features: * HTML To Text automatically removes all tags and scripts from the document....
4.24 MB  
File Converters  -  PDF Text Extractor 1.0
PDF Text Extractor is an advanced application designed to process pdf to text conversion. PDF Text Extractor extracts text from pdf files and creates txt files. PDF Text Extractor is an independent software and does NOT need Adobe Acrobat. PDF to...
960.41 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB