Click to See Complete Forum and Search --> : contentpane multipage control gizmos
jimventola
08-09-2006, 10:19 PM
Is there a way to control where the pagenumber and the next/previous arrows appear on the contentpane? They appear now at upper left. Can I move them somehow to bottom right? I don't see anything in the API (as if I would know how to use THAT....)
Also, I see the content pane when I run the K8Demo, but in the code I don't see an AttachMovie for a content pane as I do for KC8_ComboBox, KC8_Switch, etc. Why is that?
w.brants
08-10-2006, 02:10 AM
I didn't implement any other place except top right because when I tried it in combination with content that required scrollbars it didn't look good to me. If it's important to you, you can move it manually. Assuming your contentpane is named contentpane1, use the following codecontentpane1.nav._x = contentpane1.width-contentpane1.nav.length;
contentpane1.nav._y = contentpane1.height;
contentpane1.pn._x = contentpane1.nav._x+39;
contentpane1.pn._y = contentpane1.nav._y+1;
The reason why you don't see the contentpane used with attachmovie in the example you are referring to is just because I wanted to demonstrate both techniques (attaching a component using script and through the gui) in one example. You can attach a contentpane using attachMovie without problems.
jimventola
08-10-2006, 03:03 PM
Thanks. That is useful to know.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.