Help! Please... :(

Hey everyone. I need some help :*( . I am trying to make a gallery. I did all the steps right, but when I hit CTRL+Enter it says

Error opening URL “http://www.thelastgamer.net/bradsplace/Gallery 1/adriana_karembeu_l2.jpg”

That is the correct URL and everything. I don’t know what’s wrong. Please help me :frowning:

Plz help… Bump

Flash doesn’t allow you to load files from another server.

If the file is on your computer, then make a folder on your computer in the same directory as your .swf file.

Or upload your file to your server space and change the URL for the files to just the folder name instead of the full URL.

I don’t exactly what it is you want to do but if you paste the following AS into a frame it will load your image know probs

loadMovie("http://www.thelastgamer.net/bradsplace/Gallery 1/adriana_karembeu_l2.jpg", _level1);

hope this helps

Thanks guys. Thanks alot :smirk:

Afterthought:

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.

More help :frowning: .

I did everything you told me to… and the pic showed up. But it was at the bottom right corner… plus, the buttons wont work :*( What do I do now?

The upper left corner of your loaded image attaches itself to the registration point of your movie clip you are loading into.

I usually just use an empty movie clip and move that to the postion where I want my upper left hand corner of the image to be.

As for the buttons, are you sure you have the right code on them? They should work.

OK, jpg placement is fine. Now the buttons still don’t work. They are words… would that have to do with anything? Should they be dynamic or static?

You need to define a hit state for those buttons.

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. :frowning:

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.

The tutorial is quite advanced.

I studied the code for about a week before I understood all of it.

Sbeener is just too good :slight_smile:

Well actually :slight_smile: I take the cheap way. I modify the code they have and save it so then I don’t have to memorize it:smirk:

I of course too saved the file with the code.

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.

Well, you see. I’m 14, I have a short attention span. LoL

Well I believe h88 (mod on this forum) is 13 or so, and he knows more about AS and Flash that I do… in every aspect. And I am 18…lol.

sigh Nope, text still doesn’t friggin’ show up.

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.