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




Loading Multiple FLV's With Use Of PHP



Hi there,I have a little problem over here.. I want to play video's on my site, working with Flash 8, and sorenson squeeze.I have 3 FLV's, 1 SWF(The video player) and I want to be able to controll the SWF using PHP. I want to put the SWF on 1 page and then select a FLV by grabbing a number / combination of characters from the URL to that page (Like videoplayer.php?flv=flv1)The problem is that I have no Id how to get that variable into the SWF, I suppose it will have to be done with the $_GET["flv"]; code, but I seemed not to be able to figure out how to work this out.:: FLA :: :: SWF :: :: FLV :: Don't look at the filenames, they might be a little confusing.I can't give you guys the code of my page where the SWF is nested on, because I would have to post about 2000 lines of code then.. I guess the Forum would crash if I did.. But the code on that page won't be wrong.. simply because of there is no code that has anything to do with this problem, I just don't seemed to be able to figure out how to do it..Btw: I couldn't find anything with the search function, probably didn't enter the right keywords...



General Flash
Posted on: Wed May 10, 2006 5:59 pm


View Complete Forum Thread with Replies

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

Loading Multiple Txt Variables Into Multiple Txt Fields From One Txt Doc - POSSIBLE?
I'm wondering, for efficiency sake, if it's possible to load into my main timeline multiple text variables from ONE external .txt document then have that information populate multiple dynamic text fields located in an MC within an externally loaded .swf. held in a containerMC on _level0?-eg path. _level0.containerMC.MCInstanceWithinLoadedSwf.???
If this is possible, how would it be done?Would I simply just use one loadvariableNum action for all?How would the text within the .txt doc be formatted?
- would I simply just list what each textfield variable is = to?

Loading Multiple Images Into Multiple MC's
Hiya

Basically I have an image gallery where I want to load jpg's into seperate MovieClips and then have some onRelease, onRollover etc actions attached to them. I've managed to write what I need, but now the problem is that if I have 50 pics in my gallery I will have to repeat this code 50 times!!!

Can someone show me how to put this in a for loop or an array, or whatever I need to do so I can write it once, not 50 x.

Here's what I've got so far...




loadMovie("images/thumbs/thumb1.jpg", this.btnHolder.inside);


btnHolder.onRelease=function (){
_root.select = 1;
if (_root.cur == 0) {
trace("same pic!");
} else {
_root.fadeOut(0);
}
}

btnHolder.onRollOver=function (){
this.gotoAndStop(2);
}

btnHolder.onRollOut=function (){
if(_root.select == 1){
this.gotoAndStop(2);
}else if
(_root.select == 0){
this.gotoAndStop(1);

}
}




PLEASE HELP ME.

thnx

Loading Multiple Swfs And Xmls Started Before Finished Loading
Hi,

I have a encounter a problem regarding loading of the swfs and xmls files.
A preloader is done for these items. However it started playing before everything (swfs and xmls files) is loaded.

I have an array to contains all the files to be loaded. Using this array, i checked and see if the items are all loaded. If loaded, they will jump to the ready frame.

Anyone have any idea what is wrong??

Thanks.

Need Your Help Loading Multiple External Text Into Multiple Dynamic Text Fields
Hi all,

I can't seem to get the external tex file loaded into a dynamic text field.
I am trying to display an external text file into a dynamic text field using a next page button. The layout is this I have 80 frames. Frames 1-10 with a static text field with text & a next page button and Frames 11-20 with a dynamic text field with a previous button. I want to onRelease of the next page button in the first set of 10 frames to load the external text file into the dynamic text field of the next set of 10 frames. Also, being able to jump back and forth from next page to next.

Below I layed out all the contents in my test.fla file.

Hope this will give you an understanding of what I am trying to do.

I need to be able to click a next page button and loading an external text file into a dynamic text field, vice versa.

I have set the variable in the text file.

I used this code to try and load the text file into a dynamic text field, using actinscript. Which frame or frames do I need to include this script in? I know it has got to be multiple ones.

var styles = new TextField.StyleSheet();
styles.load("cssdocName.css");

textfieldName.html = true;
textfieldName.styleSheet = styles;

var lv:LoadVars = new LoadVars();

lv.onData = function(content) {
textfieldName.text = content;
}

lv.load("htmldocName.html");

Thanks for your time!


I have 6 different layers with 80 frames:

Layer titles:
- labels
- actions
- next_prev buttons
- contents
- tabs
- outline

