When you load a jpeg file into a swf file the dimensions of the pic are reduced to the size of your stage, if it is larger than what you have set the background to from within flash.
Test this by publishing to html with a smaller background than the jpeg.
Otherwise you can only click on the text part… which is tiny.
It can be dynamic or static, but you have to make sure it is not selectable if it is dynamic (you can do that in the properties panel).
Then after you make it a button, open it up for editing, create a new layer, right click in the frame for the Hit state and create a new empty keyframe in the new layer. Draw a rectangle around your text.
Go back to the main stage (_root), you will notice your button will be gree, this means it is invisible (the hit state at least). Now test your movie, you should have actual buttons instead of crappy text buttons.
OMG. This is so annoying. Alright, I got the registration point and stuff. I go to look at it with the buttons on it. I can’t see the buttons, it’s just the picture… Sorry for taking up your time, but I’m still a Flash MX n00b.
You know what… that happened to me once before when I was helping someone with the .fla file.
What was funny about it is that I redid the tutorial starting from scratch and it worked fine. I have no clue what causes it.
If anyone knows (sbeener?) please reply here or something.
How long have you been using Flash? It isn’t good to jump ahead of yourself with Flash, because then you get mixed up and confused, and end up hating the program.
I’m not even close to hating the program. I’ve made some small flash intros and a If/Else things. I have made some animations with text also. This is my first journey into making a gallery though. I’ll try restarting the tutorial.
But what good is the code if you don’t understand what is going on with it?
I went through line by line figuring out what part each line played in it. And any code in there I have never used before I looked up in the AS Reference in Flash MX and studied what it did and how it was used.
I know what the problem is for the text not showing up. I have no idea how to fix it though. The picture is not staying in it’s boundaries and is hiding the text. Once I get this fixed I can actually work on the buttons.