Two Concurrent Image Transitions Flickering
I'm trying to get two image alpha transitions to run concurrently with no flickering. I've tried everything I could find in the documentation and in this forum, but still no luck. I sure would appreciate any help.
You can see them in action here: http://lucindagaskill.com. There is a small foreground transition on top of a full screen background transition.
The file sizes involved don't seem to be large enough to create a performance problem, but I'm still learning Flash, so I really don't know if that's the problem.
The foreground fla includes a transition jpg volume of 140K and a sound mc of 59K, which produces an swf of 389K. The background fla includes a transition jpg volume of 470K and results in an swf of 383K. Both fla files are set at 30 fps.
Each transition runs smoothly (no flicker) when run independently. However, the foreground fla loads the background swf with <as> this.parent.attachMovie("background_trans", "background_trans_mc") </as> and that's when the flickering occurs.
Here's what I've tried so far: - using timeline alpha transitions - AS alpha tweens of the images themselves - AS alpha tweens of a black mask over the images instead of using image alphas
Each of these attempts results in flickering of both transitions (or tweens) when run concurrently.
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 04-16-2007, 07:40 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Multiple Concurrent Random Image Fades
The intention of the code below is to have an array of MCs that is loaded with random JPEG files, fades in, holds for a moment, then fades out. The code works fine as long as there is only one MC appearing at a time. However, when the variables are changed so that, say, three images could be visible, with staggered fading in and out, the fading in works fine but the script seems to "forget" to fade some of them out. I'm guessing the multiple setIntervals are interfering with one another, but not sure what to do to fix it. Any help is appreciated.
Attach Code
function fadeOut(target_mc:MovieClip):Void {
target_mc._alpha -= 100000/frameRate/fadRate;
if (target_mc._alpha <= 0) {
clearInterval(fOutIntrvl);
}
}
function fadePause(target_mc:MovieClip):Void {
fOutIntrvl = setInterval(this, "fadeOut", 1000/frameRate, target_mc);
clearInterval(pauseIntrvl);
}
function fadeIn(target_mc:MovieClip):Void {
target_mc._alpha += 100000/frameRate/fadRate;
if (target_mc._alpha >= 100) {
pauseIntrvl = setInterval(this, "fadePause", rotRate*maxPhotos-fadRate*2, target_mc);
clearInterval(fInIntrvl);
}
}
function jpgRotate():Void {
randJpg = Math.ceil(Math.random()*totalPhotos);
loadMovie(randJpg+".jpg", photoMC[i]);
fInIntrvl = setInterval(this, "fadeIn", 1000/frameRate, photoMC[i]);
if (i >= photoMC.length) {
photoMC.shuffle();
i = -1;
}
i += 1;
}
i=0;
rotIntrvl = setInterval(this, "jpgRotate", rotRate);
Flickering Image
hi guys i need your help or suggestion.
I have made an MC with in that lots of images. Now i made it to move left or right. i did it 2 ways, with AS and motion tween.
but there is small flickering jurk while moving left or right.
some body tell me why it is happening? any possible reason behind?
thanks for you time
Image Flickering When Tweening
Hello and thanks for your time,
Does anybody know how to get a linear movement
tweening on a JPG without the image flickering?
The one I made kinda' flickers and distortions the
images as they scroll, and I'd like them to be more
fluent and smooth. Check them out if you can
in the top right banner:
NOTE: the second image is the worst
http://www.e-vendorslist.com/host.html
I'm using a 25 FPS rate, and if I raise it,and add more frames
to keep it slow, it's a little bit better, but the images keep
distorting, like if there where hot water between the image
and your eye sight.
Please help !, thanks!
-Waltman
Flickering In Image Slideshow
I'm using Flashdevelop (because I just want to fool around a bit and see if flash is something I want to spend time on), and that means it's really hard to find any useful tutorials, manuals and scripts. Because almost all assume one is using CS3, and are full of design modes, .fla's, timelines and frames
Still, I managed to put together (copying and pasting from several scripts and tutorials I found online) an image slideshow.
I've got two image items covering each other. In the one on top I load the first picture, in the one on the bottom I load the picture to be shown next. Then the pic on top fades out, showing the pic underneath. Once the pic on top has become invisible, I load the pic now visible in the top image item and make it visible again. Then, I load the pic to be shown next in the bottom image item, etc. etc.
The images nicely fade one into the other when I click on the image.
But... when I make the slideshow advance on it's own, I get an ugly flickering between pics. One pic fades into the second pic. Then for a fraction of a sec I see the black background (the pic disappears), it reappears and fades into the next pic.
I guess it's got something to do with the fade out effect duration, or the fact that the goNext() is executed before the pic is completely loaded? Or maybe it's something else, who knows. I'm a complete newbie when it comes to this stuff
Here's my code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
import com.asfusion.controls.PhotoshowImage;
//all the pictures
private var pictures:Array;
//the index of the array that corresponds to currently shown picture
private var currentIndex:int = 0;
//actual picture object that is currently shown
[Bindable]
private var currentPicture:PhotoshowImage;
//next picture object to be shown
[Bindable]
private var nextPicture:PhotoshowImage;
// show the next picture in set
private function goNext():void
{
if (currentIndex < pictures.length - 1){
currentIndex++;
}
else {
currentIndex = 0;
}
switchPictures();
}
private function switchPictures():void{
fadeIn.end();
fadeOut.end();
nextPicture = pictures[currentIndex];
picture2.visible = false;
}
private function updateCurrentPicture():void{
//set the current picture based on current index
currentPicture = pictures[currentIndex];
goNext(); // without this line I have to click on the image and it all works smoothly
}
//this changes the set of pictures
public function set dataProvider(value:Array):void
{
pictures = value;
currentIndex = 0;
updateCurrentPicture();
}
public function get dataProvider():Array
{
return pictures;
}
]]>
</mx:Script>
<mx:Resize id="resize" />
<!-- taken straight from the docs -->
<mx:Fade id="fadeOut" duration="1000" alphaFrom="1.0" alphaTo="0.0" effectEnd="updateCurrentPicture()"/>
<mx:Canvas styleName="imageHolder" id="canvasSlideshow" width="500" height="500" horizontalScrollPolicy="off" verticalScrollPolicy="off">
<mx:ProgressBar styleName="progressBar" id="progressBar1" source="{picture1}" visible="{progressBar1.percentComplete != 100}" />
<mx:ProgressBar styleName="progressBar" id="progressBar2" source="{picture2}" visible="{progressBar2.percentComplete != 100}" />
<mx:Image top="0" left="0" id="picture1"
source="assets/photoshow/images/{nextPicture.name}" click="goNext()"/>
<mx:Image top="0" left="0" id="picture2"
source="assets/photoshow/images/{currentPicture.name}" hideEffect="{fadeOut}"
complete="picture2.visible = true" click="goNext()"/>
</mx:Canvas>
<mx:Text y="320" height="47" styleName="caption"
text="{currentPicture.caption}" />
</mx:Canvas>
Any ideas?
Flickering Image Fadeout Problem - HELP
I am creating a slide show in MX 2004 that fades images in and out as you go to the next slide. When you move through it somewhat quickly, it works fine. However, if you wait say 20+ seconds to view the next slide, the fading out image flickers on its way out.
The images are linked movie clips which are entered into an array. My code is on all on the first layer (except for the empty movie clips), and the alpha tween is done via actionscipt.
Here is a sample of my code:
//BEGIN IMAGE FADE-IN
// THIS FUNCTION LOADS THE NEXT MOVIE AND FADES IT IN
function fadeNextSlide(){
if (slides._alpha > 0){
setProperty(slides, _alpha, 0);
}
slides.attachMovie(slideShow[i], "slide", 1);
slides.setAlpha = 100;
theLast = i;
i++;
}
//END IMAGE FADE-IN
//THIS FUNCTION TELLS THE LAST IMAGE TO FADE OUT
function fadeLastSlide(){
if (lastImage._alpha < 100){
thisAlpha = getProperty(lastImage, _alpha);
lastImage._alpha = thisAlpha;
}
lastImage.attachMovie(slideShow[theLast], "slideOut", 1);
lastImage.setAlpha = 0;
}
//END IMAGE FADEOUT
function viewNext(){
if (i < slideShow.length){
fadeLastSlide();
fadeNextSlide();
}
}
//BUTTON CONTROLS
playButton.onRelease = function(){
viewNext();
}
Here is the code on the empty move clips "lastImage" and "slides":
onClipEvent(enterframe){
// See if the aDest has been changed
if (this._alpha != setAlpha) {
this._alpha += (setAlpha+this._alpha)*.01;
}
}
I cannot figure this out for the life of me. I've tried compressing the images, changing the time intervals of which the alpha properties change, and fading them in and out of 99%. Would anyone be able to explain what is happening and whether or not there is a fix for this? It just doesn't make sense to me.
Thanks!
Image Flickering When Animating Scale
Hi,
Firstly i use flash 8.
I animate a jpeg growing bigger, and its a large image over 1600x1200. It flickers. Is there a way to prevent that?
Best
Andrew
Flickering Image Fadeout Problem - HELP
I am creating a slide show in MX 2004 that fades images in and out as you go to the next slide. When you move through it somewhat quickly, it works fine. However, if you wait say 20+ seconds to view the next slide, the fading out image flickers on its way out.
The images are linked movie clips which are entered into an array. My code is on all on the first layer (except for the empty movie clips), and the alpha tween is done via actionscipt.
Here is a sample of my code:
//BEGIN IMAGE FADE-IN
// THIS FUNCTION LOADS THE NEXT MOVIE AND FADES IT IN
function fadeNextSlide(){
if (slides._alpha > 0){
setProperty(slides, _alpha, 0);
}
slides.attachMovie(slideShow[i], "slide", 1);
slides.setAlpha = 100;
theLast = i;
i++;
}
//END IMAGE FADE-IN
//THIS FUNCTION TELLS THE LAST IMAGE TO FADE OUT
function fadeLastSlide(){
if (lastImage._alpha < 100){
thisAlpha = getProperty(lastImage, _alpha);
lastImage._alpha = thisAlpha;
}
lastImage.attachMovie(slideShow[theLast], "slideOut", 1);
lastImage.setAlpha = 0;
}
//END IMAGE FADEOUT
function viewNext(){
if (i < slideShow.length){
fadeLastSlide();
fadeNextSlide();
}
}
//BUTTON CONTROLS
playButton.onRelease = function(){
viewNext();
}
Here is the code on the empty move clips "lastImage" and "slides":
onClipEvent(enterframe){
// See if the aDest has been changed
if (this._alpha != setAlpha) {
this._alpha += (setAlpha+this._alpha)*.01;
}
}
I cannot figure this out for the life of me. I've tried compressing the images, changing the time intervals of which the alpha properties change, and fading them in and out of 99%. Would anyone be able to explain what is happening and whether or not there is a fix for this? It just doesn't make sense to me.
Thanks!
Concurrent Actions
I can get buttons to act as triggers for other events but I'm having problems running multiple actions at the same time when they are triggered by separate button rollovers. www.asprey.com is an example of what I want to do. Rollover the A and that sets off one animation, rollover the S before the A animation is complete and the S animation starts WITHOUT STOPPING the A ani.
I hope this is simple, any advice greatfully... etcetce
Concurrent Programming In AS2?
It just ocurred to me last night that there's a slim chance my current flash project could suffer from concurrent execution problems. for instance, two different movies try to check and modify the same global variable. If the function that checks/modifies this global array gets interrupted in one movie and then the other movie starts to check/modify it then I could get some really bizarre results.
does actionscript 2 have any language support for disabling interrupts? are there any resources that describe flash's multithreading behavior? is it really multithreaded?
Concurrent Connections
How to count concurrent connections on a simple videochat application with audio.
Theoretical set-up is: One room with 6 pods. 5 people lock on and broadcast there webcam at the same time. In the room there are 5 videopods and one text chatpod. All 5 connected users can enter text in the chatpod. All 5 will see there own webcam plus the 4 other videofeeds.
How will FMS2 (2.04) count the number of concurrent connections?
How Many Concurrent Users On A FMS?
We want to stream live Town Hall meetings with the majority of the users viewing it from our inTRAnet. 320x240, 30fps, Dual 2.8 GHz, 4 GB widows server. Anybody with similiar setup using FIMS to service 200 or 500 concurrent users? We have two campuses and I need to know if I will need to spec a second server if we get above a certain number. How many concurrent users can I supprot with the above configuration? Thanks
Does AS2 Support Concurrent Programming
It just ocurred to me last night that my current flash project could suffer from concurrent execution problems. for instance, two different movies try to check and modify the same global variable. If the function that checks/modifies this global array gets interrupted then I could get some really bizarre results.
does actionscript 2 have any language support for disabling interrupts? are there any resources that describe flash's multithreading behavior? is it really multithreaded?
FMS Reports - Concurrent Users & Bandwidth
Hi,
I am a newbie to FMS 2. I would like some assistance on generating reports for: -
1. Maximum no. of Concurrent Users per day
2. Maximum Bandwidth utilized per day by users and applications.
I am open to buying a third party tool to achieve this.
Is there a way to extract this information from FMS.
This is a little urgent for me.
Any help is highly appreciated.
Thanks and Regards,
Cheetoh
Streaming & Concurrent Users Per Processor
Two questions here.
1. Do you really need to spend thousands of $$ for flash media server to do streaming because flash media server also requires other very expensive server software to run it.
I am talking of a large scale webservice with video and the need of a large Data server is also a requirment but these costs are killing me.
2. Does anyone know if their is a good formula like (Processor strength @ quality of video) = X streams of video of that quality as a guideline. or if say I hae 20 concurrent users on average. How many processors should I have on the media server handling the streams?
Maximum Concurrent Loader.load() Loads?
Hello all,
I have a class that loads a list of images in an XML file. The XML file can potentially contain any number of image URLs.
Would it be advised to call Loader.load() in a for each loop, causing every image to be loaded concurrently? Will there be a point at which the number of concurrent loads is too much for the system or the bandwidth, or does flash have some sort of intrinsic load management?
Thanks!
Tim
Image Transitions
Hello all,
I am trying to make an image transition similar to vertical blinds. I have 8 images and a back and next button. I have alreay sliced the images up in Image Ready and have imported each slice into my flash movie. Now, I would like to know how to set this up. What I would like to have happen is, when you are viewing an image and click on the next or back button, the image you are viewing kind of closes, like a vertical blind, and the next one or prior one, opens like a vertical blind. Would this be easiest with a movie clip, or actionscript? Also, does anyone know where I might find an .fla on this. Thank you very much in advance.
Tom
Image Transitions....
ok.
I have a menu where the user will be able to select from several buttons to load external movies that contain images.
.. so when the user clicks a button - a little preloader plays and an image fades in - simple enough..
what I cant figure out, is how to get a nice fade OUT effect when transitioning to another image. I know how to fade the image with alpha and all that... but getting the fade to play then load another external image movie after the user clicks another button.
did I describe this clearly????
I'd really appreciate the help.....
Image Transitions
Hi there!
I am trying to create a transition of 4 images by fading one image into another. I would like each image to wait a few seconds before it fades into another. Can someone tell me how this can be done in MX?
Thanks
Image Transitions
Hi,
I am an php programmer, but i've finally seen the light 'flashing' in front of me..and i'm trying to learn as now.
I've covered the basics, but i like to learn by trying to recreate things i see on the net. this way, it is actually not boring to read through this as-reference i'v bought.
Having said that, i hope somebody can link me to a tutorial or fla file of some image transitions i've seen, mainly @ flashlevel sites..
here are some examples, it seems like the same 'trick' applied in many different original (and amazing) ways, but i can be wrong.
http://www.flashlevel.com/avionics/
http://www.rtrtechnology.com/flash.htm (not the buttons, but the image transitions below)
http://www.flashlevel.com/aya/flash.htm
i think you get what i'm looking for now
T.i.a.
Image Transitions
Anybody have a link, or some good examples for image/scene transitions?
I'm trying to find some cool and professional looking examples I can play with for an 'image browser' that transitions from one "slide" to the next.
Or if somebody could post a little example on a type of wipe, where it wipes the current image in large squares, and then pulls in the next picture using the same method ... or anything cool looking haha
Thanks guys!
Image Transitions
have a look at http://www.spacefx.co.uk/
i trying to work out the image transition ( fade in ), that takes place when u click on any button..
i've been trying to work it out , but am not gettin perfect results ..
i am attaching the fla of my file so that u know how i am working on them ...
ny help ??
Image Transitions
Hey all!
I know that masking is being used at this site http://www.christomlin.com/2004/default.htm but how do you put it together so that the next image appears as the first one disappears?
Thanks.
Image Transitions?
I am trying to make a flash movie that will transition through a few pictures automatically with neat masking effects that I believe are done with action script please help me.
MC Image Transitions ?
Hi,
I am trying to accieve a similar effect to the images transitions in this site:
http://www.netjetseurope.com/home.html?lang=eng
The thing i want to know is... which is the best way to make the new image for each section Transition in OVER the previous one, rather than the image area going back to a blank canvas each time a new image transitions in.
Any ideas on how this can be done or are there any tutiorals that cover the subject?
Thanks
XML And Image Transitions
Hi,
What I'm trying to achieve is the following:
I have a gallery of 3 images that I'd like to load into a flash movie from an xml doc.
I'd like the first image to fade in automatically and then, after a pause of 5 seconds for example, the next image to load - fading in over the top of the previous.
The sequence would then loop automatically - ie I don't want to do it with buttons in this case.
I'm using this as an opportunity to learn xml so any advice very much appreciated.
Jo,
PS. I have found and started a couple of tutorials but they are trying to achieve more than I need at this stage.
Image Transitions
Hi,
Does anybody have any cool examples of Image Transitions? I'm trying to figure out a subtle image transition between 4 images and i'd like to see other examples first. Not just alpha tweens but also those weird pattern pieces moving mask ones as well
Image Transitions
hello. Basically what I'm trying to do in flash is have a big picture of a cd(with information about it next to it) and then a row of smaller pictures of the other cds in a bands discography. When you click on the small cds, the big picture shrinks to nothing, and then grows again, but in its place is the cd you clicked on. Im not really sure what method i should use to go about this. I tried doing it by having transition in and transition outs for all the cds and in all the possible combinations(theres only three cds right now), and then changing the script for the buttons depending on what transition you came out of(i might have said that confusingly), but it seems like there should be a much simpler way to do this. Im sorry if this is too simple of a question for this forum. If I should post this elsewhere, just tell me.
Image Transitions
I am looking for some cool image transition classes. Not the ones in the transition manager which are a bit naff.
I have seen one which a load of circles build up and mask the image to reveal it. This would be a nice effect.
Image Transitions
Hi,
Does anybody have any cool examples of Image Transitions? I'm trying to figure out a subtle image transition between 4 images and i'd like to see other examples first. Not just alpha tweens but also those weird pattern pieces moving mask ones as well
Image Transitions
Kia Ora, can any point me in the right direction to finding some image transitions (wipes etc) for Flash MX? Thanx
Image Transitions?
Anyone know where i can get any decent transitions for a web banner i am making? I have some photos supplied by the company i'm building the site for but i'm looking for some cool looking effects to transition between image photo?
thanks in advance
Image Transitions
I work for a internet company that does alot of work for car dealerships. we do a lot of flash movies that cycle through car models. Looking for a source for new ways to transition through the images. Any suggestions?
Why Image Moves On Transitions?
Image always moves (jumps)
on trasitions, even simple
alpha 0 to 100. This makes the transition
"dirty", I'm using jpg standard encoding.
How tyo avoid this?
See the test file attached
Thanks
Masking Image Transitions
Hi,
Not sure if this is the right forum or not.
I've been using Flash for quite a while now, but am still pretty naff at actionscripting, especially when it comes to scripted masking.
I'm trying to achieve the effect on this site: http://www.stratocucine.com/ used when you browse the images within any given section. If you open the site, then hover over 'explore' and click '2' for eaxmple, it will load section 2, then you have a new set of numbers which navigate that section. Try clicking these and you'll see a nice masking effect to change the images. Well that's what i'm trying to do but can't find a script or tutorial on the site which shows me how to go about this.
If anyone can shed some light it'd be much appreciated!
Olli
Smooth Image Transitions
i am having trouble finding a tutorial on this because i am not sure what it is called.
i am looking to make smooth transitions between images, similar to the site below. you have to click on the "paintings" section and then click the bars to see what i mean.
http://www.aaronjasinski.com/
see how each image moves away for the new one?
anyone know a tutorial?
thanks
Sluggish Image Transitions
_
A lot of the people that will be visiting my site will be on both broadband and dial up, so I've gone ahead and made a broadband and dial up version of the same Flash Intro
When I tested the Intro on a 56k modem, the entire Intro was sluggish whenever an image was fading in or out. Now I've seen more complex animations than this simply Intro, but I can't seem to figure out why mine is so darn delayed at such simply transitions!
http://www.turiya4love.com/bali
I copied this "Preloader" from a tutorial on FlashKits site:
onClipEvent (load) {
//set the status bar width to zero;
_xscale = 0;
}
onClipEvent (enterFrame) {
//calculate the load as a percentage;
counter = math.floor(_parent.getBytesLoaded()/_parent.getBytesTotal()*100);
_parent.counterpercent = counter+"%";
//if loaded, play;
if (counter>=100) {
_parent.play();
} else {
//if not loaded, set the status bar width;
_xscale = counter;
}
}
And all the tutorial says is that I'm supposed to create a MC with the animated preloader in it then add that MC to the main timeline on Frame 1 and then click on the MC and add the above code in the ActionScript window. Thats it. The Intro begins a few Frames further on the timeline.
However, when viewing the Intro on a dial up, the "Preloader" isn't even moving?
I know I'm a total novice, so forgive the simply questions.
Thanks in advance!
Smoothing Image Transitions
Hi,
I have a sequence of images obtained from a much larger digital photograph which I want to make into a Flash movie such that the movie appears to scan the original photo. Each image in the sequence is moved 2 pixels on from the previous image and when placed as a sequence of keyframes in the Flash timeline and the movie is tested, the transition from frame to frame is not smooth. Is there a way to smooth the image transition of 150 or so images, using ActionScript or whatever, to make the "movie" look more professional? I have ploughed through lots of websites and tutorials, but haven't come across any example of this kind of transition task. I suspect it's very easy and I would be very grateful for some help.
Happy New Year!
Dynamic Image Transitions
hi all
i am trying to create a gallery that is all loaded from XML.
i have managed to do this and get it working now. well almost i just have to problems
how to scroll the thumbnails with previous/next buttons
also i wish for the images to have a disolve transition that i have created.
i can get this working on one single static images but for some reason this will not work on a dynamic image i have when the image thumbnail is click on for the current image to disolve into the next image.
be very greatfull for any help
i have uploaded FLA, XML and images to http://www.illit.net/test/Problem.zip
thanks in Advance
MovieClipLoader And Image Transitions
Hi all,
I'm working on a project where actionscript is continuously generating a combination of text and an image to display. The process looks like this:
1. Flash uses loadVars to get the text variables that are generated by a php script from a database.
2. keywords from the text are used to search Flickr for an image that matches the keyword.
3. An image url is constructed from the XML results that Flickr returns.
4. The image is loaded into a movie clip via movieClipLoader and the text is displayed in a dynamic text field.
5. This whole process is repeated every 5 seconds with setInterval. OK, so it all works fine, except that the previous image seems to get removed as soon as the new movieClipLoader STARTS loading a new image. Since the image load takes a few seconds, there ends up being a couple of seconds of blank space between one image and the next. So, is there any way that I can keep the previous image displayed until the next one is finished loading? I tried loading the images into a new dynamically created movie clip so they wouldn't load into the same clip, but that didn't help. Do I need to create a new variable name for my movieClipLoader instance every time? Any help on this would be appreciated.
Thanks,
Alexis
Image Transitions Effect
http://www.templatemonster.com/flash...tes/11659.html
Click on the > button or any of the image catagories and you'll see the image transition. I was wondering how this is done. Thanks.
Dynamic Image Transitions
I'm trying to use the Loader component to bring in an image with a transition (resize and fade in), however whenever I stick the component into a symbol and then apply the transistions, the image doesn't appear.
Is this even a possibility and if not, what would be the best way to go about doing it?
Also having an issue with the dynamic images loading midway or after the transition, how do you make the transitions wait?
[ask] About Dynamics Image Transitions
hi guys, how are you all?
this time i would like to asking about how to create image transitions from the dynamics images that load from external image. i'm using the code bellow to get the images.
Code:
import flash.display.BitmapData;
_root.createEmptyMovieClip("temp_header", _root.getNextHighestDepth(), {_alpha:0});
var headerLoader:MovieClipLoader = new MovieClipLoader();
var headerListener:Object = new Object();
headerLoader.addListener(headerListener);
headerListener.onLoadInit = function(header_mc:MovieClip) {
bitmapHeader = new BitmapData(_root.temp_header._width, _root.temp_header._height);
bitmapHeader.draw(header_mc);
_root.temp_header.removeMovieClip();
//_root.createEmptyMovieClip("nav", 8);
bannerHolder.attachBitmap(bitmapHeader, _root.getNextHighestDepth());
};
headerLoader.loadClip("../Images/header.gif", _root.temp_header);
i will repeat those code ten times (because i need ten images to display),and i need transition between the images. so,can someone teach me how to do it?
Default Image & Transitions
Hi Yall'
Now that I have a functioning image gallery, I need to learn how to make the 1st thumbnail be the default image in the main part/large photo. I also need to make the transition between images go more smoothly. Bellow is my code, any ideas?????
Code:
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
//portfolioTag = this.firstChild;
numimages = this.firstChild.childNodes.length;
spacing = 109;
for (i=0; i<numimages; i++) {
this.picHolder = this.firstChild.childNodes[i];
this.thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
this.thumbHolder._x = i*spacing;
this.thumbLoader = this.thumbHolder.createEmptyMovieClip("thumbnail_image", 0);
this.thumbLoader.loadMovie(this.picHolder.attributes.thmb);
this.thumbHolder.title = this.picHolder.attributes.title;
this.thumbHolder.main = this.picHolder.attributes.main;
this.thumbHolder.onRelease = function() {
loader.loadMovie(this.main);
title_txt.text = this.title;
};
}
}
//myVariable= 39;
trace(myVariable)
myPhoto.load("http://192.168.1.69/audi/xml.cfm?id=" + myVariable);
Thanks as always!!!
XML Galleries And Image Transitions In AS
Ok I have been wondering for a little while as to how to do this but some websites out there load images using XML. All that is fine, what I dont quite get is how to make the nice transition between photos? The best example I can provide is on my friends website he recently completed: http://www.ameereehal.com
(Go to the portfolio section and browse some pictures)
Can anyone provide any tutorials on how to do this as I could not find much on Kirupa regarding this?
[ask] About Dynamics Image Transitions
hi guys, how are you all?
this time i would like to asking about how to create image transitions from the dynamics images that load from external image. i'm using the code bellow to get the images.
Code:
import flash.display.BitmapData;
_root.createEmptyMovieClip("temp_header", _root.getNextHighestDepth(), {_alpha:0});
var headerLoader:MovieClipLoader = new MovieClipLoader();
var headerListener:Object = new Object();
headerLoader.addListener(headerListener);
headerListener.onLoadInit = function(header_mc:MovieClip) {
bitmapHeader = new BitmapData(_root.temp_header._width, _root.temp_header._height);
bitmapHeader.draw(header_mc);
_root.temp_header.removeMovieClip();
//_root.createEmptyMovieClip("nav", 8);
bannerHolder.attachBitmap(bitmapHeader, _root.getNextHighestDepth());
};
headerLoader.loadClip("../Images/header.gif", _root.temp_header);
i will repeat those code ten times (because i need ten images to display),and i need transition between the images. so,can someone teach me how to do it?
Image Transitions On Www.fcukfragrance.com
What are some ways for doing image transitions like the ones on www.fcukfragrance.com
If you click "fcuk for her" and then "fcuk for him" the image slides across the screen, slows down but is still sliding.
Large Image Transitions In Flash
Hello,
How does one go about creating effect similiar to this:
www.butterrestaurant.com
Is there a correct/best way to do this, my guess is to use external swfs but I could be wrong, some assistance or actionscript examples would be great.
Many thanks
Why Image Moves On Alpha Transitions?
Almost all the times, images on trasitions,
even on a simple alpha from 0 to 100,
the image move or distor a little (like a jump)
making the trasition "dirty"
I always use .jpg (standard encoding)
how to avoid this?
see the test attached file
Thanks
|