Knowledge Base


Important! All new questions are usually answered within the next business day.

MCTE V3 (MovieClip Transition Effect V3)

(views: 20033)

A transition effect component with lots lots of flash animation effects already included and lots of patterns sold separately. Here are all known common issues for MCTE V3, the custom patterns are treated here too. If you have any questions that you think we should discuss here please let us know. Write to support.



Multiple transitions using ActionScript code

(2008-02-18 - views: 10470)

Q: How can I use MCTE to to show and hide sequential images with transitions using code ?
A: Here is an example of show/hide transitions on more images. The entire animation is done only by ActionScript code.
Files: MCTE_MultipleTransitionsCode.zip 


User Comments

AS3 source ?
posted by ilanb on 2008-03-11

Hi,

can you post an AS3 exemple of this please ?

thanks
Multiple Transitions without showing background
posted by jzdesigns on 2008-03-25

Every sample file I download shows the background between transitions... its possible to do transitions straight from picture to picture without ever showing the background right? Can you please set up a file for me showing me how to do this. I'm trying to do alphabars between 4 pictures right now and have it be a continuous loop. Thanks
Transitions without showing background
posted by negush on 2008-03-26

There are a few patterns like the 3DCube that make transitions between two target objects without hiding the first one and then showing the second one (that's why the background shows up).

In case of alphaBars you would need write code for that because it only knows "show" and "hide" transitions. You need to do only the show transitions and once the transition finished change the _targetInstanceName property of MCTE to the next image. You would have to have the images invisible at first.
Is there away to control the length without dragging out the duration of the MC
posted by digitalcomplexion on 2008-05-22

I am new to AS3 and in AS2 you could put a stop mc with 1000 2000 and so on as the time. Is that possible to use another method in the V3.

Here AS2 code,

stop();
tellTarget ("timer") {
delay = "6500";
}

Thanks love the product!
Use tweenDuration
posted by negush on 2008-05-23

The length of the transitions or effects can be set only through the tweenDuration property. If you need to change the duration, you can do that any time by code, before starting the transition/effect:

myEffect.tweenDuration = 45; // number of frames
AS3 code please
posted by ignacio on 2009-01-05

can you post the AS3 code for this please.
AS3 code please
posted by ignacio on 2009-01-05

The last time someone requested this was on 2008-03-11

We are WAITING. I dont know if properties and methods are the same for AS2 and AS3. your site does not mention !!

Some support would be highly appreciated.

We and our clients are waiting ...
AS3 code please
posted by negush on 2009-01-06

We've published the code for the AS3 example and you can find it here: http://www.jumpeyecomponents.com/knowledgebase/MCTE-V3-(MovieClip-Transition-Effect-V3)/Multiple-transitions-using-ActionScript-code~1427/.

Regarding the properties and methods, they are the same for both AS2 and AS3 versions and only the events are different. All the properties, methods and events are published on the component's webpage in the "How to use" tab.
Image Transition with MCTE via actionscript
posted by xFLASHSTUDENTx on 2009-09-06

I'm trying to create a transition between five different images that are in my library using MCTE ActionScript (if possible) or with the loader component.

For example, just as you can easily use the to MCTE component to make a seamless transition between two images (http://www.jumpeyecomponents.com/Flash-Components/User-Interface/Loader-Pro-V3-38/how-to-switch-between-two-contents-of-the-loader-pro-v3_as3.htm), I want to create seamless transitions with MCTE for five image-movieclips that are in my library.

I have the linkage id and everything set up.

Here's my code thus far using the loader compenent:



import flash.events.MouseEvent;


myLoader.source = "img1.jpg";

one.addEventListener(MouseEvent.CLICK, oneclickHandler);
two.addEventListener(MouseEvent.CLICK, twoclickHandler);
three.addEventListener(MouseEvent.CLICK, threeclickHandler);
four.addEventListener(MouseEvent.CLICK, fourclickHandler);
five.addEventListener(MouseEvent.CLICK, fiveclickHandler);

one.buttonMode=true;
two.buttonMode=true;
three.buttonMode=true;
four.buttonMode=true;
five.buttonMode=true;



function oneclickHandler(evt:MouseEvent):void
{
myLoader.source = "img1.jpg";
}

function twoclickHandler(evt:MouseEvent):void
{
myLoader.source = "img2.jpg";
}

function threeclickHandler(evt:MouseEvent):void
{
myLoader.source = "img3.jpg";
}

function fourclickHandler(evt:MouseEvent):void
{
myLoader.source = "img4.jpg";
}

function fiveclickHandler(evt:MouseEvent):void
{
myLoader.source = "img5.jpg";
}


Unfortunately, this code isn't working. I did everything correct as far as the MCTE component, the pattern, and loader component are concerned.

In short, if I can have a seamless transition between two images, how can I have a seamless transition with more than two images for example? Please put up a tutorial on this because a lot of users want the answer to this question. In my opinion, the tutorial should detal how to switch between multiple images via the loader component or, more importantly, just actionscript code. Thank you.

Image Transition with MCTE via actionscript
posted by florodebat on 2009-09-07


Your code looks fine but there are a few modifications you will have to make in order to be able to load those images from the library. First you will have to convert them into movieClips , give them a LinkageId and export them for Action Script. Make those modifications and everything will work fine. However if you need further help please open a new support ticket and write there about what you are trying to achieve and shortly someone will help you. Please don't forget to mention the order id of the purchased component.

http://www.jumpeyecomponents.com/support/open.php
Image Transition with MCTE via actionscript
posted by xFLASHSTUDENTx on 2009-09-07

I'm loading the images from my folder now. Here's the complete code which isn't working. First, here is the error I'm getting:


1119: Access of possibly undefined property visibility through a reference with static type LoaderProV3AS3.

Here is my actionscript:


import com.jumpeye.Events.MCTEEvents;
import com.jumpeye.Events.LoaderEvents;
import flash.events.MouseEvent;

// Create the instances for the loader and the MCTE components.
var myLoader:LoaderProV3AS3 = new LoaderProV3AS3();
var scaleMCTE:MCTE = new MCTE(myLoader, false, "show", "Scale", 6, 16, "Back", "easeOut", 15);

// Set the loader's size and position.
myLoader.setSize(600, 400);
myLoader.x = 0.0;
myLoader.y = 0.0;
// The transition type must be set to "MCTE" or "MCTEfade", otherwise
// the MCTE transition will not be applied.
myLoader.transitionType = "MCTE";

addChild(myLoader);

// Set the loader's visibility property, because, when added by code,
// the MCTE component automatically turns visibility off for the loader
// component.
myLoader.visibility = true;

myLoader.source = "img1.jpg";

one.addEventListener(MouseEvent.CLICK, oneclickHandler);
two.addEventListener(MouseEvent.CLICK, twoclickHandler);
three.addEventListener(MouseEvent.CLICK, threeclickHandler);
four.addEventListener(MouseEvent.CLICK, fourclickHandler);
five.addEventListener(MouseEvent.CLICK, fiveclickHandler);

one.buttonMode=true;
two.buttonMode=true;
three.buttonMode=true;
four.buttonMode=true;
five.buttonMode=true;

function oneclickHandler(evt:MouseEvent):void
{
myLoader.source = "img1.jpg";
}

function twoclickHandler(evt:MouseEvent):void
{
myLoader.source = "img2.jpg";
}

function threeclickHandler(evt:MouseEvent):void
{
myLoader.source = "img3.jpg";
}

function fourclickHandler(evt:MouseEvent):void
{
myLoader.source = "img4.jpg";
}

function fiveclickHandler(evt:MouseEvent):void
{
myLoader.source = "img5.jpg";
}


Did I purchase this component yet? Not yet, virtually because I can't get it to work like it should or suppose to. The tutorials on using the MCTE and LoaderPro components with actionscript 3.0 are quite shaky, to say the least. Thus, they're not thorough, detailed enough, and thus simply incomplete. It's a headache to submit tickets and wait for responses, not to mention time-consuming. I was interested in these components to save time, but that's looks like a long shot right now.

Suffice it to say, there needs to be more, delineated documentation on these components. In that way, designers/developers wouldn't have to rummage through the knowledge base to find answers to questions that should have been answered via detailed documentation for these components.
please write to support
posted by florodebat on 2009-09-08


The tutorials are explicit but of course you also need AS3 general knowledge in order to understand how to use and integrate the components in specific scenarios. We have AS3 documentation files included in the component's packages. Check those files and the knowledgebase examples and if you still need help please open a new support ticket and we will try to help you as soon is possible. Please also note that I can not guarantee you will get free unlimited support if you have not purchased the component.
Image Transition with MCTE via actionscript
posted by xFLASHSTUDENTx on 2009-09-10

I beg to differ with you. More specifically, SOME of the tutorials on this website are clear enough to follow, mainly the tutorials where something very simple is being taught. However, when it comes to using these components with ActionScript, the, the tutorials on this site are not making the cut. Indicative of this point is the heavy amount of support tickets being submitted and the vast amount of comments concerning the errors users are getting when using these components with ActionScript.

In any event, though, these components are excellent, and I'm a fan of Jumpeye. But, without mincing any words, the tutorials on how to use these components with ActionScript (i.e., how to connect the MCTE componenent to the Loader component) are way off-center. Let me note, parenthetically, that I certainly have general knowledge of ActionScript 3.0, but I what we all need is general knowledge of all the properties and methods of these components, for the current documentation on these components is coming up short. If they weren't lacking delineation, then, all this comments are support tickets wouldn't exist.

In short, Jumpeye rocks, but the documentations and tutorials should be more thorough and empathic, to say the least.
Lack of complete tutorials
posted by Fisherman on 2010-02-25

I totally agree with xFLASHSTUDENTx. The lack of a good tutorials takes away from the ease of these tools as advertised. Add to that the time lost searching for an answer here or submitting a ticket, and it becomes a time consuming nightmare.
The products are great if you can just show us how they work.
About tutorials
posted by florodebat on 2010-02-25

Fisherman,

There are a bunch of knowledgebase examples which contains commented code and also there is a detailed documentation with all the AS3 properties method and events. There are thousands of possible scenarios in which our components can be used. We tried to make examples with the most common of them. We can not cover all those scenarios and we never engaged that we will learn our clients AS. However if you want to use the component into a specific scenario which can not be found in the knowledgebase examples you should open a support ticket and someone will try to give you some tips. You will have a faster and guaranteed response if you will use the ticket system.


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords below:
Advanced Search
FlashEff 2.0
Create professional flash photo slideshows online

FREE Flash Stuff

Check out these free, fully functional AS3.0 Flash components by Jumpeye:

FlashEff 2.0 Free
(free for non-commercial use)

JC Panorama
(free for non-commercial use)

JC Play List
(fully free)

Basic Menu Pack V3
(free AS3 version)

MCTE V3
(free AS3 version)

JC Player
(free for non-commercial use)

JC Flash Map
(free for non-commercial use)

Flash Bookmarks
(fully free)

ActionScript Bridge AS2-AS3
(fully free)

JS Charts
(free for non-commercial use)

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign