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




How To Get Rid Of The Blink Between Photo Transistion?



zie http://www.bldd.nl/flashproblems/photoSlideshow3.swf

i see a blink right after my animated mask is finished


ActionScript Code:
stop();var myMCL:MovieClipLoader = new MovieClipLoader();var myMCL2:MovieClipLoader = new MovieClipLoader();var maxNrOfPhotos:Number = 4;var photoHolderTop:MovieClip;var photoHolderBottom:MovieClip;function startSlideShow() {    trace("halllo");    var nummer:Number = 1;    var nummer2:Number = nummer +1;    var myListener:Object = new Object();    myMCL.addListener(myListener);    //myMCL2.addListener(myListener);    myMCL.loadClip("photos/photo"+nummer2+".jpg", photoHolderTop);    myMCL2.loadClip("photos/photo"+nummer+".jpg", photoHolderBottom);       myListener.onLoadInit = function(photoHolderTop) {        trace("Nummer: "+nummer+" Nummer2: "+nummer2);        if (nummer< maxNrOfPhotos) {            nummer++;        } else {            nummer = 1;        }        if (nummer2<maxNrOfPhotos) {            nummer2 = nummer + 1;        } else {            nummer2 = 1;        }           photoHolderBottom._visible = true;        photoHolderTop._visible = true;        photoHolderTop.setMask(masker);        masker.gotoAndPlay("_start");        setTimeout(loadNext, 5500, nummer, nummer2);    };}startSlideShow();function loadNext(nummer:Number, nummer2:Number) {    myMCL.loadClip("photos/photo"+nummer2+".jpg", photoHolderTop);    myMCL2.loadClip("photos/photo"+nummer+".jpg", photoHolderBottom);    photoHolderBottom._visible = true;    photoHolderTop._visible = true;}



KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 08-07-2008, 04:35 AM


View Complete Forum Thread with Replies

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

How To Get Rid Of The Blink Between Photo Transistion?
zie http://www.bldd.nl/flashproblems/photoSlideshow3.swf

i see a blink right after my animated mask is finished


Code:
stop();
var myMCL:MovieClipLoader = new MovieClipLoader();
var myMCL2:MovieClipLoader = new MovieClipLoader();
var maxNrOfPhotos:Number = 4;
var photoHolderTop:MovieClip;
var photoHolderBottom:MovieClip;
function startSlideShow() {
trace("halllo");
var nummer:Number = 1;
var nummer2:Number = nummer +1;
var myListener:Object = new Object();
myMCL.addListener(myListener);
//myMCL2.addListener(myListener);
myMCL.loadClip("photos/photo"+nummer2+".jpg", photoHolderTop);
myMCL2.loadClip("photos/photo"+nummer+".jpg", photoHolderBottom);
myListener.onLoadInit = function(photoHolderTop) {
trace("Nummer: "+nummer+" Nummer2: "+nummer2);
if (nummer< maxNrOfPhotos) {
nummer++;
} else {
nummer = 1;
}
if (nummer2<maxNrOfPhotos) {
nummer2 = nummer + 1;
} else {
nummer2 = 1;
}
photoHolderBottom._visible = true;
photoHolderTop._visible = true;
photoHolderTop.setMask(masker);
masker.gotoAndPlay("_start");
setTimeout(loadNext, 5500, nummer, nummer2);
};

}
startSlideShow();
function loadNext(nummer:Number, nummer2:Number) {
myMCL.loadClip("photos/photo"+nummer2+".jpg", photoHolderTop);
myMCL2.loadClip("photos/photo"+nummer+".jpg", photoHolderBottom);
photoHolderBottom._visible = true;
photoHolderTop._visible = true;
}
regards

Blink >_< Blink >_< Help Please....thnx :)
How do I make my movie goto full screen the moment it opens?

and why is it that everytime i test my movie, let's say "car" usually it will appear as an swf movie "car" right? Mine appears as "car.fla" and its a swf.

Transistion Between Images
I'm a newbee to Flash MX. I'm trying to fade in and out on a white background 5 different images. Can someone tell me how to do this or where to find out on this site/forum? Thanks.

