dcsimg
A Flash Developer Resource Site

Results 1 to 12 of 12

Thread: ASAP HELP on button MC

  1. #1
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335

    ASAP HELP on button MC

    I currently have a navagation menu, it plays like 30 frames to do the flashy transitons, then it stops, I have 5 MC button that when you roll over it kinda flicker and fades, how do you attach an button action for a get URL


    Do I put it inside the MC?

    here is the fla

  2. #2
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    Yea you can either do that or set up a button over the mc so that you can do it from the _root -

    code:

    _root.button1.onRelease = function(){
    getURL("http://www.flashkit.com", "_blank");
    }


  3. #3
    Senior Member
    Join Date
    Sep 2003
    Posts
    974
    are you saying that we should create a new button symbol over the mcs to achieve the effect along with the actionscript you placed?

  4. #4
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    if you want to avoid placing code on each movieClip, yes. If not, just put it on the movieClip.

  5. #5
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    yes, the problem when I use an ivisable button over the MC then the effect doesn;t work, I can't put that code on a MC can I?

    thanks

  6. #6
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    just put the on(release) code on each mc and you will be fine.

  7. #7
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    If you looked at the fla you would see the problem , If I do that, attach the get url to the MC the button effect doesn't work (the rollOver effect)

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Will post it in a few minutes...

  9. #9
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Ok! Too big to attach here. Uploaded it but will not keep it there for long... Please advise when you've downloaded it!

    Only corrected the first 2 menu items...
    Put the rollover and rollout actions on the clips themselves and only added the getURL on the buttons when the clips are stopped on frame 10. Cleared every other actions you had on the buttons. Also added the sound on the clips, and took them out of the buttons. Finally commented out your stop(); action on the last frame of the clips, so that they would loop back and stop on the first frame.

    http://odin.prohosting.com/~oldnew/pcride.zip

  10. #10
    Huygens to Titan PCRIDE's Avatar
    Join Date
    May 2002
    Location
    PLUTO
    Posts
    1,335
    hey thanks alot, oldnewbie your a life saver, going to miss ya. good luck

    PCRIDE

  11. #11
    Senior Member Computer Dork's Avatar
    Join Date
    Mar 2001
    Location
    St. Louis
    Posts
    1,026
    Didn't that say 10,000th post a couple days ago... hehehehe

  12. #12
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Think that was a typo!

    For the records, this post would in fact be my 10,000th post.

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