Improve company productivity with a Business Account.Sign Up


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
Medium Priority
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
  • 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

595 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