5 Replies Latest reply on Aug 26, 2008 1:41 PM by Peter Lorent

    need help!!

    Gilbert09
      hi all
      i was trying to get this code to work which is in one of adobes videos which i have attached

      and when i run the application nothings comes up on the screen :(
      so i ran the .swf file and this came up:

      An ActionScript error has occurred:
      ReferenceError: Error #1065: Variable video) is not defined.
      at global/flash.utils::getDefinitionByName()
      at mx.utils::DescribeTypeCache$/describeType()[E:\dev\3.1.0\frameworks\projects\framework\sr c\mx\utils\DescribeTypeCache.as:95]
      at mx.utils::ObjectUtil$/getClassInfo()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\ut ils\ObjectUtil.as:829]
      at mx.controls::DataGrid/generateCols()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\co ntrols\DataGrid.as:2407]
      at mx.controls::DataGrid/collectionChangeHandler()[E:\dev\3.1.0\frameworks\projects\framewor k\src\mx\controls\DataGrid.as:4146]
      at mx.controls.listClasses::ListBase/set dataProvider()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\listClasses\Lis tBase.as:1826]
      at mx.controls::DataGrid/set dataProvider()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\controls\DataGrid.as:133 4]
      at mx.core::Container/createComponentFromDescriptor()[E:\dev\3.1.0\frameworks\projects\frame work\src\mx\core\Container.as:3588]
      at mx.core::Container/createComponentsFromDescriptors()[E:\dev\3.1.0\frameworks\projects\fra mework\src\mx\core\Container.as:3486]
      at mx.core::Container/createChildren()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\cor e\Container.as:2582]
      at mx.core::UIComponent/initialize()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:5341]
      at mx.core::Container/initialize()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\Co ntainer.as:2519]
      at mx.core::Application/initialize()[E:\dev\3.1.0\frameworks\projects\framework\src\mx\core\ Application.as:847]
      at MyTube/initialize()[C:\Documents and Settings\Tom\Desktop\src\MyTube.mxml:0]
      at mx.managers::SystemManager/ http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\3.1.0\frameworks\projects\ framework\src\mx\managers\SystemManager.as:1639
      at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\3.1.0\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:2498]
      at mx.managers::SystemManager/ http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()[E:\dev\3.1.0\frameworks\proj ects\framework\src\mx\managers\SystemManager.as:2344


      please help me