A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] Question about levels and paths when I load an external SWF

  1. #1
    The Doctor Gonzo
    Join Date
    Feb 2003
    Location
    Misiones - Argentina
    Posts
    71

    [CS3] Question about levels and paths when I load an external SWF

    Hi guys...

    Im loading into a main movie, externals SWF's using LoadMovieNum.

    loadMovieNum ("section1.swf", 5);

    I refer to the root of this loaded movie as _level5
    The problem is that I want to change some properties of objects that are IN the main movie, not the loaded one, so I dont know how to use paths...
    For example if I have a button in the loaded movie, is it right this code?

    _level5.buttonA.onRelease = function() {
    _root.clipinthemainmovie._alpha(50);
    }

    or maybe...

    _level5.buttonA.onRelease = function() {
    _level0.clipinthemainmovie._alpha(50);
    }

    I cannot communicate from the loaded movie to objects in the main movie.
    What is going wrong?
    Is it good this method to load movies?
    or is better using loadMovie and load the content into an MC?

    Well, guys, many thanks in advance!
    BTW, Im using AS2.
    need a light?

  2. #2

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