A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: No more ROOT in Actionscript 3? Then how to do thie following???

Hybrid View

  1. #1
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Quote Originally Posted by educasoft
    I discovered that you can still access the root by doing MovieClip(root).movieclip1


    I do wonder however if this would also work for a externally loaded .swf

    by the way. If I want to load a movie from an external .swf , then in most docs which I find they create a new movieclip, load the sxf content in it and add it as a child where it needs to be added.

    Isn't there a way to load an external .swf into an allready existing movieclip on the stage ?
    It is better to use Object(root).whatever
    If you are dealing with a movie extending Sprite or with both you will run into problems if you use either of them. If you know it is a Sprite or MovieClip only then use Sprite(root) or MovieClip(root).

    You can load and external into MovieClip you want.
    Last edited by cancerinform; 02-28-2008 at 11:19 AM.
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center