dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: can u get "attachMovie" to behave like "loadMovie"?

  1. #1
    Senior Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    100

    can u get "attachMovie" to behave like "loadMovie"?

    i want to load a movie clip from the library (linkage name "content" INTO a movieclip already on the stage (instanceName "host")and be able to controll "host" via actionscript and have the loaded content react accordingly.

    this is posible with "loadMovie" where you can specify a movieClip to load your external swf into. you can then move "host" around and the loaded content will follow.

    but attachMovie seems to act more like duplicateMovieClip where by you have to create a seperate instance at a new depth. which is no good for my purpose.

    does anybody know of anyway to get attachMovie to load the library item into a movieclip in this manner?

    thanks!

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    493
    if you use attachMovie within the intended MC it should work. Or target it directly from an external function, too

    If you get a problem with depths, use a tracker and update the depth reletive to correct.

  3. #3
    Senior Member
    Join Date
    Jun 2002
    Location
    UK
    Posts
    100
    thank you Jayhoo

    i have just realised that i was being a dumbass and not looking at it straight.

    problem solved

    thanks for your reply

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