User Tag List

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 45

Thread: Dot Net Script

  1. #1
    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
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,037
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Dot Net Script

    re greyhills extension.
    Wow mate. this is nice indeed. something that GM had over MMF was C scripting. MMF with this just surpassed it by miles.
    Is there documentation regarding this.

    on the pointers example. i get a MMF runtime error when i click the load image button.
    (im running vista)

  2. #2
    Forum Moderator Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    Yes there's documentation, if you click the help button, though it doesn't tell you how to code in c# or vb .
    I'm pretty sure that crash is the common dialog object's fault, but you could bypass it as all it does is pick out a filename to an image.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    Merseyside, UK
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    This is an awesome extension, well done.

    How do you call static methods on standard classes like Math.Sin for example?

  4. #4
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    GREAT Extension!! Congrats!

    ----------------------
    Andrew, I just concatenated System.Math.Round(1.5,2).ToString()
    on the Hello example and it works.


  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    Merseyside, UK
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    yea, but I want to call these directly not, wrap them in my own method

  6. #6
    Clicker iOS Export ModuleSWF Export Module
    Giovanni_Cardona's Avatar
    Join Date
    Jun 2007
    Location
    San Juan, Puerto Rico
    Posts
    142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    Looking at the extention, I think you must define at least a default class to import the namespaces you want to invoke in your mmf.

  7. #7
    Forum Moderator Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    You cannot call the inbuilt .net shared/static methods directly from MMF (no matter how many namespaces you import/use), like System.Math. etc.
    I could add this feature.
    But note that a lot of the frameworks' methods are overloaded and you cannot call overloaded methods from MMF, not without a bit of an overhaul with how the extension call functions. To call overloaded methods you'd need to tell it how to pick between the methods, like their different parameter types.
    I think I'd rather suffer having to make a wrapper class.
    Note that you can call the shared/static methods from MMF that are part of the 'MMFInteraction' namespace.
    ps. I realise Math.Sin is not overloaded :P .

  8. #8
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    I didn't find the right place to post this bug, hope you get to read it Greyhill:

    I just added a large bit of C# code to the object, and I had a crash when clicking OK. I'll just use this code as an external file but i'd rather have an error message than a MMF-crash !

    Thanks for this amazing extension. It's a whole new power for MMF-users !

    EDIT : Forgot to say I can reproduce any time i paste this code and press Ok

  9. #9
    Forum Moderator Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    682
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    Send me the code in a PM corentin. It shouldn't just crash.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2006
    Location
    UK
    Posts
    519
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Dot Net Script

    Absolutely fantastic

    Truely, fantastic!

Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. Need help with a php script and get object
    By lachmandoo in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th April 2012, 05:23 AM
  2. How can a local swf run a php script on the web?
    By mobichan in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 1st May 2011, 10:51 PM
  3. php scores script
    By RhysD in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 9th April 2010, 01:47 AM
  4. how I can use the VB .NET with .net script
    By FARAWAY_HELP in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 22nd May 2009, 04:22 AM
  5. running a script
    By dascribe in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st January 2007, 04:58 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
  •