A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Muti Page Flash Site Help

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    2

    Muti Page Flash Site Help

    I'm seriously stuck trying to get the buttons for my flash site to work. I obviously have some type of scope problem, but for the life of me, I cannot figure out what i'm doing wrong. If I click on my buttons in order (left to right, they work). However when I try to go between buttons things get messed up, or if I click on the second button (from the left) it acts as if I'm clicking the first button. I'm lost. Please help. Thanks.

    My .fla is huge so I can't upload it.


    This is the actionscript associated with my first button:

    if (_root.b<>2 && _root.flag == 1) {
    _root.pages.play();
    _root.b = 2;
    _root.flag = 0;
    }

    This is the actionscript associated with my second:

    if (_root.b<>3 && _root.flag == 1) {
    _root.pages.play();
    _root.b = 3;
    _root.flag = 0;
    }

  2. #2
    Junior Member
    Join Date
    Aug 2007
    Posts
    2
    I think I can figure it out if somebody could tell me what this line means.

    _parent["item" + _root.link].gotoAndPlay("s2");

    if _root.link = 1, does this mean that this expression means _parent.item1.gotoAndPlay("s2");

  3. #3
    Member
    Join Date
    Nov 2003
    Location
    Ontario, Canada
    Posts
    80
    yes

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