Пример #1
0
        /// <summary>
        /// Creates the MovieClip class. Or something that looks like it from the outside.
        /// </summary>
        /// <param name="abc">Where to put the namespace</param>
        /// <returns>The MovieClip class.</returns>
        public static AdobeClass CreateFlashDisplayMovieClip(AbcCode abc)
        {
            Namespace nsFlashDisplay = abc.CreateNamespace(Namespace.NamespaceKind.Package, "flash.display");
            Multiname mnMovieClip    = abc.CreateMultiname(Multiname.MultinameKind.QName, "MovieClip", nsFlashDisplay, null);

            return(new AdobeClass()
            {
                Name = mnMovieClip
            });
        }
Пример #2
0
        /// <summary>
        /// Creates the MovieClip class. Or something that looks like it from the outside.
        /// </summary>
        /// <param name="abc">Where to put the namespace</param>
        /// <returns>The MovieClip class.</returns>
        public static AdobeClass CreateFlashDisplayMovieClip(AbcCode abc)
        {
            Namespace nsFlashDisplay = abc.CreateNamespace(Namespace.NamespaceKind.Package, "flash.display");
            Multiname mnMovieClip = abc.CreateMultiname(Multiname.MultinameKind.QName, "MovieClip", nsFlashDisplay, null);

            return new AdobeClass()
            {
                Name = mnMovieClip
            };
        }