Hello again,
it is just as usual. Thanks list, that I wrote something about my
problem - this way I've found a solution (not the best, but
acceptable). I have placed all Symbols to the Stage of the Component
and removed the instances at start. After been one time to stage, I
can attach them using attachMovie. So I am happy now, and it might
become a nice Friday today. :-)
Thanks for "listening" ;)
Matthias
2007/3/16, Matthias Dittgen <[EMAIL PROTECTED]>:
Hello,
sorry, but I can't find the solution. I want to create a component (or
some other kind of precompiled movieclip) to hide some logic and
MovieClip Symbols used by that logic. :-)
I have a MovieClip Symbol "Framework" in the library which is linked
to a Class "Framework.as" in the same directory. The class extends
MovieClip. I make a component out of that specifying the Framework
class again.
After copying the SWC to the component path I can use it in a clean,
new FLA File. I put the Component "Framework" to the Library. In the
first frame I put it on Stage using attachMovie("Framework", "fw",
nextHighestDepth()); Calling fw.init() executes the code inside the
Component (trace output).
The problem:
in fw.init() not only trace commands are used, but also attachMovie
using MovieClip Symbols, that should be also packed in the Component.
THIS does not work. WHY?
I exported these Symbols to Actionscript before creating the Symbol. I
even tried to connect an empty class extending MovieClip to each of
them. But everything does not work.
Do I have to extend from UIObject? I don't think so, because
UIObject.createObject() also only uses attachMovie. So where is my
problem?
This is really urgent, so I would really appreciate any help you can give.
Thank you,
Matthias
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com