User Tag List

Results 1 to 6 of 6

Thread: Flash duration

  1. #1
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Flash duration

    Hello all.
    I am sure this is a simple one, but I cannot find a way to control the duration of the "flash object" option in Visibility. I can control the rate of flashing but not how long it lasts. For example I may want to flash an active object for 3 seconds only - after that time, it returns to normal.

    Sorry if this is a simple one, but I just can't find a way of doing it!

    Thanks in advance,
    Tim.

  2. #2
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash duration

    Set an Alterable Variable to 150

    Alterable Value A >0
    +Only one action when event loops
    Active Visibility: Flash .020

    For example.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  3. #3
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash duration

    It must be my ignorance but I can't see how that works. I have tried setting an Alterable Value to 150 on the object but not sure how to use the Event Editor to start it flashing when required and then to stop it after 3 seconds.

    Sorry, am fairly new to MMF2 but have managed to fight my way through to this point, I just can't visualise how to do this!

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export Module
    Skyhunter's Avatar
    Join Date
    Jan 2007
    Location
    Croatia
    Posts
    452
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash duration

    flash object
    set alt value to 3

    alt value > 0
    every 1 second
    substract 1 from alt value

    alt value= 0
    visibility - make object reaper (it will stop flashing)

  5. #5
    No Products Registered

    Join Date
    Dec 2008
    Posts
    71
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash duration

    Brilliant, that did it!
    Thanks ever so much for your help.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Flash duration

    think of skyhunters example as creating an internal timer for the object best way to do a lot of things that can't rely on the main frame timer.

Similar Threads

  1. Bug? MP3 Duration and Position is wrong
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 19th January 2012, 12:37 PM
  2. DirectShow position/duration problems
    By Solgryn in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 17th August 2011, 10:17 PM
  3. Get Duration in Minutes; Seconds?
    By Jesse in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 30th January 2008, 06:47 PM

Posting Permissions

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