Error Message: 1046: Type was not found or was not a compile-time constant: Matrix3D.

Posted by xFLASHSTUDENTx 
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?
I ran into this error when I was mistakenly publishing to Flash 9. FESFlyingPanels works only in Flash 10+.
Thanks... I found that out after the post...
Sorry, you do not have permission to post/reply in this forum.