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








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!




KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 08-05-2003, 09:34 PM


View Complete Forum Thread with Replies

Sponsored Links:

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.

View Replies !    View Related
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.

View Replies !    View Related
Tutorial: Preloader And Transition For Dynamic Files
Hey Guys, I was working on the Tutorial Preloader and Transition for Dynamic Files , and I got the tutorial to work, but I was trying to apply it with a site I'm working on, it won't work. Any Idea? I have attached the .fla I was working on

http://www.geocities.com/ejbatu1/eNew.fla

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
The Preloader And Transition For Dynamic Files Tutorial
how come it the tutorial can not display dynamic or input text can n e 1 help?

View Replies !    View Related
New Question Regarding Claudio's Tutorial, The Preloader And Transition One
Yes, I know. This tutorial has been covered many times before, but I have a new problem. I followed Claudio's tutorial...

http://www.kirupa.com/developer/mx/p...transition.htm

...and modified it according to my needs, and worked fine. Then, I wanted to make a preloader for it, so I found this thread, and followed Icio's suggestions, and worked:

http://www.kirupa.com/forum/showthre...lete+preloader

But, I still have that same old problem, that the external swf's animation plays underneath the loading bar before it finishes loading. The script that handles it, is inside the "loading" movieclip that Icio made. How can it be modified to work properly with an animated external swf? By the way, I know very little Actionscript (that's why I can't figure it out ).Thanks.

View Replies !    View Related
Preloader And Transition For Dynamic Files TUTORIAL
can anyone help me plz...

i want to add a load bar with percentage while preloading the external files with the transition. i guess it will be quite simple i am just new in flash and i m working my way around it.
tnx in advance

tutorial page:
http://www.kirupa.com/developer/mx/p...transition.htm

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
Tutorial: Preloader And Transition For Dynamic Files
Hey Guys, I was working on the Tutorial Preloader and Transition for Dynamic Files , and I got the tutorial to work, but I was trying to apply it with a site I'm working on, it won't work. Any Idea? I have attached the .fla I was working on

http://www.geocities.com/ejbatu1/eNew.fla

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
The Preloader And Transition For Dynamic Files Tutorial
how come it the tutorial can not display dynamic or input text can n e 1 help?

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
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
Help Regarding To "Preloader And Transition For Dynamic Files" Tutorial
Hi there,

I made a flash movie following the tutorial by Claudio, but thereis someting wrong with it, the button doesnt seem to be working, can anybody help, I am alos attaching all the files to look at, any help would be much appreciated.

Regards,

rothkodesign

View Replies !    View Related
Transition Tutorial For As 3.0?
so i started my first completely new, from the ground up project since the release of 3.0. i'm a dork, so i was kinda excited to create a new fla file and save 3.0 in the publish settings. so then i got about my business, create a movie clip that i want to use as a button, jump into my actions panel, and give that movie clip instance onRelease, onRollOver, and onRollOut functions. SHABAM!!! spot, we're not in the bahamas any more....

needless to say, 3.0 doesn't work like that. so i tried to fix it from the compiler errors, i needed to create an eventListener. alright, i know how to do that. SHABAM!!! it got aggravating really quick, so then i try to find some documentation to guide me, but i'm finding it hard to find information basically with the idea of "i used to do this, so now what do i do?" anyone know of a tutorial that might help me?

View Replies !    View Related
Transition Tutorial
Hi all, I have a question regarding this tutorial http://www.kirupa.com/developer/mx2004/transitions.htm
Does anyone know how I can get the buttons, on entering each section, to display the over state and not be clickable?
Cheers.

View Replies !    View Related
The Transition Tutorial
Does that tutorial about transitions on this site work with movies loaded with aniamtion in them? Or does it only work with stand-alone images and such?

Thanks

View Replies !    View Related
Looking For A Tutorial For THIS Type Of Transition
Im just starting to learn actionscript and I was hoping someone would have a little feedback on how to do something similar to the transitions on this site.

http://www.jiolahy.it/

Im thinking its just a mask with script repeating a pattern which gradually changes, but i need some input from the experts....

thanks

FDR

View Replies !    View Related
Adapting SWF Transition Tutorial For MCs
Hi all,

