PDA

View Full Version : .root help plz



Icehawk
November 14th, 2005, 07:52 PM
hi i know my problem is somthing with root.
i made my webpage in fireworks great now its in flash but its in its own layer called content.png

i have my buttons and i made then button clips already.
i put the usual action script on em and made teh frames in the content.png
on (press) {
_root.gotoAndPlay(1);
}

what do i need to change?

TheCanadian
November 14th, 2005, 07:56 PM
So is content.png in a movie clip?

Icehawk
November 14th, 2005, 08:05 PM
currently is a graphic

TheCanadian
November 14th, 2005, 08:32 PM
You can't use AS to manipulate a graphic symbol.

Icehawk
November 14th, 2005, 08:36 PM
ok i change it to movie clip then

Icehawk
November 14th, 2005, 08:37 PM
it still doesnt work thou after i changed it

TheCanadian
November 14th, 2005, 08:43 PM
Give the movie clip an instance name and then reference it's path with the gotoAndPlay method:


on (press) {
_root.myMC.gotoAndPlay(1);
}

Icehawk
November 14th, 2005, 08:48 PM
NICEEEEEEEEEEEEE :) your my hero
ty
homework is done as well as my webstudios website ty

TheCanadian
November 14th, 2005, 08:50 PM
Welcome :hoser:.