How To Load And Unload MC.
I am a complete idiot when it comes to flash but i am trying my best to get my head around it.
Basically i'm trying to make a site that contains internal movieclips (if this is not wise please tell me) since it's just a small site for my folio. I have a few button on the main stage and what i want to do is when clicked i want the movieclip to load. When i click a different button i want the existing clip to close and a new one appear. I know this is simple to you guys but i'm a dumb ass.
http://img.photobucket.com/albums/v4...mc-example.jpg
The file above is of what i want to do...load one file and close the other.
I don't know any where to begin writing the script. I assume i put the script on the MC right?
Anyway i hope you guys can help me out with a script that's you may have thanks.
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 05-18-2007, 03:56 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Load, Unload, Load... Will The Movie Need To Download Again?
hi,
I have a quick question about loadMovie and unloadMove...
If I load an external movie (section 1), lets say its 200k, and then unload it when the user moves to another section (section 2).
When returning to section 1, when the external movie is called to load, will it need to redownload? Or is it saved in some type of cache area?
any help or a point to a resource would be great.
thanks,
alex
Load Play Unload Load Problem
Ok subject heading isn't the best but hey. Okay here is my question. I have created a small animation in Swish. Then created my site base in flash MX, now I want to combine the two. So I created a 3rd file again in flash. Now the swish is the intro (was easier to animate) so it is intro.swf at present. The site is site.swf and the 3rd file holding them together is base.swf.
Anywho, Base.swf loads, now I want it to load intro.swf, then when intro.swf finishes playing, I want site.swf to load.
base.swf has a empty mc in it called mtClip. I can get the intro.swf to load into this easy enough. But have no idea on how to get it to once finished playing unload and load site.swf.
Let me know if this should be directed at the Swish help section. But personally thought flash being more powerfull should have some function i can't find to deal with this problem of mine.
Thank heaps in advanced
Trent
List Box Load, Unload And Load
i try to make something with the list box and remote
it connect and retryve the values perfec but i got a problem and i can't figure it out
i have amny buttons A to Z
when I click A it load the value on the listbox
here is the AS for this button (A)
on (release) {
soNetcla = cfServer.getService("edespnet.cfc.titsel", this);
soNetcla.getabrtit_a();
btnServiceManager.useHandCursor = false;
// Evento p/ abreviado no combobox().
cbtitulo.removeAll();
function getabrtit_a_Result(result) {
for (var i = 0; i<result.items.length; i++) {
cbtitulo.addItem(result.items[i].NOM_tit);
}
}
function SelectItem() {
titulosel = cbtitulo.getSelectedItem().data;
}
}
*--- and when I click in B it unload the old values but doesn't load the new ones
here is the AS for button (B)
on (release) {
soNetcla = cfServer.getService("edespnet.cfc.titsel", this);
soNetcla.getabrtit_b();
btnServiceManager.useHandCursor = false;
// Evento p/ abreviado no combobox().
cbtitulo.removeAll();
function getabrtit_b_Result(result) {
for (var i = 0; i<result.items.length; i++) {
cbtitulo.replaceItemAt(result.items[i].NOM_tit);
}
}
}
If some one could help me I'll appreciate
TIA
molotophy
SWF Load Play To End Unload - Load Next SWF
Hello,
I'm new to this forum and joined because I have spent several hours researching this basic question but either I find info that is too old (eg. Flash 5) or too complex for what I want to do.
In Flash 8, using ActionScript 2.0 I would simply like to load an swf intro into a container movie - let it play to the end (how can I tell when the last frame is finished) and then unload it to purge the memory (as there are some large bitmaps and animation that won't play again) - then play the next swf - the actual main movie.
I don't want a preloader script and I don't want to activate these movies with buttons, which is what I'm coming up with when I search for this.
Thanks!
Charles
Help How Do I Load And Unload A .SWF
hi there
i have a main scene and have a button that loads a game which is a .swf i then want a button on this .swf that will return to the mail .swf ???
how do i do this i have tried unloadMovie but it does not work
thanks you
moo
Help How Do I Load And Unload A .SWF
hi there
i have a main scene and have a button that loads a game which is a .swf i then want a button on this .swf that will return to the mail .swf ???
how do i do this i have tried unloadMovie but it does not work
thanks you
moo
Load/Unload?
Well, i have my movie ... and the first frame alone is 471k. Thats just the background stuff, the basic buttons for the major sections, and I dont want to increase that filesize by adding anymore to the section.
Instead I want to load completely new SWF's ontop of it, complete with their own preloader and everything... so that i dont have to reload the 500k, and i can load the sections only as needed.
I guess the way to do this is with load/unload movie -- but i dont understand the syntax.
Ive gotten this far:
on (release) {loadMovie(main2.swf, ??, ??);
}
Can anyone help me out? And once i load it with that command -- how do I place it where i want it? and how do I unload it?
::sigh:: im really bad with actionscripting and the helpfiles are well.. confusing ;]
Thanks in advance
~DW~
Load And Unload
Hi there
is it possible, when I load a movie, to go to a specific label?
greetz, Robin
please answer at linckx@yahoo.com
Load/unload All?
ok, i know this is probably a very simple question that can be answered... but on my site (see below) i have a series of links...
ok, say i have 5 links
named 1,2,3,4 and 5...
each of those links loadsa new movie on a different layer... such as layer 1,2,3,4 and 5... but i want it so that if i click link 4... movie 4 opens... but when i click link 5... movie 4 (or any others that are open) close... how do i do this?
is there a simple bit of code that i can add to each button to comand this to happen?
also... ive seen some websites where you click a link and an animation loads up the page... then when you click a different part of the site... the animation seems to go backwards before opening a different section up... any ideas?
probably simple i know but ive not looked at this sort of thing before...
thanx for any help...
Load/unload
oke..i wanna know
if i need to load a swf...
ill prefer to load it in to a movieclip...
(dunno if this is correct)
loadMovie("http://www.website.com/swffile.swf", "_root.content.holder");
now... that works.... but then..when i from the menu..makes this
on (release){
unloadMovie("_root.content.holder");
}
then it unloads..well..but THEN...i CANNOT load a new SFW....is that because if unloaded the entire movieclip...????? ( ---> "_root.content.holder )
so...do i need to know, if i need to name (give instance name) that swf/clip i load...can i give it a instance name...so i can unload it correct...or how do i get around this problem
??
any help apreceated
Load&unload
Hi! I have a button A which says load movie1.But when e problem is when i clicked buttonB, load movie2 did not come out. I guess the problem has to do with load and unload. what should i put on buttonA to unload movie1 so that movie2 show when buttonB is clicked???
anyone oout there can explain ??
Load Unload?
Hi all,
Got a problem.
I have a few levels of movies. At any point or from any level I want the levels to be removed and only the very first level '0' to remain so that the navigation can begin again.
How can I achieve this? Is it via 'unloadmovie'? If so what is the actionscript?
I have managed to load the new levels on top of level '0'.
Cheers all.
Load / Unload
Hello World,
I am building a site that requires me to load movies on top of each other and unload them to avoid having one big movie.
The problem I have is that there are 9 movies and they get loaded in random order according to what the user wants to view, so how do I know which level to specify when I want to Unload a movie they have finished with.??
Thanks
MS
Load/unload ?
ok, so if i have a movie load from a file
Code:
on (release) {
loadMovie("shows.swf", "_root.mainWindow");
}
then i want another button to load a different movie,
Is there a way to make the first movie ... play backwards ...
(kinda like "crawl back in its hole")
notice how the menu system works on this site
http://www.24-7media.de
thanks in advance
-dan
Load And Unload
can someone explain the load and unload feature for me coz i'm going insane. I have created a movie and when you click on a button it should load a new movie . I have managed to do that but the buttons from "old" movie still works behind the new movie. I can unload the first movie but I want the the new one to "slide" over the old movie.
so my question is ... is possible to unload the the old movie after you have started playing the new one.
is it possible to do that?
How To Load & Unload
Hi,
After having problems with linking scenes as i explained in an earlier post, i have turned to trying to load /unload movies. I thought that would be a better "optimized" approach. Heres the code am using for the navigation menu:
on (release) {
unloadMovieNum(1);
loadMovieNum("intro.swf", 1);
}
The links are as follows (smaller files):
Intro-Movie
Intro-Fla
Menus-Movie
Menus-Fla
Contact-Movie
Contact-Fla
The problems am having are:
1) a clash between movies. The previous movie is not unloaded. I have attached the unload code on each code. So how do you unload a move? through the timeline or through the button?
2)I also have a fourth movie which loads before the above mentioned movies. How do you load movies from the time line?
I appreciate the help. I going through a wreck !
Cheers,
UrbanDev
Load.unload?
howdy.
i want to use a collection of thumbnails as individual buttons that will load a jpg into an empty mc using MovieClip.loadMovie(). easy enough. now i haven't put this together yet, but my question is, if a user loads a jpg into the empty mc from the thumbnail button, will the next jpg replace the old jpg when they click another thumbnail, or will the old jpg remain in its place and load the new one next to it? do i need to use unloadMovie()? to remove the previous jpg? but then how would i know which name to unload in the parentheses if the user will be selecting at random?
thanks.
Load.unload?
howdy.
i want to use a collection of thumbnails as individual buttons that will load a jpg into an empty mc using MovieClip.loadMovie(). easy enough. now i haven't put this together yet, but my question is, if a user loads a jpg into the empty mc from the thumbnail button, will the next jpg replace the old jpg when they click another thumbnail, or will the old jpg remain in its place and load the new one next to it? do i need to use unloadMovie()? to remove the previous jpg? but then how would i know which name to unload in the parentheses if the user will be selecting at random?
thanks.
Load/unload
first, how do i load my intro movie into my main movie?
second, I want to have a skip intro button in my intro. How do I code the button so that it will unload the intro movie and then goto frame label "main"?
Thanks
Load And Unload SWF
Hey,
This is the code I have so far, it opens the BonesInsideCastle.swf but it doesnt unload the first swf .... Any idea's ??
PHP Code:
stop();
Castle.addEventListener(MouseEvent.MOUSE_DOWN, mouseDown);
function mouseDown(event:MouseEvent):void {
if (event.target == Castle) {
var myrequest:URLRequest=new URLRequest("BonesInsideCastle.swf");
var myloader:Loader=new Loader();
myloader.load(myrequest);
stage.addChild(myloader); } }// and the unloadFunction function
var myloader:Loader=new Loader();
myloader.unload();
myloader.addEventListener("Unloadme", unloadFunction);
function unloadFunction(event:Event):void {
// event.target is the loader reference.. so cast it as Loader
Loader(event.currentTarget).unload(); }
Thanks in advance
Load Unload
I have a problem with the loading and reloading of an swf; this is my code:
var ldr:Loader = new Loader();
var url:String = "mio2.swf";
var urlReq:URLRequest = new URLRequest(url);
function goFullScreen(event:MouseEvent):void
{
stage.displayState = StageDisplayState.FULL_SCREEN;
mc.visible = false
}
mc.addEventListener(MouseEvent.CLICK,goFullScreen) ;
function fullScreenRedraw(event:FullScreenEvent):void
{
if (event.fullScreen)
{
ldr.load(urlReq);
addChild(ldr)
}
else
{
mc.visible = true
ldr.unload()
}
}
mc.stage.addEventListener(FullScreenEvent.FULL_SCR EEN, fullScreenRedraw);
i have a button that start a fullscreen, the button vanish and a .swf is loaded. If u exit from the fullscreen the button appear again. till now everything is ok!!!
THE PROBLEM:
If i click again the button the fullscreen starts but the .swf is not loaded again!
Please help me
Thanks!!!!
Help MC Load And Unload
I have a mc that uses actionscript to generate typewriter text (downloaded) see below:
The mc has three keyframes on it's timeline KF1, KF2 & KF3.
KF 1
text = "Natalie is very grateful to the forum members for any help they can provide";
max = length(text);
i = "1";
KF 2
i = Number(i)+1;
screen = substring(text, 1, i);
KF 3
if (Number(i)>Number(max)) {
stop();
} else {
gotoAndPlay(2);
}
I have placed an instance of the mc on my main timeline with a stop action and the following script to load the mc
stop();
_root.attachMovie("mc_one", "one", 2);
_root.one._x = 20;
_root.one._y = 20;
I am trying to build a tuturial and what I can't work out is how to unload the mc once it has finished playing and load a new mc in it's place so building the dialogue for the tutorial.
I am sooooo unworthy of your help but begging...
Load And Unload
Hello,
I am a novice with flash and learning at this point. I have 4 files that I want to load and unload from my home page. What I want is when each of the buttons are clicked I want one page to load and the other replaced or unloaded.
Right now the pages load one on top of each other and they don't unload properly with this code. HELP!
I read some of the threads at the discussion forum and managed to figure this out, however the pages still overlap one on top of each other.
Would appreciate if someone can help me....
mcBackground.mc_home.buttonMode = true;
mcBackground.mc_slide.buttonMode = true;
mcBackground.mc_audio.buttonMode = true;
mcBackground.mc_quiz.buttonMode = true;
mcBackground.mc_contact.buttonMode = true;
//declare variables for container and loader
var container:Sprite = new Sprite();
var initrun:Boolean = true;
addChild(container);
//declare function init to hold the URL and load the page.
function init(s:String) {
var pageLdr:Loader = new Loader();
var pageURL:String = s;
var pageURLReq:URLRequest = new URLRequest(pageURL);
pageLdr.load(pageURLReq);
//calls the pageloaded to see if a page exists in the loader
pageLdr.contentLoaderInfo.addEventListener(Event.C OMPLETE, pageLoaded);
trace(pageLdr);
trace(pageURL);
}
//function pageLoaded checks to see if page exists int he container, if so(initRun is set to false), replaces with a blank container.
function pageLoaded(event:Event):void {
if (initrun == false) {
while(container.numChildren > 0)
container.removeChildAt(0);
}
initrun = false;
addChild(container);
container.addChild(event.target.content);
container.visible = true;
}
//add an event listener for each movieclip that will call the function to navigate based on the button clicked.
mcBackground.mc_home.addEventListener(MouseEvent.C LICK, homeLoad);
mcBackground.mc_slide.addEventListener(MouseEvent. CLICK, slideLoad);
mcBackground.mc_audio.addEventListener(MouseEvent. CLICK, audioLoad);
mcBackground.mc_quiz.addEventListener(MouseEvent.C LICK, quizLoad);
mcBackground.mc_contact.addEventListener(MouseEven t.CLICK, contactLoad);
//Declare a function to unload the old page and load the new page based on the button clicked.
function homeLoad(e:MouseEvent):void {
init("FlashSiteFinal_Ver2.swf");
}
function slideLoad(e:MouseEvent):void {
init("SlideShow.swf");
}
function audioLoad(e:MouseEvent):void {
init("AudioPlayerFinal.swf");
}
function quizLoad(e:MouseEvent):void {
init("quiz.swf");
}
function contactLoad(e:MouseEvent):void {
init("contact.swf");
}
Load And Unload Swf
i have a flash site with three buttons i want each to load a swf but unload whatever was previous. i know how in as2 but i am lost in as3
//code//
// Btn1 Over function
function btn1Over(event:MouseEvent):void {
btn1.gotoAndPlay("over"); // go into btn1 movieclip and play the over frame label
}
// Btn1 Out function
function btn1Out(event:MouseEvent):void {
btn1.gotoAndPlay("out");// go into btn1 movieclip and play the out frame label
}
// Btn1 listeners
btn1.addEventListener(MouseEvent.ROLL_OVER, btn1Over);
btn1.addEventListener(MouseEvent.ROLL_OUT, btn1Out);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Btn2 Over function
function btn2Over(event:MouseEvent):void {
btn2.gotoAndPlay("over"); // go into btn2 movieclip and play the over frame label
}
// Btn2 Out function
function btn2Out(event:MouseEvent):void {
btn2.gotoAndPlay("out"); // go into btn2 movieclip and play the out frame label
}
// Btn2 listeners
btn2.addEventListener(MouseEvent.ROLL_OVER, btn2Over);
btn2.addEventListener(MouseEvent.ROLL_OUT, btn2Out);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Btn3 Over function
function btn3Over(event:MouseEvent):void {
btn3.gotoAndPlay("over"); // go into btn2 movieclip and play the over frame label
}
// Btn3 Out function
function btn3Out(event:MouseEvent):void {
btn3.gotoAndPlay("out"); // go into btn2 movieclip and play the out frame label
}
// Btn2 listeners
btn3.addEventListener(MouseEvent.ROLL_OVER, btn3Over);
btn3.addEventListener(MouseEvent.ROLL_OUT, btn3Out);
//end code//
Load And Unload Swf
i am new to as3 and cannot figure how to load and unload swf....each menu should load a swf
Load/unload
When I load into targets. Do I have to unload the loaded .swf when I load a new in the same target MC?
Load And Unload
Hi everyone,
I have this code on top of my movieclip and it seems to only work if I make it a button. Can someone please help!?!?
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section2";
container2.loadMovie("section2.swf");
} else if (_root.currMovie != "section2") {
if (container2._currentframe>= container2.midframe) {
_root.currMovie = "section2";
container2.play();
}
}
}
How? Unload And Then Load Another Swf
I have a project with several chapters that I want to select from a main menu. I want each chapter to replace the previous on the stage. My problem is I can unload the movie (core-menu.swf) on the stage, but then the next movie (core-part1.swf) does not display.
If I take the following unloading code out, the 2nd movie displays over top of the menu.
Here's what the code looks like:
I am starting with an empty stage and calling the main menu with:
var cpr_container:MovieClip = createEmptyMovieClip("cpr_container", 0);
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("./core-menu.swf", cpr_container);
The menu (core-menu.swf) is then displayed. Selecting a button performs a
this.gotoAndPlay("2");
to go to frame 2, which contains the following code:
stop();
unloadMovieNum(0);
var cpr_container:MovieClip = createEmptyMovieClip("cpr_container", 1);
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(this);
mcLoader.loadClip("./core-part1.swf", cpr_container);
Again, if I take out the unloadMovieNum(0); code, the second movie loads over top of the menu, but with unloadMovieNum(0); the second movie never loads.
Any idea?
Thanks!
- C
Help With Load/Unload
Okay, here's what I've got going on:
I've got a page in this site I'm doing that has a menu of web sites that I want people to be able to click on and view screen shots, etc. When you first enter the page, the menu drops down and the first site on the list loads into a placeholder movie clip called "wsholder" and is set into position. There's an arrow underneath of this screenshot that takes you to the second one and you also have the choice of going back to the previous one. (This is a movie clip in this swf). And yeah!! it works! :)
My question is, how do I unload this first swf file that's in this movie clip "wsholder" and load the next web site in it when you click on the appropriate button? I tried unloading "wsholder" and loading the next swf but it didn't work. Apparently once the first web site loads into "wsholder" it's then considered a "parent" cos this is how I had to address it to get it to go to the next screenshot. (Hope this makes sense.)
To get a better idea of what I'm talking about the URL is http://www.baymed.com/baymedia-new2. Once you get to the homepage click on "portfolio" and then "web sites" and you'll see what I'm referring to.
Also, please note this site is still a "work in progress". :)
Thanks for your help from all you Flash wizards!
Rhiannon
Unload Before Load?
Im in the habit of unloading a level before I re-populate it. I realize that only one movie can occupy a level at the same time so Im wondering if this is necessary for memory management or anything. Thanks!
unloadMovieNum("1");
loadMovieNum(playOrder[whereAt], "1");
Load/ Unload Movie - Please Help
I'm using Flash to make an interactive version of my 3D animation, but my problem is that I'm running out of memory in the end of the animation when I play it. So I think it might be a solution to cut it up into five peaces and then load them when needed. What do you think or are there any better ways to do it??
Load/ Unload Movie - Please Help
I'm using Flash to make an interactive version of my 3D animation, but my problem is that I'm running out of memory in the end of the animation when I play it. So I think it might be a solution to cut it up into five peaces and then load them when needed. What do you think or are there any better ways to do it??
Load/Unload SWF Files
I have several .swf files that I want to load before
the presentation. I can load the first swf file, but
it wont unload after that. I have tried creating new scenes
with just one frame for load move, then the next scene I
would have unload movie. It just sits on the first movie.
thank you for any help
Load - Unload Movie
hi,
i have a movie wichch ois supposed to load another movie when it starts, here i have defined a frame script
loadMovie ("text.swf", "text");
where text.swf is my movie and text is the movie clip which i have defined.
In one button i have this script
on (release) {
unloadMovie ("text");
unloadMovie ("story2");
loadMovie ("story1.swf", "story1");
}
and in the second button
on (release) {
unloadMovie ("story1");
unloadMovie ("text");
loadMovie ("story2.swf", "story2");
}
while my movie does load, the animation defined in the swf file does not play. It has an autoplay button which when clicked here does not play the file. But in the swf if played individually all the button works fine.Could u tell me where the error lies?
My play button is in a movie clip(play-stop) embedded in another movie clip(i.e.-button-movie clip-movie clip-stage).
the button has this action script for play
on (release) {
tellTarget ("_root.text") {
play ();
}
}
on (release) {
gotoAndStop (2);
}
and this for stop
on (release) {
tellTarget ("_root.text") {
stop ();
}
}
on (release) {
gotoAndStop (1);
}
Help With Load And Unload Movie
Can someone please give me or point me to some sound advice on how to correctly use Load and Unload Movie.
I am trying to load mine into Dummy MC's but they are getting placed in funny places all over the screen
I have created a button and one MC in the main timeline.
The MC is a box called Loader.
The button loads external SWF into target Loader.
When you press the button the SWF loads into the bottom right corner of the screen.
How the heck do you get this thing to work properly, Am tearing my hair out here !!!
Help please....
Load/Unload Movie Help
Hey there
I'm designing a site in Flash 5, its going pretty well so far. I'm struggling with load / unload movie though.
I read the turorials on FK, but i'm still not quite getting what to do.
Heres what i'm doing.
I have my buttons set up, and Onmouseover for a button takes you to another frame in the movie where i have an animation clip.
At the moment i have Onmouseout set to take me back to the first frame again.
What i want to have is an effect movie that happens on MouseOver and then another that happens on mouse out.
Like a bar that slides across on MouseOver and slides Back on mouseout.
So what i want is to make the two movies (one for slide in one for slide out) then use the load /unload command to load them on mouse over/out.
I'm confused about what i have to do to make a target place for the movies? I know where i want them on the scene (position) what do i have to make? Do i have to make a box, or frame or something to load the movies into?
Basically how to make the movie load into a specific place. This is probably an easy one, i understand the command, i just dont understand how to create the place for the movies to be loaded to.
Thanks for any help
KDX
Load Movie And Unload All Others?
Hi~
I've been using the load movie function to play movies from my main movie and that works just fine.
The only problem is when the loaded movie is running and I mouse over it, it responds to other load movie buttons that are behind it. These buttons of course work and activate and then are running when I close the original loaded movie.
Is there a way around this?
Thanks for your help!
D
Load & Unload Movie?
Can U tell me where to find a tutorial? I have 10 SWFs & I need to link them together..... I have them all in the same folder..... I have buttons to click from one SWF to the next, no problem.................. but I'm having troubles making them click backwards, from one SWF to the previous......... please help........ It's driving me crazyyyyyyyyyyyy........
Load-play-unload Mc
i am trying to create a projector file that acts like a smart presentation. i have the main swf file with two buttons (back and forward). i also have 5 external swf files (named 1.swf, 2.swf etc.) with various bits of info on them. in a perfect world i would like the following to happen. user opens the main projector file and sees two buttons. they click forward mc 1 loads and plays. if they click forward again mc 2 loads and plays. if they then click the back button mc 1 loads and plays again. the important thing here is the background must remain from the original main mc. the other mc's just play text/images/whatever over it. i am assuming i will wind up with some function that says something like:
x=current movie #
if forward clicked
load and play x+1
if back clicked
load and play x-1
i am not a programmer, but i understand the basic theory here. i just don't know how to implement them!! any and all help greatly appreciated.
thanks.
Load And Unload Commands?
ok, trying to do something in flash that should be done in director, but since flash is the future, here we go!
is there an equivalent item to the load and unload commands from director, in flash?
basically, i have a really large file right now and i need to make the movie run more smoothly by loading elements right before they are being used. the movie contains jpgs, external mp3's, and videos. any help greatly appreciated!
Load / Unload Movie
I have produced an interactive demo in Flash and have loaded my movies into levels from the main menu page. However, the hyperlinks from the main menu can still be clicked on through the movie on top. I have tried to unload the movie underneath, but this doesnt work. Any ideas??
Load And Unload Movie
My flash movie has two scenes at end of scene 2 i have load another movie using loadmovie. Now I wanna unload the loaded movie and directly go to scene 2 . Is there anyway by which I can directly jump to scne 2 instead of going through scene 1. I am using flash 5 and both moovies have same dimensions.
Please help
Puneet Batra
*********
free your mind
Load And Unload Movie Please Help
Hello,
I am trying load swf files on levels, I have it working but I am trying to make look like it is being masked To the other SWF behind it. But the unload is where i am having trouble.
If someone could give my a hand with the actions that would be Great!!!!
If you want to look at what I am trying to copy look at the http://www.baxtered.com/. you can see where the swf's are being loaded but what do you tell the them to unload and still get the masking.
Thanks
Load- Unload External SWF
Can you guys send me links to tutorials on how
to get external SWF load it properly in your main movies.
I do not understand TARGET/LEVEL.
I made webpage with external SWF files.
It works fine when F12 is hit but when posted to web
server it does not work.
Please Help
Paul
Load And Unload Movie Please Help
Hello,
I am trying load swf files on levels, I have it working but I am trying to make look like it is being masked To the other SWF behind it. But the unload is where i am having trouble.
If someone could give my a hand with the actions that would be Great!!!!
If you want to look at what I am trying to copy look at the http://www.baxtered.com/. you can see where the swf's are being loaded but what do you tell the them to unload and still get the masking.
Thanks
Load, Unload Question
Hi, i am trying to design a "jukebox" So once my site comes up, o want just the "jukebox" interface to load. I dont want any of the songs loading, cuz it will slow the site up, and the rest of the site content will be slowed down. MY question is, how would i load the song, once the user clicks the desired song, and dispaly a loading screen over the song or a designated spot, so they know its loading. Ect...
Load /unload Movie
If I load an swf into a MC, and then want another one to load in that same MC, should I unload the first one first, or is there no difference? Ive tried to unload the movie already there, but I cannot seem to get it right. Ive tried it like this(on a button)
on(release){
_root.contents.unloadMovie("portfolio.swf");
}
Am I all wrong or what??
Movie Load & Unload
Hi guys, I got 2 problems here.
1. I can't seem to load the movie using loadMovieNum( etc etc) to load and start in frame 2. I got it to load but can't get it to load at frame 2.
2. I also can't seem to get the other clip to wait for the movie i loaded to finish before going to the next scene.
Is there anyway way around. I've tried using if loops and telltarget but my syntax seems to stuff up all the time. Also i look all over the tuts in stuff and can't find a thing.
ANY GURUs out there who can help
This Is Killing Me...Load/unload For Swf In MC
I raked through the help boards and find a lot fo similar questions but it's all making me even more confused. I'm trying very hard to accomplish this load/unload scenario, but nothing seems to work:
1. I have a main movie to which all other loaded swf's will load in to. The main movie ("main.swf"), contains a container movie clip (container) on the main timeline.
Container is the only clip that has dynamic content as main.swf as a whole is for esthetics and navigation buttons.
2. I want to load external swf's into container when a given button is pressed. They all work fine except for a gallery swf ("ourwork.swf") which has its own buttons linking to categories of pictures. This swf loads fine except when these buttons within it are pressed.
3. There are five buttons in ourwork.swf each representing a category of pictures. The categories linked to ourwork.swf are each their own swf's. For example, "lawfirms.swf".
Now, when I press the law firms button, the new swf will load into ourwork.swf into a container residing on the ourwork.swf main timeline. The container is the same size as the movie itself. So the lawfirms.swf movie takes over the ourwork.swf movie. This works fine too.
I should note that I did not use levels intentionally because if every thing is based on main.swf, the navigation ans esthetic elements will be lost when the level0 movie (main.swf) is taken over by a newly loaded, smaller movie (i.e. "ourwork.swf).
The problem occurs when I want to get back to the ourwork movie, which is in the container of main.swf. I want a button to "come out" of the current category gallery (lawfirms.swf) and then take the user back to the ourwork section (ourwork.swf), which has all the categories of galleries.
In order to do this, I had the category movies stop on frame 20, then when the user wants to go back to the main gallery (ourwork.swf) they click a button and the category movie plays from frames 21-40 and on frame 40 a keyframe is supposed to unload the current movie and load the ourwork.swf movie. This is where nothing seems to work.
I tried levels, but with the use of containers, everything is basically on level0 (right?). I may just need the correct syntax for unloading the current category and loading the ourwork.swf movie back into the container. I really don't know.
If anyone can help me with this, please do so. I know it may sound a little convoluted, so I can send the FLA to anyone who may want to look at it.
Eric C. Black
|