A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Need help.. Confused on frames

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Posts
    18

    Need help.. Confused on frames

    the fla file is here circles.fla. What im trying to do is pretty straight forward if you view the fla. Just use targets i guess.

    The problem i am having is when you press the info button, it displays the information (which is fine), but when i press it again it goes away. Also what i'm not understanding is when I click home it displays nothing (which is fine), but when i click it a second time it displays the information.

    Why is this? the buttons go to specific targets and it stops on that frame, so how is it possible for them to not listen to me? =p
    - Des

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Posts
    226
    hi,
    just change this
    code:

    on (release){
    _level.gotoAndPlay("info_target");
    }



    to that :
    code:

    on (release){
    _level.gotoAndStop("info_target");
    }


  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    _level.gotoAndPlay...

    Unexpected file format! Can't open your .fla.
    You'd have a better chance of getting an answer if your .fla was in a MX only format.

    You would have to save a copy of your MX2004 .fla, (using Save as...) and changing the Document type to MX only in the Save as... window.

  4. #4
    illusion luvenny's Avatar
    Join Date
    Sep 2004
    Location
    In your mind
    Posts
    303
    I think his point is just change the gotoAndPlay to gotoAndStop.

  5. #5
    Senior Member
    Join Date
    Jul 2004
    Posts
    226
    hi,
    yes. i'm not sure what _level.gotoAndPlay does, i've never used this before but when i changed gotoAndPlay to gotoAndStop it worked fine

  6. #6
    Junior Member
    Join Date
    Aug 2004
    Posts
    18
    im not sure what it means either =p oldnewbie told me to use it once, so i have been. but GotoAndStop worked, thanks.
    - Des

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