A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [MX04] Minimize Button code needed!!

  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    35

    [MX04] Minimize Button code needed!!

    I have mimimize buttons that aren't working in my project. I've posted the code(s) that are already attached to the minimize buttons, but those codes aren't working. I need this code to put the finishing touches on this project, so any help is very much appreciated.

    on (release) {
    FSCommand("exec","jcommand_3Aminimize");
    }

    on (release) {
    fscommand("flashstudio.minimize");
    }


    Thanks!

  2. #2
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    IF this is flash studio (MDM) you may want to upgrade as the newer versions (now called ZINC) are much easier to use;

    Are these two on release commands for separate button and if you are using the old flash studio, did you put the MDM INIT command in the swf you are compiling?
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  3. #3
    Member
    Join Date
    Oct 2006
    Posts
    35
    The button release commands are for the same button in two different SWF's, but within the same project. I'm not sure what you mean by "MDM INIT" commands. Please explain further.

  4. #4
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    Well ok you are using Flash Studio Pro from multidmedia (aka MDM) correct?
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  5. #5
    Member
    Join Date
    Oct 2006
    Posts
    35
    No, I'm not using Flash Studio Pro. I'm using Flash MX Professional 2004, v.7.2. Does that help?

  6. #6
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    Well with this, it would seem at least that you are trying to call one of flash studio pro's commands
    on (release) {
    fscommand("flashstudio.minimize");
    }
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  7. #7
    Member
    Join Date
    Oct 2006
    Posts
    35
    You're absolutely correct, and I don't know why that code is in there because it doesn't work. I just copied it all over and posted it in here to let you know what's in the button code. Funny thing is that this code -

    on (release) {
    FSCommand("exec","jcommand_3Aminimize");
    }

    is in the minimize button of the previous version of this project and it works when executed. I don't understand why it's not working now. I didn't change anything in the code. Makes no sense...

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