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




Fade In External Text



ok i've been searching and searching and messing around with AS and such but I just can't seem to figure this out...how do u fade in external text from an html txt file?



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 02-11-2007, 04:07 PM


View Complete Forum Thread with Replies

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

Text Fade Using External XML File
I am new to flash and i want to create a plain white background with text that fades in and out using text from an external XML file. Many times we need to change a rotating text banner or news section and everytime we need to get the .fla file, enter the new text into the timeline and then recompile. I just want to be able to add a new child element to an XML file and have it be added to the fading text rotation order of the display. Can someone give me a hand with this?

thanks
Futureman

Fade Away An External Text File
hi all.

I made a dynamic textfield that's importing an external .txt file.
I made it this way: http://www.thegoldenmean.com/technique/fmx_text1.html

Now I want to let it fade away so I used alpha. But to use alpha on a dynamic text field, I need to embed the Characters. But when I embed the characters, I cannot load my text :evil: :evil: . I just see some points but not the whole text.

Does anyone know how to embed the text??

LoadVars And External Text File, Won't Let Me Fade It In
Hi!
I'm doing some Flash exercises using loadVars instead of loadvariables that I've been using until now.
However, I'm facing a peculiar thing I can't get to understand. That is, once external text has been loaded (and put inside a MovieClip) it won't fade-in when I tell it to with AS (and it's a piece of working code I've been using for a long while).
This is what I'm doing, it's a very simple thing:

In Frame 1, I have the following AS:code:
System.useCodepage = true;
CargarDatos = new LoadVars();
CargarDatos.load("DocumentoTexto.txt");
CargarDatos.onLoad = function(success) {
CampoTexto1.html = true;
CampoTexto1.htmlText = CargarDatos.historiatxt;
MClip1.CampoTexto2.html = true;
MClip1.CampoTexto2.htmlText = this.explicaciontxt;
};

// In order to fade in the text Movieclip.
MClip1._alpha = 0;
MClip1.onEnterFrame = function()
{
if (this._alpha <=100) {
this._alpha +=10;
} else {
delete this.onEnterFrame;
}
};
All I have in Frame 1 is the following:
- A dynamic text box called CampoTexto1 WITHOUT embedded characters (I know this might be the reason why it's not fading in, but I did it for a reason I'll explain below).
- A MovieClip (called MClip1) containing another dynamic text box called CampoTexto2 WITHOUT embedded characters aswell.

I also have an external text file with the following:
&historiatxt=<b>Blablablabla</b>
&explicaciontxt=<i>This text should fade-in"</i>

