?
Solved

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
5
Medium Priority
?
303 Views
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.

Regards,
Ady

Please note, the flashx line needs commenting out of line 10 of CustomTextField.as demo.zip
0
Comment
Question by:arasburn
[X]
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
5 Comments
 
LVL 17

Expert Comment

by:deepanjandas
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
demo.zip
0
 
LVL 1

Author Comment

by:arasburn
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,
Ady
0
 
LVL 17

Accepted Solution

by:
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
0
 
LVL 1

Author Closing Comment

by:arasburn
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,
Ady
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

800 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