search
Search keywords
Category
Featured Scripts
We offer FREE voting polls for your web site.
Banner Advertisement to give you a channel to present your products to a targeted Web Development audience.
Give your Script the exposure it deserves! Your script will be displayed on each and every page header.
Your script holds one of the top positions and seen first when browsing through your Script's category.
Viewing: Ancient script

Viewing: Ancient script

Ancient script
Flash > Miscellaneous
Modified: 15/10/2008
Script ID: #6673
Listed by: flashcnet
License:
Commercial license(s) available (license information)
Platforms:
Linux, MacOS, Unix, Windows, Solaris, BSD, Mac
Usage:
1) Import package called script.Script
2) Instantiate an object called Script as shown below:

var scripter:Script = new Script(background, pen);

* First parameter: the background
* Second parameter: the pen (should be transparent), so you can use makeTransparent included function

3) Add the object to the main Sprite: addChild(scripter);

4) Methods:

*setListener(listener:Function):void

- Set the listener char counter callback function, must be:
public function charReader(char_n:int):void

*write(char_number:int = 0,interval:int = 30):void

-Start writing begining at char_number and interval milliseconds

*getCanvas():Shape

-Return canvas object. Usually used to set the line size

*setScale(scale:Number):void

-Sets the font scale

*getPosition():Point

-Return writing position

*setPosition(x:int,y:int):void

-Sets writing position

*getTextLength():int

-Return text length

*getText():String

-Return the text

*setText(text:String):void

-Sets the text to write

*traceLine(xa:int, ya:int, xb:int, yb:int, scl:int,interval:int,listener:Function):void

-Trace pen's line starting at xa,ya ending at xb,yb with scl resolution and interval milliseconds

-The listener function must be this one:

endLine():void (end line trace notification)

5) Run
License Information
  • Commercial - USD14.39
Direct link to this listing:
Rate this script now
hits: 38
downloads: 0
reviews: 0
rating: 0.0 / 5 (0 votes)
Script reviews & Comments

Script reviews & Comments

There are currently no reviews for this script. Be the first to review this script by filling in the review form.
Write a script review

Write a script review

  
Full Name
This is a required form field
Email address
This is a required form field
Tooltip
Title
This is a required form field
Tooltip
Comments
This is a required form field
Tooltip
Rating
This is a required form field
Tooltip
Enter the characters displayed above
This is a required form field
 
Required field - Denotes required field
Banner
Statistics
Today
  • New listings
    32
  • Downloads
    204
This week
  • New listings
    32
  • Downloads
    826
This month
  • New listings
    32
  • Downloads
    826
Total
  • Members
    11607
  • Listings
    5360
  • Downloads
    753194
  • Categories
    331
  • Reviews
    806