Now the embedded characters thing: I know dynamic text must always embed the used characters, however, in this little thing I've done, If I embed any character, the text won't be displayed (although it'll be loaded). This is what I'd like to fix.
It will only be displayed if I remove the HTML tags from the text file, but this is something I want to keep in order to format it (and I don't want to use CSS for other reasons -it'd too long to explain-).
For those of you who want to have a look at this little 7 Kb fla file, you can download it here (perhaps it's easier for you to analize it at a quick glance rather than understanding all this big explanation).

Thank you very much.
Best regards,

LoadVars And External Text File, Won't Let Me Fade It In
Hi!
I'm doing some Flash exercises using loadVars instead of loadvariables that I've been using until now.
However, I'm facing a peculiar thing I can't get to understand. That is, once external text has been loaded (and put inside a MovieClip) it won't fade-in when I tell it to with AS (and it's a piece of working code I've been using for a long while).
This is what I'm doing, it's a very simple thing:

In Frame 1, I have the following AS:
ActionScript Code:
System.useCodepage = true;
CargarDatos = new LoadVars();
CargarDatos.load("DocumentoTexto.txt");
CargarDatos.onLoad = function(success) {
        CampoTexto1.html = true;
        CampoTexto1.htmlText = CargarDatos.historiatxt;
        MClip1.CampoTexto2.html = true;
        MClip1.CampoTexto2.htmlText = this.explicaciontxt;
};

// In order to fade in the text Movieclip.
MClip1._alpha = 0;
MClip1.onEnterFrame = function()
{
      if (this._alpha <=100) {
          this._alpha +=10;
      } else {
          delete this.onEnterFrame;
              }
};
All I have in Frame 1 is the following:
- A dynamic text box called CampoTexto1 WITHOUT embedded characters (I know this might be the reason why it's not fading in, but I did it for a reason I'll explain below).
- A MovieClip (called MClip1) containing another dynamic text box called CampoTexto2 WITHOUT embedded characters aswell.

I also have an external text file with the following:
&historiatxt=<b>Blablablabla</b>
&explicaciontxt=<i>This text should fade-in"</i>

Now the embedded characters thing: I know dynamic text must always embed the used characters, however, in this little thing I've done, If I embed any character, the text won't be displayed (although it'll be loaded).This is what I'd like to fix.
It will only be displayed if I remove the HTML tags from the text file, but this is something I want to keep in order to format it (and I don't want to use CSS for other reasons -it'd too long to explain-).
For those of you who want to have a look at this little 7 Kb fla file, you can download it here (perhaps it's easier for you to analize it at a quick glance rather than understanding all this big explanation).

Thank you very much.
Best regards,

Actionscript To Load Random External Movie, Fade In, Wait, Fade Out, Repeat
Hello,
I'm trying to construct some AS3 that will load a random one of several external swf files, fade the instance in, wait 5 seconds, fade the instance out, and load a new random movie (it can be the same one; I don't want to get too complicated at this point).
I could do this with no problem using older methods, but the client insists this is written in 3.
Please help; I'm at my wits end!

[CS3] Fade To Text Window, Display Text, Fade Out, On Button Press
Hi All,
First post!

I am looking on the easiest maintainable way to have some buttons in a flash movie that each link to a different group of text.

I would like the buttons when clicked to fade the background slightly dull (but still visible) and then to display text in a scrollable window. When the user is done reading, they may click an X and the frame they were in prior they are returned to.

What have I tried so far?
1-I tried creating a new Scene, "Scene 2" and using scripting to get the buttons to load them - but it doesn't seem to be working when specifying "Scene 2", "label". Also, maintaining separate scenes doesn't seem very logical. I would rather an external text file.

2-I grabbed a couple scrollers on this very website, but I cannot get them to integrate properly with my current movie.

Any thoughts on a solution?

Thank you.

Fade In And Fade Out External Jpgs With Preloader
Hi,

I’ve spent ages doing a search on this but haven’t, as yet, found exactly what I’m looking for.

I’m working on a large image gallery consisting of the usual thumb buttons. For speed, I’m keeping all the main JPGS in an external folder; these files load well, but the effect is not particularly attractive. I would like the images to fade in and out, and whilst the transition is taking place keep the viewer informed by way of a preloader (perhaps, just numbers from 1-100 in a box).

I don’t want to use XML – at least, not yet – as I want to keep things as simple as possible due to my level of AS knowledge (beginner).

This first fading effect looks perfect, but it’s continuous and doesn’t include a preloader. Could it be easily adapted? http://www.actionscript.org/forums/s....php3?t=107269

Any help would be very, very much appreciated.

Multiple Fade In Fade Out Events On Different Sentences From A Text File?
Hi there

i've just learned to use flash to produce a flash doc that displays the tibetan mind training slogans. they're basically 59 sentences: be a child of illusion, always maintain a joyful state of mind etc etc.

anyway, i'm wondering if anyone knows how i can make it easier to achieve this. at present i've done it by creating individual fade in fade out events along a time line. but it strikes me that it should be possible to create just one fade in, fade out event and get flash to apply this event to all subsequent sentences. even better would be if i could just get flash to pull each sentence from a plain text file. does anyone know how to do this? maybe actionscript can do this. then it would be easy to create a flash file for learning anything from vocabulary to history quotes!

you can view it here:
http://www.geocities.com/tamsin_dev...saverfinal7.swf

here's the flash file
http://www.geocities.com/tamsin_dev...saverfinal7.fla

also, how can introduce a random element into this, so that any of the 59 slogans will be picked.

if you need any further info please contact me at tamsin_devas@yahoo.co.uk i can send you the slogan source files as well if you want.

eventually i want to create a screen saver.

thanks for any help you can provide. i'll write your name in tibetan if you want.

tamsin

Fade In Fade Out With External Pictures
I use the following script to fade in and fade out four pictures on the stage. How should I adjust the script so that it is working with external pictures or pictures in the library.
Code:
function fadePics() {
var prev = pics[index];
index = ++index%pics.length;
var next = pics[index];
prev.onEnterFrame = function() {
this._alpha += (0-this._alpha)/ease;
if (Math.abs(this._alpha)<1) {
delete this.onEnterFrame;
}
};
next.onEnterFrame = function() {
this._alpha += (100-this._alpha)/ease;
if (Math.abs(100-this._alpha)<1) {
delete this.onEnterFrame;
}
};
}
var pics = ["pic1", "pic2", "pic3", "pic4"];
for (var prop in pics) {
pics[prop]._alpha = 0;
}
var index = -1;
var ease = 6;
var interval = 9000;
var id = setInterval(fadePics, interval);
fadePics();
Thanks in advance

Button Press, Text Fade, Fade In New Text.. HOW To Do It?
Newbie here of course...

Okay I have this web site that when it loads a movie clip plays (called "whitebox") making a white box, then I have another movie clip that puts black text ("maintext") into the white box when it’s done loading at frame 15.
Around the white box are 3 buttons, what I want to do is, when the viewer presses one of the buttons the "maintext" is to fade out and the new text is to fade into the same place the "maintext" was.

Please consider that all three buttons will have different text fading in, each time one is pressed.

here is what I have for the "maintext" to make it fade in the white box @ frame 15, which WORKS

onClipEvent (load) {
stop ();
}

The reason why I tell the clip to stop, if it was to play it would fade out before the viewer even got a chance to read it. I want it to fade when the viewer presses one of the buttons.

here is what I have for one of the buttons which does not work

on (release) {
tellTarget ("maintext") {
gotoAndPlay (1);
}
}


this code is not actually in the button symbol, I added it when I was in scene one not in symbol editing mode, could that be the problem?

This seems like an easy thing to do but i've been reading and trying for days and NEED some sort of direction. PLEASE

Any help would be great!!
George
georgenme@sbcglobal.net
AIM: djgeorgenme

Dynamic Text - Fade In And Fade Out; Is This Doable?
All,


I've written a Flash file that reads variables from a txt and places these into a dynamic text box...I use setInterval to move from value to value. The movie works/looks fine, but I would like to jazz it up by having the text fade in and out of the dynamic text box (or slide in and fade out)....


My code, which appears in a single frame, looks like this:

// load the live update scores variables
function drawMe() {
loadVariablesNum("live_scores.txt", 0);
}

// load the variables defined in the drawMe function
var quitID;
quitID=setInterval(drawMe, 1000);

// set the counter
fscommand("allowscale", "false");
loadVariablesNum("player_stats.txt", 0);
count = "0";

// load the individual scores variables
function statMe() {
if (Number(count)==Number(numvars)) {
count = "0";
loadVariablesNum("player_stats.txt", 0);
} else {
count = Number(count)+1;
set("var", eval("var" add count) );
}
}
// load the variables defined in the statID function
var statID;
statID=setInterval(statMe, 5000);
stop();



Is there anyone out there who knows how to add fade in / fade out functionality to my movie? Any assistance would be greatly appreciated...thx in advance for your help...!



Regards,


Mike

Help Me With Fade In And Fade Out Text In Flash 8
hi guys,

i am new to flash, and i followed this tutorials to create fade in and fade out text:

tutorials

and it looks good in flash 8 when press enter key, but when i tried to publish and saved to .swf file, it looks quite different. the fade in and fade out effect was disapeared, it just shows text instead.

i don't know why or something i did wrong?

and i uploaded a the .fla file.

Thanks

Sean

[F8] Text Fade-in And Then Fade-out Isn't Working
Hi,

In the attahced file, I've got a layer labelled 'text' which contains a movieclip called 'endZones_mc' which is just some text that I want to Fade-in.

For this movieclip, I've inserted a keyframe in frame 1 with the alpha set to 0 and then one in frame 10 with the alpha set to 100. However, it isn't animating smmothly and nothing appears until frame 10 when it just appears all at once.

Can you tell me what I'm doing wrong please?

Thanks

Flash 101 - Fade In/Fade Out Text
I know this is easy. I know I've done it in my training classes. I've searched online for a couple of hours, but can't find exactly what I'm looking for. All I want to do is learn how to fade in a sentence and then fade out. Simple, I know, but I just keep getting that darned cursed dashed line! I won't bother explaining the things I've tried. Can someone just tell me what I am supposed to be doing. Ok.... if on frame 70 I want the phrase "a new opportunity" to be at 0% opactity, then reach 100% by frame 100... what do I need to do???? (Hopefully I can then figure out what I'd need to do to have it fade out again.) Thanks for your help.

Fade In/Fade Out Text Over Images
I am trying to create a fade in/fade out text effect over a background which consists of an image. I've tried breaking apart the text and using a shape tween with the alpha property, but it results in the text being slightly distorted.

I've also tried using a mask, but I don't want a rectangle appearing over the background.

Can anybody shed some light on how to create a text fade in/fade effect over an image without the text being distorted.

Thanks in advance.

Mitchster

Text Fade Out - Text Fade In Buttons
I Have five buttons. What actionscript (verison 2) do I use to have text fade out when you click on a button and then the next text fade in. But it doesnt matter which button you click on - so this way you can read whatever part of the text you want.

I was thinking of labeled frames and Button Behaviors but I dont know how to fade the main text and or whatever text your at then having the new text fade, in where you can click on any one of the buttons.

Thanks for your time and help,
JT

AS 2.0 - Fade In Text / Fade Out Text - Then Change Text
Hello all:

Here is what I'm trying to do:

#1 - set the text of my dynamic text box to a value which I've already received from PHP (don't need an example of how to obtain my vars - this works)

#2 - fade in that textbox - pause for a few moments

#3 - fade out the textbox and move on to the next variable - start from #1

I've tried calling a function via setInterval to display and fade in the text... But setInterval waits the full interval before even starting... Which isn't what I want.

I'll admin I'm an ActionScript newbie - but I can't be trying to do something that is so difficult, am I?

To be honest I've tried about 60 different functions and iterations of functions and I'm spent. Anybody have a quick example that they could post?

My Fade Out / Fade In Script. Fade Out Works, Why Not Fade In? Any Ideas?
Hello all,
Hopefully this is just a simple problem with my code.

I have a container on the stage. When the loaded clip gets to the last frame it triggers the decreaseAlpha() function on the root level. This fades the current container out and works fine.

However I also want it to load the next clip(which it does) and fade that clip in. This doesn't work. It doesnt' fade in, can anyone point me in the right direction?

Thanks!!



Code:
function decreaseAlpha(boxName, clipName){
boxName.onEnterFrame = function(){
if(boxName._alpha > 0){
boxName._alpha -= 15;
}if(boxName._alpha < 5){
delete boxName.onEnterFrame;
increaseAlpha(boxName, clipName);
}
}
}
function increaseAlpha(boxName, clipName){
loadMovie(clipName, boxName);
boxName._alpha = 0;
boxName.onEnterFrame = function(){
if(boxName._alpha < 100){
boxName._alpha += 15;
}if(boxName._alpha == 100){
delete subboxName.onEnterFrame;
}
}
}

My Fade Out / Fade In Script. Fade Out Works, Why Not Fade In? Any Ideas?
Hello all,
Hopefully this is just a simple problem with my code.

I have a container on the stage. When the loaded clip gets to the last frame it triggers the decreaseAlpha() function on the root level. This fades the current container out and works fine.

However I also want it to load the next clip(which it does) and fade that clip in. This doesn't work. It doesnt' fade in, can anyone point me in the right direction?

Thanks!!


Code:
function decreaseAlpha(boxName, clipName){
boxName.onEnterFrame = function(){
if(boxName._alpha > 0){
boxName._alpha -= 15;
}if(boxName._alpha < 5){
delete boxName.onEnterFrame;
increaseAlpha(boxName, clipName);
}
}
}
function increaseAlpha(boxName, clipName){
loadMovie(clipName, boxName);
boxName._alpha = 0;
boxName.onEnterFrame = function(){
if(boxName._alpha < 100){
boxName._alpha += 15;
}if(boxName._alpha == 100){
delete subboxName.onEnterFrame;
}
}
}

How Can I Fade Up And Down An External Mp3?
Hi there,

Thank you for reading this!

I have a button in my Flash MX movie which loads and plays an external mp3. Is there anyway that when the user clicks to play the mp3, I can make it fade up? Also, I wanna make it fade down for when the user presses the stop button.

If you can help, can you please tell me which frames to put the actions in etc. please as I've only just started using Flash and Flash MX.

Thank you very much and I hope to hear from you.

Take care,

Mark

Fade External Swf In And Out
hi, i have a flash website that when u click on a button it loads an external movie in. how do i get that external movie to fade in and then when i click a button to get to another movie, fade out.

thanx
austin

Fade Out External Swf
I am loading an external swf when you click on btn 3.
When I go to another button, the swf is still there.
How can it fade out, and then reload when you click on btn 3.
The external swf loads a video with audio. Don't know if that matters.
Thanks so much!


case "btn3" :

var request:URLRequest = new URLRequest("trailer.swf");
var loader:Loader = new Loader();
loader.load(request);
addChild(loader);
loader.x = 250;
loader.y = 268;

break;

Fade In Out External JPG
Does anyone know how to fade out between the images on this tutorial?
I want the slideshow to run automatically (time interval) so I'm not including buttons.
http://www.kirupa.com/developer/mx20..._slideshow.htm

Thanks!

Fade Out External Swf
Hi,
I am making a site with 5 pages.
On 2 of the pages, I am loading external swf's. This is working properly.
If I go to a page, it loads the swf, but if I then go to another page, the swf doesn't go away.
How can I get it to fade out?

Thanks.


case "button1" :
var request:URLRequest = new URLRequest("myVideo.swf");
var videoLoader:Loader = new Loader();
videoLoader.load(request);
addChild(videoLoader);
videoLoader.x = 20;
videoLoader.y = 20;

break;

Fade In External Images
Hi. I am wanting to load a bunch of external images in sequence. What I would like to happen is the next image in the sequence to fade in over the previous image...each next image fades in on top of the previous.

I have found a few examples but they all have the first image fading out, then the next image fading in, creating a delay (or an empty space) as the next one loads up. Any ideas anyone?

My objective is to always have an image present...thanks.

Fade External Swf Sound
I've been searching all over the forums on this with no luck. I can however fade out in embedding mp3 but this time I am using an external swf.

Here's the code loading the music
unloadMovieNum(66);
loadMovieNum("stigmatic.swf", 66);

I have it turning on and off fine, but how can I get this to fade in and out?

thanks

Loading An External Jpg With Fade In
Hey there I'm an actionscript newbie and I'm trying to load an external jpg but I want it to fade in and when the user clicks on another button the picture on the stage to fade out and the new one to fade in.

this is the code I have so far for the button

on (Release) {
loadMovie("kensington/v1.jpg", 10);
}

it loads the picture fine but I want it to fade in.

Thanks for your help

Fade External Sound
I have background music playing from an external swf. Is it possible to fade this out by a button click?

Fade Effect Between External Swf's
Hi,

I have a movie which loads external swf's into a blank movieclip using the following code:


Code:
on (release) {
_parent.shirts_blank.loadMovie("shirts/solid_ss_black.swf");
}
This works fine, but instead of the swf's loading suddenly, I would like to fade between them as the user selects them. The application is so the user can select their preferred colours for rugby kits. There is a selection of colours for the shirts aswell as shorts and socks. when the movie loads, it will load one of the colour shirts into the blank movie clip (lets say Black). Then, when a user selects a different colour (lets say Blue), i would like the black image to slowley fade from the swf with the black shirt in to the swf with the blue shirt in.

I hope this makes sense.

Is this at all possible and if so, can someone point me in the right direction of amending the above code to fade in and out the external swf's.

Thanks for reading

Steve

How To Fade In And Face Out An External Swf?
how to fade in and fade out an external .swf
when you press button 1... external movie clip 1 enters....
when you press button 2... external movieclip 1 fades out... external movieclip 2 enters... thanks dudes...

External Movie Fade
I got this working. Now it's not. Can anyone see the problem here? I want my loaded external swfs to fade. Here's the code:

var num:Number= 0;

onEnterFrame-function(){
num++;
createEmptyMovieClip("ocean_mc",1);
ocean_mc._x =0;
ocean_mc._y =0;

ocean_mc.loadMovie("ocean.swf");
ocean_mc._alpha=60-num;

if(ocean_mc._alpha<=10){
ocean_mc.unloadMovie("ocean.swf");}
}


---
thanks in advance

Fade In External Jpg With On Release
I know this has been touched on before specifically here: http://www.kirupa.com/developer/mx/photogallery.htm

but what I am wanting to do is a variation on this theme. I have a movieclip nestled in a movieclip notation: _root.frontmovie.frontmovie2 (it is animated)
I want to be able to load jpgs into it with a similar fade in fade out to the example above, but I dont just want to be able to step forward and back I want say 4 buttons on the main time line that target that movie clip each loading a specific gallery item into it as it scrolls slowly across the page.

I was prepared to settle for just a forward and back version aLa the photogallery version, but whenever I add the second . in the path, (in this instance before the " frontmovie2" term the photogallery code delivers and endless nAn loop. Anyone got any ideas about how I can achieve this> Much appreciated.

Fade In External Jpg With On Release
I know this has been touched on before specifically here: http://www.kirupa.com/developer/mx/photogallery.htm

but what I am wanting to do is a variation on this theme. I have a movieclip nestled in a movieclip notation: _root.frontmovie.frontmovie2 (it is animated)
I want to be able to load jpgs into it with a similar fade in fade out to the example above, but I dont just want to be able to step forward and back I want say 4 buttons on the main time line that target that movie clip each loading a specific gallery item into it as it scrolls slowly across the page.

I was prepared to settle for just a forward and back version aLa the photogallery version, but whenever I add the second . in the path, (in this instance before the " frontmovie2" term the photogallery code delivers and endless nAn loop. Anyone got any ideas about how I can achieve this> Much appreciated.

Trying To Fade External Swf Smoothly
How can I fade away an external swf smoothly? Below is the code I am using but it fades the swf very fast (like in 1 second). How can I smoothly do this?

on (release) {

do {
_level10._alpha = _level10._alpha - 1

}while (_level10._alpha > 0)
}

Loading In External Jpg's That Fade In And Out
Hi,

I need to load in one jpg at a time into my mc or swf. (each jpg will replace the previous). However, they need to blend in or fade in so that there isn't any empty space during the transition. On top of that I need previous button and next button navigation so that I can go both ways through the collection.

Can anyone point me to an online tutorial that can do this please.

NB: It must have a fading or blending in transition.

Thanks for any pointers.

Load A External Jpg, But Have It Fade In.
How can I load a external JPG into my movie and have it fade in when it is fully loaded?

Fade In Fade Out Text
How do you do this. I've been fooling around with Flash for about a hour and I still can't get it.

Help With Fade-in And Fade-out Text
Hi,

hi, im trying to make a fade-in and out text effect, I've already got the source for the fade-in text, but I cant do the fade-out, I can't make the inverse effect. I think that my problem is that I can't call the field where I place the text. I even can't remove it from the movie..

I want to make the fade-in effect, give a pause, and then remove it..

anyone can help?? thanks


the code was created by sham bhangal:

function fadeZoom(target:MovieClip, delay:Number):Void {
target.interval = function() {
target._visible = true;
clearInterval(target.intervalID);
target.onEnterFrame = function() {
target._xscale -= (target._xscale-100)/3;
target._yscale -= (target._yscale-100)/3;
target._alpha -= (target._alpha-100)/3;
if (Math.abs(target._xscale-100)<1) {
target._xscale = 100;
target._yscale = 100;
target.alpha = 100;
delete target.onEnterFrame;
}
};
};
target.intervalID = setInterval(target, "interval", delay);
target._xscale = 2000;
target._yscale = 2000;
target._alpha = 0;
}
function placeText(target:MovieClip, x:Number, y:Number, banner:String, tFormat:TextFormat, effectFunction:Function, delay:Number):Void {
for (var i = 0; i<banner.length; i++) {
var char:MovieClip = target.attachMovie("letter", "char"+i, target.getNextHighestDepth());
char.field.text = banner.substr(i, 1);
char._x = x;
char._y = y;
x += tFormat.getTextExtent(char.field.text).width;
effectFunction(char, i*delay);
}
}
var format:TextFormat = new TextFormat();
format.font = "Arial";
format.size = 24;
placeText(this, 100, 200, "example", format, fadeZoom, 100);

Actionscript Fade/Blend Between External SWF's
alright, per my actionscript ignorance, i have not been able to implement this idea.

i have my main movie with five buttons (sketch, people, links, contact, projects) that load external swf's onto levels in the main movie.

in one of those external swfs (people) i have a menu that loads 12 more external swf's (resumes) into an empty movie clip on the stage.

i want to have it so whenever you change between any of these external swf's you have a fade effect.

any help would be appreciated...

noah

Fade In External Movie Clip?
hi all,

i was wondering if anybody can tell me how to do a fade-in effect for an external movie clip? basically, i have an external movie clip in which i would like to have it load into the main movie but, with a fade in effect. (i know how to load and unload a movie clip; it's the fade-in effect that i'm interested in.)

thanks a lot for your help!

ps. btw, i use flash mx for this project.

Loading Random External .jpg And Fade In
I'm trying to do somthing very simple, but it's just not working for me. all I need to do is load random .jpg into a empty mc and fade it in. that's all. but i can't seem to work it right. can some kind soul enlighten me please.

Fade External Preloader On Load
I have this great preloader, but i need the preloader to fade when it is done loading the image. Can someone help with this?

ActionScript in the timeline:
code:
function fadeClip(clip) {
if (clip._alpha++ == 100) {
clearInterval(fadeInt);
}
}
function waitForLoad() {
/
progBar_mc._width = (_root.loadedBytesVar/_root.totalBytesVar)*progBarWidth;
if (_root.loadedBytesVar == _root.totalBytesVar && _root.totalBytesVar>0) {
clearInterval(waitInt);
//this stops the function from being executed all the time. should be the same waitInt variable as below
fadeInt = setInterval(fadeClip, 20, empty_mc);
//this will start the fading
}
}
progBarWidth = 200;
loadMovie("bronze.jpg", empty_mc);
//empty_mc must be the right path
waitInt = setInterval(waitForLoad, 100);
//means it will execute the func 10 times/second


THANKS!

[MX04] External .jpg Load And Fade...
I have been using Flash for little while and am fairly confident in most things I have to accomplish visually. When it comes to action scripting though, I am pretty much lost.

I work for a small newspaper in Washington. I made this little "order photos" button that resides in a gutter of our site.

(http://www.kitsapsun.com - Right hand side, halfway down, on the blue rail)

My goal, is to be able to create a folder on our server that the photo journalists can simply drop in their six or seven photos into it and have the .swf just calling it's photos from this folder.

I *believe* this is possible, but I can't seem to find a tutorial that will help me fgure out the solution.

Any help would be greatly appreciated!

Fade External Images In Flash MX HOW?
Hi I have hit a problem, I want to have 9 images, externally loaded and fade in succession.

[IMG 1]>fade to>[IMG 2]>fade to>[IMG 3]>fade to>[IMG 4][i]>etc....

I have tried the loadMovie() but they do not fade, just appear. I thought about putting a movie in a movie but don't know if this will work.

ANY HELP would be great

Kaci

Windows XP Pro / Media Center
Macromedia Flash MX

Control Music Fade Out On External Swf
Im designing a website that has the option for 3 music loops as background music. On the site, I have 3 buttons (1, 2 and 3) which each load a swf with an mp3 on the first frame as streaming and with fade in (from the sound properties). A fourth button simply unloads the external swf.
Till now everything works fine, the problem is that my client wants the music to fade out when unloaded or when another one is loaded.

Is there a way I can control with a button on the main swf, that the music on the external swf will fade out and then unload?

thanks! I hope someone can help...

Preloader For External SWFs -with Fade In And Out?
I got this simple code (frame 1):

siteLoader.loadMovie("http://www.mycoolsite.com/mysite.swf");
loadingBar._xscale = 1;
loadingBar.onEnterFrame = function() {
kBytesLoaded = this._parent.siteLoader.getBytesLoaded() / 1024;
kBytesTotal = this._parent.siteLoader.getBytesTotal() / 1024;
percentage = Math.round(kBytesLoaded / kBytesTotal * 100);
this._xscale = percentage;
if (percentage == 99) {
delete this.onEnterFrame;
}
}

What I need in addition to this cool loader bar is a way to also make the sections have a fade in/out animation so it doesn't just pop-up...I know there is a tutorial on kirupa, but it doesn't have a loader bar, which I need...any ideas?

Thanks in advance

Jpixels

[F8] External Image Load And Fade
Hello guys

i am trying to modify on a open source fla. scripted by Eric Murray.

i been working with Flash a while but i am absolutely not good in actionscript. And i wanted to ask if anyone can help me just a bit in how i can modify the fla. I have tried by myself but with no success till yet.

the fla loads external jpg,s and it fades them by clicking...


1. I wanted to remove the mc "collButtHolder" in the Layer "MENU1" so that the slide1 is running right from the start without any click

2. Possible to have 1-2 more of the mc "collectionMenu" in the Layer "MENU" ? which loads from different Folders ?


download the fla :

http://www.3agens.com/load_fade.zip




very thanks if you could help me a bit

noni

Control Music Fade Out On External Swf
Im designing a website that has the option for 3 music loops as background music. On the site, I have 3 buttons (1, 2 and 3) which each load a swf with an mp3 on the first frame as streaming and with fade in (from the sound properties). A fourth button simply unloads the external swf.
Till now everything works fine, the problem is that my client wants the music to fade out when unloaded or when another one is loaded.

Is there a way I can control with a button on the main swf, that the music on the external swf will fade out and then unload?

thanks! I hope someone can help...

Fade In/out External Swf On Transition Timeline?
I'm having a difficult time trying to figure out the best way to fade in/out an external swf on a transition timeline without using tweens. Is this possible??

Right now my timeline is 30 frames:

PRELOAD---(content fades in)---STOP---(content fades out)---LOAD NEXT

So, 1-15 fades the page in, and 16-30 fades the page out.

The problem is, I can load the external swf into the movieclip on frame 2 but, on frame 15 I have a stop action, which would require on frame 16 to reload the same movieclip? I've tried it, but as you can see with the attached file, the swf loads itself twice after the stop, which doesn't make the transition smooth...

I'm totally open to any other ideas that might work!! How would you approach this problem? Would you just use tweens OR is there a movieclip function that I can apply to different parts of the timeline?

I'll attach my progress to this post. (If you click on main_test.swf and click on an item button, you'll see that the giraffe will fade in, but he won't fade out smoothly when you click another item button)

Please help!!

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