Multiple choice technology web technology

Difference between "_root" and "_level0", if 1.swf is loaded on 2.swf

  1. _level0 will be same for both

  2. _root will be same for both

  3. _level0 will be different for both

  4. None of them

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Flash ActionScript, _level0 always refers to the main movie timeline at level 0 of the Flash Player, regardless of which SWF you're in. The _root property, however, is relative to each SWF's own main timeline. When 1.swf is loaded into 2.swf, _root in 1.swf refers to 1.swf's timeline, while _level0 remains the same global reference for both.