- ImageView imageActor = Toolkit::ImageView::New(DALI_IMAGE_DIR "button-background.png");
- myScrollView.Add( imageActor );
+ Toolkit::ImageView imageView = Toolkit::ImageView::New(DALI_IMAGE_DIR "button-background.png");
+ myScrollView.Add( imageView );