A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Different pages in one content pane?

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702

    Different pages in one content pane?

    It's been a while since I've done any work with KM (other than some basic stuff) so some stuff is a little rusty.

    I'm trying to use one content pane to display different html files.

    For example. If someone clicks a button on the site to News - it loads the news .html page. If someone clicks the roster button - it loads the roster.html.

    I could swear I did this before. Just can't find my reference files.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    Look in the API file for Content pane. Under Examples\Components\Flash 8\API

    But basically the format to set content is:
    setContent ( type, source [, transition, transitTime [, clipRect [, initObject ]]] )

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    Thanks.

    BTW, what does ANALOG to textfield mean?

    Eg: Analog to textfield.styleSheet
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

  4. #4
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    I assume you mean this:
    setNewTextFormat ( textFormat )
    -------------------------------
    Analog to the textfield.setNexTextFormat function
    Wilburt is not a native English speaker and I'm sure he meant Analogous meaing the same as

  5. #5
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Quote Originally Posted by blanius
    Wilburt is not a native English speaker and I'm sure he meant Analogous meaing the same as
    That's right Bret
    A stylesheet can be assigned to a content pane in the same way as to a dynamic textfield.

  6. #6
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    Man, I can't believe how rusty I've become. A few months away from coding and the I feel like a noob again.

    Thanks guys.
    My Sites: Gaming Site Nightshade Studios MyKM Tutorials

    --------------------------------------------------
    What I'm using: Gimp, Koolmoves, Sepy, HTML-Kit, Inkscape

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