Copy link to clipboard
Copied
I'm pretty sure that swc contain the complete swf embedded inside it, but how we can get access of it?
so we can play the main timeline.
Copy link to clipboard
Copied
How are you loading the SWF, via a standard Loader? If so then the Loader object (upon loading) has a .content property that is a reference to SWF. You could simply run a "yourloadername.content.play();" to have the content play.
Copy link to clipboard
Copied
Thank you sinious for your explanation,
I just try to manage a large project through producing many swc files acting as sub projects and I set a document class for every one of them, after that I point the main project to the path of these swc from library path inside actionscript settings.
From coding the script hint show these classes names and no problem to declare new instances of them and access other classes inside these swc, but accessing the main timeline is not working or adding these instances as movieclip to stage nothing of timeline content appear on the stage.
Can you help me regarding this issue, to manage such a big project?
Now I'm using the embedding statement to embed swf files inside man project, and loading or playing external swf files is not an option for me because we need all assets (played from inside the main project), and no external assets allowed.
Thanks agian,