A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: now that's what i call a Bug!

  1. #1
    _High Criteria
    Join Date
    Apr 2002
    Location
    _unknown
    Posts
    34
    lets go straight to my problem

    My first frame has following code:
    function refreshArtist (chosenArtist) {
    chosenArtistTEXT = chosenArtist;
    loadMovie (chosenArtist+".swf", "chosenArtistPLAY");
    loadMovie (chosenArtist+".swf", "chosenArtistOUT");
    gotoAndPlay ("play");
    }

    I have a button which has following action:
    on (release) {
    chosenArtist = "Shakira";
    gotoAndPlay ("out");
    }

    i have two movie clips named "chosenArtistPLAY" and "chosenArtistOUT" - explained later.


    i have a tweening animation in a frame labeled "out". The tweening is done for
    "chosenArtistOUT" and after the animation finishes the finished frame has following code:
    refreshArtist(chosenArist);


    this way i want to play the animation in frame labeled "play" for a motion clip - "chosenArtistPLAY".
    the problem the play frame is not played.
    what's wrong with my entire movie???????
    please help me out!!


    long huh...i hope u understood.
    its a copy of previous question

  2. #2
    United States Presidential Hopeful in 2028
    Join Date
    Dec 2000
    Posts
    756
    It looks like you need to target the play action.

    Instead of
    gotoAndPlay ("play");

    it should be
    chosenArtistPLAY.gotoAndPlay ("play");

  3. #3
    _High Criteria
    Join Date
    Apr 2002
    Location
    _unknown
    Posts
    34
    thanks for ur time. i'll try to make changes.

  4. #4
    _High Criteria
    Join Date
    Apr 2002
    Location
    _unknown
    Posts
    34
    that doesn't work!
    anybody with a better idea???
    its killing me

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