I'm trying to adapt this tutorial for use with MovieClips in the library, instead of with external SWF (my MCs are small files sizes). I've set the MCs up as per this tute, and done a bit of adaptation to the button MC scripting to use the attachMovie method (I'll explain why in a sec). I have my main FLA set up with my main navigation on the root timelife (one layer per button), and an empty MC on a layer below for my library MCs to get loaded into an empty MC from the navigation. Most of my AS is on an external file, which is as follows:


PHP Code:




// ActionScript file for idx.fla/.swf
// Logo and navigation definitions are global throughout the site

//import com.mosesSupposes.fuse.*;
//ZigoEngine.simpleSetup(Shortcuts,PennerEasing,Fuse);

/* Begin stage resizing code */

// Stage paramaters
Stage.scaleMode = "noScale";
Stage.align = "TL";

// Logo positioning | stationary
logo._x = 40;
logo._y = 40;

// Resize function stage listener for the background
var sListen:Object = new Object();
sListen.onResize = function():Void  {
    rePosition(bgPhotos);
};

// Resize function for the background
Stage.addListener(sListen);
function rePosition(bgPhotos):Void {
    if (Stage.width/Stage.height>bgPhotos._width/bgPhotos._height) {
        bgPhotos._width = Stage.width;
        bgPhotos._yscale = bgPhotos._xscale;
    } else {
        bgPhotos._height = Stage.height;
        bgPhotos._xscale = bgPhotos._yscale;
    }
    bgPhotos._x = 0;
    bgPhotos._y = 0;
}

contentMonitor = new Object();
contentMonitor.onResize = function() {
    _root.contentLoader.newsMC._x = (Stage.width-_root.contentLoader.newsMC._width)-40;
    _root.contentLoader.newsMC._y = (Stage.height-364.5)-50;
}

Stage.addListener(contentMonitor);
contentMonitor.onResize();

// Resize function call
_root.bgPhotos.onLoad = function(){
    setSize(Stage.width,Stage.height);
    bgPhotos.my_ssp.loadImageNumber("0");
}

// Main navigation
frontTrigger.onRelease = function() {
    bgPhotos.my_ssp.loadImageNumber("0");
}

profileTrigger.onRelease = function() {
    bgPhotos.my_ssp.loadImageNumber("1");
}

worksTrigger.onRelease = function() {
    bgPhotos.my_ssp.loadImageNumber("2");
}

detailsTrigger.onRelease = function() {
    bgPhotos.my_ssp.loadImageNumber("3");





I've also got actions attach to the MCs I'm using for buttons in the main nav. One example is:


PHP Code:




on (release) {
    if (_root.contentLoader.currMovie == undefined) {
        _root.contentLoader.currMovie = "newsMC";
        _root.contentLoader.attachMovie("newsMC", "newsMC", 0);
        _root.contentLoader.newsMC._x = (Stage.width-_root.contentLoader.newsMC._width)-40;
        _root.contentLoader.newsMC._y = (Stage.height-364.5)-50;
    }
    else if (_root.contentLoader.currMovie != "newsMC") {
        if (_root.contentLoader._currentframe >=contentLoader.midframe) {
            _root.contentLoader.currMovie = "newsMC"
            _root.contentLoader.currMovie.play();
        }
    }
}





Now, the reason I'm using the attachMovie method is because of an earlier issue I was having with my dynamic slideshow in the bgPhotos movieclip and the alignment of the MCs I want to call with transitions. Because those MCs aren't aligned top-left (in fact, they're bottom-right), the attachMovie method was the only one I tried that finally succeeded in accomplishing the repositioning on browser resize.

Anyway, the problem is this: clicking on the nav links will call whatever MC it is and place it correctly on the stage inside its empty movieclip. However, that's where it stops. clicking another link won't advance the clip's animation past the mid-frame, thus loading up the next one. At first I thought it was a path issue, but all attempts to play with paths turned up nil.

Any ideas on what I could be doing wrong?

On a side note, I find that when I do load up one of those MCs, the animations are pretty slow, despite the fact I have the FLA set to 30 fraps. Is it because something is getting cached and not being unloaded? Any thoughts on a solution to that would be appreciated, too.

Cheers!

View Replies !    View Related
Good Transition Tutorial...
Does anyone know or can point me in a direction where there are some good script for a load movie or load level transition in which you click the button...and then it fades to black and the new movie fades in...ya know which kind...I didn't know what to search for...thanks in advance...

View Replies !    View Related
Transition Tutorial Problem.
I've been following the transition tutorial on the main site and run into a few problems which I seem to have overcome. For example any text needs to either be embedded using the properties bar or using the library. If anyones stuck I'll post the code.

However the main problem i'm having is loading in an external swf. I;ve created a scrolling gallery that duplicates an instance for each image stored in the array, this works perfectly on its own.

However after you load it into the maininterface with the transition it the scrolling gallery doesn't work, it only shows the mc's without the actionscript affecting them.

I have tried using loadMovieNUM which loads in the scrolling gallery and works but it appears on top of the main interface.

Any help in sorting this would be appreciated and I think should be included in the tutorial.

View Replies !    View Related
Flaw With Transition Tutorial
Hi I have been using Voetsjabba's transition tutorial, its very good but i've been testing it with my own website and there is a serious problem.

If you try running voetsjabba's transition example, it works fine, however try this

click on section 1 button,

now (whilst the transition movie for section 1 playing hit section 2 button )

nothing happens, you may argue that this is meant to happen, but the main problem is that if you try hitting the section 2 button whilst everything has stopped nothing will happen, it will stay on the current movie.

Try the example and you'll find out.

However there must be a solution to this problem, the following is the code used for the buttons,

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "temp";
content.loadMovie("temp.swf");
} else if (_root.currMovie != "temp") {
if (content._currentframe>=content.midframe) {
_root.currMovie = "temp";
content.play();
}
}
}


There must be a way where u can alter this code so that everytime a button is pressed something will definately happen.

I'd be grateful for help.

View Replies !    View Related
Voetsjoeba Transition Tutorial
HI i was having a problem wit this tutorial, well not the tutorial but i took a bit of a diffrent approach.
I put my buttons inside a movieclip, not i figure out i had to g back and but_.root on container.
know my problem is is that it reloads the same swf.
i have it load home.swf on frame enter,

but then i click ot change it will play thru the midframe but then it will reload the same swf

any one have had this issue?

View Replies !    View Related
Problem With Transition Tutorial Help Please
Ok, i'm following these two tutorials....
http://www.kirupa.com/developer/mx2004/transitions2.htm
and
http://www.kirupa.com/developer/mx20...ton_effect.htm

Now, i've assigned the code on the transitions tutorial onto the button, so it looks like so..


Code:

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onPress = function(){
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio";
container.loadMovie("portfolio.swf");
} else if (_root.currMovie != "portfolio") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "portfolio";
container.play();
}
}
}
Now, when i click on the movieclip/button, it wont transition, the about.swf just stays on the page. What am I doing wrong here?

