ok… I have this flash remoting project, and I have it all working, I have imported packages, I understand classes… and as I start to learn AS3 from AS2, I am really really confused about how to access things?
IF I have a simple movie clip on the main timeline, I can access it fairly easy enough… but how do I access things inside of movieclips, inside of movie clips?
my 1st thought was if you give it an instance name, it is automatically created, perhaps call it via it’s instance name? no…
my 2nd thought was I was trying to create new variables with the same names as my instances on stage and use addChild()? don’t think so…
and of all the books I read, it really relies on very simplistic systems such as
var newtextbox:textBox = new textBox();
blah, blah, blah… or the tutorials show how to draw a circle or a square… who does this?
realistically, it seems we are all used to using flash to make compelling ads, banners, buttons, and what not and use it as a tool to combined the best of design with the simplicity of extending it with code… now it’s all code it seems like? there has to be a way to use the timeline in a simple form?
so, problem.
AS2:
_root.mymovieclip_mc.myinsidemovieclip_mc.mypicture_mc._alpha = 50;
_root.mymovieclip_mc.myinsidemovieclip_mc.mytext_txt.text = “this is a test”;
AS3:
what would be an equivilant? how do I access those if they are designed and built on the stage, ready to go… no need to build them in the code?
much appreciated :bucktooth: in advance…