Now in each layer:
- outline layer: just an outline border [displayed in Frames 1-80]

- tabs layer: movie clips tab1, tab2, tab3 within each tab is a movie clip
called bottomline [displayed in Frames 1-80]

- contents layer: Static Text Field [displaying text in Frames 1-10]
Frame 1 ActionScript
stop();

Dynamic Text Field instance name dpmoreinfo_txt
[displayed in Frames 11-20]
Frame 11 ActionScript
stop();

Dynamic Text Field instance name dpmoreinfo2_txt
[displayed in Frames 21-30]
Frame 21 ActionScript
stop();

Static Text Field [displaying text in Frames 31-40]
Frame 31 ActionScript
stop();

Dynamic Text Field instance name spmoreinfo_txt
[displayed in Frames 41-50]
Frame 41 ActionScript
stop();

Static Text Field [displayed text in Frames 51-60]
Frame 51 ActionScript
stop();

Dynamic Text Field instance name cmoreinfo_txt
[displayed in Frames 61-70]
Frame 61 ActionScript
stop();

Dynamic Text Field instance name cmoreinfo2_txt
[displayed in Frames 71-80]
Frame 71 ActionScript
stop();

next_prev buttons
layers: dpmoreinfonext_btn [Frames 1-10]
Frame 1 ActionScript
dpmoreinfonext_btn.onRelease = function() {
gotoAndStop("dpmoreinfo");
};

dpprev_btn & dpmoreinfo2next_btn [Frames 11-20]
Frame 11 ActionScript
dpprev_btn.onRelease = function () {
gotoAndStop("DataPulse");
};

dpmoreinfo2next_btn.onRelease = function () {
gotoAndStop("dpmoreinfo2");
};

dpmoreinfoprev_btn [Frames 21-30]
Frame 21 ActionScript
dpmoreinfoprev_btn.onRelease = function () {
gotoAndStop("dpmoreinfo");
};

spmoreinfonext_btn [Frames 31-40]
Frame 31 ActionScript
spmoreinfonext_btn.onRelease = function () {
gotoAndStop("spmoreinfo");
};

spprev_btn [Frames 41-50]
Frame 41 ActionScript
spprev_btn.onRelease = function () {
gotoAndStop("StructurePulse");
};

cmoreinfonext_btn [Frames 51-60]
Frame 51 ActionScript
cmoreinfonext_btn.onRelease = function () {
gotoAndStop("cmoreinfo");
};

cprev_btn & cmoreinfo2next_btn [Frames 61-70]
Frame 61 ActionScript
cprev_btn.onRelease = function () {
gotoAndStop("Courses");
};

cmoreinfo2next_btn.onRelease = function () {
gotoAndStop("cmoreinfo2");
};

cmoreinfoprev_btn [Frames 71-80]
Frame 71 ActionScript
cmoreinfoprev_btn.onRelease = function () {
gotoAndStop("cmoreinfo");
};

labels layer: Frame name is DataPulse [Frame 1-10]
Frame name is dpmoreinfo [Frame 11-20]
Frame name is dpmoreinfo2 [Frame 21-30]
Frame name is StructurePulse [Frame 31-40]
Frame name is spmoreinfo [Frame 41-50]
Frame name is Courses [Frame 51-60]
Frame name is cmoreinfo [Frame 61-70]
Frame name is cmoreinfo2 [Frame 71-80]

Actions layer: Frame 1 ActionScript

contents.stop();
numberOfTabs = 3;
for (i=1; i<=numberOfTabs; i++) {
line = eval("tab"+i);
line.onRelease = function() {
for (i=1; i<=numberofTabs; i++) {
otherTabs =
eval("this._parent.tab"+i);
otherTabs.bottomLine._visible =
true;
}
this.bottomLine._visible = false;
contentFrame = Number (this._name.substr(3,
1));
this._parent.contents.gotoAndStop(contentFrame);
}
}
tab1.bottomLine._visible = false;

tab1.onPress = function() {
gotoAndStop("DataPulse");
};

tab2.onPress = function() {
gotoAndStop("StructurePulse");
};

tab3.onPress = function() {
gotoAndStop("Courses");
};

Loading One Movie Vs. Loading Multiple Movies?
Greetings All,

I'm looking for some advice on the approach to loading multiple content "panels" on a website -- let's say we have a mini-intro panel (logo, tagline, etc.) and a news panel (rotating blurbs you can click on).

From a performance and optimization stance, is it better to:

1) create each panel as its own .SWF and load each one separately on a web page;

