A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: bugs in MX 2004?

  1. #1
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437

    bugs in MX 2004?

    I was creating a game in MX 2004, everything was fine, then just 5' later, everything stop working, even a button.

    I have this button:_root.mcBttScreen.btOpen and the following code

    _root.mcBttScreen.btOpen.onPress = function (){
    _root.mcBttScreen.play();
    }

    they were wfine, then they stop, so I have to move the code inside the button and using on(press) to fix it

    Anyone knows about this?
    Still looking for a freelancer to work on my footer!

  2. #2
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437

    fla file

    here is the link to the fla file, if anyone wants to take a look

    http://www.tntt.org/vdh4/forums/flash/test.fla
    Still looking for a freelancer to work on my footer!

  3. #3
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437
    anyone have this problem or just me?
    Still looking for a freelancer to work on my footer!

  4. #4
    Senior Member catbert303's Avatar
    Join Date
    Aug 2001
    Location
    uk
    Posts
    11,222
    Hi,

    the function for your close button isn't working because the button itself isn't created until several frames after the event handler is assigned to it.

    You can fix this by editing the bottom screen clip in your movie. in this clip so in frame 1 of the button layer you have the open button as it was before and now also the close button, hidden off the edge of the stage.

    next in frame 2 of this layer remove the blank keyframe and instead have a regular keyframe with both buttons hidden off the edge of the stage, finally in frame 15 have a keyframe where the close button is positioned where it is needed to be clickable.

  5. #5
    Senior Member
    Join Date
    Jun 2001
    Location
    Virginia, USA
    Posts
    437
    thank you, I will try that, but I thought, when I invoke that function, the button already created
    Still looking for a freelancer to work on my footer!

  6. #6
    FK's Giant Steve_w_V's Avatar
    Join Date
    Mar 2003
    Location
    San Jose, California
    Posts
    2,113
    As for the name of the thread, there are many bugs in MX 04, which MM is working on.
    The other day, I bought a box of animal crackers. On the side, it said "Do Not Eat if Seal is Broken". I opened the box and sure enough...

  7. #7
    Junior Member
    Join Date
    Dec 2003
    Posts
    6
    aye, I've been having so many problems in flash 2004 that I went back to the original mx. On a related note, does anyone know of a way to...er..splice in "normal" action scripting into flash 2004? and also the regular scroll bar that they *cough* seem to have forgotten to put in 2004's common library

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