A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: [F8]How to access functions in external swfs and pass them variables?

Hybrid View

  1. #1
    Senior Member
    Join Date
    Mar 2007
    Posts
    133
    ^bump... I know it's a difficult problem, but surely someone knows how to fix this?

  2. #2
    Member
    Join Date
    Nov 2003
    Location
    Ontario, Canada
    Posts
    80
    I am having teh same problem

    I have a MAIN_mc.swf with a loader component in it called mainLoader

    I load other swf's into the load but I want to send them commnad

    in HTML_mc.swf there is a function called show HTML

    I want to be able to click on a button in MAIN_mc and have ti execute teh function in HTML_mc

    kinda like
    Code:
    Actions.loadHTML = function(docPath){
        loadMovie("HTML_mc.swf",_root.mainLoader);
        _root.mainLoader.showHTML(docPath);
    };
    should mainLoader inherit teh objects and functions of the swf loaded?

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