User Tag List

Results 1 to 7 of 7

Thread: Calling a method

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Calling a method

    I was asked if I can include a method in my game like
    ExternalInterface.call(“ReportCMGameEvent”, x, “”);

    Is this already possible or could it be done with the upcoming AS Dynamics?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    IIRC the ExternalInterface is for Javascript functions - try the Flash Player object.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    Ok, sounds promising! Are there any tutorials or more detailed infos about the Java calls, besides the help file?

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    Javascript. Not that I know of, but it's pretty straightforward.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    You can use Flash Haxx for this if you need to.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    Here is info on the External Interface call function -

    http://livedocs.adobe.com/flash/9.0/...tml#call%28%29

    When working with AS code i have never used it before though but the info might help maybe.

    It would be possible through AS Dynamics object when that is released i am guessing unless it has coding restrictions which hopefully it won't.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Calling a method

    Great to see that there are even multiple ways to achieve this

Similar Threads

  1. Calling a File
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th May 2011, 02:07 AM
  2. Calling A web Page
    By Kisguri in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 28th March 2011, 11:28 PM
  3. Calling you mathemagicians...
    By Asholay in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 10th December 2009, 11:12 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
  •