SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2004
    Location
    Orem
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My button is playing the wrong movieClip

    I have what my be a simple question. I've put together a simple navbar that loads a movie clip with more buttons in it. When I click on the button, the right movie clip plays, but if I click on it again, it plays a wrong movieclip. You can see what I am talking about at: www.mnr-sales.com/flash (try clicking on the same button twice, you'll see what I mean, it loads a different subnav)

    If you could help me, I'd really appreciate it!

  2. #2
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see what you mean, its hard to tell what the problem is just by looking at the finished product. Could be you have a few clips with the same name, to it gets confused and plays the wrong one...
    I would look over your button actions and maybe post an example here if you dont see a problem with it.

  3. #3
    SitePoint Member
    Join Date
    Apr 2004
    Location
    Miami, FL
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your problem is simple: there is a gotoAndPlay action instead of a gotoAndStop. Do this: modify all your buttons (Home, Advertise, Search, Prices, Support) to a gotoAndStop(#) action and everything will work as you expect it.

    #: movie clips' button frame number
    :: Ruben ::
    Coming soon... real soon [www.run-2.com]


Bookmarks

Posting Permissions

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