Home
> FlashEff 2.0
> Topic
FlashEff2 and dynamic TextField Reference errors
Posted by fregan
FlashEff2 and dynamic TextField Reference errors October 11, 2009 06:42PM | Registered: 15 years ago Posts: 2 |
Having a small issue understanding an error I am receiving when trying to create and instance of FlashEff2Code and FETStationPanels.
Here are code snippets from the over application. This code is part of a class file.
This is the error I receive when I fire the show function:
IndexPage.as line 324 is:
IndexPage.as line 460 is:
Could anyone explain why this error is occurring. Thanks for the awesome product jumpeye and thanks in advance to those who can help.
Here are code snippets from the over application. This code is part of a class file.
// imports into the package import com.jumpeye.flashEff2.text.stationPanels.FETStationPanels; import com.jumpeye.Events.FLASHEFFEvents; // declared vars on object instantiation public var introText:TextField = new TextField(); private var introTextFX:FlashEff2Code = new FlashEff2Code(); private var showEffect:FETStationPanels = new FETStationPanels(); // code contained in my init() function that fires after instantiation of the class object addChild(introTextFX); showEffect.preset = 1; showEffect.blurAmount = 30; showEffect.groupDuration = 1; showEffect.partialGroup = "letters"; showEffect.partialPercent = 100; showEffect.selectedStrings = []; showEffect.partialBlurAmount = 0; showEffect.partialStart = 50; showEffect.tweenDuration = 2; showEffect.tweenType = "Quadratic"; showEffect.easeType = "easeOut"; introTextFX.showDelay = 1; introTextFX.showTransition = showEffect; introTextFX.showAutoPlay = false; introTextFX._targetInstanceName = introText.name; introTextFX.addEventListener(FLASHEFFEvents.TRANSITION_START, effectStarting, false, 0, true); introTextFX.addEventListener(FLASHEFFEvents.TRANSITION_END, effectEnding, false, 0, true); // Call to show(); function after intro video completion introTextFX.show();
This is the error I receive when I fire the show function:
TypeError: Error #1010: A term is undefined and has no properties. at com.jumpeye.flashEff2.text.stationPanels::FETStationPanels/startTransition() at com.jumpeye.flashEff2.text.stationPanels::FETStationPanels/show() at FlashEff2/transitionEffect() at FlashEff2/show() at pages::IndexPage/startVoices()[/Users/francisregan/Desktop/work/works/Website Work/KarcherCreative/projects/PICO/Development/flash/sandbox/src/pages/IndexPage.as:324] at pages::IndexPage/skipVideo()[/Users/francisregan/Desktop/work/works/Website Work/KarcherCreative/projects/PICO/Development/flash/sandbox/src/pages/IndexPage.as:460]
IndexPage.as line 324 is:
introTextFX.show(); // Part of the function startVoices(); that runs after an intro video completes or is skipped
IndexPage.as line 460 is:
startVoices(); // Function called after video completes. Line 326 above is inside of startVoices();
Could anyone explain why this error is occurring. Thanks for the awesome product jumpeye and thanks in advance to those who can help.
Re: FlashEff2 and dynamic TextField Reference errors October 11, 2009 06:58PM | Registered: 15 years ago Posts: 2 |
Re: FlashEff2 and dynamic TextField Reference errors October 27, 2009 07:37PM | Registered: 14 years ago Posts: 5 |
Sorry, you do not have permission to post/reply in this forum.