PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
AS 2 How to remove a movieClip w/reference as a var
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to remove a movieClip w/reference as a var

  1. #1
    Member
    Join Date
    Sep 2009
    Posts
    57

    Question How to remove a movieClip w/reference as a var

    How would I remove this attachMovie?

    Actionscript Code:
    var fm_mc = attachMovie("my_object","my_object" + j,j);

    I have tried these codes with no success

    Actionscript Code:
    fm_mc.unloadMovie();
    unloadMovie(fm_mc);
    removeMovieClip(fm_mc);
    unloadMovie("fm_mc");
    removeMovieClip("fm_mc");

    Please help, I am using flash 10.2, in flash professional 5.5

    Thank you in advance.

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,863
    It should work! You're probably doing something wrong, so please provide FLA file
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

Tags for this Thread

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