dcsimg
A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 29 of 29

Thread: Button fix in mx.

  1. #21
    Member
    Join Date
    Jan 2001
    Posts
    68
    i think my file is MX. if it doesn't work, let me know and i'll post a new version.

  2. #22
    Mental Deficit Nionicle's Avatar
    Join Date
    Mar 2002
    Location
    Utah, Hyrum
    Posts
    1,348
    it doesnt work.


    would it be easier to post the script here.

    like.

    On the button put this action.

    onclip event blah
    _blah.Root.Blah + blah*blah

    And on the mc

    Blah += blah- blahing math.sqrt
    I can only postulate the probability of performing at a paramount level of perfection praised by the pulchritudinous paragon whose only practice is to preserve such a paradigm.

  3. #23
    Member
    Join Date
    Jan 2001
    Posts
    68
    the explanation of the code is in the other thread. i suggest you read through it. okay, i just figured out how to save the file as a Flash 5 doc. you're in luck. here it is:

    http://filebox.vt.edu/users/jizietz/...deInOut_F5.fla

    i did make a change to my original fla - the clip on the left has a border, the clip on the right does not. the clip on the right has reusable code - just change the picture to whatever you want and it'll work.

    good luck.

  4. #24
    Mental Deficit Nionicle's Avatar
    Join Date
    Mar 2002
    Location
    Utah, Hyrum
    Posts
    1,348
    hey it works.

    Thanx.

    Now explain how you got it into a flash 5 version too lol.
    I can only postulate the probability of performing at a paramount level of perfection praised by the pulchritudinous paragon whose only practice is to preserve such a paradigm.

  5. #25
    Member
    Join Date
    Jan 2001
    Posts
    68
    easy. in flash mx, you have the option of choosing "Flash 5 .fla" in the file format drop-down box.

    let me know if you have any questions about the fla.

  6. #26
    Senior Member of Toon Army lucky-black-cat's Avatar
    Join Date
    Aug 2002
    Location
    Benarraba Andalucia Spain
    Posts
    303
    Hi

    That could be why your having problems with the .fla I use MX.

    I checked Yeah yeahs button. It is a bit like button 1 in my .swf
    It doesn't finish its animation before changing up/over states.

    I'm happy I think the button (3) looks/works great.

    I'll try to get the .fla to download???


    Anyone else having problems, or even success??
    http://www.property-in-the-sun.com
    Cheap Holidays in Andalucia Spain for Flash Programmers from 2005!

  7. #27
    Member
    Join Date
    Jan 2001
    Posts
    68
    i didn't design it to finish its animation - i was just using it as an example. is there a reason to have a button finish the animation?

  8. #28
    Senior Member of Toon Army lucky-black-cat's Avatar
    Join Date
    Aug 2002
    Location
    Benarraba Andalucia Spain
    Posts
    303
    Hi

    Your button is fine, the start of this thread was by Nionicle who asked ...

    I hate when you rollover a button then roll off really fast and make the button go to the rolloff frame before it has finished the rollover frame.
    Sure theres a point its smoother (doesn't flicker)(it was fun as well), if you check out the link I attached, and you rollover the three buttons, the third button is the one that finishes the up/over mc before starting the next mc.
    http://www.property-in-the-sun.com
    Cheap Holidays in Andalucia Spain for Flash Programmers from 2005!

  9. #29
    Senior Member of Toon Army lucky-black-cat's Avatar
    Join Date
    Aug 2002
    Location
    Benarraba Andalucia Spain
    Posts
    303
    Hi Nionicle,

    I hope you can download this, whether you can use it I don't know, it was a little more complicated than expected. Perhaps if you pull it to bits you will see how it works???
    Attached Files Attached Files
    http://www.property-in-the-sun.com
    Cheap Holidays in Andalucia Spain for Flash Programmers from 2005!

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