View Replies !    View Related
Question About Transition Tutorial
I'm getting a weird error message when I test my button. Here is the code I'm using on my main buttons, substituting the section name of course.

code:

on (rollOver) {
this.gotoAndPlay("over");
}
on (rollOut) {
this.gotoAndPlay("out");
}
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "extra";
//refer to _root
_root.contents.loadMovie("extra.swf");
} else if (_root.currMovie != "extra") {
//refer to _root
if (_root.contents._currentframe >= contents.midframe) {
_root.currMovie = "extra";
//refer to _root
_root.contents.play();
}
}
}


This is the error message I get.

Error opening URL "file:///C|/Documents%20and%20Setting.../undefined.swf"


Does any one have any Ideas on why it's looking for 'undefined.swf'?

View Replies !    View Related
Tutorial: Transition Between External .swf
i followed your tutorial and everything works fine - but what if i have an external swf that has not only 1 midframe, but more? is there a way to use your tutorial with "midframes"?

View Replies !    View Related
Transition Tutorial On Site.
Im tried doing the transition tutorials thats avaliblew here at kirupa, but doesn't work out.

I tried download the file and copypasting the code and still doesnt work. Yes i changed instance names and swf names.

My problem is that when I add the action to my button, it keeps loading the movie that loaded at first.

Any quick help would be apreciated.

Thanks.

Steve.

