Skip to content

unic8 Studios

Documentations Tutorials FAQs Links Advanced search
EnglishGerman
Advertisement
You are here: Home
External image transitions - Part 2
Saturday, 17 March 2007

We received emails with requests to extend the existing files. Some of them wanted a slideshow functionality and progressbar to indicate the loading status. Now I decided to release a second version.

Here are the new features...

  • All features of the first version
  • Slideshow
  • Progressbar for loading status

Source code

Download

Source files (732.49 KB)

 

Trackback(0)
Comments (16)add comment

sverre said:

 
Hi there, this stuff is very good! but I have a question,

if I want to go to a specific image from another flash frame, say from an index of all the images, alternatively, how to make an index to the images in the same flash frame. Thank you very much!

Sverre
2007-03-18 11:48:28 | url

blank said:

 
hi ,this stuff is cool,but I have a question,can resize images size?
because images is not same size ,can resize images size?
thanks
2007-04-18 09:35:41

pfphoto said:

 
Hello:
please, help me. I don,t know how to put all inside a movieclip, no in the root of the movie.
Thanks a lot.
2007-05-26 17:14:35

erik said:

 
Hi pfphoto,

first of all you can download the whole source files above so you don't have to insert the whole source code into a new clip if you don't want to.

If you'd like to paste the code anyway you should add a separate layer and lock it so that you can't add anything (like movie, graphics, ...) into it. I recommend to give it a name like "as" for ActionScript or s.th. similar. Then select the frame of this layer and open the ActionScript-editor and paste the source code.

The second part of this example requires a movie from the library which has to be available at runtime (set this via advanced settings for the movie) and name it for export as "movSmartTile".

Hope this helps!

p.s. did you notice that there is a third part of this article with more features?
2007-05-26 18:23:56

pfphoto said:

 
Hello:
thanks for your resposte. My problem it,s that I want to put the component and buttons inside a movieclip, not in the root of the movie, but the as code don,t work.
I create a mc in the root, instance name myClip, and insite of this I put all, component, buttons and code, but the code don,t work.
Thanks a lot.
2007-05-26 18:45:04

erik said:

 
OK, no problem at all. Here's your custom solution:

As you can see above the "movSmartTile" contains the following code:

...
this.attachBitmap(_root.getImage(_root.intSourceIndex),0);
...
this.attachBitmap(_root.getImage(_root.intTargetIndex),0);
...

Just change the "_root" to "_root.myMovieName" wherever you put the main code into. This should solve your problem.
2007-05-26 19:11:03

pfphoto said:

 
Hi again:
thanks a lot. Now it works great.
I must change too this line:
_root.createEmptyMovieClip("movCache",_root.getNextHighestDepth());
for this:
_root.myClip.createEmptyMovieClip("movCache",_root.myClip.getNextHighestDepth());
Thank you very much for your help.
2007-05-27 10:53:41

erik said:

 
You're welcome! I've overlook this line... but you got it. Perfect!
2007-05-27 16:35:59

Teo said:

 
If i want to use custom botton and not component botton ?

Thanks .....
2007-07-24 16:27:41

erik said:

 
Hi Teo,

just remove the components from the stage and the library and replace them with your custom buttons. You have to add an event handler which requires the following line:

TransRoot(intDirection:Number);

The "intDirection" is used to set the next image. 1 (positive) for the next and -1 (negative) for the previous image.
2007-07-24 17:34:27 | url

Neil said:

 
hi, how do I configure this to load a random image rather than in an order.
good work by the way
2007-08-29 12:30:40 | url

erik said:

 
Hi Neil,

please have a look at the 3rd part of this article
http://www.unic8.com/en/news/labs/external-image-transitions-part-3-2.html
there you can find a solution for displaying random order of the images
2007-08-30 21:34:10 | url

Gerry Noble said:

 
Can you clarify how PFPPhoto managed to get this to work inside a movie clip - what lines of code need altered and what alterations are needed?

Thanks.
2007-11-12 09:29:15

Erik said:

 
Hi Gerry,

I don't know PFPPhoto... could you post a link or just explain how it works?
2007-11-15 08:33:04 | url

steno said:

 
how can i set which transition to use?
2008-08-31 19:36:48

Bchavez said:

 
Hi!!

Where can I download the transitions or buy this transitions???

Regards
Bruno Chávez
2008-11-25 15:23:20 | url

Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley
Smiley

security image
Write the displayed characters


busy
 
< Prev   Next >

Polls

Which data exchange technology do you prefer?