ActiveDen

EZ AS3 Dynamic Buttons

  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • Romania
  • Referred between 1 and 9 users
szilagyi00 says

very nice rollover effects. love the Gloss first the best :)

3 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Europe
  • Referred between 1 and 9 users
Firsh says

That looks very customizable! Good item.

3 years ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Sri Lanka
rRomila says

wow… good one

3 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 1 and 9 items
  • Referred between 1 and 9 users
devita says

cool, looks very customizable! good luck with sales :)

3 years ago
  • Has been a member for 2-3 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Bought between 10 and 49 items
  • Philippines
  • Referred between 10 and 49 users
bfintal says

Very cool buttons!

3 years ago
  • Has been a member for 2-3 years
  • Beta Tester
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Referred between 10 and 49 users
Modulus says
Author

Thanks everyone! :)

3 years ago
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 500 and 999 items
iartdirector says

Can i change the length of a button? And, can i change the english text to hebrew text in the fla?

2 years ago
Author
Modulus Modulus replied

Hi boazgol,

The length of the button is determined by the length of the text (font size and styling is controlled via CSS ) and the amount of padding you specify in the XML . If you have a button with text the way you want it, you could then increase/decrease the length of the button by adjusting its padding.

The font and characters embedded for the buttons is determined by you in your FLA . So long as you have the proper characters for the font embedded, you should have no problem assigning Hebrew instead of English.

2 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
basslion says
Purchased

i go into the FLA and i change the

var btn:DynamicButton = new DynamicButton(“My New Button Name”);

i check preview and the button is there. Now what the heck do i do? How do i add another button beside that button with a new text?

Do i publish each FLA as a single button or can i addall the buttons into the FLA and then publish it?

i would have to say this documentation is not very well documented. You go into detail in what every line of code does, but not really into much detail on how to actually get this up onto a website and running.

Perhaps a tutorial on making a menu with 5 categories and installing it into an html file would be helpful.

Im lost!

2 years ago
Author
Modulus Modulus replied

Hi basslion,

I’m sorry to hear that you’re having problems with the buttons. The documentation really only covers the creation of the button since that is what the actual product is, a button creator. The management of how the user handles the states of the button, and what they do with it is up to the user since it could be used in many different ways. If you will, please send us an email through the contact form, that way I can send you the update via email. I have created a sample setup that I believe will do exactly what you want to do. I’ll be posting an update shortly and I’ll look at the docs to see what I can include that will help ease this process.

In short though, to answer your question. You simply create a new button with a new label then use the standard btn.x, btn.y properties to position those buttons however you want. You can give it explicit x and y values, or there are methods included that will help you to automatically position the buttons side-by-side that I will show you.

I’ll make sure the update I send you has plenty of comments to walk you through the process. But please contact us through the contact form so that we’ll have your email to send that update.

var btn:DynamicButton = new DynamicButton(“My New Button Name”); var btn2:DynamicButton = new DynamicButton(“My Second Button Name”); var btn3:DynamicButton = new DynamicButton(“My Third Button Name”);

You will have to add them to the stage afterwards such as addChild(btn) and then you can position them such as btn.x = 20; btn.y=20; btn2.x=100; btn2.y=20; etc.

Also, I included the preview.fla file with the download that you should have that shows the full process that I created in making the preview. Granted, there are a lot of UI elements that are also in there that are not needed, but it may help you as well.

2 years ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
tpopple says
Purchased

Hi,

I love the buttons. Is there anyway to set a given width for all instances besides the label width?

I want 8 vertically aligned buttons each 200 pixels wide with the label center justified.

I have figured out the vertical layout, but was hoping to set a width.

Any help is appreciated

1 year ago

by
by
by
by
by