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, 53759 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.

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

Click the button on stage to select it and click "del" on keyboard, or right click it and chose something like "delete".

user papaone
papaone 14 years ago

Really nice buttons, I have downloaded them but I only need one button, how do I pick one off?

user darnness
darnness 15 years ago

aro!! claro en todas muchas gracias!!! estan geniales!!

user wackymacky
wackymacky 15 years ago

Nice glow mate.

user Agu.Jessica
Agu.Jessica 15 years ago

Is there any way to make these black buttons into a 'drop down' menu technique?

user Ernani
Ernani 15 years ago

Hi Adriantnt,
these buttons are incredible alone that unhappyly did not give for colocalos in my site. Already I am producing another one I go tests it ok.

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

Thanks, I am glad you like them and using them.

user Agu.Jessica
Agu.Jessica 15 years ago

Aw, I hope you know that you just made my day so much better!
I am super excited to get these on my website now.
You rock!!

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

Yes, Adobe Flash 7 (MX 2004) and later.

user Agu.Jessica
Agu.Jessica 15 years ago

Oh wow, Thanks a million! =]
I really appreciate it.
These buttons are editable in
Adobe Flash, Correct?

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

Hi Jessica, it is ok to use them in anything you create as long as the result is not redistributed multiple times like the templates. You can also include them in commercial websites you create for clients.

user Agu.Jessica
Agu.Jessica 15 years ago

Hey Adrain, I am in love with you! Hahaha.
I admire your work so much! I would love to make
these black buttons into a menu, on my website in dreamweaver if that is okay with you? ^.^ I just wanted to get your permission before I used them!

user JillBrandon
JillBrandon 15 years ago

Hi, I love these buttons, but I dont know how to make them into a menu to use in dreamweaver.

user williak1
williak1 15 years ago

thank you, nice and schmick.

user KANUYSAL
KANUYSAL 15 years ago

thanks for your help

user shimpson
shimpson 15 years ago

The completion degree seems highly.=)

user shri123shack
shri123shack 15 years ago

hey i used ur button but when i embedded it on web page using dreamweaver the script dat i wrote for the page doesnot work
could u plz help me...

user 757talent
757talent 15 years ago

I'm still new to flash, so in lamens terms how do i add your menu to my website? Which files do i need or would i need a flash building program to edit the text?

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

alexistkd, I just found your message now.
If there is only one button in the library then duplicate that button clip in the library and place different clips in the stage, then change text for each one.

user alexistkd
alexistkd 15 years ago

excellent, bro how i make a copy of buttom so i can make a menu with different name, because if i change Black text it changes in the others too.

user StuCkCaRBoy
StuCkCaRBoy 15 years ago

I like this black !! This btns are very cool !!

user letane64
letane64 16 years ago

i like it

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

Depends what do you want to "work", swf files are displayed in HTML pages thrush a special html code.
I added the html file in the zip for you.

user Ernani
Ernani 16 years ago

Hi Adrian.
It would like to remove a doubt with you. I am using flash 8. Would be possible I to work in this button without using the HTML, only using f8 of the flash?

user Ernani
Ernani 16 years ago

Thanks.
Debtor you was very gentile.

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

Ernani, do you have Dreamweaver? With Dreamweaver you just drag the swf and drop it in your html page.
With Flash you can press F12 and generate the html page for the file, you copy that html code and paste it in your site.
Or go to file > publish settings to create a html file for the fla/swf file.

user Ernani
Ernani 16 years ago

How I place this button in my ewbsite? Already I tried some forms but it did not function.

user grof
grof 16 years ago

@langaw360
If I understand your question, try:
button1.onMouseDown=function(){
gotoAndPlay("scene1",2);
}

user maesemontaraz
maesemontaraz 16 years ago

Good Job, Thanks Adrian

user langaw360
langaw360 16 years ago

question on buttons....
does anyone knows how to create an animated button w(rollover/ rollout)that can go to another scene? all i saw was buttons that can go to a link not a scene in the same flash file....ive searched the the web since last week but all i saw was the same....

user rumelian
rumelian 16 years ago

ossom very good

user mogyorogyozo
mogyorogyozo 16 years ago

Thank you

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

I cannot edit the file, sorry, try asking in a more active flash forum, kirupa.com/forum maybe.

