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?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 09-18-2006, 09:16 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Flash Dynamic Slideshow With Fading Image Transitions
Hello, I'm trying to build a Flash slideshow with the following features:
1. Displays a series of still images with fading image transitions.
2. Gets the URL for the images dynamically at run-time (Flash vars in HTML)
3. Any number of images.
4. Preloads the images
5. Ability to set the period of time that each image is displayed for.
I have had partial success but I am just to new at Flash to build something like this in under several weeks (which I dont have). Anyone know of anything like this on the WWW or would have any tips for building one?
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?
Animated Masking A Dynamic Image Is Causing Dynamic Image To Disappear Intermedently.
You can find the file here of what I am trying to do:
http://www.yourfilelink.com/get.php?fid=462218
Please tell me if you are having problems downloading it.
This has always irritated me and I can't seem to find a way around it.
I dynamically load an image to a movie instance and the movie instance is masked. The masking is animation on it, so that it looks like the image is animated via masking. It works if the masking animation is one long shape motion tween, but if I make the masking animation frame by frame, the image being masked disappears and reappears only when it is a long shape tween of the mask.
Please refer to the downloadable sample to understand what I mean. Is there a way around this?
I have seen page flip samples that is able to do what I am trying to do, but they used really advanced actionscripting to do this. I am using timeline.
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!
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.
[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
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.
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
Cool Flash Image Transitions?
Does anyone know of any good tutorials or .flas for effects that either transition between 2 images (like for a gallery), or effects for transitioning in an image from an empty white stage...
I just want to amass as many as possible...the more the merrier...
cheers
[FLASH 8] Actionscript Image Transitions
Hello,
I am using an external actionscript file, and I have dynamically loading images that stay on the screen for X amount of seconds (the user can set the value of x), then it loads the next image. However, this user would like for there to be a transition, For Example, have it fade out and have the next image in line fade in after the image has been displayed on the screen for X amount of seconds. This user would also like a loading bar, much like the one on the flash banner here: http://telerik.com/ between each image transition.
I also have it so when someone hovers over a button, the flash banner stops, once they rollout X is reset to 1 and starts the counter again, and sets the movie to play at frame 1.
Here is the actionscript file: http://enhancedlabs.com/clients/tent...tionscript2.as
and here is the .swf on the website: http://enhancedlabs.com/clients/tent.../products.html
Thanks,
David
Image Transitions / Photo Slideshow
Good day to all,
I am all new to Flash.
I need to do a simple photo image transition with infinite looping. Can someone advise if there is a simple way of getting this done?
Thank you
Alek
I Cant Load Image Transitions Using This Xml Actionscript
var thumb_spacing = 40;
// load variables object to handle loading of text
var description_lv = new LoadVars();
description_lv.onData = function(raw_text){
description_txt.text = raw_text;
}
function GeneratePortfolio(portfolio_xml){
var portfolioPictures = portfolio_xml.firstChild.childNodes;
for (var i = 0; i < portfolioPictures.length; i++){
var currentPicture = portfolioPictures[i];
var currentThumb_mc = menu_mc.createEmptyMovieClip("thumbnail_mc"+i,i);
currentThumb_mc._x = i * thumb_spacing;
currentThumb_mc.createEmptyMovieClip("thumb_contai ner",0);
currentThumb_mc.thumb_container.loadMovie(currentP icture.attributes.thumb);
currentThumb_mc.title = currentPicture.attributes.title;
currentThumb_mc.image = currentPicture.attributes.image;
currentThumb_mc.description = currentPicture.attributes.description;
currentThumb_mc.onRollOver = currentThumb_mc.onDragOver = function(){
info_txt.text = this.title;
}
currentThumb_mc.onRollOut = currentThumb_mc.onDragOut = function(){
info_txt.text = "";
}
currentThumb_mc.onRelease = function(){
image_mc.loadMovie(this.image);
description_lv.load(this.description);
}
}
}
function loadTheImage (e):void {
TransitionManager.start(image_mc, {type:Wipe, direction:Transition.IN, duration:3, easing:None.easeNone, startPoint:1});
}
loader.contentLoaderInfo.addEventListener(Event.CO MPLETE,loadTheImage);
// xml object for xml content (defines sources for selections)
var portfolio_xml = new XML();
portfolio_xml.ignoreWhite = true;
portfolio_xml.onLoad = function(success){
if (success) GeneratePortfolio(this);
else trace("Error loading XML file"); // no success? trace error (wont be seen on web)
}
// load
portfolio_xml.load("portfolio.xml");
Flash & XML - Image Transitions And Links
Hey there all.
So I am an upcoming designer, going to school for Visual Art and Communications, and am stoked on learning AS.
So a friend of mine who I work worth wants me to make him a flash app for his site.
It seems fairly simple. The site is http://www.zoedane.com
He wants the main image on his homepage to be a image that changes with transitions, thats easy enough.
Second he wants there to be a button on the bottom of each image to take them to that corresponding section of the site, and I was saying to myself. Peace of Cake, I could have this done in no time..
Third, he wants to be able to update it himself, without having to go into flash, he is already learning Dreamweaver to maintain his site and doesn't want to pick up anymore programs.
So I was thinking that using flash and XML would be a good idea for this job, except the only problem is I dont know where to begin.
I have never had any serious actionscripting tutoring, so I recently picked up a book "Essential Actionscript 2.0"
Any pointers or code to help me start this would be stellar. I am kinda clueless, but am EAGER and HUNGRY to learn, I have the will to become an actionscript master, so hence me joining this user community.
Thanks in advance, and hope we can make this, then post it in the creative assets.
Cheers.
Tmaynar
Image Transitions With Mask An Flash Script
I find this movie, made by Michael Qian, it is called "Great mask". I manage to place it in a 800x600 movie, it works fine, all image move fine. My problem is when I try to place the buttons inside ANOTHER OBJECT, not in the main time line like in the original.
I supose the problem is around the tellTarget comand in the buttons, but I try all the options I now, none of them work.
Image Gallery With Smooth Photo Transitions ?
I want to try and create a photo gallery where I can load an external SWF files on top of one another (preferably using the swap depth command and publishing it in Flash 5).
I've looked all through Flashkit to find an FLA where I could produce the following result (see gallery section) :
http://www.vw.com/touareg/mini/flash.htm
Does anyone know where I can get an FLA from so I can learn how to do this - currently my image library sites just load the SWF on to a certain level replacing the old one which really doesn't look so smooth and sexy ?
Dynamic Transitions
http://www.bsfllp.com/flash.htm,
http://www.bestdressedkids.com/index.html
I have been looking at this site for hours and I can't exactly put my finger on what is actually occuring. Truth is, I want to mimic it in a project I'm working on.
It looks to me like a movie clip of some sort with 5 stages. When you click on a button, it takes you to a specific point on the clip? The blurred logo on top is throwing me off too.
Anybody?
Thanks.
Help With Dynamic Transitions
Hey there, I'm trying to get the script where you can make transitions between external .SWF's. Anyway, the Container movie is on the main timeline, however the button is inside of a movie that's on the main timeline.
I read this on the site -
"If your buttons are not located on the main timeline, you will have to change the path to the container movieclip. In this example the buttons are located on the main timeline, therefore 'container' targets the container movieclip correctly. Though, if they are not on the main timeline, you must change container to the appropriate path."
How do I change the path to work?
Thank you
Dynamic Content Transitions...
can anyone show me any good techniques for smooth transitions between the loading of external swf's into an empty MC container.
e.g: if i have 3 buttons and each loads a different swf into a container MC, are there any simple but effective entry/exit animation sequences (not including the use of preloaders, which i have covered) i can use ( the container MC has to accomedate loaded swfs 600x280 in size so any techniques that will run SMOOTHLY is paramount)
thanx
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 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
ActionScript 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);
Dynamic Transitions From XML File
For a more detailed explanation, please visit my blog at http://blog.reintroducing.com/. You can grab the source there, as well as read a little more about it, which I highly suggest doing.
Here is the swf:
http://blog.reintroducing.com/source/flash/transitions1
Is There A Way To Add Transitions To Dynamic Photogallery
I have completed the adding thumbnails tutorial and I would like to add a dynamic transition called PixelDissolve instead of the fade. This is the code I have.
Code:
import mx.transitions.*;
import mx.transitions.easing.*;
var dissolving = {
type: PixelDissolve,
direction: 1,
duration: 3,
xSections: 20,
ySections: 20,
easing: Strong.easeInOut,
numStrips: 10,
dimension: 1
};
TransitionManager.start(image1_mc, dissolving);
|