User Tag List

Results 1 to 8 of 8

Thread: Get Object not working in Flash

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get Object not working in Flash

    Hi all!
    I've made a simple application in MMF2 using the Get Object. I change a String's Alterable String getting it from a page on my website. It works perfectly when I test it on MMF2 debugger, but if I test it in Flash it doesn't work.
    That's strange... the Get Object works with Flash runtime, doesn't it?
    Thank you in advanced for your answer!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Get Object not working in Flash

    You probably need a crossdomain.xml file in the same folder of the SWF, so Flash is allowed to access remote URLs.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=179425#Post1794 25

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Object not working in Flash

    I'm trying it locally. But it doesn't work also using the crossdomain.xml file.
    I've also tested it on my webhosting, using crossdomain.xml in my root directory, but it doesn't work too.

    The strange thing is that the Flash example works.

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Object not working in Flash

    Are you using POST? There was problems receiving data with POST in Flash, if I recall correctly.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Object not working in Flash

    No, I'm using GET.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

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

    Re: Get Object not working in Flash

    Quote Originally Posted by Looki
    You probably need a crossdomain.xml file in the same folder of the SWF, so Flash is allowed to access remote URLs.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=179425#Post1794 25
    I thought it was in the root of the target domain (that you're get-ing from), not in the same folder as the SWF?

  7. #7
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Apr 2009
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Object not working in Flash

    I noticed this same problem. What's weird is that I use the Get Object two times. The first time retrieves the channel and server to connect to (it's a chat room) and the second time retrieves chat room announcements. It works when I retrieve the announcements but not the channel/server.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jul 2010
    Location
    Italy
    Posts
    368
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Get Object not working in Flash

    Now it works.
    I think I was using another action in my events not compatible with Flash.

Similar Threads

  1. Get object no longer working in flash
    By crugh in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 11th March 2013, 02:13 PM
  2. get object not working on andriod or flash.
    By HenSoup in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 20th December 2012, 10:30 AM
  3. Scrolling in Flash not working
    By brett in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 31st October 2012, 10:03 PM
  4. Get object not working with Flash
    By Zoglu in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 17th May 2011, 10:05 PM
  5. Flash website I am working on.
    By FlameEX in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 11th September 2010, 03:26 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
  •