A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: tab/indent?

  1. #1
    Flash Incompetent ChaseNYC's Avatar
    Join Date
    Jun 2002
    Location
    new york city
    Posts
    693

    tab/indent?

    sorry for the abundance of questions recently but i am having another small problem with my dynamic text that loads html. I can seem to make a tab/indent i think the proper html is something like   or something but it seems that flash wont load that or any other text that starts with "&"... how do i get a tab/indent?

  2. #2
    Who, What, Why ... ? Fraggs's Avatar
    Join Date
    Jul 2003
    Location
    Flashland .. where else ?
    Posts
    786
    The HTML for a tab / indent is :
    PHP Code:
    <blockquote>Your text here</blockquote
    You can pile the indents up if you want to, but just remeber that you need to close off each HTML tag. So if you open 8 blockquotes, you need to close 8 blockquotes.

    Regards,

  3. #3
    Flash Incompetent ChaseNYC's Avatar
    Join Date
    Jun 2002
    Location
    new york city
    Posts
    693
    blockquote doesn't seem to register with flash's dynamic html textbox...
    mmm signature

  4. #4
    Who, What, Why ... ? Fraggs's Avatar
    Join Date
    Jul 2003
    Location
    Flashland .. where else ?
    Posts
    786
    In the actions panel on the frame that your textField first appears, place the following code:
    code:
    format = new TextFormat(); 
    format.indent = 10;
    textBox.setTextFormat(format);


    **Where textBox is the name of your errr, text box :P

    Regards,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center