Transistion Effect
im looking for a transition effect for my new website, can anyone recommend a tut or advice about an effect like this
http://www.flashkit.com/movies/Effec...7876/index.php

i looked at this tut, but i dont understand the code
on (release) {
mask.menu = 3;
}

how do i set something like this up?

Colour Transistion
I want to create colour tabs like on Joshua Davis's site http://www.joshuadavis.com/.

Say I have 4 tabs. BLUE, YELLOW RED and GREEN. If I where to on the page with the BLUE and pressed to to the the page with the GREEN tab, you could say the BLUE transform in to GREEN. And if I where to go from the GREEN tab page to the YELLOW tab page you would see the tab transform from GREEN to YELLOW etc.

So no matter what page you where go to to you would see it transform from whatever be it colour tab be it BLUE, YELLOW RED or GREEN in to any radomly selected tab.

Would this need to be done by ActionScript.

I hope my explaination is clear and not too long.

Stopping A Transistion In AS3
Fairly new to AS3..
I have a straightforward transition in AS3. A pixel dissolve. The thing I'm wondering is how to stop it when it's done dissolving...so it doesn't snap back to the original image at the end. Some sort of stop action or 'finish transition and stop'. Can't quite figure it.

This is my code:

import fl.transitions.*;
import fl.transitions.easing.*;

mymc.buttonMode = true;
mymc.addEventListener (MouseEvent.CLICK, sListener);

function sListener($event:MouseEvent) {

var myTM:TransitionManager = new TransitionManager(mymc);
myTM.startTransition({type:PixelDissolve, direction:Transition.OUT, duration:8, easing:None.easeOut, xSections:200, ySections:200});

}

Transistion Between Clips
Hey guys

Just a quick and simple scenario I need help working out.
There are 6 buttons each that load a separate movie file. but I need a transition to happen to fade out the current file and while everything is blanked out, have the current movie file replaced instantly with the one being called for, then have the transition fade in.

My knowledge of both javascript and actionscript would suggest that the button passes the movie clip being called for (button 1 will call clip1) and it also activates the top most transistion movie. When the the transistion is at it's peak (everything is blanked out) a script swaps the current clip displayed, with the one that was passed by the button (in this case clip 1). Am I way off, are there bugs with that?

I have tried some things and nothing works, so a brief explanation and the actionscript would be great!

Thanks guys!

Cheers

Transistion Issues
Hi,

check out this: http://www.beforedawn.net/clients/st...arvin/concept4

I am using the built in transition class to do the movement. I notice that when two things are clicked in quick succession the movement jitters and looks awful. Also when a menu button is clicked the little white line which appears next to it moves very slowly.

I assumed this was always the case but check out: http://www.ascamon.com/ there is loads of movement going on here but no jitters on my machine.

any ideas would be most appreciated.

thanks

ash

Transistion Between Clips
Hey guys

Just a quick and simple scenario I need help working out.
There are 6 buttons each that load a separate movie file. but I need a transition to happen to fade out the current file and while everything is blanked out, have the current movie file replaced instantly with the one being called for, then have the transition fade in.

My knowledge of both javascript and actionscript would suggest that the button passes the movie clip being called for (button 1 will call clip1) and it also activates the top most transistion movie. When the the transistion is at it's peak (everything is blanked out) a script swaps the current clip displayed, with the one that was passed by the button (in this case clip 1). Am I way off, are there bugs with that?

I have tried some things and nothing works, so a brief explanation and the actionscript would be great!

Thanks guys!

Cheers

Transistion Issues
Hi,

check out this: http://www.beforedawn.net/clients/st...arvin/concept4

I am using the built in transition class to do the movement. I notice that when two things are clicked in quick succession the movement jitters and looks awful. Also when a menu button is clicked the little white line which appears next to it moves very slowly.

I assumed this was always the case but check out: http://www.ascamon.com/ there is loads of movement going on here but no jitters on my machine.

any ideas would be most appreciated.

thanks

ash

Help Required In Transistion
I am working on a slideshow of images the customer wants the same or slightly different transition effects used in slideshow of images in the middle of main page on (URL address blocked: See forum rules)

If anyones knows please assist me.

Thanks in advance
Ali

