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

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

Serving Software Downloads in 956 Categories, Downloaded 49.482.815 Times

SWF::Builder::Character::EditText 0.16

  Date Added: November 09, 2010  |  Visits: 1.225

SWF::Builder::Character::EditText

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 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
USER REVIEWS
More Reviews or Write Review


SWF::BUILDER::CHARACTER::EDITTEXT RELATED
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  
Libraries  -  Text::EtText::HTML2EtText 2.2
Text::EtText::HTML2EtText is a Perl module to convert from HTML to the EtText editable-text format. SYNOPSIS my $t = new Text::EtText::HTML2EtText; print $t->html2text ($html); or my $t = new Text::EtText::HTML2EtText; print $t->html2text...
143.36 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  
Windows Software  -  Free Easy OCR 2.3.9
Free Easy OCR is highly intelligent OCR (optical character recognition) software for creating editable and searchable electronic files from images of handwritten, typewritten. It allows you to easily extract text from scanned documents, faxes,...
6.65 MB  
Imaging & OCR Tools  -  Free 3DPageFlip OCR Converter 1.0
Free 3DPageFlip OCR Converter is a free OCR converter that helps you to recognize and extractor text, characters from images, photographs and digital camera captured images. It assistant you to recognize character from images and then convert it...
3.87 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  
Multimedia & Graphics  -  All Free PDF Converter 3.2.3
All Free PDF Converter can convert PDF to image (JPG, PNG, TIF, BMP, etc.), editable text (TXT/Word), convert image to PDF, Scan to PDF, merge PDF, Split PDF and even extract text from image & scanned PDF using OCR. It combines several handy tools...
6.97 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  
Modules  -  Just add fonts 6.x-1.x-de
This module provides dynamic substitution of text with dynamically generated images using True type fonts.Each time a user views a page, pre-defined CSS selectors are sought for and their text is replaced with an image containing the text. The...
20.48 KB  
Libraries  -  Gtk2::Ex::MindMapView::Border 0.000001
Gtk2::Ex::MindMapView::Border is a base class for border objects. SYNOPSIS use base Gtk2::Ex::MindMapView::Border; This module is internal to Gtk2::Ex::MindMapView. It is the base class for objects that draw borders and offers several...
50.18 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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