A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: SimpleTable in Accordian?

  1. #1
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    SimpleTable in Accordian?

    if I create a simple table
    Code:
    var table:SimpleTable = new SimpleTable();
    	table.setSize(330, 180,33,180);
    	table.update();
    how do I add it to my accordion that I'm creating?
    Code:
    var acc:Accordion = new Accordion();
    	acc.panelPlacement = Accordion.TOP;
    	acc.operationMode = Accordion.MODE_ALWAYS_ONE;
    	acc.sizeToContent = false;
    	acc.setSize(350,200);
     
     var p1:AccordionPanel = acc.addPanel(new AccordionPanel(), 'Lable1',mc1);
     var p2:AccordionPanel = acc.addPanel(new AccordionPanel(), 'myTable',table);
     addChild(acc);

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Ah, it works like this... My table was just not working as it was.

    I guess the real question ends up being I want to create a table the is in thirds and in each third I want an Image and some text, so do I somehow create a movieclip for each cell or what?

  3. #3
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Quote Originally Posted by blanius
    I want to create a table the is in thirds and in each third I want an Image and some text, so do I somehow create a movieclip for each cell or what?
    It would help if you would be a bit more specific about what you want. Where will the text be placed, are the images loaded or are they embedded as classes etc.

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