Transistion To Selected Scene
Hey guys. Im working on a movie that has a mulitple scenes, and that when you click a menu option, it plays the remainder of the frames in that scene then goes to the appropriate one. Im stumped on the script to use, although it seems like it should be easy. Im quite possibly a moron Included is the .fla. Thanks!

Random Boxes Transistion
how do i use random boxex transistion here for the image , right now it only fade in and fade out.

A random box kind a mask parhaps and fills
here is the link

http://www.vaishalitrivedi.com/flash_p.htm

regards


sabs

Making A Transistion With Preloader
Okay, I have been asking about this subject trying to learn how to get this done. I am wanting to have a main movie that has navigation on it. When you click a button I want my transition swf to load into the area in the middle of the screen. I want it to "close" until my "content" swf is loaded. Then it should open back up to reveal my content swf underneath. Someone sent me to a tutorial, but it wasnt for the beginner becasue it didnt really tell you what files you needed, it just gave you the files and showed the actionscript needed. I am going to include the main file, transition file, and content file. If someone could help me out with this by either showing me using the files, or pointing out a VERY basic tutorial on how it is done, I would be very greatful.

[F8] - Is There A Way To Transistion Between MovieClips Or Scenes?
I am trying to make the switch from making whole movies on one timeline to making multiple movieClip objects and meshing them all together to get the same effect as I get on one timeline.

The question I have is whether or not I can make multiple movieClip objects, then have a separate transitional effect between them. --( I am making advertisement videos for 3 video games. I want to make 3 separate movieClips, each containing a different game. Between the 3 movieClips, I want a static-like effect much like you would see on science-fiction movie distress call videos) Is there a way to blend the movieClips together like this?

Thanks for any help!

AS2 To AS3 Transistion...how To Cross This Bridge?
I'm playing with some AS3 and...well, i feel like it's a whole new language.

Is there any good tuts or explanations of the differences?

...or should i stick with AS2

Transistion In Between Loading Movies
Hello Everyone,

I would like to learn this little functionality and have Googled and searched it but have not come across good resources. I would like to to play a small transition movie clip whenever a movie is loaded via action script. So if I write a function that loads up the transition clip on stage whenever a movie is loaded, how can I make sure to for the transition play its entire duration before the new clip is loaded. Appreciate your help.







Attach Code

//FUNCTION TO LOAD THE TRANSITION MOVIE CLIP

function loadTransition(target:MovieClip)
{
_root.loadMovie("trans_mc", this.getNextHighestDepth());
}

How To Transistion Effect Added?
This is my coding, how to create the one picture to another picture transistion effect added?



imgbtn_center.onRelease = function() {
infoField._visible = true;
startLoading("pic_01.jpg");
};
imgbtn_up.onRelease = function() {
infoField._visible = true;
startLoading("pic_02.jpg");
};
imgbtn_down.onRelease = function() {
infoField._visible = true;
startLoading("pic_03.jpg");
};
imgbtn_left.onRelease = function() {
infoField._visible = true;
startLoading("pic_04.jpg");
};
imgbtn_right.onRelease = function() {
infoField._visible = true;
startLoading("pic_01.jpg");
};
function startLoading(whichImage) {
loadMovie(whichImage, "imageLoader");
_root.onEnterFrame = function() {
infoLoaded = imageLoader.getBytesLoaded();
infoTotal = imageLoader.getBytesTotal();
percentage = Math.floor(infoLoaded/infoTotal*100);
infoField.text = percentage+"%";
if (percentage>=100) {
delete this.onEnterFrame;
infoField._visible = false;
}
};
}

About The Transistion & Preloader Tutorial?
very nice indeed...
and a question:
how to put a loading bar and percentage on that transistion clip instead of that simple text animation.
thanks

Smooth Transistion Colors Using Action Script
Hello again,

I was wondering if anyone knows the action script for transitioning a color to another color when a button is clicked. I don't want to use tweens just code so that if they go to a previous button it fade appropriatly to that color.

thanks
Patrick
Dream FX Media
www.dreamfxmedia.com

Graphic Artist (print,etc.) Transistion To Web/media
Hi all...

let me first say that these forums are great and I gotta lotta respect for all the fine people who give their time and intellectual property up so that others can benefit.

