PDA

View Full Version : showing content on click


Saamon
11-27-2008, 02:21 PM
Whats the best way to show content once a button is clicked?

I wanna show text/images next to a link on click.

Would it be best to move to another scene?

im using cs3 btw.

gnomeontherun
11-27-2008, 02:26 PM
I would just move another frame, so Frame 1 is the first page, Frame 2 is the second...and so on.

I only use scenes with very large files.

Saamon
11-27-2008, 02:30 PM
ok what code would I use on action script 3 to move to another frame on click?

gnomeontherun
11-27-2008, 04:08 PM
I don't know AS3. Its more complicated than AS2, because it is OOP.

If you want to use AS2, even though its older, it would be like this on a button

on (release)
{
gotoAndStop("framename");
}