Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Help



Ok, I'm attaching movie clips from the library to a movie clip on the stage. What I'm trying to do is to unload the attached clip and the load the next clip from an array. Note, that each clip has audio on the timeline...and it is very important that the audio not overlap each clip that is loaded. However, I keep running into the same issue where the audio keeps playing, and the next movie clip is loaded. I would appreciate any insight into this...

I've figured out how to load it...just can't unload it properly.

ActionScript Code:
attachArray = new Array();attachArray.push("introClip", "productsClip", "orderClip", "serviceClip", "deliveryClip", "refundsClip", "billingClip");function attachIt(movieId, depth, myX, myY) {    clipLoader.createEmptyMovieClip("a", 1);    clipLoader.a.attachMovie(attachArray[movieId-1], "sectionClip"+movieId, depth, {_x:myX, _y:myY});    trace(attachArray[movieId-1]);}



Ultrashock Forums > Flash > ActionScript
Posted on: 2004-08-04


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

    Copyright © 2005-08 www.BigResource.com, All rights reserved