A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: global functions not working

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Unhappy global functions not working

    I have two swf's uploaded to my server (remote1.swf and remote2.swf)

    I have a local swf (local.swf) that I am using to load these two remote files.

    Within all three swf's are global functions. remote1.swf can call global functions located in remote2.swf and visa versa, but neither of them can call functions to local.swf

    Any ideas?

    I have added System.security.allowDomain("______.com"); to all files, but still no luck.

  2. #2
    Junior Member
    Join Date
    Nov 2009
    Location
    Guntur
    Posts
    3
    hai friend first u do u useing swf file's in same folder and wrking the global function


    i hope this trick is working to u bye

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    2

    Thumbs up so far...

    No, the main swf is loading swf's from a remote server. I've since figured out my issue of not being able to call global functions in the main.swf Rather than setting them as global and calling them (variables as well as functions) I have to set them as standard variables and functions and call them using _root.functionName();

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center