A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Presumably a 'callAction' Problem ... ?

  1. #1
    Senior Mamba austriaman's Avatar
    Join Date
    Aug 2004
    Location
    Somewhere over the rainbow
    Posts
    472

    Presumably a 'callAction' Problem ... ?

    Hi, thanks for taking the time,
    The attached .fla features two buttons that both set off specific actions.
    More precisely: the attached .fla features two buttons that both SHOULD set off specific actions.
    If you extract them from the 'MC'-clip to the main-stage and delete the _root. (actionscript attached to both buttons), they miraculously work to rule. Now, I really need them to cooperate INSIDE of the movieclip rather than on the main-stage...

    (The original .fla holds 9 buttons; the attached one only features 2.)

  2. #2
    iron will
    Join Date
    Aug 2005
    Posts
    12

    cut and paste

    is it possible ot cut and paste the troubleing script?

    is it just a hierarchy problem?
    do you know how to use qualifiers?

    on(release){
    _root.instance_mc.instance_btn();
    }

    ?????
    Last edited by pubchum; 08-31-2005 at 10:46 AM. Reason: guess

  3. #3
    Senior Mamba austriaman's Avatar
    Join Date
    Aug 2004
    Location
    Somewhere over the rainbow
    Posts
    472
    Sure...

    button 1:
    code:
    on (release) {
    _root.NewPlay = "1";
    _root.call("Rewind");
    }

    button 2:
    code:
    on (release) {
    _root.NewPlay = "2";
    _root.call("Rewind");
    }


    I don't think it's a hierarchy problem.

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