Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.


    • CommentAuthorviane
    • CommentTimeNov 3rd 2006
     
    i want to know how to make a dynamic text in arc shape ..
    and should have to change the font and size on selecting the values from a combobox
  1.  
    now where do you think you are? in photoshop?
    if you want in arc shape then you'd probably have to do it by actionscript.
    Create textbox for each letter, and place it in the form of a arc.
    The size and font are properties of TextFormat.
    read the help for that
    • CommentAuthorviane
    • CommentTimeNov 5th 2006
     
    it arcing should be dyanmic ..
    number of letters will be dynamic ..
    it will some time 1---20 or 30 ......blb bla bla ....

    ven we type a text in input field ..i vant to display it in movie.and changing the arc value from a combobox ..the text should be arced.if the value is "zero" the text will be straight line..
    • CommentAuthorgilray
    • CommentTimeNov 5th 2006
     
    The simplest method is to make a make a movieClip of a textbox, give the textbox a variable like tCharacter.

    Export the movie clip for use in actionscript give it a name say mcSingleCharacter

    Split the user entered characters into an array.

    Loop through the array with these steps:


    var sCurrentCharacter:String = "a"; //this will be the current character

    this.attachMovie(
        'mcSingleCharacter', 'mCharacter1', this.getNextHighestDepth(), {
       _height:80,
       _width:90,
       _y:200,
       _x:90,
       tCharacter: sCurrentCharacter
       }
    )


    As you go through each character you will have to change the width, height, x, and y values of the init object. Also the second parameter (character1) has to be unique for each instance.