2) create each panel separately, and then use loadMovie(); to insert one into a layout space within the other;

3) just build all the functionality into one big honkin' .SWF.

I'm leaning away from Option 3, just for "simplicity of development" reasons.

My concerns are performance quality (will one approach run slower than another?) and bandwidth issues (how will dial-up users experience different approaches?).

I'm sure some of you have run into this before. I'm interested in your opinions.

Thanks.

Loading Multiple .jpgs With One Loading Bar
ok, i have a dynamic slideshow thing, and i want to load all the thumbnails with just one loading bar to represent the progress of them all...they are loaded from an XML file, and im using the MovieClipLoader class to load them...any examples for code? i can post my project if youre still confused, its just kinda big right now

Loading Multiple .swf
Trying to find a way to NOT go to the beginning of a loaded swf at certain times it's called up.

I have 2 swfs, for example movie1.swf and movie2.swf. movie1.swf is on Level 0, and a button in it loads movie2, on Level 0. That part is fine.
However, I want the button in movie1.swf to load movie2.swf , but go to and stop at a particular framelabel, in movie2.swf main timeline, named 'new work'.
this actionscript doesn't work (placed on the button)it just plays the whole movie:
on (release) {
loadMovieNum("movie2.swf", 0);
gotoAndStop("new work");
}

Both movie1.swf and movie2.swf have a small percentage preloader in their first scene.

Sure appreciate any ideas...

Multiple Loading
Hi...all

I have 6 button on my main movie....every button when clicked will load .swf file , so I want to make just one code for all the button...that I dont need to make 6 preloader code...

Could I make it...maybe with variable


Many Thanks......

Multiple Swf Loading
it's possible to preload multiple swf's at once? HOW!!!!?????

Multiple Mp3 Loading
I had this working for a single mp3, thing I slightly changed it so that it can do multiple mp3's ... and now it doesn't work. Can anyone see what would be wrong in my script?

mySounda = new Sound();
mySounda.loadSound("Track2.mp3",false)
mySoundLoading = 0;
_root.sounds.loadBar._xscale = mySoundLoading;

function loadMP3() {
mySoundBytesTotal = mySounda.getBytesTotal();
mySoundBytesLoaded = mySounda.getBytesLoaded();
mySoundLoading = Math.round((mySoundBytesLoaded/mySoundBytesTotal)*100);
if (mySoundBytesTotal == mySoundBytesLoaded && mySoundBytesTotal > 0) {
mySounda.start(0,1)
_root.sounds.textd = mySounda.id3.TIT2;
_root.sounds.playing = true;
} else {
_root.sounds.textd = mySoundLoading + "%";
_root.sounds.loadBar._xscale = mySoundLoading;
}
}

this.onEnterFrame = function(){
loadMP3();
delete this.onEnterFrame;
}

mySounda.onSoundComplete = function() {
mySounda.loadSound("Track3.mp3",false);
mySoundLoading = 0;
loadMP3();
}

Multiple Txt Not Loading...why Not?
I have a movie with six dynamic txt fields that needs to be populated with txt from external txt file. This is the code:

Code:
stop();
//Create the LoadVars object and load data into it
myData = new LoadVars()
myData.load("anastasio2.txt")
//Make a reference to current timeline
myData.ref = this
//Callback handler and data fetching
myData.onLoad = function(succes){
if(succes){
for(var i=0; i<this.cant; i++){
this.ref["Title_txt"+i].htmlText = "<b>"+this["Title"+i]+"</b>"
this.ref["Comments_txt"+i].text = this["Comments"+i]
this.ref["holder_mc"+i].loadMovie(this["Image"+i])
}
} else trace("Error loading data")
}

Have given instance names Comments_txt0, Title_txt0 - Title_txt4 and loader is present.

This is the content of the txt file:

Title0=Problem&Title1=Scary?Title2=Very Scary.Title3= Weird&Title4=more txt to go here&Comments0=You have had an accident whilst on holiday.

Kept txt in same folder as swf, but when played no txt is loaded. What am I doing wrong? Appreciate help

G

Multiple Loading SWF's
Can you load 2 SWF files at the same time, on the same webpage, and not have the movies run until they both have loaded?

Basically I created 2 SWF movies in Flash 8, placed them both onto a webpage in Frontpage.....they are of different sizes, and i don't want them to play until both movies have loaded.

Please Help! Thanks in Advance

[CS3] Multiple XML Loading
Greets all,

