Open nicoulaj opened 13 years ago
Updated by joshuajr...@gmail.com on 2010-06-28T16:23:34
I forgot to mention I'm using Windows 7.
Updated by joshuajr...@gmail.com on 2010-06-29T15:33:29
I have it working in Flex Builder 3. Flash Builder 4 on Windows 7 and XP doesn't work.
Updated by Stefan.S...@gmail.com on 2010-08-05T13:34:07
I have the same problem here using Flash Builder 4 on XP. Tried to compile with the flexlib Flex 3 lib, but got the same error.
Updated by james.al...@gmail.com on 2010-08-24T17:05:31
You have to assign a track skin to get around this problem.
Updated by eric.hel...@fittingbox.com on 2010-10-19T15:41:02
It doesn't seem to work for me setting the trackSkin as a mxml attribute. I achieved to make this component work (with Flex sdk 4.1) setting the trackSkin and thumbSkin values in css :
trackSkin: ClassReference("mx.skins.spark.SliderTrackSkin");
thumbSkin: ClassReference("mx.skins.spark.SliderThumbSkin");
}
Updated by herd...@gmail.com on 2010-11-03T11:04:17
Great, this post helped! Only thing is that I also had to add trackHighlightSkin to my css to get it to work
flexlib|HSlider
{
trackSkin: ClassReference("mx.skins.spark.SliderTrackSkin");
thumbSkin: ClassReference("mx.skins.spark.SliderThumbSkin");
trackHighlightSkin: ClassReference("mx.skins.spark.SliderTrackHighlightSkin");
}
Originally filed by joshuajr...@gmail.com on 2010-06-28T16:20:41
What steps will reproduce the problem?
What is the expected output? What do you see instead? I should be seeing an hslider.
Instead, I'm getting an error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at flexlib.baseClasses::SliderBase/getComponentBounds()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/baseClasses/SliderBase.as:1845] at flexlib.baseClasses::SliderBase/measure()[/Users/groumly/Development/workspace-3.5-flex4/FlexLib/src/flexlib/baseClasses/SliderBase.as:1505] at mx.core::UIComponent/measureSizes()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8042] at mx.core::UIComponent/validateSize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:7966] at mx.managers::LayoutManager/validateSize()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:617] at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:709] at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:1072]
What version of the product are you using? On what operating system? I have flash 4.0.0. I'm using FlexLib 2.5 for Flex4 (though the flex 3 one provided the same problem.
Please provide any additional information below. This seems to only be a problem for HSlider... TreeGrid came up fine.