LoadMovie() Preloader Breaks In Mozilla
It's just that simple, N4,N6 and Opera screw up the loadMovie() preloader. IE 5.5 works fine everytime.
Essentially, they seem to be ignoring the code I wrote. I have a movie which show the status (perctage, total file size) a movie being loaded via loadMovie. However the Mozilla browsers do not seem to have any data returned from the getBytesLoaded() or getBytesTotal() functions.
So both must be set to zero, because the preloader only disappears when getBytesLoaded() - getBytesLoaded() == 0 and the percentage stats mentioned above is also zero.
Anyway, even though the preloader status movie prematurely disappears (as it should when the d/l is complete), the movie does actually download. That's the most important thing, so that's good news, but I need the preloader to work.
I guess I've found a new bug. The preloader actualy worked on Moz earlier just fine. I had to make a new preloader, though. And this new one doesn't work.
But why in the world would it not? It works in IE. Geesh!
I have but one thing left to try: rebooting...
FlashKit > Flash Help > Flash ActionScript
Posted on: 09-03-2001, 06:45 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
[F8] Adding My SWFs Breaks My Tables In Mozilla Firefox
Page in question:
http://www.johncliffordtaylor.com/cliff/
First of thx for taking the time read and assist. This problem when I add my SWFs to my HTML page it breaks the tabling and there some very ugly page disruptions that go on.
The funny thing is that this only occurs when the page is viewed "Mozilla Firefox". On the other hand when the page is viewed in "Explorer" it looks totally fine.
http://www.johncliffordtaylor.com/cliff/
Check it out and see for you self.
I'm open to suggestions and hope that someone has run into this before and knows what steps I can take to have the page be displayed properly in both IE and Moz.
Take it easy and have a great day!
[F8] Adding SWFs Breaks Tables In Mozilla Firefox.
Page in question:
http://www.johncliffordtaylor.com/cliff/
First of thx for taking the time read and assist. This problem when I add my SWFs to my HTML page it breaks the tabling and there some very ugly page disruptions that go on.
The funny thing is that this only occurs when the page is viewed "Mozilla Firefox". On the other hand when the page is viewed in "Explorer" it looks totally fine.
http://www.johncliffordtaylor.com/cliff/
Check it out and see for you self.
I'm open to suggestions and hope that someone has run into this before and knows what steps I can take to have the page be displayed properly in both IE and Moz.
Take it easy and have a great day!
LoadMovie And Mozilla
Flash MX
I have posted about this and searched like crazy for months. I have seen solutions but were nothing but bandaids that didn't help the problem.
Why does Mozilla browsers have problems loading dynamic images? My closest solution was to load all dynamic images and use the alpha or visible properties to display them. I can only use this method with limited images. I now want to use larger file sizes but my Mozilla users will have problems...
Any thoughts?
LoadMovie In Mozilla Firebird
Hi,
I've been testing my movie in Firebird (latest release for both the browser and plugin).
When I call loadMovie, occasionally the preloader will stop half way and then stall. But once I move my mouse the movie continues to load and everything is wonderful.
I'm not sure why this is happening. I use the basic preloader set up.
Any insight would be great.
Thanks,
alex
LoadMovie And Mozilla/Firefox
Having an issue with a really basic swf. I've got empty movie clips already created on the stage that loads jpg's into those clips using loadMovie. It displays and works perfectly in IE and standalone but will not display the loaded images in Mozilla/Firefox.
Anyone have an idea of why this is?
LoadMovie Breaks In The Browser
Hi all,
I'm trying to load a child swf into a parent swf. Everything works fine when its published thru flash, but when the swfs are played in a browser the parent swf cant find the swf to load.
I've encountered this problem a bunch of times, and what seems to happen is that flash will look for the swf file to load from the location of the html page, not the location the parent swf is actually in.
Did that make sense?
I'll ussually work around this problem by storing all the swf files in the same location in the directory....but c'mon....thats pretty goofy. There has to be a way to preserve my directory structure.
Anyone....?
-P.
[F8] Loadmovie Breaks Actionscript In SWF
Hi everyone!
My movie master.swf loads board.swf file 3 times. When I look at board.swf separately the actionscript etc & movie clips work fine. When board.swf is loaded into master.swf the actionscript for my object breaks(code-below) as well several buttons.
Even when I only load one instance of board.swf into master.swf I get the same result. Non-functioning actionscript and several non-working buttons.
Do I need to rewrite parts of my code for the board.swf or is the way I am loading the board.swf into the master.swf incorrect? Code for all to see is below.
Code for Master.swf wich loads the board object 3 times:
code:
// Load board Board 1
_root.createEmptyMovieClip("Board1",1);
_root.Board1.loadMovie("board_object.swf");
_root.Board1._x = 18;
_root.Board1._y = 0;
// Load board Board 2
_root.createEmptyMovieClip("Board2",2);
_root.Board2.loadMovie("board_object.swf");
_root.Board2._x = 18;
_root.Board2._y = 285;
// Load board Board 3
_root.createEmptyMovieClip("Board3",3);
_root.Board3.loadMovie("board_object.swf");
_root.Board3._x = 18;
_root.Board3._y = 450;
Here is the code inside of a movie clip inside the loaded board.swf file that stops working:
code:
textArr = ["id_txt","last_name_txt","first_name_txt",
"mi_txt","dob_txt","loc_txt","sdate_txt","stime_tx t",
"splanned_txt","stime1_txt"];
pnum = 0;
function fillTextFields(){
nLen = xmlFileBoard.firstChild.childNodes[0].childNodes.length;
trace("nLen = "+nLen);
pnum == nLen ? pnum = 0 : pnum;
trace("pnum = "+pnum);
aNode = xmlFileBoard.firstChild.childNodes[0].childNodes[pnum];
trace("aNode - "+aNode);
aLen = aNode.childNodes.length;
for(var x=0; x!=aLen; x++){
_root.box.Board_box[textArr[x]].text = aNode.childNodes[x].firstChild.nodeValue;
stime1_txt.text = stime_txt.text
}
};
xmlFileBoard = new XML();
xmlFileBoard.ignoreWhite = true;
xmlFileBoard.onLoad = fillTextFields;
xmlFileBoard.load("Mike.xml");
f_btn.onRelease = function(){
pnum++;
fillTextFields();
}
b_btn.onRelease = function(){
if (pnum != 0 ) {
pnum = pnum -1;
fillTextFields();
}
}
Here is code that stops working in a button...
code:
on (press) {
_root.box.upcoming_patient.gotoAndPlay(2);
}
I will keep searching the forums in the meantime...
[F8] LoadMovie Breaks My Code
I am using the following in conjunction with an XML file to dynamically load data:
Code:
for (i=0; i<myXML.firstChild.childNodes.length; i++) {
title = (myXML.firstChild.childNodes[i].attributes.linker);
this.attachMovie("blanker", title, i+10);
thisItem = this[title];
thisItem.title = (title);
picName = title + ".jpg";
thisItem.loadMovie(picName);
thisItem._X = myX+= (thisItem._width)+2;
thisItem._Y = myY;
thisItem.onRollOver = function(){
populateInfo(this.title);
}
thisItem.onRollOut = function () {
_root.info = "";
}
}
The populateInfo function should be called when I rollover the instances, but it isn't. I have done a little research and it looks like I have to wait until the jpeg is completely loaded into the file first.
I tried the following and that didn't work after putting an empty movieclip on the stage:
Code:
controller_mc.onEnterFrame = function(){
var bl = thisItem.getBytesLoaded();
var bt = thisItem.getBytesTotal();
if(bl>4 && bl>=bt){
thisItem.onRollOver = function(){
populateInfo(this.title);
}
thisItem.onRollOut = function () {
_root.info = "";
}
delete this.onEnterFrame;
}
}
I understand what I need to do, but I'm unsure how to do it. This tutorial explained why my onRelease functions wouldn't work, but I'm still confuzzled. Any help would be appreciated.
GotoAndStop Breaks LoadMovie?
I'm doing a straightforward loadMovie on a menu button. Click the button and an external swf is loaded into a target movie clip. This works when the target clip is at the same frame (different layer).
However, I add within the same on(release) that loads the movie-- _root.gotoAndStop("VideoTarget"); --and the gotoAndStop works, but the movie no longer loads. (Yes, the target clip is actually in that frame.)
What am I missing here?
'loadmovie' Breaks Mask
Ok lads, got a lot done rebuilding my site. I'm using loadmovie command to load individual scenes. I've got one scene with a neat little bit of animation using masks etc ( well I like it ). It's saved as a self-contained swf and as such it plays perfectly but when loaded using loadmovie the mask doesn't work, it shows up as the 'fill' I used to make the mask.
I used
studentgroup.setMask ("studentmask")
Loadmovie Issue In Mozilla/Firefox
I tried the search function but couldn't find the same problem as mine (I think).
I have made a site in Flash. Sections are loaded into the main movie (loadMovie).
Now comes the weird part, everything works great in IE but in Firefox it seems that the external swf's aren't loaded into the main movie. I have never seen this happening.
Does anyone have any clue (really anything) how this is possible? I am kinda desperate!
Eric
LoadMovie Problem In Mozilla Firefox
Hey,
My Flash app doesn't work in FireFox (but works in IE).
The problem I know is associated to loading external SWF and JPG files when using a BASE folder. Without the base folder it works fine. Here is some syntax I use:
[On Frame 1 of the base SWF, i.e. one frame before the preloader frame:]
....
_root.logo_mc.loadMovie("FlashFiles/Logo.jpg", "GET");
Note: This file never gets loaded into the BaseApp.swf. The object html tag looks something like this:
<OBJECT....
<PARAM NAME=movie VALUE="http://www......./flashapp/FlashFiles/BaseApp.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<PARAM NAME=="BASE" VALUE=="http://www......./flashapp/FlashFiles/">
<EMBED src="http://www......./flashapp/FlashFiles/BaseApp.swf" menu=false quality=high bgcolor=#FFFFFF WIDTH="600" HEIGHT="400" NAME="BaseApp" ALIGN="
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE="http://www......./flashapp/FlashFiles/"></EMBED></OBJECT>
What's the easiest resolution to get it working in FireFox as well as IE?
Looking on many forums on the web no one has been able to address this issue, maybe because Firefox is not supported by many developers or maybe I just don't know how to search
Let me know if you need any other info, many thanks.
LoadMovie Problem In Mozilla Firefox
Hey,
My Flash app doesn't work in FireFox (but works in IE).
The problem I know is associated to loading external SWF and JPG files when using a BASE folder. Without the base folder it works fine. Here is some syntax I use:
[On Frame 1 of the base SWF, i.e. one frame before the preloader frame:]
....
_root.logo_mc.loadMovie("FlashFiles/Logo.jpg", "GET");
Note: This file never gets loaded into the BaseApp.swf. The object html tag looks something like this:
<OBJECT....
<PARAM NAME=movie VALUE="http://www......./flashapp/FlashFiles/BaseApp.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<PARAM NAME=="BASE" VALUE=="http://www......./flashapp/FlashFiles/">
<EMBED src="http://www......./flashapp/FlashFiles/BaseApp.swf" menu=false quality=high bgcolor=#FFFFFF WIDTH="600" HEIGHT="400" NAME="BaseApp" ALIGN="
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE="http://www......./flashapp/FlashFiles/"></EMBED></OBJECT>
What's the easiest resolution to get it working in FireFox as well as IE?
Let me know if you need any other info, many thanks.
LoadMovie Problem In Mozilla Firefox
Hey,
My Flash app doesn't work in FireFox (but works in IE).
The problem I know is associated to loading external SWF and JPG files when using a BASE folder. Without the base folder it works fine. Here is some syntax I use:
[On Frame 1 of the base SWF, i.e. one frame before the preloader frame:]
....
_root.logo_mc.loadMovie("FlashFiles/Logo.jpg", "GET");
Note: This file never gets loaded into the BaseApp.swf. The object html tag looks something like this:
<OBJECT....
<PARAM NAME=movie VALUE="http://www......./flashapp/FlashFiles/BaseApp.swf">
<PARAM NAME=menu VALUE=false>
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<PARAM NAME=="BASE" VALUE=="http://www......./flashapp/FlashFiles/">
<EMBED src="http://www......./flashapp/FlashFiles/BaseApp.swf" menu=false quality=high bgcolor=#FFFFFF WIDTH="600" HEIGHT="400" NAME="BaseApp" ALIGN="
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE="http://www......./flashapp/FlashFiles/"></EMBED></OBJECT>
What's the easiest resolution to get it working in FireFox as well as IE?
Let me know if you need any other info, many thanks.
LoadMovie Breaks Actions And Events
I am loading an swf file onto a container like this....
ActionScript Code:
this.createEmptyMovieClip("loader",1);
loader._x=30;
loader._y=0;
loader._xscale = 60;
loader._yscale = 60;
loader.loadMovie("testdraganddrop.swf");
This causes the events/actions/draganddrops to stop working in the loaded movie.
But can create a work around.....
ActionScript Code:
//original and works in stand alone movie
if (this._droptarget == "/target1"){
//do something
}
//adjusted to work in loader
if (this._droptarget == _level0.loader["/target1"]){
// sort of works ok - drop on any target and is read as success
//do something
}
How can this movie be loaded and not have to go and fix all the actionscript?
Thanks,
Relative Path Breaks When Using LoadMovie - Only On PC
Hello & TIA -
I have a shell .exe which loads my main movie, which is in an "fscommands" folder, along with the other .swf files to be added as the main movie plays. The shell calls 'loadMovieNum ("fscommands/main.swf", 0);' - which should replace itself, correct? It DOES seem to, but when I call "other.swf" later (without pointing to "fscommands/other.swf"), it can't find it. However, if I move "other.swf" OUT of the "fscommands" folder, then it works - on a PC.
[FYI, Mac (it seems) correctly sees "main.swf" as being IN the "fscommands" folder, and so the relative path works.]
I'm guessing that the main.swf is orienting itself based on the shell's position - anyone know how I can get it to stop doing that?
(NOTE - update: now the Mac is behaving the same way - I think it's because I finally made the shell projector in MX - so obviously this is the "correct" way to handle the relative paths.
But doesn't it seem like a movie loaded into the projector, which loads another movie in the same subfolder shouldn't have to specify that subfolder again, using a relative path? Maybe it's just me... )
Flash, Mozilla (family), OnLoad, LoadMovie --> Bug
Hey
On my new website, I have a problem with every browser except for IE (I tested it out with Netscape 6, 7, Mozilla, Firefox and Opera). The preloader which loads the swfs in my main swf gets stuck at 0%.
I searched and searched for an answer and all I found is this german page on another forum that I translated. It talks about a problem related to the onLoad function in Flash using non-IE browsers. There's also an example if u scroll through the page.
Now, I don't even have an onLoad function in my swfs. All I have are some loadMovies. BTW, there's only one preloader (in my main swf) for every movie that I load. Its similar to this, but the code isn't the same: http://www.kirupa.com/developer/mx/p...transition.htm.
Did someone else already run into theses problems? Can someone help me out?
Thanks.
Loadmovie Breaks TabIndex Of Child Objects
Hi,
When I load an external SWF into a newly created movie, the taborder in that external SWF breaks.
Broken example:
var clip = this.createEmptyMovieClip("container_mc", clip.getNextHighestDepth());
clip.loadMovie("form.swf");
When I load this external SWF directly, with forms, inside the main timeline everything seems to work fine.
Working example:
this.loadMovie("form.swf");
This problem only seems to happen when you place your textfields inside different movieClips. The taborder stays working when your textFields are in the same movieClip. It's creating nested clips for your formsElements that is a problem.
Does anyone have an answer to this problem?
greetz,
Bart
Preloader - Breaks Everything
Hey!
Wonder if anybody could help me. I'm trying to create a preloader for my site. I can get the prelaoder to load, but the document class keeps on loading on the 1st frame (ive told it to load on the 2nd) - resulting in the error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at tornSite$iinit()
Also TweenMax dies and I lose all control over any movie clips.
If I take out the prelaoder and put everything onto frame one - it works perfectly.
I'm following a great tutorial from 8bitrocket
http://www.8bitrocket.com/newsdisplay.aspx?newspage=10807
Code from my document class:
Code:
package {
//
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.display.DisplayObject;
import gs.TweenMax;
import fl.motion.easing.*;
import flash.display.Loader;
import flash.display.LoaderInfo;
import flash.events.Event;
import flash.events.EventDispatcher;
import flash.events.ProgressEvent;
import flash.events.MouseEvent;
import LoadingBox;
public class tornSite extends MovieClip {
public static const SITE_LOADER:int=0;
public static const SITE_STARTED:int=1;
public var loadState:int = SITE_LOADER;
public var loadingBox:LoadingBox;
public var loaderStarted:Boolean=false;
public var titleStarted:Boolean=false;
public var percentLoaded:int;
public function tornSite ():void {
//
addEventListener(Event.ENTER_FRAME, runLoader);
}
public function runLoader(e:Event):void {
//
switch (loadState) {
case SITE_LOADER:
startLoader();
break;
case SITE_STARTED:
trace ("SITE LOADED")
removeEventListener(Event.ENTER_FRAME, runLoader);
startSite();
break;
}
}
public function startLoader():void {
trace((this.loaderInfo.bytesLoaded/this.loaderInfo.bytesTotal)*100);
if (!loaderStarted) {
if (this.loaderInfo.bytesLoaded == this.loaderInfo.bytesTotal) {
finishPreload();
}else{
loadingBox=new LoadingBox();
this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loadingProgress);
this.loaderInfo.addEventListener(Event.COMPLETE, loadingComplete);
loaderStarted=true;
loadingBox.x=200;
loadingBox.y=200;
addChild(loadingBox);
}
}
}
public function loadingProgress(e:Event):void {
percentLoaded=(this.loaderInfo.bytesLoaded/this.loaderInfo.bytesTotal)*100;
trace(percentLoaded);
loadingBox.update(percentLoaded);
}
public function loadingComplete(e:Event) {
trace("loadingComplete");
removeChild(loadingBox);
loadingBox=null;
this.loaderInfo.removeEventListener(Event.INIT, loadingComplete);
this.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, loadingProgress);
finishPreload();
}
public function finishPreload():void {
trace ("finishPreload")
loadState=SITE_STARTED;
}
public function startSite():void {
trace ("startSite")
this.gotoAndStop(2);
TweenMax.from(_site,2,{autoAlpha:0});
}
}
}
Please help!
Preloader Breaks Game
howdy!
I'm not a flash expert by any means so pardon any ingnorance...
I have a word find puzzle game (that I did not create) and am having a hard time adding a preloader.
The game is fairly simple - it sets up the squares with random placement of the words to find and fills in random letters in the empty spaces. When a user clicks on the first letter of the word, it's circled. When all the words are found, a "good job" message pops up.
I got a cute little pre-loader from a site. It works fine by itself but when combined with the swf game - no luck.
what i get....
-game reloads over and over looping the first (and only) frame. the random letters change each time.
- using stop() -game works fine but the "good job" never appears
either way I never see the preloader.
I have tried to put loader in the first frame, a new scene... currently thinking and external swf??
please, any help appreciated!!!!
Preloader Don't Work In Firefox Or Mozilla
Hey, I have this preloader and it works fine Internet Explorer, but it always screws up in Firefox and Mozilla!
To see a website that I used it with click here
Here's the code on the preloader:
Code:
onClipEvent (load) {
loadMovie(_parent._parent.loadin, _parent._parent.sideContent);
}
onClipEvent (enterFrame) {
loading = _parent._parent.sideContent.getBytesLoaded();
total = _parent._parent.sideContent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
//".25" is the speed of the bar if the movie is already loaded
per = int(percent);
percentage = per+"%";
loadBar._height = per*4.8;
//length the bar will grow in total
if (percent>99) {
_parent.play();
//what to do when it's done loading
}
}
Can anyone help me with this? Why does it not work in Firefox or Mozilla!?
Preloader Doesnot Work In Mozilla And Ns
Hey iam the new guy. working on my site and made a preloader, it works with internet explorer with no problem but page just freezes in firefox and ns. check it out
www.addrecordings.net help please iam stuck bad!!
Preloader Breaks Alpha Channel Mask
I have created a movie for a web site header that utilizes Flash 8's ability to have alpha channel masks using cacheAsBitmap. Everything works fine when I play the header movie itself.
However, I am creating a separate preloader movie that will display a progress bar while the header movie is loading. This preloader uses the standard MovieClipLoader class. I am able to load the external header movie; but when it finishes loading and begins playing, the alpha channel masks are gone. It only masks as in the olden days. What causes this and what can I do to correct this?
Thanks for the help!
Mitchell Killian (II Cor. 12:9)
www.integrityDC.net
"Except a man be born again he cannot enter into the kingdom of heaven." John 3:3
Adding Line Breaks And Paragraph Breaks In Dynamic Text - Best Method
I'm using dynamic text and wondering what is the best way (heck, any way) to mark line breaks or paragraph breaks. I'm curious about what Flash MX AS 1.0 is capable of/ supports. I have read a little about HTML enabbling and then using HTML tags, which is probably a good solution. Just wondering if there is something else, or if that is supported by AS 1.0 at all.
I have read a few threads on special characters (SC), including Moock's site, but line breaking doesn't seem to be part of SC.
And, I've read this, but it looks like it is for Action Script 2.0:
http://www.actionscript.org/forums/s...ght=line+break
Does anyone know off hand if AS1 supports CSS, or was that new in AS2.
-Thanks,
AB.
I hope everyone is not on holiday.
Loadmovie With Preloader (preloader Won't Work)
I finally managed to get my .swf to load into a movieclip on my main movie.
now the problem is that it doesn't show the preloader, it just sits there until it's loaded then starts to play.
i've read just about everything i got my hands on but can't figure out why the preloader won't play.
here is my code on my main movie's main scene
myButton.onRelease = function (){
_root.target_MC.loadMovie ("movie.swf"), 1);
}
any help would be greatly appreciated.
thanks
Preloader And LoadMovie ...
Hi,
I've got a problem with a movie I want to load in my main movie...
Here is the scene, I've a flash menu (which has a Preloader) and I want to load .swf when people clik on a button... This new movie is loaded in a blank movieclip. The problem is that this .swf files owns a preloader, and my menu doesn't want to load the movie because of the preloader... My scene is still blank after I clik on the button...
I tried not to put a preloader in the .swf movie, and there, everything is ok !
Can you help me...
Ps: Excuse my english... I'm a funky french !!
LoadMovie + Preloader
Hello,
I currently have a movie with a dummy movieclip where .swf files get loaded into. The .swf file, which for some reason, has on the first frame a movieclip with the tweens and information instead on the original timeline.
I am using the below for the main preloader:
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded ("Scene 1", 20) {
gotoAndPlay ("Scene 1", 10);
}
I tried inserting this on the first frame of the .swf file that gets loaded into the dummy movieclip but it does not work. I tried _root.swf_name.getBytesTotal and some other combinations in which I thought might work but was not able to get it to work.
Would anyone have any idea on how I can get a preloader on the .swf file that gets loaded in. Thanks in advance.
kusaDJ
Possible To Have A Preloader With A LoadMovie()?
I'm trying to run a preloader on a movie (swf) called by a loadMovie() from level0 into level1 but it isn't working. Seems the script references level0 no matter what I do. It's a very simple preloader for a movie with images.
First frame of movie: ifFrameLoaded (5);
gotoAndPlay (5)
Second frame: gotoAndPlay (1)
Fifth frame: The Images
Can anyone help?
Preloader And Loadmovie
hi to all flash crazy people,
i am stuck in a problem.
i am working on web site it structure is stated below
i am using levels ok now it goes like this, 1st comes the bar preloaded with percentage which is followd by intro
preloder in in scene1 one and intro is in scene 2, my navigation movie is seperate.
know i want both movies load together and then intro should be played first and then movie of navigation
be loaded in such a way that both movies look like one, inshort i don't want the viewer to wait after viewing intro
i know about level but when i will but loadmovie at end of intro it will take time to load and .....
can i load both movies at start and from getbytesloaded and totalbytes make a combined preloader
which will load movie in scene2(intro) and my external navigation movie.
i know u will be thinking that y i am not adding another scene and make my navigation there.
problem is i want to upgrade my intro freguently and i thought that levels will be good.
waiting.....for ur reply
thanx
adnan
Preloader With Loadmovie
hi
can you please help me
i search a preloader that shows how long the swf movie will take
the problem is it shows just the two last %
what can i do
Mc.loadmovie Preloader
Is there a way to make a preloader on movieclip.loadMovie ("filename.swf")? I tried several techniques (getbytesloaded, frameloaded) but none of them seem to work. Loading works just fine, but I want to have a progress indicator!!!
Olly
LoadMovie With Preloader
i am having some trouble getting a preloader to work when i load a swf into my main movie. i load the swf into a placeholder mc. the swf has a preloader in it which works fine when i test it, but when played from my main movie, it does not work.
any ideas on how to do this would be great. thanks.
LoadMovie And Preloader....Is This Right?
ok i want to load an external movie called 'home.swf' but when i do that i get a delay where it loads first. So to do a preloader for it i would load it into a level
loadMovieNum("home.swf", 1);
then do
_level1.getTotalBytes()
_level1.getBytesloaded()
for the preloader
do i put the preloader in the external movie or the one i'm loading it into.??
Also one more thing say i wanted the load the movie to a target like so
loadMovie("home.swf", "page");
would this work instead of doing it using levels for the preloading external movie.
thanks for any help. If anyone knows of sum examples pls post them. I hope can return any favours.
Loadmovie Preloader Bar... Help
frame1
loadMovie("1.jpg", "content");
frame2
actBytes = content.getBytesLoaded();
totBytes = content.getBytesTotal();
percent = actBytes / totBytes * 100;
loada._xscale = percent;
frame3
gotoAndPlay(2);
Well, It dosnt work. I *THINK* the problem is, MX will not goto the second frame until it has finished loading the 'movie' into the clip... Therfore will not progress the bar..
----
I'll probablly figure out a solution before someone replies, but advice would help, Thanks!
Loadmovie Preloader
has anyone got the code to show a percentage or bar preloader showing the progress of a .swf being loaded into another .swf - cheers.
Loadmovie Preloader
Hi.
I have a problem with some movies that I am loading externally within my flash project.
I have already loaded up a preloader and I want to use this again for when the external flash files are loaded up, but i have no idea how. These things happen when you dont use a program for 16 months...you really do forget it all!!!!
At the moment i am having to relaod the preloader for every external link, but this adds to the valuable loading time.!!
hope someone can help.
tom
Preloader And LoadMovie?
Hi,
thank you for reading this.
Is it possible or/and advisable to have a preloader that use the LoadMovie Command?? (The preloader should be a separate movie.)
thanx for answering!
ik.
Loadmovie's And A Preloader
Please help. I have a flash movie with some buttons which use the loadmovie command to load another movie into it. The movie is a page where you click on the button and it loads a song. the song is in the other swf file to keep the file size down. I am using a preloader in the song swf created with the getBytesLoaded and totalBytes to show a progress bar, but for some reason the progress bar in the music swf will not work when I load it into the main swf file. it works fine if I load the page on it's own, but when I use the loadmovie command to load it into the main movie nothing happens.
so my question is: (sorry!)
is there a way to create a progress bar for a movie if you want the movie to load into the main movie.
cheers!
Preloader With Loadmovie
If made some movies. Now i wanted to load them into my mainmovie. I did that with
on (release) {
loadMovie("movie.swf", "_root.rahmen");
}
it works. But the only problem is the Preloader. It doesnt preload the films but they have a prelaoder. If they are Short movies they are emidiatly loaded. The others don't load.
%%%(HELP)%%% Loadmovie Preloader
how would i be able to show the loading progress of a movie that is being loaded into another movie. i tried to have the preloader on the external .swf that is being loaded, but when i load it into the main flash, the preloader on the external .swf does not work! please help me! thanks
<hr>
LoadMovie Preloader HELP
Hi everyone!
I am making this Mercedes-Benz Showcase kind of thing (www.exciticgames.com), and I have the main movie. Then I have 4 seperate external swfs. Each swf loads into a empty target movie clip. Each swf has a small preloader in the beginning. I used, on (release) {, loadMovie("benz_side",_root.dropZone); }. Loading and everything works fine, but the preloader doesn't show up at all. How can I get it so it shows the preloader!? Please help, thanks in advance.
Christian
Loadmovie Preloader
How can I make a preloader that shows percentage/bar for a movie loaded in with LoadMovie?
I've tried using a normal preloader in the "to load" movie, but it doesn't work.
Is there a way to have the preloader assess how big the movie to load is, how a bar etc. and have the movie hidden until 100% is loaded (as seen on the bar)?
Thanks
--iMat
LoadMovie Vs. Preloader
Alright, this is my first post here.
I am not a stranger to Flash as an animation program, but I am a total actionscript n00b (though I understand the basics).
I have to build an animation episode which consists of several scenes including imported animationframes, a soundtrack, sound effects, vector animation... all in all, a LARGE frikkin' download.
Now my question: what is the best way to set up this animation so it will move seemlessly? Should I use a preloader, which is what I usually do, but this has the downside of a long wait for slower internet users. Or should I use the LoadMovie option, which I have no experience with, to load scenes seperately from each other.
What are the exact advantages of LoadMovie versus a preloader? Are there any other options to consider?
I would really appreciate any advice.
[EDIT] I use Flash MX, btw. [/EDIT]
LoadMovie With Preloader
hi hopefully someone can help me here ... im trying to get a preloader to work on a swf that im loading into a movie clip ... basically i have a heap of thumbs on the main stage and an empty movie clip on the stage so that when u click on the thumb it loads the swf into the empty movie clip ... problem is i cant get the preload to work on the external swf that im trying to load ...... all im doing is placing the preload script into the external swf i assume thats the correct way .... does anyone have an example of the way its done as i cant post the original work for people to go through sorry
thanks for any help
LoadMovie Preloader
Basically i want to load an external .swf file into _level0 or _root ( something like that ) but I need to script a preloader bar before that movie has loaded. Also I want to pass a variable to the file I am loading and I am not sure when to add the script to do that.
Loadmovie And Preloader
Hi all,
i has two swf files "call.swf" that call the other movie "site_ing.swf".
first swf (call.swf), has that code:
Code:
_root.bbb.onRelease = function()
{
loadMovie("site_ing.swf",_root.inside);
}
the site_ing.swf has that code to preloader:
Code:
onClipEvent(enterFrame){
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
//this.loadBar._width = getPercent*100;
_root.textloading.text = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
//_root.loading.play(2);
_root.gotoAndStop(2);
}
}
Run site_ing.swf without "call.swf" the preloader work nice, but with call.swf using loadmovie() just don't go to _root.gotoAndStop(2);
why?
tks all
LoadMovie + % Preloader
peepz,
how can i make a preloader with % for all the clips being loaded in the following code:
ActionScript Code:
for(i=0; i<menuXml.firstChild.childNodes.length; i++)
{
var temp_mc = mc.mcItem.duplicateMovieClip("photoContainer"+i, i);
temp_mc._x = (widthSpace * i)
//temp_mc.txt.text = this.firstChild.childNodes[i].attributes.model_number+".jpg";
temp_mc.collectionID = this.firstChild.childNodes[i].attributes.collection_id;
temp_mc.mcPhotoHolder.loadMovie(blaat+this.firstChild.childNodes[i].attributes.model_number+".jpg", i+100);
temp_mc.onRollOver = function()
{
this.mcOutline.gotoAndPlay(2);
}
temp_mc.onRollOut = temp_mc.onReleaseOutside = function()
{
this.mcOutline.gotoAndPlay(16);
}
temp_mc.onRelease = function()
{
_global.collectionID = this.collectionID;
// colID != ""
loadProduct(collectionID);
trace(collectionID);
}
startFeather();
updateMovie();
}
|