A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: contentpane multipage control gizmos

  1. #1
    Senior Member
    Join Date
    Feb 2004
    Location
    Halifax, MA
    Posts
    205

    contentpane multipage control gizmos

    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?

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    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 code
    Code:
    contentpane1.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.

  3. #3
    Senior Member
    Join Date
    Feb 2004
    Location
    Halifax, MA
    Posts
    205
    Thanks. That is useful to know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center