User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: simple slider bar using object events

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    simple slider bar using object events

    Hello

    I was looking for the slider bar object and my searches showed others were looking as well

    I made my own and am posting this example

    It uses events in the active object so you can just copy and paste the object in an app, only modifying it for the placement in the window

    One thing that is cool about doing it this way is that you could make the "knob" be any graphic you like

    Hopefully this is not too simplistic, I know there are many advanced users on this board...
    Attached files Attached files

  2. #2
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: simple slider bar using object events

    No, this is not too simplistic.

    I think it qualifies as what I have been calling "widgets", at least in a basic way -- everything is contained in the behavior and no other objects are used.

    Something like this might be expanded upon and even saved with various graphic representations of the knob that perhaps could be chosen by setting an Alterable Value from the main events. Of course the name of the object would be changed to something that reflects what it is. You could then put the mfa in the lib/widgets folder for reuse.

    Thanks.

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Widgets

    Thanks.

    This is something I have been trying to do in my apps:

    Make (active) objects which can just drop in and contain kind of a mini pogram.


    I am adding a "widgets" folder right now!

  4. #4
    Clicker Multimedia Fusion 2 Developer
    Maverick's Avatar
    Join Date
    Aug 2006
    Location
    Defiance, OH
    Posts
    165
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    Actually, this is pretty awsome! Nice job! ^_^

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Widgets

    Once the idea of Widgets gets rolling, we should see more expert users programming them with some creative vision.

    It is not too difficult to use AV and AS to get some complex functionality from a single object using a behavior.

    I am working on getting more objects to have the variables for this purpose. I also have some MMF Widgets in mind. Not too long ago, I uploaded a window dragging widget.

    One would hope that third-party extension developers would also consider including the variables, even in objects that hold data themselves. We should see an update to z33z's pack soon, reflecting this.

    It is more than worth it if you can get some extended, easy-to-use capacity out of an object.

    For Example:

    An edit box, (or someday, a String Object) that automatically types out text with a speed setting, sound option, etc.

    An Active Object Plus that uses the tail end of the AVs in a behavior that includes: a timer, auto-rotation and resizing with effects, auto-fading, etc.

    HINT: Here are some of the "variables" you would set up to control this programmatically in the behavior using the latter part of the a-z variables, (so that the user still has access to the initial ones for spreading values, etc.

    TIMER/COUNTER:
    StartTimer = 0/1
    SetTimer = 100
    CounterIncrement = x
    TimerState = 1 = Pause 2 = Reset
    TimerStatus = 0 = Ready 1 = counting 2 = Paused 3 = Done

    With some logic and foresight, this could be done with angle, size, and fading as well. The author would simply set certain items from the main events and turn the feature on/off.


    An enhanced Active Picture featuring several effects that can be easily set, triggered, and controlled.

    I can even foresee some Fusion Widget potentials for stock objects that don't have the variables yet. The String Object would probably be better for a TypeMatic Widget. The INI object could be preset to save and load n number of Global Values/Strings on command and without re-creating a bunch of events and actions.

    This is about a little vision and creativity combined with some eventing skill. Maybe the userbase will become inspired and consider the potential to create a decent library of first-level Fusion Widgets that users could debug and make suggestions for improvements on. If so, CT would be glad to create a section for them, (by "first-level" I mean that there are other potentials here for future versions of MMF).

    Let's see how it goes.




  6. #6
    Clicker Multimedia Fusion 2 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator Pro
    drnebula's Avatar
    Join Date
    Jul 2006
    Location
    Pennsylvania, USA
    Posts
    908
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    It's a great idea - love to see all kinds of widgets that we could share. Thanks for your widget.

    I would just add a caution here on using behaviors inside of objects. Several applications where I have used such objects have, at times , exhibited some strange behavior. One object uses the rich text object and makes it only type in certain letters. Works great most of the time - but sometimes it totally locks up the computer - espeically if used over a network. Another instance did not work with Vitaize and gave an error message asking for an object that was not anywhere in that application. So beware.
    Steve

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    I decided to bring this post back up as it got my design started. Here is the mfa file with the gerbletech widgets. Click the link in my signiture to see the full widgets page.
    Attached files Attached files

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    My MMF crashes when trying to edit quit message widget.
    As soon as i put the mouse over the event.

  9. #9
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2006
    Posts
    696
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    I tested it on 4 computers and nothing. No problems here. Can you give me some of your system stats and your MMF2 build? I will look into the problem some more.

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Location
    Cape Town South Africa
    Posts
    192
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Widgets

    This is the error report i get

    Error signature

    AppName: mmf2.exe AppVer: 3.0.243.0 ModName: fcmsgbox.mfx
    ModVer: 1.0.0.0 Offset: 00001496


Page 1 of 2 1 2 LastLast

Similar Threads

  1. Slider
    By HadHaw in forum Android Released Games & Apps
    Replies: 2
    Last Post: 29th May 2013, 01:08 AM
  2. Slider
    By weka in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 7th May 2009, 08:47 PM
  3. Very simple active slider
    By Pkeod in forum File Archive
    Replies: 2
    Last Post: 2nd March 2009, 02:23 AM
  4. Slider Bar Object
    By Stevie_J in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 10th November 2008, 02:27 AM
  5. [Request] New Slider Bar Object
    By drnebula in forum Extension Development
    Replies: 11
    Last Post: 28th January 2007, 08:46 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
  •