A question that some developers will likely find to be elementary... but please humor me... I've been doing mostly physics emulation in AS lately and haven't done much data management in XML.

AS 2.0, Flash 9 and CS3 authoring

I'm trying to make a dynamic portfolio for a graphic design firm in which the samples are in a gallery split by type of project. The SWF has header buttons (Print, logos and web) and then sub heading buttons (corporate, entertainment, etc.)

All of these buttons are on the main timeline. A movieclip called "gallery" sits below them. Inside this clip, I need a different XML to load based upon which button is clicked.

I'm at a loss on how to make each button choose an XML and then make the loadXML function run again, or continuously check to see if a button has been clicked and changed.

Code:
xmls = new Array();
xmls[0] = "cflyers.xml"
xmls[1]= "qflyers.xml"
xmls[2] = "bc.xml"
xmls[3] = "posters.xml"
xmls[4] = "cds.xml"
xmls[5] = "clogos.xml"
xmls[6] = "qlogos.xml"
xmls[7] = "tshirts.xml"
xmls[8] = "characters.xml"
xmls[9] = "csites.xml"
xmls[10] = "qsites.xml"
xmls[11] = "myspaces.xml"

for (i=0; i < xmls.length; i++){

trace (xmls[i]);
};

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;


xmlDatab = new XML();
xmlDatab.ignoreWhite = true;
//xmlDatab.onLoad = loadXML;



xmlData.load(xmls[0]);

