View Full Version : how read more button work
sahil3x1
03-16-2008, 02:01 PM
i got a template from template monster
i wanna do changes in that
i wanna know how to define
that
on (rollOver)
{
gotoAndPlay(2);
}
on (releaseOutside, rollOut)
{
gotoAndPlay(21);
_root.b8.shin.gotoAndPlay("st");
}
on (release)
{
_root.windows.gotoAndPlay("s1");
_root.p = 5;
_root.control.gotoAndPlay("start");
}
what is red color value and how i can define them please help me
atomic
03-16-2008, 05:32 PM
_root.b8.shin.gotoAndPlay("st");
Tells the shin movie clip nested within the b8 movie clip, itself set on the main timeline _root, to gotoAndPlay from the labeled frame st.
_root.windows.gotoAndPlay("s1");
Basically the same thing as above... The windows movie clip, set on the main timeline _root should gotoAndPlay from the labeled frame s1.
_root.p = 5;
Sets the main timeline _root's variable p to 5.
sahil3x1
03-17-2008, 11:12 AM
how i can add new frame in root and where is root located
atomic
03-17-2008, 03:16 PM
Templates are mostly very poorly coded and editing them is quite a pain sometime, eventhough the vendor says it can be done...
You seem to be wanting to add a page as a new content page...
If so it has noting to do with adding a frame on the root timeline, but do add a frame in the content or pages movie clip. Problem is to find that movie clip...
When you do, you'll notice that the pages in your template are contained in that movie clip, on 3,4,5 or whatever number of frames, and that's where you would add you new page on a frame 6...
When you want to call this new page from a button, you then on your button's script set the _root.p to equal 6, or to whatever frame number your page in set in the content movie clip...
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.