Pre-Loading Multiple SWF's From A Seperate Swf.
I want a swf on my first page to preload the swf's that are in my site.
FlashKit > Flash Help > Flash MX
Posted on: 05-29-2003, 09:27 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Recording Seperate Mousedown Actions On Multiple Instances
hi all.
this class creates a box that you can then 'colour in'.
i have instantiated a few of the boxes to the stage in runtime.
i would like to return a variable every time a box is coloured in so a checksum can be performed to check for the correct number of filled in boxes. not sure how to do this though.
any help would be much appreciated.
x
<code>
package colbox
{
import flash.display.*;
import flash.events.*;
public class colourbox extends MovieClip
{
private var box:Sprite=new Sprite;
private var paper:Sprite=new Sprite;
private var _mask:Shape=new Shape;
private var _border:Shape=new Shape;
private var ink_col:uint;
private var _borderink_col:uint;
private var _borderSize:int;
private var _boxSize:Number;
private var _fillin:Boolean=false;
private var _boxNum:int;
private var _Xposition:Number;
private var _space:Number;
private var _draw:Boolean = false;
public function colourbox (_ink:uint,_borderink:uint,_size:Number)
{
ink_col=_ink;
_borderink_col=_borderink;
_boxSize=_size;
_borderSize=Math.ceil(_size / 50);
box.graphics.beginFill (0xFFFFFF);
box.graphics.drawRect (_borderSize / 2,_borderSize / 2,_boxSize - _borderSize,_boxSize - _borderSize);
box.graphics.endFill ();
this.addChild (box);
_border.graphics.lineStyle (_borderSize,_borderink_col);
_border.graphics.drawRect (0,0,_boxSize,_boxSize);
_border.graphics.endFill ();
this.addChild (_border);
paper.graphics.lineStyle (_boxSize / 3,ink_col);
_mask.graphics.beginFill (0x1f);
_mask.graphics.drawRect (_borderSize / 2,_borderSize / 2,_boxSize - _borderSize,_boxSize - _borderSize);
_mask.graphics.endFill ();
box.addChild (_mask);
box.mask=_mask;
box.addChild (paper);
//this.addEventListener (Event.ENTER_FRAME,EnterFrame);
//function EnterFrame (event:Event):void
//{
box.addEventListener (MouseEvent.MOUSE_DOWN,_down);
box.addEventListener (MouseEvent.MOUSE_UP,Stop);
box.addEventListener (MouseEvent.MOUSE_MOVE,_move);
}
function _down (event:MouseEvent):void
{
trace ("down");
paper.graphics.moveTo (mouseX,mouseY);
_fillin=true;
_draw = true;
}
function _move (e:MouseEvent):void
{
trace ("move");
if (_draw == true)
{
paper.graphics.lineTo (mouseX,mouseY);
e.updateAfterEvent ();
}
}
function Stop (e:MouseEvent):void
{
trace ("stop");
e.updateAfterEvent ();
box.removeEventListener(MouseEvent.MOUSE_DOWN,_dow n);
box.removeEventListener(MouseEvent.MOUSE_UP,Stop);
box.removeEventListener(MouseEvent.MOUSE_MOVE,_mov e);
_draw = false;
if (_fillin == true)
{
this.box.graphics.beginFill (ink_col);
this.box.graphics.drawRect (_borderSize / 2,_borderSize / 2,_boxSize - _borderSize,_boxSize - _borderSize);
this.box.graphics.drawRect (_borderSize / 2,_borderSize / 2,_boxSize - _borderSize,_boxSize - _borderSize);
this.box.graphics.endFill ();
}
}
//}
}
}
import colbox.colourbox;
var box:colourbox;
var _numBox:int = 10;
var _space:int;
for (var i:int = 0; i<_numBox; i++)
{
var _boxnum:Number = i+1;
box = new colourbox(0xFFFF00, 0x698B22,80);
_space = (box.width + (box.width/10));
this.addChild (box);
box.y= stage.stageHeight - (box.height+20);
box.x = i*_space+(Math.round(((stage.stageWidth - (_space * _numBox))/2) + box.width/20));
box.name = "box"+_boxnum;
}
</code>
Loading A MC Into A Seperate .swf
I have a situation where I have a .swf with a button in it. Lets call this "movie A". When the button in "movie A" is clicked it loads another movie "movie B". I want to have a MC from "movie A" load into "movie B". I can get "movie B" to load but cant seem to get the MC to load into it. Can anyone help?
Cheers,
Twisted Peak
Loading Seperate Swf's One By One.
Hi.
I want to load 5 different swf's into 5 different containers. Is it possible to load one by one. First movie's loading completes and then the other one starts and so on...
Please help me with an example.
thank you all.
Loading Seperate Movies
ok i am trying to load a seperate swf file after an animation. here is my code
on the button:
on (release) {
_root.transition.gotoAndPlay(2);
_root.loader = about;
}
at the end of the animation:
loadMovieNum (loader+".swf", 100);
error code:
Error opening URL "file:///Macintosh%20HD/Desktop%20Folder/xrt/.swf"
does anyone know why this isnt working? thanks!
Asp? Loading Seperate Data Into Swf?
hi guys n girls,
k, i will give an outline of the job im doing:
1 movie clip... say about 600x800 in size.
a second movie clip which contains a face, clear background, and is on level one.
the third movie clip is blank and is on level 3, and its dragabble.
now what i want to do is be able to load a pair of sunglasses into the third (blank) movie... but it doesnt end there... the image that loads inot the movie will be determined by what image it is that they are clicking on in the main site...
eg.. say there are 50 images on a page... i want a person to be able to click on one of those images, and by using asp, i want that image to appear in the swf (blank) movie...
any ideas how this can be done?
the only other way for me to do it is to make 50 seperate swf movies with a different pair of glasses in it... and i dont want to do that, mainly because there are more like 5000 images in the database... plaease help!!!
thanks people
Loading Seperate Files?
I have some mc's, that I have from another file, and I want to copy and paste them into another file. They are not on the same file they are in different, which means they have diffrent scenes/librarys. If I copyframes/pasteframes will the symbols not show up, because the diffrent librarys. Is there a way to transfer the symbol, or open the other files into the main file?
-G.Guru.
Do Scenes Have Seperate Loading?
I have a question. On my site, www.angelfire.com/games5/moogame , well if I put in different scenes when u load my animations, does each one load seperatly? Like the loading screen is one scene, the intro is another, and the ending is another? Please tell me. Oh and check them out, gotta admit, for havin it 1 week im ok... I mean, I think I am.
Peace
Loading Seperate Movies
Is there a way to load a seperate movie (but not show it) just load it so it shows up quicker later when u call it in to the main movie?
http://jigga.surreal-media.com/test/layout.html
the news is part of a seperate movie, and sometimes it doesnt show up after the sites builds up.
Is it possible to load the news.swf as the site is creating itself and animating into place? then have it actually show after teh site is done building.
And then also, if i could load all the other links while its stopped on the news.swf?
How To Seperate Loading Times?
Hi all
I notice lots of professional flash sites where the loadin bar is activated only on every click to other pages so that the initial loading time will not be too long.
I tried doing this using 2 scenes , but it looks like it doesnt work..
any ideas on how to do this?
Loading Seperate Scenes
Hey
I've got a problem and I'm going to try to explain
Let's say I am making a site in flash about myself. It has 4 pages:
- Home
- Biography
- Hobby's
- Links
Every page is a different scene, and I make every scene load when the scene opens, but the problem is this:
When you open the site an click on the 4th button "Links" (Wich is the last scene) the button doesn't work for the movie has not loaded that part yet!
For some reason the movie loads from the first frame in the first scene to the last frame in the last scene.
My question is: is it possible to force the movie to load other parts first?
Like when you click the button "Links" that the movie starts to load the Scene "Links" even if the other previous scenes have not been loaded yet.
Loading Seperate Sections
I tried searching for this topic (as I imagined it has been asked before), but the search link wasn't working for me for some reason.
Anyway, I'm trying to load certain parts of a flash site only when they're called upon. For example, when somebody clicks the gallery section it loads the gallery. When the main swf is loading, I don't want it to have to load the ENTIRE swf; only the main section that links to the different areas. 2advanced.com does this. The main movie loads into the main section, then when you click "Portfolio" or something, that part of the site is loaded seperately and isn't included in the main loading.
How would I go about doing this? Would I have to just make the seperate section a different movie clip, or would I just make it load an entirely different swf file into the main swf? Either way, I'd be completely lost on how to do it... If anybody could point me in the direction of a topic that already answered this, or if somebody could answer it themselves, I'd greatly appreciate it. Thanks!
[F8] Loading For Seperate Pages
Sorry if this has already been answered, but I could'nt find it
Does anybody know a way of making pages in a flash website load seperatley, instead of waiting a long time for the whole thing to load on a preloader.
This is a nice example
For this to work do all of the pages need to be in MCs?
Thanks
Loading WMA's In A Seperate Player
Hi everyone,
I am currently constructing a page for a DJ and his friend. They intend to host their music on their FTP server. They have requested though that the WMA's load up in Windows Media Player, seperate to the site, e.g. When you click on the link, it opens WMP. I was wondering if anyone had any ideas on how to do this. I am stuck and dnt have a clue.
This obviously means that they will want to be able to update the name of the link themselves also, therefore i have made the links movie symbols with text boxs linked to external text files (if that makes sence) e.g. when they update the text file, the link name will change.
Any help would be great and its due for completion soon.
Its only my second site iv ever built.
Check out my first here; www.burnonfire.com
Thanks
Skellz
P.S. I keep getting a problem with this code --
this.onRelease = function() {
import mx.managers.PopUpManager;
import mx.containers.Window;
win = PopUpManager.createPopUp(_root, mx.containers.Window, true, {title:"Ryan Skelley Designs", contentPath:"Website.jpg", closeButton:true});
win.setSize(619.6, 464.7);
win.move(win.x + 71.7, win.y + 42.5);
lo = new Object();
lo.click = function() {
win.deletePopUp(mx.containers.Window);
};
win.addEventListener("click", lo);
};
I know that it is because the code is a MX04 code but i dnt know how to update it. It should produce a nice pop-up flash window.
Thanks
Skellz
Loading 4 Seperate MovieClips
Hi All,
Ok this probably has to be the stupidest question ever asked here on kirupa but I’m going to ask it anyways. You see I have 4 containers (mc’s). and according to the user it loads a different swf into it so what I wished to know is how to put a loader for each .The following steps explain it better-
Quote:
Step1- the user selects 4 clips they want to see and click next
Step2-there is a screen that says:
movie1-notloaded
movie2-notloaded
movie3-notloaded
movie4-notloaded
And after each movie is loaded the notloaded of each turns into loaded
Step3=the screen where is shows the selected mc’s
.
I just wanted to know how to make this possible.
Any help much appreciated.
Thanks,
Avi
Loading Seperate Swfs?
i have started creating a website and i would like to be able to load a swf from another swf.
here is a test of the site.
http://www.auvc99.dsl.pipex.com/test/index.html
i would like it so when the button 'home' is clicked it loads the swf 'home page.swf' into the area content.
is this possible ?
thanx
Loading Images Into Seperate Mc
hi i have this
inside holder_mc i have 4 mc called b0 through to b3
how do i have each image load into each mc
Code:
var thumbArray = new Array ("image1.jpg","image2.jpg","image3.jpg","image4.jpg");
holder_mc.onEnterFrame= function() {
for (var i=0; i<thumbArray.length; i++) {
holder_mc("b"+i,_x= i*20);
holder_mc.loadMovie(thumbArray[i]);
}
}
any assist would be great thanks
Loading Sound From Seperate .SWF
I know it has been done in Madness Interactive, which I did check up on and looked through the code and found nothing, as well as Googled a bunch of stuff, and still nothing. Can anyone help me with this? Many thanks in advance, wsp.
Loading Seperate XML Files
Hi all!
This problem has been bugging me for a while. I'm familiar with flash scripting but I was wondering if anyone could possibly tell me how I would load a seperate XML file using AS2 and Flash 8. Basically I'm looking to do a football/soccer results archive for each season of my local football/soccer team with lineups, attendance, referee and picture of the match programme etc. Ideally I could use a combobox to load a different season using an XML file then a list of the matches would load onto the page and by clicking on the match in the list it would load a match report scene with seperate XML for each match. I've been looking for examples...
http://www.clubatleticodemadrid.com/...imopartido.asp
http://flash2007.sport.repubblica.it...2007/index.swf
The 2nd example would be the best one as it doesn't use any ? characters in the URL. The 'GIOCATORI' section but I could alter the player profile to be a match report without a problem.
Thanks in advance and I hope someone can please help me.
Cheers
Shaun
Loading From A Seperate File?
I am making a flash, in which I have a short list of songs. How would I make it so that when you click on one of the song names, it loads the song from a seperate file (for example an mp3)? Or even just having the song in the flash file, but not loading until the user clicks on it would be nice.
Any help on the subject would be much appreciated
HELP Loading A Seperate Preloading Fla.
I have a main movie that is loading external swfs. in multiple levels. I have made a semi-complex preloader animation as a seperate fla.. How do I use this fla. to load my main movie, or all swfs?
Loading Up Seperate Flash Windows From A CD
In my Flash application (which is on CD not in a browser!) I'm using loadMovieNum to load up other .swf's (it's a portfolio piece) for people to try.
They all work except they are opening up inside the main movie (so I get these .swf's floating above the main portfolio).
I need to get them in their own Flash pop-up windows. Is there a piece of code I can enter onto the buttons that are loading these .swf's?
Can you please help?
I'd really appreciate your help, as my time is slipping away from me!
Problem Loading Seperate .swf Files Into A Third .swf . Help
I know this might seem stupid, but I've been trying for 3 days to figure out the code for loading 2 seperate .swf files into a third .swf file. I'm wondering if anyone could help me with this problem!
This is my code to load the first movie:
_root.loadMovie("movie1.swf",get);
When I try to add the code for my button bar to control the movie, the button bar .swf file covers the actual movie up.
This is my coded for that:
_root.loadMovie("movie1.swf",get);
_root.loadMovie("buttons.swf",1);
buttons.attachMovie("buttons.swf",1);
buttons._x = 20;
buttons._y = 400;
Could anyone tell me what's the problem to this rather simple code.
chris
Loading A Sound From A Seperate SWF (problem)
I want to load a sound thats inside a seperate swf than my main movie, the problem is this. It plays when you put the sound on to the timeline but when you use action script to play the sound it dosen't. But it plays when i play the movie on its own (the soundclip swf). This is so wired and i cant figure it out. Ive tried to explain this the best way possible and if theres anyone whos had the same kinda thing happen please help me.
Loading A Sound From A Seperate SWF (problem)
I want to load a sound thats inside a seperate swf than my main movie, the problem is this.
It plays when you put the sound on to the timeline but when you use action script to play the sound it dosen't.
And i would like it to play with action script.
And the other thing is that when i play the soundclip swf (using action script) it plays back to me but, when i call the movie from another swf it dosent play .
I so hope you understand.
This is so wired and i cant figure it out. If theres anyone whos had the same kinda thing happen please help me.
Loading Seperate Flash Files Within Each Other...
How do I open one flash movie file within another? I mean when I click a link on my movie I want it to load another movie that is transparent on top of the other the other one. Is it an action script or a behavior? how do I do it?
Loadmovie HELP Loading 2 Seperate Movies
I have a website where I'd like to keep one flash movie as a frame and the other I want to use as content inside.
I want to be able to click a button on my Frame that loads a movie inside my content.
here's a link to the situation the orange outer box is movie 1 and the inner black box is movie 2.
I'm sure it's just a simple actionscript code, I just don't know what to put as the variable to get it to change the 2nd movie instead of the 1st.
Thanks in advance...
http://hulkaholic.freecoolsite.com/main.htm
Loading A Seperate Sound Movie.
Ok so I have a main movie file, and a seperate movie for the sound to keep the file sizes low.
The Sound movie works fine when you preview it, but when the sound movie
is loaded into the main movie, it loads but the sound doesnt play.
here is the code im using for the sound movie:
var song:Sound = new Sound();
song.attachSound("sound");
song.start();
play_btn.onRelease = function() {
song.start();
};
stop_btn.onRelease = function() {
song.stop();
};
Any one have any ideas why its not playing? I cant figure it out.
Cheers, Simon.
Loading A Seperate Flash Document
Hi apologies if this has been covered numerous times before, I wasn't sure what to search for.
I'm trying to make a swf open in a new window when an object is clicked in the original swf. I'm sure this is a simple command but I only know the odd bits of action script and so far I can't seem to find the right command for the job.
Thanks in advance.
[F8] Loading Seperate Moviecilps With 1 Preloader?
hi guys! i was having a problem today that i just couldn't figure out and when coming to flashkit.com it said tht the last time i logged in was in 2003!!! wow!
well all u guys in the form never fail me yet. here's my deal.
i am loading 5 movieclips onto the stage layers using a frame action.
now i made each movieclip to have it's own little getBytes loader (u know)
but i don't want 5 different preloaders to be showing. i just want 1 preloader that show the viewer tht the whole movie is being loaded.
so i don't want it that one movie loads and whenever the viewer is ready to goahead that the other isn't ready, i want them all to be loaded.
i hope i explained this so so so.
thanx y'all
V
Loading Seperate SWF's Into A Main SWF File
Hello!
Does anyone know it it's possible to have a single SWF that holds many symbols and loads them all simultaneously at runtime in a seperate SWF.
For example if I need one main SWF displayed, I want 3 seperate SWF's containing different symbols and choose which one I want to load at runtime where the symbols will remain in their set positions in the main SWF?
I might not have explained that too well...
Loading Txt Files On Seperate Frames
I have a mc that has 4 frames in it. At the top is a menu with 4 buttons. In each frame I have a text field (with its own keyframe and individual instance name) that I load an external txt file into it. I want to load a different txt file for each menu item. (I have it working for a single txt file, I just cant get it to change to a different txt file when the menu button is pressed) I am trying to get it so when you click the menu button, it will go to a frame and stop, then load the txt file for that frame.
So if you click "menu item 2" it goes to frame 2 and loads that txt file into the text area. Click "menu item 3" and it goes to frame 3 and loads the appropriate txt file in to the txt area.
Code for the buttons (on its own layer):
button1.onRelease = function() {
this.gotoAndstop(1);
};
button2.onRelease = function() {
this.gotoAndstop(2);
};
button3.onRelease = function() {
this.gotoAndstop(3);
};
button4.onRelease = function() {
this.gotoAndstop(4);
};
Code to call each txt file:
//for frame 1
myData = new LoadVars();
myData.onLoad = function() {
// allow text to use html
myTxt1.html = true;
myTxt1.condenseWhite = true;
myTxt1.htmlText = this.content;
};
myData.load("textfile1.txt");
Each frame has its own script like this one just pointing to the appropriate text area and txt file.
Using Flash 8 Pro.
I cant get the menu part to work though....
Hope all that made sense.
Any help is greatly appreciated.
mike
Loading .swf's Into Seperate .swf's On An HTML Page : )
I have been trying to find recources on loading a .swf into a sepearte one.
for instance:
I will have an HTML layout with multiple flash movies. I know I can load movie into the .swf that the button is in.
my question is. can I have the navigazion on the left side of the screen communicate with another random .swf to load the additional content?
thank you all,
teamsv
Loading A Seperate Gallery Fla Into A Movieclip
I load an swf into an empty movie clip on the stage, but how do I position it, using x and y values, I figure its something easy, but just cant figure it out, its late and I been working on the gallery all day now I just need to poisiton it where I like it. Also can you load xml text into a movie clip or just a textfield because I would like to load text when you click on a certain button like Bio but when you click on a seperate button it loads in the gallery in the exact spot and the text disappears. Can someone please let me know how to do this or show me some code to do this.
Thanks
Loading Movie In Seperate Window...
How would u load a movie inside another movie like as a pop up so i could still see the bacground of the other movie??? I am able to load a movie into a movie but it resizes the window and i cant see the previous movie. Is there a way to do this??
Loading XML Node's To Seperate MovieClips ?
ok.. here goes... im confused, so this might not sound right. Here is what I am trying to do...
I have 9 square movieclips
each movieclip will hold an image generated from XML
when a user clicks a button, these 9 movieclips appear on the stage and each references the same xml file. Inside that xml file are 9 images. These images will display accordingly. 1st image to the 1st movieclip...etc.
here is my problem. I've managed to get one of these movieclips on the stage. and it loads the xml data, however, it loads all 9 images on top of one another.
I think i need some clarification on how this works.
Questions:
1. Should I create 9 different movieclips and 9 different xml files? (doubt it, but i know this would work)
2. Can I duplicate the movieclip 9 times, and tell it "hey, since your the 3rd movieclip...go get the 3rd image"
Below is my code I have with explanations. Thanks as always for the advise and help!
THIS IS THE CODE FOR MY 1ST MOVIECLIP -- NOW ITS GRABBING THE XML IMAGES AND PLACING ALL 9 IN THE MOVIE CLIP HOLDER ON TOP OF EACH OTHER.
Code:
var imageLoader:Loader;
var xml:XML;
var xmlList:XMLList;
var xmlLoader:URLLoader = new URLLoader();
xmlLoader.load(new URLRequest("xml/webimages.xml"));
xmlLoader.addEventListener(Event.COMPLETE, frameLoaded)
function frameLoaded(event:Event):void
{
xml = XML(event.target.data);
xmlList = xml.children();
for(var i:int = 0; i < xmlList.length(); i++)
{
imageLoader = new Loader();
imageLoader.load(new URLRequest(xmlList[i].attribute("source")));
imageLoader.x = - 72;
imageLoader.y = - 47;
holder.addChild(imageLoader);
}
}
again thanks for the help in advance!
Lance
EDIT: I am thinking the proper way to say this is "How do I get each node to a separate movieclip?" and further "Is it possible to duplicate that movieclip so I won't have to create 9 different movieclips to hold each of the 9 images?"
Button Code For Loading A Seperate Browser
I would like some help on the code used to bring a new browser up for an html file to be viewed. Like:
on (press) {
bring up in browser for new html
}
I am clueless here so ny help would be app.!!
Wade
Loading 2 Seperate Movies Into A Blank Movie
can some flash master figure this one out?
I have a main movie with a blank movie called "blankclip" to load movies into. I have a frame where the movie stops which has a layer which loads the "menustrips.swf" animation in the main movie:
_root.blankclip.loadMovie("menustrips.swf");
and also another layer/frame which loads "kanim.swf" which is also an animation
_root.blankclip.loadMovie("kanim.swf");
My problem is that only one of the movies load?
How can I load both these movies in my movie?
thanks
Loading Seperate .swfs In A Flash Movie?
Hi there,
I'm trying to load a seperate part of my flash movie, and I heard the only way to do this is to make the aprt i want to load as a seperate .swf and load it this way. But...I dont how to do this. And I dont know where to start about Levels!! I dont even know if that is revelant.
An example of what i need do is www.2advanced.com/flashindex.htm
It has a sections which load seperate to the rest of the site.
Please Help!
Many thanks.
Loading Seperate Movie Clips In A Scrollpane
I have a page with a scrollpane component , there are 3 different movie clips that I want to appear in the scrollpane (one at a time) which will be called by 3 buttons.
lets say the scroll movie clips are called
scroll1
scroll2
scroll3
Does someone know the EXACT actionsript code to put in the buttons to call up the different scrolls?
I know it was
<not set yet>.setScrollContent();
Here's the url to a test page I did a few weeks ago but I lost the .fla
http://www.ralphiedee.com/productpage.html
any help?
rdee
Loading Seperate Movies For Site Sections
reworking ptacnik.com and need to know the best way to load seperate movies for each "section"
In the first version of my site I used the "loadmovie" and the clipevent "click"... at least i think i did... but all I was really having it do was load each section overtop the other one, witch looked fine but slows down the fps when multible were in the background
I quess what my question is.. is what is the best way to load the different sections so only that section is playing...
... and does the "unloadmovie" completely "unload" or just remove from the main scene?
i want it to be able to load the sections seperatly (when the user clicks on that link) and still have it be loaded when they go back (but not continuesly playing in the background)
if anyone knows what im talking about I would most definatly apreciate the help
Question About Preloaders And Seperate Content Loading... Please Help
Allright here it the deal,
FRAME 1
loadpercent = "0%";
loadBytes = "0 of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" Kb";
FRAME 2
loadPercent = (Math.floor(_root.getBytesLoaded()/_root.getBytesTotal()*100)+"%");
loadBytes = (Math.round((_root.getBytesLoaded()/1024)*1000)/1000+" of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" captured");
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
loadPercent = "100%";
loadBytes = (Math.round((_root.getBytesLoaded()/1024)*1000)/1000+" of "+Math.round((_root.getBytesTotal()/1024)*1000)/1000+" Captured");
gotoAndPlay("preloadCENTRAL", 14);
}
FRAME 3
gotoAndPlay("preloadCENTRAL", 12);
This is the script im using for the main loader of content for my site. This seems to wok fine other than the fact that it reads 1003kb insted of the 755 that the file actuall is.
What the problem is though, is that when I used the script....
on (press) {
gotoAndStop("CENTRAL", 9);
unloadMovie("loadhere");
loadMovie("pre.swf", "loadhere");
}
....for the buttons on the main menu, it will load the content were it needs to be, but the preloaders for the individual section will not work. Its just a blank spot untill the entire section is loaded.
All the other sections use the same script for loading as the one above (except the name preloadCENTRAL is changed to prelaodPRE and so for each section)
I guess my question is... is the main loader trying to load all other seperate .SWFs? I guess I dont understand why when i preview just the PRE.swf by itself, the loader works fine, but when It is loaded through Site-CENTRAL (the main scene, menu,ect) it doesn't seem to work. What it does is just start to play the section that has been "loaded" but it just streems as its loading so obviosly it doesn't play right.
Any help would be very much appreciated
THANX
Derek Ptacnik
Loading Music Seperate Of The Main Feature
What I'm trying to do is make 2 flash files (swf), one with the main feature and the other with the sound track I have playing in the background, then have them load at the same time and play out like normal.
Loading An External File From A Seperate Domain?
I am creating a members zone for my website, the swf reads an xml file with all the user's data in it, the main account I have on the net does not support php so I'm using a free hosting account that has php to write to the xml file when someone signs up.
My problem is that when I attempt to load the xml from the freehosting address it just does nothing and doesn't even read it.
The swf is at the main domain: jacobclarkezone.com, and the xml is at an external address: jclar150.my-place.us.
Can anyone help?
Thanks in Advance
Combining Seperate Movies For Loading Purposes
Hi there,
Not an expert as will become patently obvious from the below but I have four swf files on this page one after the other...
http://www.gfnmeubles.com/chests.html
Instead of waiting for them all to load before the page 'starts', what I would really like is to be able to force the loading of the top one first, then the second one etc - I guess I will have to combine them somehow ?? or am I barking up the wrong tree....
LOADING SEPERATE SWF's INTO ORIGINAL FLASH SITE
Please Can Anyone Help As I Am A Beginner At This, I Have Created A Flash Intro That Then Brings Up The Main Navigation Area, Within This Are There Is A Drop Down Menu System With Buttons I Then Have A Small Stage Are That I Want To Load Each Seperate Swf File As The User Clicks On The Button, And Then Close Them As They Move On And Click Another Button, How Can I Achieve This Easililt, Please Help As I Am New To This And Try To Explain In Easy Terms !!!!
Loading Seperate Movies With Flash MX Action Script
I loaded a quicktime movie into flash mx. I made a seperate movie for a button bar. I'm trying to load my button bar with the quicktime movie, so, the button bar will interact with the movie without making them together. I want to have them seperate, so, I will be able to revise one without the other. This is my code, I have the button movie displaying, but without interaction with the main movie. Can someone help?
_root.createEmptyMovieClip("buttons",3);
buttons.loadMovie("buttons.swf",3);
buttons._x = 20;
buttons._y = 400;
Flash 5/ Problem Loading Swf Into MC From BUTTON NESTED In A Seperate MC
Ok, I am trying to load a swf into a Movie clip (no problem with that alone.) But as soon as I put the same button inside a different movie clip, I have trouble.
I adjusted the code to say:
Quote:
_root.loadMovie ("yadda.swf", "WelcomingClip");
Rather than:
Quote:
loadMovie ("yadda.swf", "WelcomingClip");
(which originally worked.)
So what am I doing wrong?
Swfs:
Working:
http://blackmountainfamilycenter.org.../movieTest.swf
Not Working:
http://blackmountainfamilycenter.org...s/loadTest.swf
Flas:
http://blackmountainfamilycenter.org.../movieTest.swf
http://blackmountainfamilycenter.org...s/loadTest.fla
Thanks for looking! I hope you can help!
Loading Seperate Html Files In Frames With Flash
i need usability and speed, and with the skill that i have making a full flash site takes away both. so im making an htmml/flash hybrid(for lack of a better term). it will have a flash header with buttons on it..with an html frame under, all in a separate html page. this is probably very easy but i cannot figure out how to script theflash buttons so that they gourl to an html page, in the html frame, and not in the flash frame. could someone perhaps provide a sample of this type of script? thank you.
|