PDA

View Full Version : Flash 5.... _root.



gpdesigner
April 17th, 2003, 10:12 AM
Hello all,
I have a question, I have been reading on _root. ... My question lies with the use of a percentage pre- loader.
_root.getBytesTotal();
If I place this in the first frame of movie A and load movie A into Movie B,
movie B being the main movie, will the get bytes loaded give me total bytes of B, or A...
My initial thought is it will get the total of B seeing how I am useing _root.
but still alittle unsure of this... Thanx for the help
ralph

kode
April 17th, 2003, 10:16 AM
you'll get the bytes total of movie b.


the thing is...

if the script is in the timeline of movie a, use this.
if the script is in a movie clip of movie a, use _parent.

=) ;)

gpdesigner
April 17th, 2003, 10:21 AM
hey kax,
Thanks for the tip.... I love mexico by the way...
worked for Club Med there a few times ixtapa, playa blanca,... and honeymooned 15k north of cancun....
good vibe, nice weather....
Ralph

kode
April 17th, 2003, 10:27 AM
no problem =)

and yeah... i love ixtapa too. i have a few cousins there, but it's been a while since the last time time i visited them. :-\