Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flex > Flex 2 & 3

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-28-2006, 12:26 PM   #1
astgtciv
Resu Deretsiger
 
astgtciv's Avatar
 
Join Date: Jul 2005
Location: San Francisco
Posts: 2,324
Default Help, Component LivePreview in Flex?

Hey, guys, I am starting to pick up Flex 2, in particular I am interested in writing components for Flex 2. Can anyone explain how the equivalent of LivePreview works in Flex Builder? I can't figure it out for the life of me and I can't find anything related to this.

I see that the built-in components obviously do have live preview (I am talking about the preview that is displayed on stage in Flex Builder when you drag a component onto the stage and then customize it,e tc.). When I extent a built-in component (e.g., mx.controls.HRule), then I also inherit its preview. However, even if I copy all of the code of mx.controls.HRule into myown.HRule2 and then have it extent mx.core.UIComponent, there is no more preview! Where is the preview coming from and how can a custom preview be implemented?

Thanks a lot as always!
__________________
overstream.net: add subtitles to online videos (youtube, google video, dailymotion...).
astgtciv is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
List Component Flex 2 Beta 3 AS3 Anunnakispirit Flex 2 & 3 5 10-10-2007 05:57 PM
removeMovieClip() not work for components? djandrew Components 30 08-03-2007 05:51 PM
dynamic component (radiobutton) with setChangeHandler problem tROCK Components 6 08-25-2004 05:49 PM
help needed referencing a component instance inside my own custom component bleepbloop Components 4 08-06-2004 11:31 PM
_global variable and livepreview component mudo453 ActionScript 1.0 (and below) 0 04-13-2004 06:01 PM


All times are GMT. The time now is 08:49 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.