_root.play(); woohoo
- Started
- Last post
- 23 Responses
- Derek2
on(release) {
_level5._root.play();}
thank god for that.
- jpea0
word.
- Derek20
i was working on this shit today, and i wanted to control several movie clips from one global document. then i realized i needed to control more clips from another loaded movie, and found this worked! i was soo stoked!
i ran around the office i was like, YESS! haha. the print dudes didnt know what the fuck i was talking about.
- XC010
the joys, of action scripting.
- Jnr_Madison0
Josh Davies beware.
- kpl0
isn't _level5._root.play(); the same as _level5.play(); ?
- unfittoprint0
Do NOT use _levels.
Do NOT use _root.
USE OOP - object oriented programming - syntax [myMC.dothis()]
USE relative 'pathing' [_parent._parent.doYhis()]
be modular.
Just Do It.
- Derek20
woaaah!
unfittoprint, im not ready yet!!! im not reaaadddy!!!!!lol
soon i will be using that.
- Derek20
kpl,
i needed to target a level that was outside, GLOBALLY, so
i needed to goto root to talk to that clip...
- unfittoprint0
you're ready. u just don't know it.
;-)
- XC010
do you contribute to any flash books unfit?
- beingdevious0
oop for all!, unfit is god.
levels suck
just my 2 cents
- mcLeod0
hear hear unfit
relative paths 4 life
- Derek20
i.. must.... upgrade...my...skill......
;)
maybe i will try that.
my neighbor moock would be proud! :)
(not quite neighbor... but close)
- JazX0
please just ELEVATE unfittoprint to the 'Royal Unit of Flash'. Stop the press please NT godz.
- Derek20
hahaha
- 187LockDown0
OK I dont know about not using root I mean come on. YOur not that badass. I can understand not using levels. There is no real need to use levels in my Flash world, but _root is god status. Not everyone can be OOP!
- kevinv0330
i shy away from levels also. this dude i used to work with swears by them.
i admit that i use _root. quite often. i get lost using too many _parent._parent....myMC,
- Derek20
im loading into targeted mc now too.
just, for this project loading levels made sense
- JazX0
levels works for me too on certain things, then again I usually get my .fla with those already made.
- Derek20
what do you mean already made?