Adding this single line:
var vt:VideoTexture = new VideoTexture(‘2048.mov’,2048,1024,true,true)
causes the following issues in Away3D 4.1:
TypeError: Error #1034: Type Coercion failed: cannot convert to away3d.materials.utils.IVideoPlayer.
at away3d.textures::VideoTexture()[/Users/robbateman/Documents/Adobe Flash Builder 4.7/away3d-core-fp11/src/away3d/textures/VideoTexture.as:34]
at portal/init3D()[/Users/villmer/Documents/Adobe Flash Builder 4.7/portal/src/portal.mxml:47]
at portal/init()[/Users/villmer/Documents/Adobe Flash Builder 4.7/portal/src/portal.mxml:34]
at portal/___portal_Application1_applicationComplete()[/Users/villmer/Documents/Adobe Flash Builder 4.7/portal/src/portal.mxml:7]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:dev4.yframeworksprojectsframeworksrcmxcoreUIComponent.as:13152]
at mx.managers::SystemManager/preloader_preloaderDoneHandler()[E:dev4.yframeworksprojectsframeworksrcmxmanagersSystemManager.as:2676]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/displayClassCompleteHandler()[E:dev4.yframeworksprojectsframeworksrcmxpreloadersPreloader.as:582]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::SparkDownloadProgressBar/initCompleteHandler()[E:dev4.yframeworksprojectsframeworksrcmxpreloadersSparkDownloadProgressBar.as:1087]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.preloaders::Preloader/dispatchAppEndEvent()[E:dev4.yframeworksprojectsframeworksrcmxpreloadersPreloader.as:380]
at mx.preloaders::Preloader/appCreationCompleteHandler()[E:dev4.yframeworksprojectsframeworksrcmxpreloadersPreloader.as:590]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:dev4.yframeworksprojectsframeworksrcmxcoreUIComponent.as:13152]
at mx.core::UIComponent/set initialized()[E:dev4.yframeworksprojectsframeworksrcmxcoreUIComponent.as:1818]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:dev4.yframeworksprojectsframeworksrcmxmanagersLayoutManager.as:842]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:dev4.yframeworksprojectsframeworksrcmxmanagersLayoutManager.as:1180]