My story is that of a poor graphic artist who's spent the last six years or so bumbling around the print/prepress graphic design industry when I should have been exploring internet/webdesign media "stuff." I've made the commitment now to move into that area.

I've got a solid photoshop and vector illustration knowledge base to start from and am doing all i can to learn flash and exploring all the great sites like flashkit, doing the tutorials, etc...

basically I'm fishing for advice here... Where else should I look? What kinds of stuff should I be attacking/learning? How much of all the stuff that's greek to me right now (asp, javascript, php, etc.) do I need to learn. I don't want to be a useless designer who make pretty pictures but can't execute/create dynamic ideas. ]

Maybe somebody out there who's been there and transistioned can share their thoughts...
thanks in advance! -np

How Do I Asign Transistion Easing To A Specific Movieclip?
I want to asign the code below to a specific MC on the root frame instead of placing it on the MC itself. Can someone help me out with this?

Any help is greatly appreciated!
/zach


Code:
onClipEvent (load) {

//

easeType = mx.transitions.easing.Back.easeInOut;

startX = 0;

startY = 174;

endX = 0;

endY = 90;

speed = 3;

//

mcTween = new mx.transitions.Tween(this, "_x", easeType, startX, endX, speed, true);

mcTween = new mx.transitions.Tween(this, "_y", easeType, startY, endY, speed, true);

}

Able To Change Tint, Need To Apply Transistion Time To Tween
I have a button click making a tint (color) change happen, but it's so sudden, i'd like to have it take a second to tween between the colors. here's what i have:

1st frame:

Color.prototype.setTint = function (r, g, b, amount) {
var trans = new Object();
trans.ra = trans.ga = trans.ba = 100 - amount;
var ratio = amount / 100;
trans.rb = r * ratio;
trans.gb = g * ratio;
trans.bb = b * ratio;
this.setTransform(trans);}

then after someone clicks a button and sets choice as '0'...