View Replies !    View Related
A Little Change In Transition Tutorial, Can You? :)
Hi everyone and thx for your attention.

I'm workin on a little site and i had follow this tutorial about transition for dynamic files on kirupa (transition for dynamic files).

This is the link at the site i'm doing :

link

And that is the question :

How can i do to have the transition animation closed in the start of the site and then decide to open it clicking on the 4 buttons i got?

I don't want to see it open immediately but only when i'll click on the buttons.

I've searched inside the forum but i didn't found what i'd like to want, also i'm an actionscript rookie...

Can you help me plz?

Cya! and thx

Supadiri

View Replies !    View Related
Transition Tutorial Question - Sorry
Hi people...

I have an external swf called "home". On the "home" stage is a button, and when this button is clicked, im wanting it to play a movieclip on the Flash document the container resides in (index.swf).

The movieclip has an instance of "background".

Can this be done?

Cheers

View Replies !    View Related
Transition Tutorial Problem.
I've been following the transition tutorial on the main site and run into a few problems which I seem to have overcome. For example any text needs to either be embedded using the properties bar or using the library. If anyones stuck I'll post the code.

However the main problem i'm having is loading in an external swf. I;ve created a scrolling gallery that duplicates an instance for each image stored in the array, this works perfectly on its own.

However after you load it into the maininterface with the transition it the scrolling gallery doesn't work, it only shows the mc's without the actionscript affecting them.

I have tried using loadMovieNUM which loads in the scrolling gallery and works but it appears on top of the main interface.

Any help in sorting this would be appreciated and I think should be included in the tutorial.

View Replies !    View Related
Flaw With Transition Tutorial
Hi I have been using Voetsjabba's transition tutorial, its very good but i've been testing it with my own website and there is a serious problem.

If you try running voetsjabba's transition example, it works fine, however try this

click on section 1 button,

now (whilst the transition movie for section 1 playing hit section 2 button )

nothing happens, you may argue that this is meant to happen, but the main problem is that if you try hitting the section 2 button whilst everything has stopped nothing will happen, it will stay on the current movie.

Try the example and you'll find out.

However there must be a solution to this problem, the following is the code used for the buttons,

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "temp";
content.loadMovie("temp.swf");
} else if (_root.currMovie != "temp") {
if (content._currentframe>=content.midframe) {
_root.currMovie = "temp";
content.play();
}
}
}


There must be a way where u can alter this code so that everytime a button is pressed something will definately happen.

I'd be grateful for help.

View Replies !    View Related
Voetsjoeba Transition Tutorial
HI i was having a problem wit this tutorial, well not the tutorial but i took a bit of a diffrent approach.
I put my buttons inside a movieclip, not i figure out i had to g back and but_.root on container.
know my problem is is that it reloads the same swf.
i have it load home.swf on frame enter,

but then i click ot change it will play thru the midframe but then it will reload the same swf

any one have had this issue?

View Replies !    View Related
Problem With Transition Tutorial Help Please
Ok, i'm following these two tutorials....
http://www.kirupa.com/developer/mx2004/transitions2.htm
and
http://www.kirupa.com/developer/mx20...ton_effect.htm

Now, i've assigned the code on the transitions tutorial onto the button, so it looks like so..


Code:

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false;
play();
}

this.onRollOut = function(){
rewind = true;
}

this.onPress = function(){
if (_root.currMovie == undefined) {
_root.currMovie = "portfolio";
container.loadMovie("portfolio.swf");
} else if (_root.currMovie != "portfolio") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "portfolio";
container.play();
}
}
}
Now, when i click on the movieclip/button, it wont transition, the about.swf just stays on the page. What am I doing wrong here?

View Replies !    View Related
A Comprehensive Transition Tutorial?
Hello!

I've been using Flash MX for a good while and I'm used to masking with shape/motion tween. I think that it's safe to assume that a transition can be made using a shape tween with a mask for the IN - effect and reversing the frames for the OUT - effect. The problem is that I don't know how to code these transitions in between the different sections of a site.

Lets assume tha asite has four different sections and respectively four different buttons : Main, Info, Portfolio and Contacts for example. The Main page would open with a transition and when you'd click any of the remaining buttons you'd get a closing transion that is unique for the Main section and after that move to a different section that also has its unique opening and closing transitons.

