alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user adrianTNT
adrianTNT (32)

Black Buttons

Black Flash buttons with rollover/click/release effect.
If you rollOut and rollOver again it plays the glow effect from where it stopped.

13482 downloads, 53754 views
Download (12.73 KB)

Comments

You need to login to post a comment.

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

I looked again in the file. Because of how is made, there isn't an easy way to change text, because text is part of the animation and it is deep in more clips.
As a general idea, it might work if you make that text dynamic, give it an instance name and then give instance names to all its parent clips, then from your main code set the text by something like:
button1.button_animation.button_gfx.my_ text_box.text = "Products";

Another way is to duplicate all clips inside the button but that probably doesn't worth the effort because you have to rearrange them properly in each button.

user Ernani
Ernani 14 years ago

Good morning Adrian,
part of the url worked, beauty
Now how to change the text is failing.
Muvi clip What should I change?
button?
button_anim?
button_gfx?
grlow_gfx?
Double it and when I click edit in the library movement in the clip button,
it changes the original. What should I do? More detail, I will create more than four pages, how do I make the link to them.

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

And by changing name you mean change text? It should work by duplicating the button clip in library, then drag the different buttons on stage, right click them, select "edit" then replace text in the text layer.

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

As I remember these buttons are clips and you have to set actions different than on "button" item.
You have to give them in instance name like "button1" and then inside a keyframe add:
button1.onRelease = function(){
getURL("http://ffiles.com","_parent");
}
If it was a "button" item then you have to select the button and type actions there, and code is like:
on(Release){
getURL("http://ffiles.com","_parent");
}
It is a while since I didnt use these actions but these should be the ones, for As1 and As2.
Also look at:
adriantnt.com/tutorials/plastic_buttons /

user Ernani
Ernani 14 years ago

Hello Adrian,
I am editing the new site and am trying to put these buttons.
I'm using Flash CS3, first how do I edit
the name of the button, and how do I make a link to another page?
You have a tutorial to give a strength or a video lesson.
Thank you very much for your attention.

show all 60 comments