function loadXML(loaded) {

if (loaded) {

xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;

for (i=0; i<total; i++) {

image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();

} else {

content = "file not loaded!";

}

}
I can't figure out how to accomplish this. I've put the XML names into an array, and was considering making each button change the index value. Am I on the right track, or am I approaching this from the completely wrong angle? Any help would be greatly appreciated.

Loading Multiple .swf Into 1
Hi,

i'm using the below AS for my movie loader and has been trying to modify it so that it will play in loops and also to set the size of the empty movieclip created to 80% so that the external .swf files will be played in that size, but invain. could any kind soul pls enlighten me on that. Deeply appreciated.


Code:
mc_1.loadMovie("linkmenu.swf",0);
stgMovies = "mc1swf,mc2.swf,mc3.swf,mc4.swf";
rraMovie = stgMovies.split(",");
nbrStartLevel = 5;
fncLoadLaunch = function () {
rraLoadStatus = new Array();
for (var icrIdx = 0; icrIdx<rraMovie.length; icrIdx++) {
rraLoadStatus.push(false);
}
_root.createEmptyMovieClip("mvcLoad", 0);
var nbrMovie = 0;
var blnLevelLoad = false;
var nbrLevel = 0;
var rfcLevel;
mvcLoad.onEnterFrame = function() {
if (!blnLevelLoad) {
if (nbrMovie<_root.rraMovie.length) {
blnLevelLoad = true;
nbrLevel = _root.nbrStartLevel+nbrMovie;
loadMovieNum(_root.rraMovie[nbrMovie], nbrLevel);
} else {
delete this.onEnterFrame;
this.removeMovieClip();
}
} else {
if (this["_level"+nbrLevel]) {
rfcLevel = this["_level"+nbrLevel];
rfcLevel._visible = false;
if (rfcLevel.getBytesLoaded()>10 && rfcLevel.getBytesLoaded()>=rfcLevel.getBytesTotal()) {
_root.rraLoadStatus[nbrMovie] = true;
rfcLevel._visible = false;
blnLevelLoad = false;
if (nbrMovie<1) {
fncPlayLaunch();
}
++nbrMovie;
}
}
}
};
};
fncPlayLaunch = function () {
_root.createEmptyMovieClip("mvcPlay", 1);
var blnLevelPlay = false;
var nbrMovie = 0;
var rfcLevel;
var nbrFrameLast = 0;
mvcPlay.onEnterFrame = function() {
if (!blnLevelPlay) {
if (nbrMovie<_root.rraMovie.length) {
if (_root.rraLoadStatus[nbrMovie]) {
blnLevelPlay = true;
rfcLevel = this["_level"+(_root.nbrStartLevel+nbrMovie)];
rfcLevel._visible = true;
rfcLevel.play();
nbrFrameLast = 0;
}
} else {
delete this.onEnterFrame;
this.removeMovieClip();
}
} else {
if (rfcLevel._currentframe>=rfcLevel._totalframes || rfcLevel._currentframe == nbrFrameLast) {
blnLevelPlay = false;
rfcLevel._visible = false;
rfcLevel.gotoAndStop(1);
++nbrMovie;
} else {
nbrFrameLast = rfcLevel._currentframe;
}
}
};
};
fncLoadLaunch();

Xml Loading Into Multiple Mc's
Hi all, having trouble loading xml text into multiple mc's. got it to work for text box but cant get it to load into mc's.

Loading Multiple MP3
Hello all, I have built a tutorial template with multiple screens (frame) with ActionScript 3.0. I want to add narration for each screen so it would be loading 1 mp3 per screen. I want to have a progressive loader for each sound too. I know I can load one mp3 per screen using separate functions, but can I use one function to load the mp3s for each screen?

Thanks for your help in advance!

Jeff

Multiple Loading
How can i make an "multiple loading movies" for a main movie? I have an " interface movie" with a few buttons and i'd like to choose them to play those already loaded movies.

One Swf Loading Multiple Xml?
so- I have a gallery that pulls in an xml file... I'm trying to have that gallery called and have a var as a placeholder for the xml so i can use the same .swf and any xml based on whatever button is pushed... i'm not sure how to do so- i have the gallery working fine- i just need the 'xmlData' to be dynamic... if anyone could help out- i've never had to do this before and it's a bit stressful.

as is- and working fine... the gallery.fla has this to pull in the xml:
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad =loadXML;
xmlData.load("xml/projects.xml");

i just need to figure out how to have the buttons in a master.swf open the gallery.swf and a corresponding .xml file... which i know how to do in the master.fla- i just don't know how to set up the second fla to parse the corresponding xml based on which button is pushed... would i set up an array that included all the possible xml files?

pretty much this is what i'm trying to make happen:
projects_mc.onRelease - loads gallery.swf with projects.xml
staff_mc.onRelease - loads gallery.swf with staff.xml
etc...

thanks for reading!

Loading Multiple MC's
Hey, Got a problem here.

I have a MainMC that everything loads into....Then I have a DownloadsMC section that is loaded into the MainMC......Then from there I have another MC that loads into the DownloadsMC when the button is clicked. It's the PhotosMC. Just wondering how I would make all this work?! unLoad the previous MC's or what? I'm clueless here. Can anyone help?

Thanks

Loading Multiple MC's
Hey, Got a problem here.

I have a MainMC that everything loads into....Then I have a DownloadsMC section that is loaded into the MainMC......Then from there I have another MC that loads into the DownloadsMC when the button is clicked. It's the PhotosMC. Just wondering how I would make all this work?! unLoad the previous MC's or what? I'm clueless here. Can anyone help?

Thanks

Loading Multiple FLV's One After Another
Okay, Basically Using NetStream and NetConnection ive managed to create a player. But now, without using components how can I load another flv as soon as the other FLV has finished playing.

Is there some event i need to look out for being generated? Or do I have to detect the time of the current flash movie and then load the other movie immediately as soon as this starts playing?

HELP! Ive scoured the internet in a desperate hope to get this up and running. Cannot seem to find anytthing. If anyone can point me to a tutorial, OR, has ever done this before and succeded please do help me out.

Regards
Andre

Pre-loading Multiple .swf Files
Is there a way to pre-load multiple .swf files? Obviously one can build a loader to preloader for a single movie, but is there a way to preload other .swf files into cache? HELP!!!

Loading Multiple SWF's Into Movie
I am trying to load several SWF's sequentially into a movie using empty movie clips. My first frame on the main timeline contains the script:
loadMovie ("meeting.swf", "empty");
where "empty" is the instance name of the movie clip (which also resides on this frame). That works fine. But, how can I repeat this in order to bring in other SWF files one after the other? Thanks!

Loading Multiple .swfs
Hi gang-

I am loading multiple .swf files but using one preload function to do this. How can I determine the size of say 3 of these movies and then once that bytetotal has been loaded have my main movie play while the other movies are still loading?

I need my preloader to move a bar to show the progress and I can do it if I am checking only one file loading but I am at odds trying to figure out multiple downloaded files.

Is it possible to just get the size of the three files and then add them up? If so how do I do this?

Thanks in advance.

Pre-Loading Multiple SWF Files
Hey all,

I'm realy stuck even after all the help i had from you guys.

I'm having an opening SWf file with a game and a preloading animation.
The idea is to let people play this little game untill all the other swf files are loaded completely.

Where do i tell my first swf to pre-load all the swf files and what code should be used. I tried a bunch of things but i'm not the best (if not the worst) with scripts. My idea is that i have to give all the swf files there own pre-loaders, but i'm not sure.
As soon as all the swf's are loaded the game has to stay onscreen but the preloader animation has to be replaced by a button like "enter".

What to do?
Who can Help?

Loading Multiple SWFs
I have several small "title" swf files, that load into my main movie. It's an all flash site, with 6 sections - "entertainment", "leisure", "motor sports", "events", "media" & "promotions".

When the user clicks the relevant links, various movies will load into various MCholders placed on the stage. One of these is a MCholder for the title - the 6 title swf's are only 1 or 2KB. During testing I noticed that there is a slight delay between the user's click, and the display of the title, is there any way to load these little SWF files when the page first loads to get rid of this delay?

In case you're unclear:

http://www.geccogroup.com/flash/layout.html

S.

Loading Multiple Swfs
I am having trouble loading multiple swfs. I split up a very large swf into 4 smaller ones and created a loader movie to load these smaller swfs.

I have 4 empty movie clips in the loader movie each on a separate layer to hold each smaller swf. The loader will load swf1 into target1, swf2 into target2, etc. Each empty (target) movie clip has code to check when it is finished loading as follows:

onClipEvent(data) { if this.getBytesLoaded()>=this.getBytesTotal() { _root.loader.clipLoaded(this);}

When the clipLoaded() function is called, the loader checks if there are other movies to load, if so, it will load the next swf into the next target.

As a clip is loading, the loader will check if its the "current" clip that I want to play (all 4 clips play back to back). If the "current" clip has more than 2 frames loaded, I tell it to gotoAndPlay(2). Once the current clip finishes, I check the next and so forth.

My problem: This scheme works fine for 2 clips. When loading a third clip, the current playing movie (swf1 in my tests) gets "blown away" somehow (stops playing) and the loader proceeds to re-load it again. It then re-loads clip 2 and then 3 and then finally stops when all 4 clips have been loaded.

Thus, I cannot play a clip while I am loading others in the background (again it works fine for 2 clips but not more than 2). I've gone over my code numerous times and can't find any bugs. The loading schemes works perfectly fine when running off the local disk, but, fails when running over the internet. Is there a problem playing clips and loading clips simultaneously?

PS: (I know this is long winded, but, I wanted to give as clear a picture as I could). Thanks in advance for any replies.

Loading Multiple Movies, Please Help
Hi all,

I am loading 3 external movies into 3 empty movieclips on the main time line. It loads fine on high speed connection, however, when I use a modem connection, some of the images in these external movies disappear.

Someone suggested to me that movies are loaded in sequenence, and flash probably doesnt like 3 movies being loaded at once. So I use content.getBytesLoaded() == content.getBytesTotal() to test and make sure a movie is loaded before loading the other one. However, this doesnt seem to solve the problem. Does anyone know why?
I have attached the fla, any help is highly appreciated.

Regards,

Joe

Loading Multiple Movies
I am trying to load multiple movies into a particular page that i am working on....I am having 0 luck. I am only able to load a single movie clip. can someone please offer a solution to this elementary dilema?? Thanks

-Sean

Loading A Multiple Swf Movie
Hello - I am trying to construct a relatively long presentation and have decided by trial and many errors that splitting it into several seperate swf files is best (esp because there will be a voice over to add in the near future)Now I am not sure the best way to link it all together but since it needs to ideally run seamlessly movie to movie, I think that I need to have a preloader that loads each movie, then runs from there.

My question is how do I construct a movie and preloader that will do this and ideally in the preloader tell the user what scene is being dowloaded?

Pre-loading Multiple SWFs...
Hi there

I am wondering, I have a mainsite.swf that simply has two lines of Actionscript:

loadMovie("filmgrain.swf",10);
loadMovie("picstrip.swf",5);

Problem is, I'm not sure the best way to pre-load them so they start together...

You can see what I've done, without pre-loader, at www.thelastpictureshow.net

Any advice welcome!

Dynamic Loading Of Multiple Jpg's
I want to dynamically load multiple jpg images onto a placeholder from a folder. once loaded I need to be able to scroll thru them. I also need to be able to update them frequently, so Im not sure that an array would work.

Any Ideas?? Oh ya Im on a MAC using flash MX

Loading Multiple Movies?
I've got a web page with two flash movies in separate HTML cells in a table. (MX) Instead of creating one large stage and using the loadmovie method where you do it within the movie, I'd like to link the movies so that when one finishes playing, the other then starts.(that way I wouldn't have worry about exact placement issues) What's the best way to do this? Do i need to set scripts on the end frame of 1st movie and beginning frame of 2nd movie?
I'm new to Actionscript and would appreciate some guidance.

Here's the movie if you want to see what I'm referring to:

http://66.65.180.232/~jsokol/SnobRepDynamic.html

You'll notice the typewriter effect is too much when both movies are running simultaneously.

Any ideas would be greatly appreciated,

John

Loading Multiple Mc Into A Scrollpane?
is it posssible to load multiple mc into a scollpane?

When i put a mc into a scrollpane with
_root.Favoris.setScrollContent("mc1");
or
_root.Favoris.setScrollContent("mc2");

(where Favoris is the scrollpane)

if i try to trace the name of the clips into the scroll pane i got "mc_temp" name for each.

means that my "mc1" is now named "mc_temp", but my "mc2" is named "mc_temp" too!
how can i put names for these instances?

Loading Multiple Movies
Hey all !

Is it possible to load a folder in flash?

I have a flash movie that links to a set of other movie files, all located within sepparate sub folder.

Any help or advice for loading them all before the first flash movie is viewed?

Using Flash 5

Cheers
Jon boY

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.

Loading Multiple MCs Into A Container
I have a question more about logic: I'm working on a site for myself and I want to create an interface similar to the one on egomedia.com

The main problem I'm having is figuring out the logic behind having a navigation system that knows when certain states of the site are true or false.

For instance on egomedia.com when a visitor first enters the site and selects a navigation button a new window appears with a little animation zip, then the requested content loads. As the viewer selects different navigation items the content window loads in the external swfs. as needed.

The thing is the Content window has additional states for open, closed and opening and closing transitions. So, how does the Flash Navigation Bar check to see which state the Content window is in when the user selects a button.

Another words, If I select profile and the Content Window opens with a little anim then I select Careers I don't want the window to reopen with the anim I just want it to load the external content.

Any help is appreciated - I'm just trying to figure out the logic here. BTW nice job egomedia.com -- you've stumped me.

Thanks, Todd

Loading Multiple Movies: Please Help
OK, here is the site im working on.
http://jigga.surreal-media.com/test/layout.html

Now this site is pretty complex in that all teh content can be updated etc right in the flash site through a login and admin panel.

Each link is a seperate movie, so everytime they press a link button, it loads a movie onto level 3, (each link goes on level 3)

On level 2, is another seperate movie where: animation on the left, where the camera is spinning around the guy.

Now, after the preloading.. it loads the animation to level 2, the news to level 3 (news is the opening link), and an external mp3...

If you open the link in netscape, everything loads correcty, news pops up while teh animation is loading, and the music starts playing pretty close to the start of the site opening.

When I open this is Internet Explorer, the music doesnt play till after the animation is loaded and started.. then after the animation is loaded.. the news begins to load...

It seems that in internet explorer, only 1 thing can be loaded at a time while in netscape everything can be loaded at once.. and i REALLY need, everything to load at once, just like it does in netscape...

If anyone can help me it would be really appreciated..
Im having ALLOT! of trouble here, and im so lost

Thanks very much
Dion

Loading Multiple Movies
hi guys!



I have a base file which contains an empty movieclip which will load my first external movie.

What i want to happen is the following :: Let my base file preload, soon as that has finished i want my first external movie to preload.....soon as my external movie has finished loading, i want my base file to play the animation and then load the external movie into the movieclip without it loading (since it has been preloaded already)

Does anyone know how to do this?

Thanks for your help!!

Loading Multiple Txt. Files
O.K., I learned how to externaly load text in my movie. It loads into a slideshow.Now I want a second txt.file to load on the second slide. I tried several things but couldn't figure it out. Here's the code:

_root.block_mc.onEnterframe = function() {
_root.block_mc.textfileUrl = "pirate.txt";
_root.block_mc.gotoAndPlay(2);

Anyone can help me?

regards

Loading Multiple Mc's With One Button
hi all, happy new year!
im having a problem loading multiple movie clips in flash mx i can load and replace the current movie clip but i have more than one clip i want to load with the same click is that possible and if so how would i change this script:

on (release) {loadMovie("inquirertxt.swf","maintxt")("reflectio nstitle.swf","lefttitle");
}

note: the 2nd part of this script is my attempt at loading the second mc into lefttitle the 2nd target mc
im not getting an error code on this but it doesn't work what am i doing wrong?

-im a novice and im not familiar with too many scripting languages so please simplify ur responses if possible
i just joined this forum and im not sure how to search if someone can at least help with that id appreciate it -thanks in advance

Loading Multiple Movies
Hi.

Is it possible to loadmovie into the same movie clip?

I'm making a layout which uses several boxes to show content. Each box is a seperate movie.

Leroy

Loading Multiple Movies
Hi,

I am trying to load multiple movies, but I'm having some trouble. Here's what I've got:

Frame 1:
loadMovieNum("filename.swf", 50);

Frame 157:
unloadMovieNum(50);
loadMovieNum("filename.swf", 51);

Frame 173:
unloadMovieNum(51);
loadMovieNum("filename.swf", 52);

Am I missing something? Once the movie gets to frame 173 everything begins to replay and becomes layered overtop of each other. If anyone could help I would greatly appreciate it.

Thanks,
Jeremy

Loading Multiple .swf On One Level?
Hi!

I need to load several .swf in one main movie. I have managed to make them all load from a loadmovie action on frame one of the main movie by assigning them different levels (level 1 to level 6). But I need them to work independently from one another. Now it seems the lower levels can have an influence on higher levels, but not vice versa. In other words, if I activate the swf on level 1, I can still activate the other ones, but if I activate the .swf on level 6 first, I can no longer activate the .swf on lower levels.

I there a way I can place them all on a same level? (Right now only one of them shows if I do that).

Thank you very much. I hope my question makes sense. Any help is greatly apreciated!

Loading Multiple Jpegs
Hi i'm trying to load several jpgs at once into my site and am having some difficulties. i just painstakingly put together a php script (i'm a complete newbie at php) that searches within a subdirectory and sends back a string of variables that are the names of the jpgs i want to load into my flash movie. this is the code i tried within falsh. When the button is pressed two variables are sent to the php script that help it deside which jpgs to send back in the string of variables. their names are image0 image1 etc. for some reason my attempt doesn't work. I am sure i am getting the variables sent to flash though. i checked them using a dynamic textbox.

on (release) {
variable = "";
info = new LoadVars();
info['projtype'] = 1;
info['location'] = 0;
info.sendAndLoad('directory.php', info, "POST");
info.onLoad = function(success) {
// inside onload event you do not have to target the object info (this.info all you need to do is write this or info)
for (n=0; n<8; n++) {
this['newclip'+n]._x = 70;
this['newclip'+n]._x = 50*n;
avariable = 'http://turnoffthe.tv/experimental/directorytest/images/'+this['image'+n];
this['newclip'+n].loadMovie(avariable);
}
};
}
does anyone know of any tutorials that guides you through a case like this in which several jpgs are loaded simultaneously check out the following site it's really clean and does just that. also each jpg has preloader!!

http://pics24.com/

Loading Multiple Swfs
Hello,
I'm having a problem navigating through multiple swfs in a player. The break down of the project is as follows....

One SWF that acts as a player. The player contains a navigation that allows you to load different swf's into a container MC.

This part works fine.

Each swf that I am using has a forward and back button so I can go from label to label within the swf. The problem I'm having is telling one swf to load a different swf into the player's container MC. The code I have tried using is..


Code:
on (release) {
_root.container.loadMovie("part1.swf");
}



Could anyone show me the correct way to do this?

Loading Multiple Swf Files
I have a main swf, I want to load multiple swf files that dont immediately start playing. How do I get them to start playing when I want them to? I cant hit my head on the desk anymore I need help!!!

Q: Loading Multiple Movies
I'm loading multiple images in via loadMovie and was wondering how you guys would recommend settings this up. It's for a photo gallery and I was thinking about loading all the images in at once some how so that I could put a preloader on telling them how much has loaded. I want the preloader to show the percentage loaded of all the images. I'm not really sure how I could get this to work. I'm thinking I could load one image after another and do the percentage for each one of those, but I think it would be nice just to load like 10 images and somehow display the percent for all 10 of these. Does that make sense? Any thoughts on this would be appreciated. Here's the code I have to load the images in:

code:
for (i=0;i<_root.iVars.numImages;i++){
path.bin.attachMovie("mc_image", "new_image"+i, i)
item=path.bin["new_image"+i];
item.loadMovie("gallery/"+_root.iVars["image_file"+i]);
}//end for


Thanks!

Loading Multiple Swf Files
Is it possible to click on a button in one swf file, and have it load a swf file on top of the current movie, plus load it on top of a different swf file at the same time? So that when you proceed onto the second movie, the swf file is already there in the same place.

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