This is a discussion on "diff. external mc question" within the Flash & Multimedia Forum section. This forum, and the thread "diff. external mc question are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
diff. external mc question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
diff. external mc question
loading the mc's is not the problem:
________________________________________ on (release) { _root.contents.loadMovie("mcname.swf"); } ________________________________________ im having problem with the overall loading. So i was thinking on a button i could put actionscript on a button _________________________________________ on (release) { gotoAndStop(4); _root.contents.loadMovie("mcname.swf"); } ________________________________________ once it gets to frame 4 it will stop and load my mc into a frame along with my xml thumbnails and everything.. well the main thing is how to get a preloader in there. should i put it in my main.swf or my external .swfs? and if i put it into the external .swfs what actionscript would i use? cuz i think the _root.gotoandPlay in the external movie is interfering with the main.swf also this coding only loads half of the preloader bar... (and my preloader image is correctly on the crosshair) _______________________________________________ onClipEvent (load) { this._xscale = 0; total = _root.getBytesTotal(); } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded(); percent = int(loaded / total * 100); _root.txt = percent + "%"; this._xscale = percent; if (loaded == total) { _root.gotoAndPlay(2); } // end if } ____________________________________ help lol. __________________ |
|
|
|
|||
|
Ok, this is pretty complicted stuff.
I've found that it's generally easier to have a loader inside each file you're loading. Of course it's much cleaner to have one loader in the main clip. Remember that you need to refer to each movieclip that you've loaded a file into when preloading and always remember to take into account that nothing will start loading 'immediately'. Other than that you're going to have to be more specific with your problem or include a link to a file so that I can see the full picture of what's going on. |
![]() |
| Tags |
| diff, external, question |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testing on diff. sized screens | lmc148 | Web Page Design | 4 | Jun 7th, 2008 13:24 |
| Displaying diff info on the same page | waheeddin | Web Page Design | 1 | Feb 23rd, 2007 19:56 |
| I looking for Java code of ExamXML XML diff tool | alapick | Other Programming Languages | 0 | Jul 7th, 2006 13:26 |
| Rollover Images in diff cells | efreeti | Web Page Design | 6 | Jun 16th, 2006 14:04 |
| Date Diff Help | kinjiro | Classic ASP | 3 | Aug 26th, 2003 13:22 |