A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: targeting from a loaded movie (MX)

  1. #1
    Member
    Join Date
    Sep 2001
    Location
    aussiestan
    Posts
    35

    targeting from a loaded movie (MX)

    ok...

    i did do a bit of a search first but couldn't find what i was lookin for so here i go...

    on the main stage i have two place holder movies.
    lets call them small and big.

    i have a couple of buttons along the top... when i push them i want to load things into the two place holders. which works fine.

    here's my problem. on one occasion a menu is loaded into the small placeholder and i want to control the loading of other movies into the big place holder from this menu.

    i know loaded movies take the properties of the placeholder so i tried to target the big placeholder accordingly and i also did a trace to see where i was at.
    i get _level0.small so the button i used does this on release.
    Code:
    loadMovie("service.swf", _level0.big);
    but alas the wanted movie does not load.

    .undef

  2. #2
    Member
    Join Date
    Dec 2000
    Posts
    73
    you seem to be mixing up up levels and targets, give your two place holders instance names, say "big_mc" & "small_mc"

    the use loadMovie like so:

    loadMovie("service.swf", "big_mc");

    &

    loadMovie("service.swf", "small_mc");

    that should do it
    Smrdo

  3. #3
    Member
    Join Date
    Sep 2001
    Location
    aussiestan
    Posts
    35
    thx for reply..

    i know because i mentioned level0 it may seem like i am mixing them up. i also tried _root.big, with same result.

    *edit* btw big and small are the instance names for the place holders whose symbol names are big holder and small holder.

    this targetting works from the buttons on the main stage. but not from the button in the loaded mc.

    hmmm it seems my problem is more than just from the loaded mc though.
    while i was waiting for replies i recreated the menu as a movie clip symbol within the main file. With same results.. for some reason i cannot target the big placeholder.

    the mind boggles o_O
    Last edited by undef; 06-26-2003 at 08:18 PM.

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