A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to load external SWF into movie clip?

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Location
    near Tucson, Arizona (USA)
    Posts
    23

    How to load external SWF into movie clip?

    I'm using CS4 / ActionScript 2.0.

    This should be really easy and basic, but I can't make it work to save my life. I've made an empty movie clip on the stage and named it question1. I want to load into that clip an external SWF named Q1.swf, and I want it to play as soon as the user accesses the page in the course that the question1 movie clip is on.

    I've tried various versions of onEnterFrame and the MovieClipLoader class, but I can't get the syntax right.

    Heeelp!

    Thanks in advance.

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Location
    near Tucson, Arizona (USA)
    Posts
    23

    Meh...figured it out myself

    Code:
    loadMovie("Q1.swf","question1");
    Add it as a frame action rather than a move clip action.

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