Preloader And Transition Problems
I used the http://www.kirupa.com/developer/mx/p...transition.htm tutorial.
However, when i put the page into a symbol it doesn't work.
Heres the file.
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 12-18-2003, 01:49 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Transition From Preloader
After my preloader i have a continue button fade in
with the following attached code:
on (release)
{gotoAndStop ("homepage");}
where homepage is the name of the frame of the following movie clip for the page
when i test movie, or upload movie and test it and click my button, nothing happens?
advise?
p.s. flash mx
Transition And Preloader
OK, heres my first technical flash mx question.
I have a flash movie that i am using as the bg or level 0. This level contains a bg image and a mc that contains the menu.
What i am trying to achieve is how do I assign the buttons in the mc to load the external .swf movies in layer 1 AND incorporate a preloader between each scene transition? I see this dona all the time, but cant figure it out
Shawn
Preloader Help And Transition Help
I'm trying to create a preloader that is a movie. Not just a load bar. I want to create some animation that would lead into the movie. I guess what I mean is that I want to see a little animation. I don't want the preloader to zip by and not see it. For instance the movie may be completed but the preloader has 2 seconds left. I want to see those two seconds.
also I want to make the movie a little more seamless. The main site is one scene and the other pages are swf's that I load into the main movie. Now say for instance I want to go from the home page(a loaded swf) to the contact page(another loaded swf). Now the buttons are all on the root page, and I'm trying to make those buttons communicate with the loaded swf's. Say I have five buttons on the home page. I need each of those buttons to tell the home movie to continue from the point that it is stopped to the point where it finishes, and then start whatever other movie that I'm loading in. The site is www.geaa.com. Skip the intro. It's not that good. The site itself is tight, but I want to make it seamless and continuous.
I know that's a lot to take in, but if anyone has the patience to help me out, please do. thanks.
Help With Preloader Transition
Guys,
I can not seem to get this transition to work:
Help http://www.kirupa.com/developer/mx/p...transition.htm
The first movies loads, but I cannot see a transition...
Can someone take a look? My FLA can be found here: http://www.kevincarleo.com/StagingAr...FlashIndex.fla
Preloader As Transition?
I'm trying to have a load bar with the percentage amount loaded as a transition between .swfs. I tried mixing the preloader tutorial with the transitions tutorial but I have been at this for days with no luck. Can someone more knowledgable than I help me with this? Please???
Please Help: Transition Preloader
Hi,
sorry to write with such urgency, but I cannot find a solution to an issue I'm having.
I've designed a site usng the transition tutorial, where you have a main stage and then content loaded into a movie clip with a dynamic transition and preloader between loading clips.
My problem is as follows: one of the .swf's I'm loading into the "content" movie clip on the stage has a random script which is designed to load a random background image. As the images are large in file size, the preloader only calculates the size of the .swf WITHOUT the random JPEG loaded. So in other words, the preloader is WAY underestimating the size of the .swf and on slower connections is "closing" way too early, leaving a blank background until the rest of the loading image has cached. Looks tacky and on slower connections, someone may think the file is broken and will move on. Not good.
I cannot think of any way to get around this...is there a way to get a preloader to take into account the file size of sub-loaded movie clips that are inside of the .swf that is loading???
No one answered before so PLEASE can someone help. Even if it's just a link to a tutorial.
THANKSSSS!
Transition Preloader
Hello, I am trying a new site and I want to have a photogallery. I have tried an xml one but can't get the thumbnails in the right place so I have gone for a trasition setup. I am going to make it very simple and explain the best I can!
I have my box and movie etc, for the transition I am just going to have a semi transparent layer over the top (in affect fading the picture behind it). I want to display a preloader on the transition so the viewer can see the progress, but can work out how as the preload element already exists in the transition movie clip.
Hope that makes sense....
Oh the transition and code etc are as on here!!!
How To Use This Transition And Preloader
http://www.senocular.com/flash/tutor...image_fade.zip
first,, im sorry for my english..
ok my question is
when the movie is open how to load a first movie using a transtion aand preloader,,
i want to open this movie and load a external movie using the preloader and trnasition,,
Preloader As Transition?
I'm trying to have a load bar with the percentage amount loaded as a transition between .swfs. I tried mixing the preloader tutorial with the transitions tutorial but I have been at this for days with no luck. Can someone more knowledgable than I help me with this? Please???
Please Help: Transition Preloader
Hi,
sorry to write with such urgency, but I cannot find a solution to an issue I'm having.
I've designed a site usng the transition tutorial, where you have a main stage and then content loaded into a movie clip with a dynamic transition and preloader between loading clips.
My problem is as follows: one of the .swf's I'm loading into the "content" movie clip on the stage has a random script which is designed to load a random background image. As the images are large in file size, the preloader only calculates the size of the .swf WITHOUT the random JPEG loaded. So in other words, the preloader is WAY underestimating the size of the .swf and on slower connections is "closing" way too early, leaving a blank background until the rest of the loading image has cached. Looks tacky and on slower connections, someone may think the file is broken and will move on. Not good.
I cannot think of any way to get around this...is there a way to get a preloader to take into account the file size of sub-loaded movie clips that are inside of the .swf that is loading???
No one answered before so PLEASE can someone help. Even if it's just a link to a tutorial.
THANKSSSS!
Help With Preloader Transition
I have worked on a preloader transition that is presented as a tutorial on www.kirupa.com. I am having problems getting the final result. I am close but cannot seem to get it quite right. I believe I may be having problems with the masking. I have zipped the FLA and put it up on my website. Please take a look. Any help would be appreciated. The zip file is at this site http://test.jnpwebdesign.com
You can email me at algebra1@teacher.com or post to a site that I can download the final result or any advice on how to complete it. Thank you.
The secret in education lies in respecting the student. {Ralph Waldo Emerson}.
Preloader Transition Help
hi guys!!! hope someone could help me, ive been wanting to learn preloader transition, for example, lets say you have 2 buttons home and services, youre currrently at home then when you press services button all the contents from home will fade out then when its completely fade out then the preloader of services content starts. a simple source file will be a lot of help, so i could see how the codes are applied. thanks in advance cheers!!!!
Global Preloader? - Transition
Two questions:
1. Can i make a global preloader which i call to preload any swf at any level (loadMovieNum) or just loadMovie. If so how can this happen?
2. each swf has an opening animation (when loaded) and a closing animation. Well, when i load some other swf (via a button), the previous just unloads (logically), but without playing the closing animation first. So i cannot achieve the transition i want between swfs. I suppose there must be something about it....???
URGENT - Preloader & Transition
hi Guys,
I was wondering how to create the transition effect found on the contact or services buttons for the http://www.templatemonster.com/flash...tes/10595.html template.
I have created 3 swf file, and want to add this transition to the main mc
Thanks
eChimp
Transition After Preloader Best Practice
Hi,
I have created the following preloader for my movie:
Code:
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
var bLoadComplete:Boolean = false;
myMCL.addListener(myListener);
myListener.onLoadProgress = function(mcTarget_mc:MovieClip, nBytesLoaded:Number, nBytesTotal:Number) {
var Loaded:Number = Math.round(nBytesLoaded/nBytesTotal)*100;
mcProgressBar.gotoAndStop(Loaded);
}
myListener.onLoadInit = function(mcTarget_mc:MovieClip) {
mcProgressBar._visible = false;
}
myListener.onLoadStart = function(mcTarget_mc:MovieClip) {
mcProgressBar._visible = true;
}
myMCL.loadClip("Number16.swf",mcContainer);
This works fine.
Number16.swf is a very complex swf file and I wish to leave it as a standalone swf file without any modifications to it.
Once the external swf file has loaded, I would like the Progress Bar to animate out. This will most likely be a reduciton in the alpha value for it followed by an increase in the alpha value for the external swf file. But I don't want the external swf to be visible until I have completed the preloader outro.
Now I'm sure that there is a million and one ways to do this. I know because I've tried 999'999 ways and failed, but what is the best practice way to do it? I like to keep my actionscript code on only one frame of a timeline generally. I.e. I don't like stop() and gotoAndPlay statements dotted all over a swf file unless it's a hierarchical block element such as the code for a dropdown menu etc.
What's the best structure for this?
Preloader/transition Question
i did the preloader/transition tut. in this site.. it works great.. but one thing i noticed that i the transition during the closing part is still showing the previous .swf file.. and i dont want the previous .swf file to show while the transition is closing..
does anyone know how to make this happen?
if i didnt explain it very well, you can take a look at what i mean by going here..
http://www.geocities.com/whirlybird82/launch.html
i dont have a preloader for the main.swf so please be patient when the screen turns white.. it will turn black and have a bar scroll across the screen when its loaded..
thanks
Preloader And Transition Problems
I used the http://www.kirupa.com/developer/mx/p...transition.htm
tutorial.
However, when i put the page into a symbol it doesn't work.
Heres the file.
In Regards To: Preloader & Transition Tut By Claudio
with the tutorial that claudio made: http://www.kirupa.com/developer/mx/p...transition.htm
He made his transition and preloading in the main movie. But could you also make the transition and preloading in the external swf file instead? Which way is better?
Preloader And Transition Tutorial
I'm having difficulty with one of these tutorials: http://www.kirupa.com/developer/mx/p...transition.htm
iii. Click the transition layer. Double Click on the transition movie clip. Then select the frame 1 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box: _root.section = "profile.swf";
iv. Click on the frame 9 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box:
loadMovie(_root.section, _root.content);
stop();
v. Click on the frame 24 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box:
stop();
I don't understand how this is supposed to work. If I click on the transition layer & double click on the transition move clip, nothing happens, then selecting frame 1 of the actions layer and pressing F9 brings up the actions for the actions layer. Which in the completed tutorial, it shows that the code does not go there.
I hope someone can understand what I mean. I've been examining both the partial source and completed source trying to get it to work, but to no avail.
Transition Tut + Preloader Tut Problems.
Hello all -
Just finished up with this tutorial:
http://www.kirupa.com/developer/mx2004/transitions2.htm
And am now stuck with a new problem. Preloading. I used this preloader:
http://www.kirupa.com/developer/mx/p...age_loader.htm
But I don't think I'm doing something right. I saw another tutorial I could do:
http://www.kirupa.com/developer/acti...cliploader.htm
But I read that it requires flash player 7.. and unfortunately the site I'm designing has strict requirements that it must be published in AS1 for flash player 6. (sucks yes - but that's the real world I suppose)
So I've put the preloader in the first frame of each movie with nothing else on the stage. There is however a frame under "scripts" that defines the midframe, as part of the first tutorial. What is happening when all these tutorials meet is that when the main movie attempts to load the external swfs in - it seems to preload it, play the first frame of that movie, then jump back to the preloading frame.
If I'm going about this all wrong - and there's a much easier way to do this - I'll be very relieved. But the recap is - I want to use the preloader in tutorial 2, with the transitions I used in tutorial 1.
Sorry if this came out incoherent, any and all help would be greatly appreciated.
Preloader With Transition Problems
I have followed the Kirupa 'preloader with dymanic files' tutorial here:
http://www.kirupa.com/developer/mx/p...transition.htm
Getting that version working was no problem, but now that I have tried to implement this into a site of my own I seemed to have completely cocked it up!
see here:
http://www.simtech-software.com/
I've added transition links to the 'Home' and 'Online Tying Guides' links but they don't always work and when they do, the transistion doesn't play properly.
I'd be very grateful if anyone would mind having a quick look at the .fla files any pointing out my mistakes!!
FLA File -> site.zip
On the site everything gets loaded into the base.fla
Many Thanks.
Yet Another Preloader Transition Problem
Hi
I'm working on the following site http://www.ignition.ie/index_gra.html
I'm getting there however the preloader I'm using keeps appearing even when the movie in question has been cached. Is there a preloader solution out there that detects when a movie has been previously loaded so that it won't show the loader bar again. I find it annoying seeing the bar appear unneccessarily all the time.
The preloader I'm using is basically this:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay(2);
}
}
[f8] External Swf Transition W/preloader?
Hey everybody..
I'm having trouble getting external .swf's to transition when I add a preloader scene..
any advice?!
http://www.kirupa.com/developer/mx2004/transitions.htm - this is what I use.. and it works great! other then you can preload the content...
Preloader Transition Tutorial Help
Ok, newb here, got the tutorial working no problem (tutorial link) and understand it all (I think) but I made my own swf just to test and saved over the gallery.swf that came with the tutorial, and now the animation wont load when I press the gallery button, it just opens to a yellow screen. The swf just had a line of text on it - I can't see it, but I can select it. The other two buttons still work.
What have I done wrong? Do I need to do something special to the new swf file to get it to load properly into the main swf file?
Cheers!
Preloader/transition Question
i did the preloader/transition tut. in this site.. it works great.. but one thing i noticed that i the transition during the closing part is still showing the previous .swf file.. and i dont want the previous .swf file to show while the transition is closing..
does anyone know how to make this happen?
if i didnt explain it very well, you can take a look at what i mean by going here..
http://www.geocities.com/whirlybird82/launch.html
i dont have a preloader for the main.swf so please be patient when the screen turns white.. it will turn black and have a bar scroll across the screen when its loaded..
thanks
In Regards To: Preloader & Transition Tut By Claudio
with the tutorial that claudio made: http://www.kirupa.com/developer/mx/p...transition.htm
He made his transition and preloading in the main movie. But could you also make the transition and preloading in the external swf file instead? Which way is better?
Preloader And Transition Tutorial
I'm having difficulty with one of these tutorials: http://www.kirupa.com/developer/mx/p...transition.htm
iii. Click the transition layer. Double Click on the transition movie clip. Then select the frame 1 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box: _root.section = "profile.swf";
iv. Click on the frame 9 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box:
loadMovie(_root.section, _root.content);
stop();
v. Click on the frame 24 of the actions layer. Press F9 or go to Window | Actions. Copy and paste the following code into the Actions dialogue box:
stop();
I don't understand how this is supposed to work. If I click on the transition layer & double click on the transition move clip, nothing happens, then selecting frame 1 of the actions layer and pressing F9 brings up the actions for the actions layer. Which in the completed tutorial, it shows that the code does not go there.
I hope someone can understand what I mean. I've been examining both the partial source and completed source trying to get it to work, but to no avail.
Transition Tut + Preloader Tut Problems.
Hello all -
Just finished up with this tutorial:
http://www.kirupa.com/developer/mx2004/transitions2.htm
And am now stuck with a new problem. Preloading. I used this preloader:
http://www.kirupa.com/developer/mx/p...age_loader.htm
But I don't think I'm doing something right. I saw another tutorial I could do:
http://www.kirupa.com/developer/acti...cliploader.htm
But I read that it requires flash player 7.. and unfortunately the site I'm designing has strict requirements that it must be published in AS1 for flash player 6. (sucks yes - but that's the real world I suppose)
So I've put the preloader in the first frame of each movie with nothing else on the stage. There is however a frame under "scripts" that defines the midframe, as part of the first tutorial. What is happening when all these tutorials meet is that when the main movie attempts to load the external swfs in - it seems to preload it, play the first frame of that movie, then jump back to the preloading frame.
If I'm going about this all wrong - and there's a much easier way to do this - I'll be very relieved. But the recap is - I want to use the preloader in tutorial 2, with the transitions I used in tutorial 1.
Sorry if this came out incoherent, any and all help would be greatly appreciated.
Preloader Transition Thingy
Im wondering how the hell do you make those preloaders for diferent sections for instence ... http://www.k-whaps.com/ has like a preloader for each section. I need to put one in the gallery section in my website ... http://www.shongshong.vze.com/ because I would like to distribute the loading time form throuout my website so Everyone doesent have to wait so darn long at the begingin.
I would just like to have a preloader infront of my gallery section and my back issue section.
so some help with my stupd agravating problem.
Transition From Preloader To HTML Issue
I have a 10 second preloader that fades an image in that matches the HTML page of the site. I want the flash preloader to work for the first end-user visit to the site but not on every refresh or visit to the page.
1. Is there a java-script object that I can use that loads the preloader in HTML?
2. What actionscript command should I use on the final frame of the movie to get back to the HTML?
Thanks a bunch!!!
Hugh
Preloader And Transition For Dynamic Files
I used the "preload with transition" tutorial(http://www.kirupa.com/developer/mx/p...transition.htm) bu it doesn't work if the movie in an another level. my movie loads in a clip called "popup".
//////////OLD CODE://///////////
b1.onRelease = function() {
if (_root.section != "bijouterie/gal01/01.jpg") {
_root.section = "bijouterie/gal01/01.jpg";
_root.transition.gotoAndPlay("closing");
}
};
///////////NEW CODE://////////////////
b1.onRelease = function() {
if (_root.popup.section != "bijouterie/gal01/01.jpg") {
_root.popup.section = "bijouterie/gal01/01.jpg";
_root.popup.transition.gotoAndPlay("closing");
}
};
but the problem is in the next code (placed into the "content" clip, it loads the JGPs files):
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
helme!
anybody could help me? thanks
Preloader And Transition For Dynamic Files
Going through this tut.
http://www.kirupa.com/developer/mx/p...transition.htm
All Went well. Works fine. I am trying to understand the code. Read how it was actually done. I get most of it. My question is where does "_root.section" come from. I see no instances with that name on any timeline. Can anyone explain?
Thanks -Blood.
Preloader And Transition For Dynamic Files
I used this tutorial, and It works ok. My problem is that my buttons are in a dropdown menu. I tried using the relitave path to the buttons, but no luck.
The path to my button is; _root.weddings.santaFe
I put it here:
_root.weddings.santaFe.onRelease = function() {
if (_root.section != "santaFe.swf") {
_root.section = "santaFe.swf";
_root.transition.gotoAndPlay("closing");
}
};
And it didn't work.
The only way that I could get the movie (santaFe.swf) to load was to have it load when _root.weddings was pushed.
am I missing something with the path?
Preloader And Transition For Dynamic Files Tut
This is in regards to the tut found here. It was very helpful in resolving an issue I had. A question though. Is there an efficient way to show bytes loaded, or basically a preloader/progress indicator, while the external .swf loads?
Originally I was just simply loading external swfs which had preloaders in them. But the transition made is way slicker and not so abrupt.
Thx for any help. Very cool community!
Hi All. Preloader And Transition Stupid Question.
Hi! I'm a newbie in this, I don't know any actionscript, and I was trying to build a website using the preloader and transition tutorial. Here's my question:
The external swf's are preloaded in the main movie, which simply stops and waits for the loading. while its stoped, I can't make a preloader bar to work in that frame. how can I work around this?
I know this is got to be simple, but I can't get it to work...
Thank you in advance for any help.
Help With Preloader And Transition For Dynamic Files
I am trying to use this tutorial that was on the front page of Kirupa.
tutorial
But when i try to apply it to my movie it gets stuck in the closeing part of the movie. I dont know if it is stuck for real or trying to load the external movies. When i open the bandwidth meter it says that it is not downloading anything which leads me to believe it is not stuck just stopped. Has anyone had this problem?
Preloader And Transition For Dynamic Files
Hey, I am adapting the tutorial "Preloader and Transition for Dynamic Files" to use on a online portfolio I am building. Is it possible to change this script so that if a file (profile.swf for instance) isn't present nothing will happen. My client will be adding content after the build so I am building all the button functional. If he dosen't have a 2nd or 3rd file it is just leaving the screen blank.
I HOPE THIS MAKES SENSE!!
Code:
b1.onRelease = function() {
if (_root.section != "profile.swf") {
_root.section = "profile.swf";
_root.transition.gotoAndPlay("closing");
}
};
b2.onRelease = function() {
if (_root.section != "gallery.swf") {
_root.section = "gallery.swf";
_root.transition.gotoAndPlay("closing");
}
};
b3.onRelease = function() {
if (_root.section != "photos.swf") {
_root.section = "photos.swf";
_root.transition.gotoAndPlay("closing");
}
};
Preloader Transition For Dynamic Files Tut
Hi,
I used the tutorial "Preloader and Transition for Dynamic Files" by Claudio
http://www.kirupa.com/developer/mx/p...transition.htm
for a project - it works really very fine.
Now I have just one problem:
I have to load the whole site.swf into a movieclipholder and now I don't find
the paths anymore. An example:
That movieclip I use to load the site into is called "siteMC"
The code on the buttons are:
b1.onRelease = function() {
if (_root.section != "profile.swf") {
_root.section = "profile.swf";
_root.transition.gotoAndPlay("closing");
}
};
b2.onRelease = function() {
if (_root.section != "gallery.swf") {
_root.section = "gallery.swf";
_root.transition.gotoAndPlay("closing");
}
};
b3.onRelease = function() {
if (_root.section != "photos.swf") {
_root.section = "photos.swf";
_root.transition.gotoAndPlay("closing");
}
};
So I change the paths to: "_root.siteMC.section = gallery.swf" and so on.
That works also. But now, there is a script in the 1. frame of the transition movieclip that executes the loading of the first content swf:
"_root.section = "profile.swf";"
Here I tried everything from "_root.siteMC.section" "_parent.siteMC.section"
and so on - nothing happens.
Do anybody know what I have to code here so I can load the first swf or maybe some other solution?
Preloader And Transition For Dynamic Files
this is the only thing i want to learn pliz guys help me out ..
ive looked at the tutorial in mx but when i use mx 2004 ,....errors ,errors and errors is what i get .. does any of u know of the changes i can make to achieve this thanx
Help With Preloader And Transition For Dynamic Files
Hi,
I've just used this tutorial and its great,
here is the link for this tutorial
http://www.kirupa.com/developer/mx/p...transition.htm
but the problem is I'm trying to add a dynamic text field to show the Percentige being loaded to it too
and I've been at it for a good while and just can't get round to it to solve it
this is the code used on the MovieClip that I'm trying to add dynamicText to show percent being loaded
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
can anyone help to tell me what to do please ?
Thanks in advance..
Preloader And Transition For Dynamic Files
I liked this tutorial very much,(http://www.kirupa.com/developer/mx/p...ransition.htm), but is there a way to create an automatic transition so that if the user waits it will automatically transition through all of the choices?
[f8] Page Transition Preloader Adv. Btn - Need Advice
Hi all,
I've got a little prob. on my site.. Everything was going great with the advanced buttons and external page transitions.. But when I add a preloader the external pages no longer load!!! I need advice bad.. I figure this one out..
Thanks for any help!
Below is the AS:
this.onRelease = function(){
if (_root.currMovie == undefined) {
_root.currMovie = "tour";
_root.container.loadMovie("tour.swf");
} else if (_root.currMovie != "tour.swf") {
if (_root.container._currentframe>= container.midframe) {
_root.currMovie = "tour";
_root.container.play();
}
- I'm assuming its something here.. Like I need to tell it something like its off the _root. now because of the preloader being on a sense before..?
if (_root.container._currentframe>= container.midframe) {
Preloader And Transition For Dynamic Files Tut
I've just done this tut, but I get an error message when I publish:
Scene=Scene 1, Layer=content, Frame=1: Line 1: Clip events are permitted only for movie clip instances
onClipEvent (enterFrame) {
I'm in DESPERATE need of preloader for external swf's.. can't seem to find one that works?
Please help me!
I use Flash MX2004
Preloader And Transition For Dynamic Files
hi,
i have problems with this tutorial, my movie does not work
the output says
Symbol=transition, Layer=actions, Frame=9: Line 1: Syntax error.
loadMovie(_root.section,__root.content);
do anybody know how i can fix this problem?
muchos gracias
Preloader And Transition For Dynamic Files
I used the "preload with transition" tutorial(http://www.kirupa.com/developer/mx/p...transition.htm) bu it doesn't work if the movie in an another level. my movie loads in a clip called "popup".
//////////OLD CODE://///////////
b1.onRelease = function() {
if (_root.section != "bijouterie/gal01/01.jpg") {
_root.section = "bijouterie/gal01/01.jpg";
_root.transition.gotoAndPlay("closing");
}
};
///////////NEW CODE://////////////////
b1.onRelease = function() {
if (_root.popup.section != "bijouterie/gal01/01.jpg") {
_root.popup.section = "bijouterie/gal01/01.jpg";
_root.popup.transition.gotoAndPlay("closing");
}
};
but the problem is in the next code (placed into the "content" clip, it loads the JGPs files):
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
helme!
anybody could help me? thanks
Preloader And Transition For Dynamic Files
Going through this tut.
http://www.kirupa.com/developer/mx/p...transition.htm
All Went well. Works fine. I am trying to understand the code. Read how it was actually done. I get most of it. My question is where does "_root.section" come from. I see no instances with that name on any timeline. Can anyone explain?
Thanks -Blood.
Preloader And Transition For Dynamic Files
I used this tutorial, and It works ok. My problem is that my buttons are in a dropdown menu. I tried using the relitave path to the buttons, but no luck.
The path to my button is; _root.weddings.santaFe
I put it here:
_root.weddings.santaFe.onRelease = function() {
if (_root.section != "santaFe.swf") {
_root.section = "santaFe.swf";
_root.transition.gotoAndPlay("closing");
}
};
And it didn't work.
The only way that I could get the movie (santaFe.swf) to load was to have it load when _root.weddings was pushed.
am I missing something with the path?
|