A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Controlling Multiple Movie Clips

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    England, UK
    Posts
    62

    Controlling Multiple Movie Clips

    Is there anyway I can send a 'Tell Target' command to more than one Movie Clip at the same time?
    britishperson.co.uk

  2. #2
    Member
    Join Date
    Oct 2002
    Location
    England, UK
    Posts
    62
    Oh yeah, of course there is. Sorry I'm a weirdo :-S
    britishperson.co.uk

  3. #3
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    there is a "with()" command that applies actions to all targets specified in the parens.

    EXAMPLE:

    with(_root.mc && _root.mc2 && _root.mc3) {
    play();
    }

    I'm not sure about the "&&". Whether it should be like that or a comma in between each. Hopee that helps

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