Thread
: [Actionscript 3]
AddChild adding Class but not internal shapes
View Single Post
#
3
(
permalink
)
10-07-08, 18:42
chiru
Junior Member
Join Date: Jul 2008
Posts: 2
Rep Power:
0
Re: AddChild adding Class but not internal shapes
Thanks for your interest in Helping me.
Simply What I need all is ->
Attaching a Library Object to the stage at run time with out exporting it in the first frame. Just as we do it in Flash 8.
So the size of the first frame will not effect to play the pre-loader.
This is very much successful in Flash 8.
LIKE :::
1. create MC in library.
2. Un-check it to not export in 1st frame.
3. Drag it in the Time line after Frame 1 supposed 2 and out of the stage.
4. Then They can be accessed at any time using AttachMovie.
But the same is not working in CS3 Flash.
1. We have classes and Base Classes.
2. We need to call it using its class name not identifier.
3. Even If we drag it in the second frame and call method ADD CHILD it is not adding the MC and Not even Throwing any error.
4. So I have tried creating a simple class and Traced it.
5. Amazingly the class is getting Added. So the trace is calling.
6. Even if we doesn't create a Class Flash by default will create the same class. That is why I have Created to trace whether the calss is getting added or not. ITS ADDING.
7. That is all I have got and FINALLY my condition is
[I think you understood.
]
Now I omitted many good programming techniques and developing my present Project in a nut simple even I am completely developing it in Classes.
__________________
===========================================
==
I AM INVINCIBLE STILL SOMETIMES I NEED YOUR HELP.
==
I AM BAD ? I AM DEAD : I AM YOURS ;
===========================================
chiru
View Public Profile
Send a private message to chiru
Find all posts by chiru