User Tag List

Results 1 to 6 of 6

Thread: Layer Problems and events not working

  1. #1
    No Products Registered

    Join Date
    Jan 2008
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Layer Problems and events not working

    Hello, I'm building a simple math application, kind of like a flash card generator. The math itself works fine, but I am having a couple of problems making a "flash" effect when the user gets a question right (or wrong), plus some layering problems.

    First, I can't figure out how to put the two active objects (the red box and the green box) behind the counters for the background "flash" effect.

    Secondly, typing in the correct answer and pressing "enter" should make the green box appear, but it causes the red and green box to appear, instead.

    I'd like some suggestions on how to make this work, and all help is greatly appreciated.

    My browser can't attach things for some reason, so the .mfa file is here.

  2. #2
    No Products Registered

    Join Date
    Feb 2008
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer Problems and events not working

    Well, I was able to fix the event problem where the two objects would come up on the same time. It's really just the way MMF2 loops through the events. If you move the event that checks if the problem is wrong above the even that corrects if the problem is right, you'll see it now works.

    File - http://www.mediafire.com/?bwnblhjlmms

  3. #3
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Layer Problems and events not working

    Suggestions:

    Delete your always event its not doing anything useful as far as I can tell

    Open the layer toolbar create a new layer and put your red and green boxes in it (if you need seperate layers -- not sure you do but anyway)

    Move your alterable value 3 <> value( "Counter 3" ) above the event for Move your alterable value 3 = value( "Counter 3" )

    Right now your are triggering both events as you reset the values of the edit box.

  4. #4
    No Products Registered

    Join Date
    Jan 2008
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer Problems and events not working

    Okay, the double-problem is now fixed, but, although the background objects are behind the others in the editor, they are still in front of the counters in the application window.

    Secondly, I added a "health" bar, and it takes one wrong answer before it starts to go down. Help, please?

    New file is here.
    EDIT: I fixed the health bar problem, but the other issue, the layering, still remains.

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: Layer Problems and events not working

    I didn't look at your application, but if the Display as Background option is selected in the counter objects, you should unselect it.

  6. #6
    No Products Registered

    Join Date
    Jan 2008
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Layer Problems and events not working

    Thank you! That did the trick!

Similar Threads

  1. Layer object "hide layer" not working in swf (build 257.28)
    By MJK in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 17th October 2013, 07:50 AM
  2. Add events to a layer
    By Decoamorim in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 28th August 2013, 07:19 PM
  3. Problems with the layer object
    By kromblite in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st March 2012, 09:01 PM
  4. Modifiy Layer effects via events
    By Shin in forum Hardware Accelerated Runtime
    Replies: 5
    Last Post: 4th March 2010, 10:03 AM
  5. Layer Wrapping isn't working
    By ionside in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th February 2009, 07:02 AM

Posting Permissions

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