;

PDA

Click to See Complete Forum and Search --> : A little bug


fbattail
03-06-2002, 04:24 PM
Hi all,

Forgive my bad english, I'm french!

I'm new to 3DFA and I'm still testing this product. I've just found an annoying bug at least for me. It's a common use in the HTML world to use an empty.gif file (1 pixel by 1 pixel, transparent color) and to resize it to help for building table cells for example. I've used this technique to make a button (invisible) over a picture and to associate some event (ie mouse over, mouse leave...) it works fine. If I save the project, quit 3DFA and then launch 3DFA my button zone is reduced to a 1x1 pixel :( but the properties of the image are correct (Resolution 544 x 363 pixels in my case). So I need to use the resize button on the image element associated to the button to get back to a normal situation. This is completely reproductible and I'm using version 3.51.

Thanks for this great and original product.

fb

kusco
03-08-2002, 08:47 AM
Hi fbattail,

Have you considered using a button element in 3dfa in place of the 1x1 gif?

Add a button element and size it to what you need. Add to the button a paint element (a rectangle to fill the inside of the button). In the paint element's properties window make sure you change the interface from simple to advance. Next scoll down the properties window until you see the Opacity option. Make this 0 to hide the image or rectangle you put in the button.

At this point you should have an 'invisible' button on the screen which can be place behind any object in the movie. ie. you can put an image on top of the button. Use the button mouse over tabs to set your desired actions.

I hope I'm making sense, I'm not too good at explaining things at times.

Cheers,
Kusco

blanius
03-08-2002, 10:05 AM
Originally posted by kusco
Hi fbattail,

Have you considered using a button element in 3dfa in place of the 1x1 gif?

Add a button element and size it to what you need. Add to the button a paint element (a rectangle to fill the inside of the button). In the paint element's properties window make sure you change the interface from simple to advance. Next scoll down the properties window until you see the Opacity option. Make this 0 to hide the image or rectangle you put in the button.

At this point you should have an 'invisible' button on the screen which can be place behind any object in the movie. ie. you can put an image on top of the button. Use the button mouse over tabs to set your desired actions.

I hope I'm making sense, I'm not too good at explaining things at times.

Cheers,
Kusco

This is exactly How I would do it as well (have used it many times)

Flat you need to remeber this is not HTML it is 3dfa and just because something works in HTML does not mean it will work in 3dfa even in the HTML text element.

For example to make a sound on/off toggle switch I place an invisible button over a chooser element that has two states the on graphic and the off graphic then the invisible button changes the current view and turns the sound off and on.

you can see a button like this on the intro flash at my site.

fbattail
03-08-2002, 11:26 AM
Thanks a lot for your advices ; looking like I'm still having some HTML habits :)! I will use this technique and go farther with 3DFA.

Have a nice day,

fb