Home
> FlashEff 2.0
> Topic
Error Message: 1046: Type was not found or was not a compile-time constant: Matrix3D.
Posted by xFLASHSTUDENTx
Error Message: 1046: Type was not found or was not a compile-time constant: Matrix3D. January 24, 2010 02:03AM | Registered: 15 years ago Posts: 8 |
I did everything correctly. I purchased this compenent with my other screen name gangsta101.
Now, here's the code first:
// Import the necessary classes.
import com.jumpeye.Events.FLASHEFFEvents;
import com.jumpeye.flashEff2.symbol.flyingPanels.FESFlyingPanels;
import com.jumpeye.flashEff2.symbol.sparkle.FESSparkle;
// Create the FlashEff2Code instance and add it to the stage. The FlashEff2Code
// component must be in the display list in order for it to work.
var effect:FlashEff2Code = new FlashEff2Code();
effect.addEventListener(FLASHEFFEvents.TRANSITION_END, replay);
addChild(effect);
// Create the show pattern instance (FESBrightSquares) and set it
// so the effect looks as you like.
var showEffect:FESFlyingPanels = new FESFlyingPanels();
showEffect.tweenDuration = 2;
// Create the hide pattern instance (FESEqualizer) and set it
// so the effect looks as you like.
var hideEffect:FESSparkle = new FESSparkle();
hideEffect.tweenDuration = 3;
// Assign the show and hide transitions to the FlashEff2Code instance.
effect.showTransition = showEffect;
effect.hideTransition = hideEffect;
// There will be a 3 seconds pause between the show and hide transitions.
effect.hideDelay = 3;
// Set the target object to the FlashEff2Code instance. Once you do this,
// the show effect will start immediately (except the case when the
// show effect has a delay too).
effect._targetInstanceName = "myImage";
// When the "hide" transition ends, start the show effect again.
function replay(evt:FLASHEFFEvents):void
{
if (effect.currentTransitionType == "hide")
{
effect.show();
}
}
Here is the ERROR messgage:
1046: Type was not found or was not a compile-time constant: Matrix3D.
Inside my library I have only the flasheffcode component and both of the patterns. And I'm mystified why I'm getting this error message?
Now, here's the code first:
// Import the necessary classes.
import com.jumpeye.Events.FLASHEFFEvents;
import com.jumpeye.flashEff2.symbol.flyingPanels.FESFlyingPanels;
import com.jumpeye.flashEff2.symbol.sparkle.FESSparkle;
// Create the FlashEff2Code instance and add it to the stage. The FlashEff2Code
// component must be in the display list in order for it to work.
var effect:FlashEff2Code = new FlashEff2Code();
effect.addEventListener(FLASHEFFEvents.TRANSITION_END, replay);
addChild(effect);
// Create the show pattern instance (FESBrightSquares) and set it
// so the effect looks as you like.
var showEffect:FESFlyingPanels = new FESFlyingPanels();
showEffect.tweenDuration = 2;
// Create the hide pattern instance (FESEqualizer) and set it
// so the effect looks as you like.
var hideEffect:FESSparkle = new FESSparkle();
hideEffect.tweenDuration = 3;
// Assign the show and hide transitions to the FlashEff2Code instance.
effect.showTransition = showEffect;
effect.hideTransition = hideEffect;
// There will be a 3 seconds pause between the show and hide transitions.
effect.hideDelay = 3;
// Set the target object to the FlashEff2Code instance. Once you do this,
// the show effect will start immediately (except the case when the
// show effect has a delay too).
effect._targetInstanceName = "myImage";
// When the "hide" transition ends, start the show effect again.
function replay(evt:FLASHEFFEvents):void
{
if (effect.currentTransitionType == "hide")
{
effect.show();
}
}
Here is the ERROR messgage:
1046: Type was not found or was not a compile-time constant: Matrix3D.
Inside my library I have only the flasheffcode component and both of the patterns. And I'm mystified why I'm getting this error message?
Re: Error Message: 1046: Type was not found or was not a compile-time constant: Matrix3D. January 25, 2010 06:58PM | Registered: 14 years ago Posts: 31 |
Re: Error Message: 1046: Type was not found or was not a compile-time constant: Matrix3D. February 05, 2010 01:08AM | Registered: 15 years ago Posts: 8 |
Sorry, you do not have permission to post/reply in this forum.