if (choice == 0) {
myColor = new Color(moviec);
myColor.setTint(143,167,137, 20);

[F8] In The Blink Of An Eye.....
i am trying to program a little animation of an eye blinking, but the curveTo command seems to leave a line beween the two curves that i can't get rid of, can someone have a look?

Rapid Blink?
its kinda complicated to explain so i uploaded the fla
http://www.dx-p.com/shape4.fla

if you check menuitem7, it blinks rapidly. Why is this happening?

Text Blink
hi! im curious to noe if there's a way to make text blinks in Flash.
Thanks heaps!
Shawn

Blink Using Actionscript....
Can any one tell me how to blink/flicker text or movie clip using action script..please help

Blink Using Actionscript>>>>
Can some one please help me in how to make text/movieclip blink, by using actionscript,, please some one help..this is same as making a movie clip flicker .

Blink Function
I am having a hard time writing a function for making an movie clip that blinks a graphic partly because I dont know how to handle the timer object. I've enclosed my code! Your help as always is appreciated..

onClipEvent(enterFrame){
//BLINK FUNCTION-->
blink = function(object){

//frequency of blink
var rate;
//current timer position
var count;
//time before blink-node change
var wait;
//number of blinks to run
var blinks;
//number of pods in a system of blinks
var pods;

//BLINK-SYSTEM-LOOP-->

rate = 25;
pods = 5;

//BLINK-POD-LOOP-->
do{

wait = (1/rate);
blinks = rate;

//BLINK-NODE-LOOP-->
do{
//blink-node-off
object._visible = false;
count = getTimer();
//blink-node-wait
foo = blinknode(count,rate,object);

--blinks;

} while((blinks>0));
//END NODE--------------->
--pods;
rate = rate - 5;

} while(rate>0);
//END POD--------------->



//END SYS--------------->
}

blinknode = function(count,rate,object){

var thiscount;

//when was this function ini
thiscount = getTimer();

//recursive function call
if ((thiscount-count) >= rate){
object._visible = true;
} else {

foo = blinknode(count,rate,object);
}
}


foo = blink(this);
}

Makin It Blink
Hello....
i was just wondering how to make something blink continuously. any tut would be helpful...

cheers,
Igor

Trying To Get Rid Of A Quick Blink...
Hello,
I made very small 1kb titles.. simple text and animation...
but when you click on the buttons on the menu, you can see the titles of each section do a quick blink of of what looks like black then white... how can I get rid of this? I put a temp link so you can see...
http://www.magicofjb.com/newsitetest...an2/index2.htm

Any help is appreciated!! thanks!
Allie1138@aol.com

Blink For The Love Of...
here's the scenario...

i have some points on the stage that are buttons. it's the same button, re-used from the library, but each button has a different release action attached. for example:


Code:
//point 1 looks like this
on (release) {
getURL("mypage.php?id=1");
}

//point 2 looks like this
on (release) {
getURL("mypage.php?id=2");
}

//etc...


obviously, when the page reloads do to the getURL command, the flash movie will reload as well. the last button clicked is stored in the address as the variable id. if id=3, i know the 3rd point was clicked, etc... i'm wanting the flash movie to represent that.

my idea is to have the points "blink". the best way i know to have this happen, is to place the button inside of a movie clip. on frame 2 of the movie clip would simply be a movie loop of the point "blinking". so i want a way to change that point to a "blinking" state based on what id is set to. if id=1, i want point 1 to blink. etc...

LoadMovie Blink
I have a flash movie that I'm using loadMovie with.

The _root movie is 640 x 480 pixels.

From the _root I load a swf into holder_mc (this swf is also 640 x 480 pixels and covers the whole _root movie).

I then load other movies into holder_mc , but when I do this, theres a brief second where the movie loaded in holder_mc disappears, I see the root movie, and then the new movie loads into holder_mc .

Is there a way to make my movie so that you don't see the _root when switching out movies in holder_mc with loadMovie?

Can Do? Blink Using RollOver?
Button Function Looks Good
MC Function Looks Good
Script Function Looks Good

But it is "NFG"

I am interested in why it doesn't work. Is it because of the rollOut/Over function isn't capable?

Comment or solution would be helpful

p.s. Watch out for the weather in the next 10 days!

Thank You

Keyframe Blink?
Okay, so I'm using Flash 8 and animating a bunch of vector shapes to expand and shrink and move across the stage. Each shape is within a movie so I can add the new blur effect, along with alpha. Most of them start with a zero alpha and then move up to a more visible point, before moving back to a zero alpha. And this is where i'm encountering a sudden change in the alpha that's about like a blink. Anyone know whats going on with this?

It'll be fine as it starts from the first keyframe, going from transparent to more visible, then when it hits the next keyframe where i set the next alpha level, it blinks and becomes much more solid before moving on to the next level of alpha on the next keyframe where it may or may not blink again.

I'm running an animation at 30fps and so i'll ease them in to a semi-transparent point, then move them and make them slightly more transparent over time, then back out.

This is just adding to a problem i already have with enlarging the evil thing and having it run properly.

Any help would be appreciated.

Blink Window?
Ive searched everywhere!!!
is there a way to make the window blink, to indicate new data has arrived or something from a minimized IE window???
I cant seem to find out anywhere

using maybe javascript or something???

Blink Object
Hi,
how can i make a blink ball with actionscript?
attach a object ball, and blink with loop.
i using laco tween class.

Blink Window?
Ive searched everywhere!!!
is there a way to make the window blink, to indicate new data has arrived or something from a minimized IE window???
I cant seem to find out anywhere

using maybe javascript or something???

Making Something Blink On/off?
Seems like this is a simple thing to do but I'm asking anyway.
Say we want to create a blinking object to be used as needed, maybe an arrow to call attention to something on the screen.
What I created was a mc w/the text in F1 and nothing in F2. I then used a setInterval based function in each of the 2 frames to create a delay:Code:

/////// Pause Function  ///////
function pausePlayback() {
play();
clearInterval(pauseHere);
}
pauseHere = setInterval(pausePlayback, 2000);
A good coder might notice right away that once this function is called, there will always be an uncleared interval, which will wreak havoc during playback. Can someone tell me a "right way" to pull this off?
Thanks as always.

Mitch

Cursor Blink
Does anybody know why is the cursor blinking when i mouse over "x, g, e" buttons here:
http://banner.conweb.es/swf/part1b.swf
It happens again after i click on "new" or on the ">" in the bottom right corner!!!
Please help me!
Thanks alot

Simple Question, Blink Mc
Just want to make a mc blink at a random interval. Can anyone help? Thanks.

Blink REAL Fast--
anyone knows how i can make something blink REAL fast? like 10 times a sec--- this is not made with keyframes i think so i must be scripted,, but how.

thanks a lot

dirty

Making Buttons Blink
I was wondering how to make a button blink on the over part. Here is what I did, which failed.

1. Created a new symbol-button.
2. Created new symbol-movie clip.
a. The movie clip has 2 frames, 1st frame is the button in one color and the 2nd frame is the button in another color. I then added a goto and play action to make it go back to frame 1. That way it went to from frame 1 to 2 then repeated over and over.

3. Back to the button. On the over section, I added the movie clip. Then I tested the movie and it doesn't work. What am I doing wrong and how can I make it work.

Make Clip Blink
Hi

Have a look at the attachment. Im trying to make the thumbnails blink on roll-over. Its been pissing me off for ages now

Maybe change the alpha of thumbnail to 30% then gradually to 100%.

How can I do this???

Thanx in advance

Blink With Dynamic Jpg Transitions?
Got stuck,

please look at http://www.xmoment.nl/flashTest/home.html

i got the images and text dynamic loaded, but i get a pesky blink between transitions.

Any ideas tips how to prevent this?

Part of my code
code:
function preload () {
var t = container.getBytesTotal (), l = container.getBytesLoaded ();
var tt = containerBG.getBytesTotal (), ll = containerBG.getBytesLoaded ();
if (t && l == t) { //wanna be sure container is loaded
//container._visible = true;
if (tt && ll == tt) { //be sure containerBG is loaded
//containerBG._visible = false;
clearInterval (myInterval);
gotoAndPlay (2); //both are loaded so go
}
// end if
}
//end if
}
//end preload
loadMovie (pathToPixs + "image" + bgPic + ".jpg", "containerBG");
loadMovie (pathToPixs + "image" + whichPic + ".jpg", "container");
myInterval = setInterval (preload, 5);

Blink Button Text
Hello,

How do you create a button that has text and have the text blink?

Like this web template that i saw:

Button with the rollover blink text effect

Thanks

Blink Of White Between Scenes
I am new to this site (and flash) and have been reading a lot of the information on this site. It is great!!

I have a question... I am trying to set up a whole site in flash, because when I did it in html and flash, I was getting a blink of white while the page loaded. I even tried changing the background to black, but it still blinked to white first.

So, now I am trying to set it up in flash. I am setting it up with five different scenes, but when I uploaded to check I am still seeing the blink of white when it changed scenes. Because of the layout it looks really funny. Is there a way to get rid of this? Do I have to set it all up on the same timeline and jump back and forth? This could get really confusing.

I appreciate any suggestions.

Thanks!!

Getting The Insertion Point To Blink
Hi, I have a form and I would like the insertion point to automatically blink when the page loads. There is more than one field. I would like the insertion point to be blinking and the user can automatically start typing without having to click into the text field. Is this possible? Thanks

Fixing Alpha Blink?
Hi all!

I was having some trouble with a loadMovie script that has two MC instances that it loads to. Basically, the script is setup to load random external swf files from an array. It fades the top instance (movietarget) to the one below it (movietarget2), and once it's alpha is at zero it copies the bottom instance to the top and loads a random new swf underneath it to start fading to all over again.

The problem is that I need this to look smooth, and when it's done fading the top image and it's ready to copy the new bottom one I just set it to change the alpha of the top instance to 100. It has a long white blink when it does this.

Do I need to setup a preloader for the swf I'm going to show? Any help is much appreciated!

-----------files----------------

http://web.ics.purdue.edu/~mwallac/ECO/Swap1.swf

pay no attention to the red text, I was just using that to test different variables

http://web.ics.purdue.edu/~mwallac/ECO/Swap1.fla

if you want to test it with the images (which are in swf form) just get this zip


http://web.ics.purdue.edu/~mwallac/ECO/images.zip

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