How to turn this round-corner text box code into a component I can pull out of the component library

Posted on 2011-03-13
Last Modified: 2012-06-21
I posted a question a while back asking for help in turning some code from stackoverflow into a component.

Deepanjan an expert, re-wrote the code and improved it, has been absolutely amazing in fact; however, I am still floundering with my original problem.

In short I need a component or MC that can be dragged from the library that has rounded corners and will display text locked to the top left, and to be sizable without scaling the text.

I have achieved some success with 9 point scaling on a box, but I couldn't work out how to adjust the text. If embedded it would scale with the box, if not embedded it would not move with or link to the box.

I have posted the demo flash file below, any thoughts / help would be greatly appreciated.


Please note, the flashx line needs commenting out of line 10 of
Question by:arasburn
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 17

Expert Comment

ID: 35121617
Hello Ady,
I have just added a sample for creating the rounded TextField in flash whereby you can use the inspectable properties from the property inspector.
You can add the properties now seeing the sample.

Warm Regards
Deepanjan Das

Author Comment

ID: 35124129
Hi Deepanjan,

Once again... Thank you!

I will read the tutorials you sent through and see if I can switch on live preview on those components!

Thank you again :)

Kind regards,
LVL 17

Accepted Solution

deepanjandas earned 500 total points
ID: 35124962
Live preview is there, just need to create one and associated for viewing purpose :)

Warm Regards
Deepanjan Das

Author Closing Comment

ID: 35314466
A thousand apologies for not closing the question and awarding points earlier, very rude of me. Thank you once again for all that you did on this. I got live preview to work in a fashion, not really how I wanted but again it highlighted that I was not perhaps ready to get this deep into the code.

Thank you again, really appreciated your help; I hope you do consider finalizing it and selling it as a component, I think it would do you well.

Kind regards,

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question