User Tag List

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

Thread: COM+ Object for MMF2 Developer

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    COM+ Object for MMF2 Developer

    COM+ EXTENSION FOR MULTIMEDIA FUSION DEVELOPER 2
    Version 1.0 - Andre Guerreiro Neto (byo)

    Release Notes:

    This is library that acts as an Activex extension companion.
    With this non visual extension you can create multiple COM, COM+ & ADO objects with ease and treat them as named objects inside your application. You can make them interact with each other.

    This extension doesn't require the .NET Framework and was made for any user in mind even those who don't know to script or program.

    Note: To more advanced use, some knowledge on the object's methods and properties is required. There are several example in the EXAMPLES folder and there's more to be added soon. If you have any example, article or tutorial that you wish to share, it's much appreciated.

    No scripting or programming is required (except knowing the object's methods and properties like "Size = 20", for instance).



    CONDITIONS:

    - IS OBJECT INITIALISED?:
    Helps you to detect if the given object is correctly initialised before using it.




    EXPRESSIONS:

    - GET INTEGER PROPERTY
    Gets the property of the specified object as an integer value (ie. 13).

    - GET FLOT PROPERTY
    Gets the property of the specified object as a float value (ie. 1.2).

    - GET STRING PROPERTY
    Gets the property of the specified object as a string value (ie. 1.2).

    NOTE: To each of the properties expressions above you must specify the object from which you're retrieving the value and the property command. Example: getting the property "Title" from the object "Document".

    - GET LAST ERROR CODE
    This will give you the last error code from the COM object.

    If the error code is LESS than ZERO then there was an error.
    If the error code is EQUAL to ZERO then no error ocurred.

    - GET LAST ERROR DESCRIPTION
    With this expression you can get the exact error string. Useful to debug your application or to show the user an error message.


    ACTIONS

    - CREATE OBJECT
    In this action you enter the name of the object that you want to create. This name can be anything you want like "Doc", "MyObject", etc. The names of every object created must be unique and you can have as many objects as you want using only one extension. The second parameter is the object's ID which is the registered object's name like "InternetExplorer.Application" or "Word.Application". These names must match the object's ID and you can find more info on them either by looking at tutorials on the net about COM objects.

    NOTE: You can have any number of different objects as long as you use different names for them and they can interact with each other very easily without you having to be worried about freeing memory, interfacing, etc.

    You can find a bunch of examples in the EXAMPLES folder.


    - GET OBJECT
    You use this action when you want to create a new object from another object. Suppose you have an "InternetExplorer.Application" object in you application and you named it "IExplorer". After you use the "IExplorer" object method "Navigate", a new browser website is being shown. To get the properties of this website, you must first get the "Document" object inside the "InternetExplorer.Application". So it goes like this:
    GET OBJECT "MyDoc" FROM "IExplorer"("Document")

    Then you can use the methods and properties from the "MyDoc" such as "Title" to get the title of the document and many other properties. There is an example named "com_internet_get_html_title" in the example's folder that shows a simple way of achieving this.


    - SET PROPERTY
    This action will set the property of any object. The first parameter is the unique name that you gave to the object and the second one is the property command that you want to change/set. It's as easy as:
    SET PROPERTY "Document"("FontSize = 22")

    That means that you're setting the font size of the Document object to 22. Note that each COM object has its own predefined properties. You can't set a value to a property that doesn't exist obviously.


    - CALL METHOD
    When you're not setting an object's properties you're calling its methods. Every object has its own unique methods. "InternetExplorer.Application" object has the "Navigate" method that will take you to any website. You must know the object's methods prior to calling them.



    SPECIAL NOTES:

    - If you're converting a code or tutorial keep in mind that there are some differences:
    1) Instead of "object.property" you would use "object\property".
    2) Insted of passing strings directly like "FileName = myfile.doc" you would use "FileName = 'myfile.doc'.
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: COM+ Object for MMF2 Developer

    DOWNLOAD LINK UPDATED

    Hi, fellow game designers.
    I'm sorry for the delay, I've been busy "working like a dog, sleeping like a log" like Lennon once said.

    Please download the new file in this post.
    Attached files Attached files

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: COM+ Object for MMF2 Developer

    Alternative download link (mirror): COM+ extension for MMF2 Developer

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    COM+ Object v1.1 UPDATE

    New version out: v1.1

    http://www.clickteam.info/byo/MMF2/Extensions/Release/complus_v11_mmf2dev.exe

    Release Notes:

    + Fixed: The $ character was not being correctly accepted when setting properties or calling methods. (reported by DJFuego)

    + Changed: #True or #False is no longer valid for boolean values in properties or methods as this was causing enough confusion when converting code to MMF2 events. Now you must use either TRUE or FALSE. Note: it's not case sensitive, you can enter the words anyway you want (ie. true, fAlsE, etc.).

    + Added: firewall disabling/enabling example.

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: COM+ Object v1.1 UPDATE

    Can I suggest that you still accept "#true", as well as "true"? It would help when updating existing applications.

  6. #6
    Clicker Fusion 2.5 Developer

    Join Date
    May 2007
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: COM+ Object v1.1 UPDATE

    New version 1.1b

    Just a small change.

    Release Notes:

    + Reverted: #True and #False for boolean values are supported again for compatibility with older apps (Thanks to Dynasoft for the sugestion)

    Download below:

    http://www.clickteam.info/byo/MMF2/Extensions/Release/complus_v11b_mmf2dev.exe

  7. #7
    Clickteam Clickteam
    Nico's Avatar
    Join Date
    Jun 2006
    Location
    France
    Posts
    2,541
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Download link is broken !
    --------------------------------------
    Nicolas "Nico" Sourdeval
    Clickteam

  8. #8
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  9. #9
    Clickteam Clickteam
    Nico's Avatar
    Join Date
    Jun 2006
    Location
    France
    Posts
    2,541
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Thanks, but I need a ZIP file, no installer...
    --------------------------------------
    Nicolas "Nico" Sourdeval
    Clickteam

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    iOSC's Avatar
    Join Date
    Mar 2012
    Location
    Toronto, Canada
    Posts
    405
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    https://dl.dropboxusercontent.com/u/...B%20Object.zip
    Dis moi si il manque qqch, j'ai récupéré ça depuis mon install.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Can't find Quick Time object in MMF2 developer
    By kikiriki in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 26th May 2013, 11:52 PM
  2. MMF2 Developer and MMF2 editing the same game
    By kenan in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 14th April 2011, 08:00 PM
  3. SOLVED: MMf2 Standard to MMf2 Developer Error
    By iamjot in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 21st January 2011, 06:03 PM
  4. Mmf2 X MMf2 Developer (Talking about flash)
    By PandaExplosion in forum SWF/Flash Export Module Version 2.0
    Replies: 21
    Last Post: 18th December 2010, 01:55 AM
  5. Dialog Object add-on (MMF2 Developer)
    By MikeB in forum Extension Development
    Replies: 3
    Last Post: 16th June 2009, 12:54 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
  •