dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Dynamic Text Speech Bubble

  1. #1
    Senior Member whytefly's Avatar
    Join Date
    Jun 2004
    Location
    submerged
    Posts
    363

    Dynamic Text Speech Bubble

    I have made a speech bubble and I was wondering if there were any way to when i rollover my button have the speech bubble pop up, dynamically change sizes depending on the number of characters, and display the instance name i have given it.

    thanks for your thoughts.

  2. #2
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    Ive done this a few times for a few applications. You will need to utilize the draw API if you want to make it super-sleek. I always did it with a fixed-width multiline textfield, and then set the height of the bubble that you draw to equal the height of the text, after you populate the textfield with your dynamic text. It's kind of a painful drawn out implementation, but it's simple if you just break it down to small pieces and do a little at a time.

  3. #3
    Senior Member whytefly's Avatar
    Join Date
    Jun 2004
    Location
    submerged
    Posts
    363
    I am still trying to figure out how to accomplish this... Do you have any examples or know of any tutorials I can view?

  4. #4
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    If you rollover the tv screens at http://bud.tv . I used the draw api to make it dynamic enough to accept XML and different color values and whatnot... there wasn't a tutorial that I know of, I wrote it from scratch.

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