A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: swf to play in flash

  1. #1
    design junkie
    Join Date
    Jan 2005
    Location
    england
    Posts
    37

    swf to play in flash

    Hi im having a prob with loading an swf
    Into a move clip so it plays. The code im using is

    mymovie.loadMovie("file.swf");
    stop();

    I have the files all in the same folder but it just won’t work.
    It should be an easy one but I can’t get it to play the swf in my flash movie clip.

    Thanks for any help

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    try this
    Code:
    mymovie.loadMovieNum("file.swf",1);
    stop();

  3. #3
    design junkie
    Join Date
    Jan 2005
    Location
    england
    Posts
    37
    TY I have tried that but nothing comes up. The closest I have got is back to the old code, and then this comes up. But the file names are all the same it must be me missing somthing?

    Error opening URL "file:///C|/Documents%20and%20Settings/Administrator/Desktop/New%20Folder/file.swf"

    Any ideas?

  4. #4
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    post both of your .fla's will take a look at them for you.

  5. #5
    design junkie
    Join Date
    Jan 2005
    Location
    england
    Posts
    37
    i have just found a prob with the swf and tried again.
    it works thank you again

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