user ryanhungate
ryanhungate 16 years ago

No, I tried both ways... The thing doesnt grab it for some reason. Is this AS 1, or 2? I use CS3 but have had to use the AS 2 working with your buttons. Im sorry to get help like this from you, but its killing me! I could upload the file for you? its pretty basic at this point, because I was trying to connect the buttons to the timeline first.

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

OK, I think you are entering the code when you select the clip/button, it doesn't work that way with "clips", so you need to select the keyframe* and write the text there; do not* write the code on the button directly.

user ryanhungate
ryanhungate 16 years ago

By the way, thank you very much for writing back, it is really nice to get feedback. it is saying:

Statement must appear within on/onClipEvent handler

contact_btn.onRelease = function(){
trace("button clicked");

// go to contact label

gotoAndStop("contact");
/////////////////////////
but when I copy/paste it into the "script assist" it automatically does this:

onClipEvent (mouseUp) {
contact_btn.onRelease = function() {
trace("button clicked");
//go to contact label
gotoAndStop("contact");
};

I was able to get there with a button with the code of
on (release) {
gotoAndPlay("contact");
}
but I am really trying to get the BLACK BUTTONS to work... and when I convert them to a button, all the fancy stuff goes away. This is really weird.

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

Well does calling frame label work?
Maybe you want to test that onRelease action is written correctly first, for this you can write this in the function:

trace("button clicked");

user ryanhungate
ryanhungate 16 years ago

well arn't you funny! :) of course I need help! I do home loans for a living, and am trying to revamp my site. hungateagency.com its not THAT bad, but for some reason, I am running into problems with this one.

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

If you use frame labels you can type:

button1.onRelease = function(){
// go to frame 3
gotoAndStop("red_box");
}
where red_box is a frame label.
You probably need help with flash and not with these buttons :)

user ryanhungate
ryanhungate 16 years ago

thanks for the help... but it isnt working when I do that...
Basically I have a few layers and I extended about 30 frames that got divided up into "labels"... each label has a stop(); action above it (another layer) and when I labeled the button, and added the script to the first frame-Actionscript, it still didnt work. is this AS 3 or AS 2? Thanks again.

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

Hello, you are probably trying to add button actions like on(release){... actions ...}
But these are "clips" so you need to place them in stage, give it a name like "button1" then the code is like this:

button1.onRelease = function(){
// go to frame 3
gotoAndStop(3);
}

user ryanhungate
ryanhungate 16 years ago

This is a stupid question but I am wasting a ton of time for a rookie problem... I can not figure out how to make these buttons go to a specific place on the timeline... like to actually use them as a button. ( seems like the code takes up the mouse events, so that it doesnt work) Any hints on how to make it go to Scene 1, frame 15, which has a label name? THANKS! :)

user EagleVision
EagleVision 16 years ago

I will look, but it would really help if you have a link right now...I mean I am DESPERATE to make a scrolling game...Thank you so much :D

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

Hmm.. you mean a side-scrolling game? I saw few simple ones here, see the games category.

user EagleVision
EagleVision 16 years ago

Yeah I got it! :D

PS: Do you know where I can make a good scrolling game...sorry for asking here, its just that I am desperate. Thanks :)

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

Lol, sorry, I had some mistakes in the comment (new keyboard). I corrected the comment, see if you understand it now.

user EagleVision
EagleVision 16 years ago

Uuumm...not really...sorry..hehe...ahem...hhhmmmm...

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

In general you make the gloss effect by adding a white gradient that is cut before it gets to an end, I mean make the gradient go from something like 90% to 60% and not 90% to 0%. Do I make sense? :)

user EagleVision
EagleVision 16 years ago

I think he means that you must make more animation on everything exept the text...Right?

Well...One qestion, how do you make the button??? I know how to make the glossy buttons, but not as glossy as yours! Thanks :)

user kimki
kimki 16 years ago

very nice !

user mpcfloyd
mpcfloyd 16 years ago

great!!! sweet effect

user zaliym
zaliym 16 years ago

THANKS MAN

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

You mean you need text animations / text effects?

user anurag
anurag 16 years ago

give some more animation regarding text

user shabith
shabith 16 years ago

great work!