I think it would be wise to make each section into a different movieclip (so 4 different mc's in a single .fla) that holds both of the transitions and the content. I'd really appriciate if someone would take the time and help me out with this, (because I know there are a lot of advanced Flash users lurking around here in US).

- nasu

View Replies !    View Related
Percentage Preload And Transition Tutorial
Is it possible to apply a preloader with a progress bar and the percentage display on the transition effect instead of just having a animation and "loading".
I'm using a modified version a tutorial i found here, here's the code of the preloader :

ActionScript Code:
bytes_loaded = Math.round(this.getBytesLoaded());bytes_total = Math.round(this.getBytesTotal());getPercent = bytes_loaded/bytes_total;this.loadBar._width = getPercent*this.loadBarBorder._width;this.loadText = Math.round(getPercent*100)+"%";this.loadingClip.gotoAndStop(Math.round(getPercent*19)+1);if (getPercent == 1) {    this.gotoAndStop(3);}


My question is where to put this script and the preloader animation
Here's the two files (i'll put them into file) :

View Replies !    View Related
Voet's Transition Tutorial Problem
i have my main swf that everything loads into. then there are a bunch of other swf's that load into it. most of them work but there is one that when you click on the button it reloads the main swf. then when you click on it again it works. i have been kicking myself in the *** for 2 days with this. why won't it work?

EDIT: i forgot to mention that everything works fine on my computer. the problem only occurs when i upload the site. i am also using the same exact movie except for the content. *sigh* i am frustrated.

View Replies !    View Related
Help With Loading External SWF Transition Tutorial...
Ok everything is working great except when I push a button while another SWF is going through its intro (hasn't yet reached midframe) the swf corresponding with the button pressed doesn't load. This would be a problem if the user had to wait till the transition had to reachthe midframe then click the button but once the button is prematurly clicked, even when the intro stops, the button no longer works. This is the code i have attached to each button:


ActionScript Code:
onClipEvent (enterFrame) {       if (this.hitTest(_root._xmouse, _root._ymouse, true)) {        this.nextFrame();    } else {        this.prevFrame();    }}on (release) {    if (_root.currMovie == undefined) {     _root.currMovie = "cataracts";     _root.contentcontainer.loadMovie("cataracts.swf"); } else if (_root.currMovie != "cataracts") {    if (_root.contentcontainer._currentframe >= _root.contentcontainer.midframe) {     _root.currMovie = "cataracts";     _root.contentcontainer.play();    _root.contentcontainer.loadMovie("cataracts.swf")} }}


Does anyone have a solution? Thanks.

Mike

View Replies !    View Related
Expanding On The Kirupa Transition Tutorial
Hi all,

I've been messing about with this transition tutorial but have come across a problem that the tut doesn't really cover :-

Here's the tut: http://www.kirupa.com/developer/mx2004/transitions.htm

On the example here when you click on other buttons while the current movie is playing, the buttons have no effect until the timeline gets to the section of action script that tells the main swf what movie to play next according to the users button selection.

The movies that I have made range from about 150k to 200k per section but the obvious problem is that the user has to wait until the current movie has loaded and played out before the button press has any effect.

I tried making the AS frame that contains the _root.container.loadMovie(_root.currMovie+".swf"); range right across the timeline hoping that this would take into account the button presses before the current movie has finished, but it just messes up completely.

Does anyone know a work around here? I could really use the help!

TIA.

View Replies !    View Related
Question With The External Swf Transition Tutorial
Just found the site...I was thrilled to find the Transitions between External SWFs ....its very helpful...however...I am one of those poor souls who doesn't have their buttons on the main timeline...I have my buttons contained within movieclips...as they have rollon and rollout animations....so the scripts don't work right.... Kirupa says, "If your buttons are not located on the main timeline, you will have to change the path to the container movieclip." However, because I have absolutely no programming experience, I dont know what he means. How do I change the path to the container movieclip? I have the blank movieclip "container" on my main timeline...so what do I need to do in the script for the button to have the appropriate path?

Sorry for my ignorance...but I would greatly appreciate any help!

TIA
P

View Replies !    View Related
Transition For Dynamic Files (tutorial)
Hi there,

I used the transition for dynamic files tutorial and it works great.
http://www.kirupa.com/developer/mx/preloader_transition.htm
I only have a problem...
Cause it is dynamic i'm not able to use normal text, bgcolor and scrollable textfields in the external swf's and I want to...
How can I solve that problem??

Thanx a lot!

View Replies !    View Related
Transition Tutorial: Is It Possible To Load A Swf Into A Loaded Swf?
I am working with the transitions tutorial: http://www.kirupa.com/developer/mx2004/transitions.htm


Here is a link to the modified example im working on.

http://www.pixelvector.com/temp/tut/


If you are familiar with this tutorial you will see this is familiar. Main movie checks to see if the specific section is at "midframe" if its not it waits and does nothing, then once you have transitioned to midframe and stopped it, click on the next section will then transition out and load the next movie. I am tring to do a little variation of it.


ok we have mainmovie2004.swf which has 4 buttons. Each button, section1, section2, section3, and section4 all load specific movies to "container" on the main timeline. Section1 button loads section1.swf, Section2 button loads section2.swf...etc. Well I have placed another set of buttons in each section (just section1 and 2 for example sake). Each button loads a specific movie into container_small (yeah I know it doesnt follow camelCode but thats the least of my concerns). I have been messing around with the code and I am able to get Section1 to load, then when I click on the first pink button in section1 it loads section1.1 which is (section1_1.swf). When I click on the next button it just reloads the same section no matter what. The other sections work because when you load section1 and click on any pink button the corresponding swf loads just doesnt ever transition out. The tree would like like this: {mainmovie2004.swf[section1.swf(section1_1.swf)]}.

I think the problem is the last frame of each sub section has an action that will load the next section. I need to get the path correct.

_root.container_small.loadMovie(_root.currMovie+". swf")


Now when I am click inside section1.swf its tring to load the next subsection into the container in section1.swf which is container_small, which is neither in the "_root." or "this.".

What would be the proper pathing?

Forgive me for my ignorance, I'm still learnin me some actionscripting





Thanks
Paul

View Replies !    View Related
AS Trouble With Kirupas Transition Tutorial
Hi,

Hope to find a bit of help out there.

I always use the transitions I've learned from this site when building a Flah-site. Loading .swf's into an empty movie-clip.

I'm making a new site for the place I work, and I decided to take things a bit further (not that anything is really advanced - but for me it's apparently a bit hard to grasp)

