dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadMovie trouble

  1. #1
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182

    loadMovie trouble

    Hi,

    I'm having some troubles with the loadMovie method.
    Using the folowing code in an empty movie doesn't work:
    Code:
    this.createEmptyMovieClip("cont", 1);
    loadMovie("target.swf", cont);
    While this does:
    Code:
    loadMovieNum("target.swf", 1);
    I don't have any weird code in target.swf, so what could be the problem?

    Thanks!

  2. #2
    Member
    Join Date
    Jul 2005
    Posts
    63
    With the top code, since you're creating the empty movie clip, i think you will have to add the ".this" before the loadMovie....

  3. #3
    SaphuA SaphuA's Avatar
    Join Date
    Oct 2002
    Location
    The Netherlands
    Posts
    2,182
    Heh weird, I thought that didn't matter? It works now! Thanks.

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