-
Does anyone else have this problem...
You go and "duplicateMovieClip()" and try to call functions contained in your duplicated clip but the functions are not immediately accessable.
For instance:
function dupe_me(){
//duplicate an existing clip
clip.duplicateMovieClip("clip"+1,100);
//call a "method" of the new clip
clip1.turn_blue();//wont call function
//but properties exist
trace(clip1._name+clip1._x)
}
Later... clip1.turn_blue() works! It seems to me that this needs to be fixed! In ANY programming language, if I create a new instance of an object, I should immediately be able to access object methods!
Is there something I'm missing or should Macromedia fix this?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|