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?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 12-26-2004, 04:50 PM
View Complete Forum Thread with Replies
Sponsored Links:
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
View Replies !
View Related
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.
View Replies !
View Related
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?
View Replies !
View Related
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!
View Replies !
View Related
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?
View Replies !
View Related
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");
}
};
View Replies !
View Related
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?
View Replies !
View Related
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..
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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?
View Replies !
View Related
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!
View Replies !
View Related
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");
}
};
View Replies !
View Related
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?
View Replies !
View Related
[MX04] 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..
View Replies !
View Related
Tutorial: Preloader/transition/dynamic Files
Hello there
I am using a customised version of the preloader and transition for dynamic files to load a 30sec swf animation that I have made.
The preloader looks great and loads the animation.swf. The problem is that it starts playing before it has totally loaded - underneath the transition animation. When the preloader transition clip opens, the movie is already half way through.
I'm sure there is a bit of script that can stop it playing until it has totally loaded or that makes it start when the transition animation opens but I don't know how to do it. Please would you help me to do this?
ps. if you explain it like i'm a 5yr old that would help!
Thanks very much!
manda
View Replies !
View Related
[PROBLEM] Preloader And Transition For Dynamic Files
Hi, i read the Preloader and Transition for Dynamic Files tutorial by claudio and i tried to use twise in the project. it works fine, the buttons work, in fact i did not change the code in the tutorial_complete.fla, i did the same for the photos.fla, and it works fine, but when i published the tutorial_completes.wf, i came with these two problems:
- when i click the photos button in the tutorial_complete.swf, it load the photos.swf, but the code in the photos.swf does not work. it tried to change the name of the instance names and the labels, but nothing.
- the effect in the main buttons is great, but there is a broblem in the in the photos.swf buttons.
files zipped here:
http://www.savefile.com/files/3450872
thanks in advance for your help
tess
View Replies !
View Related
Preloader And Transition For Dynamic Files Problem
This pertains to the Preloader and Transition for Dynamic Files tutorial here on kirupa.
I've used this tutorial many times before but now for the first time i am using navigation that is inside a movie clip. instead of directly on the stage. I'm having problems with the content loading it just always says loading. Is there something that i would have to change in the transition code or my button code? all the code for my buttons is inside of nav_mc movie clip. here is my fla. to take a look at
http://www.manifolddesigns.com/Load%20movie.fla
thank you for your help and time it is much appreciated.
Jake
View Replies !
View Related
Preloader And Transition For Dynamic Files Tut Question
Ok I have used this tutorial for creating a preloader and trasitions for my external swfs:
http://www.kirupa.com/developer/mx/p...transition.htm
It worked great but I want to add multiple transitions. I added another transition to the timeline inside the transition mc. The closing transition works great but the opening referes back to the opening of the first transition(Frame Label-"opening"). I need it to refer to its own opening transition(Frame Label-"opening2").
I know why this is happening but I have know idea how to fix it.
On the empty mc that bring in the tranisiton on the main timeline there is this actionscript:
HTML Code:
onClipEvent (enterFrame) {
if (!loaded && this._url != _root._url) {
if (this.getBytesLoaded() == this.getBytesTotal()) {
loaded = true;
_root.transition.gotoAndPlay("opening");
}
}
}
That is where it keeps refereing it back to the original "opening" transition. Is it possible to create some sort of if/else statement that will say if its on "closing2" transition then gotoAndplay "opening2"?
Please help???
View Replies !
View Related
Preloader And Transition For Dynamic Files Tute HELP
Hey guys... got an odd anomaly and I can't figure out what's going on!
I've used the technique described in the above-mentioned tute twice, and both times I've had major errors with the external SWFs. The first time I did it, the loaded SWF wouldn't play the music I had in it (I called it up via actionScript). I got around the problem by embedding the audio into the SWF itself (you know, the old drag-and-drop method... not my favorite choice by far).
Now, it's more critical... I'm loading dynamic text and pictures and they're not being displayed at all!! It's killing me and I can't go any further until I figure this out. I really like the technique in the tutorial and I haven't figured out a more efficient way of achieving the same effect. Does anyone have any suggestions??
View Replies !
View Related
Preloader And Transition For Dynamic Files Tutorial
I have followed the tutorial and everything works great, in tutorial fla. When I try to apply the tutorial to a new fla, I cannot get the "opening" to work, the swf's are loading because when I click on a new button, I can see them briefly under the transition, but my transition won't open after load.
Its probably a stupid mistake, I don't know where it could be, I've scoured all the actionscript for typos, I would think it would be in the actions for the content mc, but now I'm just frustrated.
Thanks......
View Replies !
View Related
Preloader/transition/dynamic Files Tutorial - Help Please
Hello there
I am using a customised version of the preloader and transition for dynamic files to load a 30sec swf animation that I have made.
The preloader looks great and loads the animation.swf. The problem is that it starts playing before it has totally loaded - underneath the transition animation. When the preloader transition clip opens, the movie is already half way through.
I'm sure there is a bit of script that can stop it playing until it has totally loaded or that makes it start when the transition animation opens but I don't know how to do it. Please would you help me to do this?
ps. if you explain it like i'm a 5yr old that would help!
Thanks very much!
manda
View Replies !
View Related
Claudio - Preloader And Transition For Dynamic Files Tutorial
Hi
I used the 'Preloader and Transition for Dynamic Files' Tutorial from the tutorials section
here is a link
http://www.kirupa.com/developer/mx/p...transition.htm
and have to say, I learned soooo much from it, and encorporated it into my website
www.intotheether.net
I was wondering if you could tell me how to put a percentage preloader for each of the sections when they load. The heavier the .swf file you are loading, the longer it takes, and I've gotten comments about this saying they would like to know how long they have to wait until they see something.
I'd also appriciate any comments you may have for me about the use of this tutorial on my website.
Thanks so much
-Govinda
View Replies !
View Related
Preloader And Transition For Dynamic Files Tutorial Problem
Hey guys I'm having a little difficulty with this tutorial. The preloader works the first time and loads the initial external swf but despite having what I beleive to be the correct code for the buttons (and the correct names for teh files) I can't get my buttons to work.
Also for some reason I can't load the main swf into any browsers - it only half works in the standalone player. Lastly for external swfs do you have to specify the exact right coordinates for the swf to display or is there a way of coding it to figure this out on its own?
I'm going to include the main swf and my first external one. If anyone needs any more files let me know.
http://www.geocities.com/gord_82/Main.fla
http://www.geocities.com/gord_82/news.swf
View Replies !
View Related
Claudio´s Tutorial Preloader And Transition For Dynamic Files
Hi, a newbie here...
Would like to know how to make the first animation loaded (in tute, profile.swf) to begin playing only AFTER the "transition" movie clip reachs the end. I tried a simple if, else statement, conditioning the swf for playing when bytes are totally loaded, but it plays before the transition movieclip reaches the "opening" labeled frame.
I found a thread (by manda) alike, but no answer at all.
Also, I´d like to control it on THIS swf, the other ones are looking good the way they are. Anyone could help?
Claudio, "uma luz por favor??"
View Replies !
View Related
Infinite Menu With Preloader And Transition For Dynamic Files?
Hi Guys,
I have tried to combine the use of 2 tutorials on this site.
Basically, to use the infinite menu as the menu for loading external .swf (as the 2nd tutorial listed below allows).
1. Infinite Menu:
http://www.kirupa.com/developer/mx/infinite.htm
2. Preloader and Transition for Dynamic Files
http://www.kirupa.com/developer/mx/p...transition.htm
My site is so close to completion, but now I am stuck.
Basically the infinite menu (in order to work) has buttons inside 2 movieclips.
Yep! When I press CTRL + ENTER to test, the _root external .swf loads, but if I click the buttons (which react) they do not load external .swf.
Can anyone help please? Please please please lol. I will be most grateful.
CreamClouds
View Replies !
View Related
Claudio - Preloader And Transition For Dynamic Files Tutorial
Hi
I used the 'Preloader and Transition for Dynamic Files' Tutorial from the tutorials section
here is a link
http://www.kirupa.com/developer/mx/p...transition.htm
and have to say, I learned soooo much from it, and encorporated it into my website
www.intotheether.net
I was wondering if you could tell me how to put a percentage preloader for each of the sections when they load. The heavier the .swf file you are loading, the longer it takes, and I've gotten comments about this saying they would like to know how long they have to wait until they see something.
I'd also appriciate any comments you may have for me about the use of this tutorial on my website.
Thanks so much
-Govinda
View Replies !
View Related
Preloader And Transition For Dynamic Files Tutorial Problem
Hey guys I'm having a little difficulty with this tutorial. The preloader works the first time and loads the initial external swf but despite having what I beleive to be the correct code for the buttons (and the correct names for teh files) I can't get my buttons to work.
Also for some reason I can't load the main swf into any browsers - it only half works in the standalone player. Lastly for external swfs do you have to specify the exact right coordinates for the swf to display or is there a way of coding it to figure this out on its own?
I'm going to include the main swf and my first external one. If anyone needs any more files let me know.
http://www.geocities.com/gord_82/Main.fla
http://www.geocities.com/gord_82/news.swf
View Replies !
View Related
Tutorial Problem? Flash MX Preloader And Transition For Dynamic Files
I was trying to recreate the tutorial with the above title, and could not get my version to work correctly. If anyone has walked through this one and had the same problem, please let me know. I'm fairly new to actionscript, but I believe the problem is occuring with the reference to "_root.section," and I can't seem to find this "section" object in the original tutorial movie. But it loads in the initial swf, which shouldn't work if this was the case. You can download the fla file from here.
http://members.cox.net/thompsonml/Main.fla
or use the link below.
Thanks in advance for any help!
View Replies !
View Related
Claudio's "Preloader And Transition For Dynamic Files" Tutorial
The tutorial itself is good and works fine, but I am using it as part of a website and it does not seem to work then.
All the necessary files are in the remote site's folder, but for some reason the clip is not playing the "closing" frame nor showing the content that comes after.
The movie works fine when exported in Flash, just not on the web....HELP!
View Replies !
View Related
Preloader And Transition For Dynamic Files Tutorial "problem"
Hi everyone, i'm trying to build my site using the Preloader and Transition for dynamic files tutorial, but i got a problem. When it loads a movie clip it will resize the width of the movie clip. The container i'm using where the MC should be loaded is w:688 H:257 then i've made the movie clips the at the same size. When it loads the movie clips, the height it's ok, but the width becomes bigger. I tried many times but i just can't solve it out.
Some help please!
Thanks in advance.
View Replies !
View Related
Claudio's "Preloader And Transition For Dynamic Files" Tutorial
The tutorial itself is good and works fine, but I am using it as part of a website and it does not seem to work then.
All the necessary files are in the remote site's folder, but for some reason the clip is not playing the "closing" frame nor showing the content that comes after.
The movie works fine when exported in Flash, just not on the web....HELP!
View Replies !
View Related
"Preloader And Transition For Dynamic Files" Help Request
I had used this tutorial on this site before, and it worked, but I'm trying something sligtly different with it...and it goofs up. It plays the "closing" sequence...but not the "opening" one, even though the file I'm wanting it to load is in the same directory. Please help...I have no idea why this doesn't work! Thanks in advance!
Here are the files:
http://www.geocities.com/ctrtoken/sixpointoh.fla
http://www.geocities.com/ctrtoken/sixpointoh.swf
and
http://www.geocities.com/ctrtoken/news.fla
http://www.geocities.com/ctrtoken/news.swf
View Replies !
View Related
"Preloader And Transition For Dynamic Files" Help Request
I had used this tutorial on this site before, and it worked, but I'm trying something sligtly different with it...and it goofs up. It plays the "closing" sequence...but not the "opening" one, even though the file I'm wanting it to load is in the same directory. Please help...I have no idea why this doesn't work! Thanks in advance!
Here are the files:
http://www.geocities.com/ctrtoken/sixpointoh.fla
http://www.geocities.com/ctrtoken/sixpointoh.swf
and
http://www.geocities.com/ctrtoken/news.fla
http://www.geocities.com/ctrtoken/news.swf
View Replies !
View Related
Transition For Dynamic Files Issue
Hello good people,
I have been doing the Transition for Dynamic Files tut - I had no problem with it (BIG thanks Claudio), however, I have been working on my first site and tried to use it in my portfolio section - no luck. Perhaps someone will give me a hand here .... The fla is below, somehow the buttons do not work and also the transition plays half the way. If someone could have a look please ....
http://www.pbdesign.pl/web.fla
Thank you.
View Replies !
View Related
|