diff. external mc question

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.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 27th, 2005, 03:39
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
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.
__________________

  #2 (permalink)  
Old Apr 30th, 2005, 10:18
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
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.
  #3 (permalink)  
Old Apr 30th, 2005, 19:01
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
oh its cool i ended up just putting preloaders inside the external mc's cleaner

thx though
Closed Thread

Tags
diff, external, question

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 19:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43