A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: control one swf (root) from another swf loaded on top

  1. #1
    Junior Member
    Join Date
    Dec 2004
    Posts
    2

    control one swf (root) from another swf loaded on top

    Hello.

    Is there a way to control a root swf from an external swf loaded on a higher level. For example:

    I have a swf (1) that loads an external swf (2) on top of part of it that is the navigation for the first swf (1). I tried using the _root commands but nothing worked...I probably have it all wrong....

    Thanks!

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    No, _root should work.

  3. #3
    you have to set up levels
    If you kill me, Ill be dead!
    www.powerfuze.com

    "Do you know any slow or special people?" -special ed (crank yankers)

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    If you loaded it on another level and not in a container clip, and want to address your first .swf, you would have to use _level0, rather than _root.

  5. #5
    Originally posted by oldnewbie
    If you loaded it on another level and not in a container clip, and want to address your first .swf, you would have to use _level0, rather than _root.
    exactly!
    If you kill me, Ill be dead!
    www.powerfuze.com

    "Do you know any slow or special people?" -special ed (crank yankers)

  6. #6
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Again, what an insight!

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