You can see the site here: http://www.armedrob.dk/s/fireball/

The trouble is in the "work" section. After some clicking something goes wrong. The menu disapears - and my main move goes into some kind of autoplay. I load a swf into an empty movieclip(container) in my main movie, in that swf there's a submenu that loads another swf into an empty movieclip(holder). I can't seem to find where the error is, but it must be there somewhere...

Would really like some help here - I'm totally stuck...

If any of my flash files or code could help you solve this just ask and I will post it...

Thanks in advance.
Simon

View Replies !    View Related
Percentage Preload And Transition Tutorial
Is it possible to apply a preloader with a progress bar and the percentage display on the transition effect instead of just having a animation and "loading".
I'm using a modified version a tutorial i found here, here's the code of the preloader :

ActionScript Code:
bytes_loaded = Math.round(this.getBytesLoaded());bytes_total = Math.round(this.getBytesTotal());getPercent = bytes_loaded/bytes_total;this.loadBar._width = getPercent*this.loadBarBorder._width;this.loadText = Math.round(getPercent*100)+"%";this.loadingClip.gotoAndStop(Math.round(getPercent*19)+1);if (getPercent == 1) {    this.gotoAndStop(3);}


My question is where to put this script and the preloader animation
Here's the two files (i'll put them into file) :

View Replies !    View Related
Voet's Transition Tutorial Problem
i have my main swf that everything loads into. then there are a bunch of other swf's that load into it. most of them work but there is one that when you click on the button it reloads the main swf. then when you click on it again it works. i have been kicking myself in the *** for 2 days with this. why won't it work?

EDIT: i forgot to mention that everything works fine on my computer. the problem only occurs when i upload the site. i am also using the same exact movie except for the content. *sigh* i am frustrated.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved