RE:[Flashcoders] Component and Live Preview problems

2006-02-01 Thread GregoryN
Explore native MM livePreview code to see in details how it works. Also, I think you should check items in contents, which is the clip you really see in LivePreview, rather then xch, which manages Preperties/Component inspector. Here's a code I used in similar situation (just to see what you have

RE:[Flashcoders] Component and Live Preview problems

2006-01-31 Thread azsl1326-email
Thanks for the reply. I am using UIComponent. The code that is in the live preview fla is: [code] function onUpdate() { pushBtn.buttonText_txt.text = xch.btnLabel; } [/code] The strange thing is that in the component's FLA I can drag as many instances from the library on the stage

RE: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread Derek Vadneau
I remember this happening with my components at one point, but I think the issue was with MX04 - pre 7.2. I'm not 100% on that but I do remember the problem occurring. Are you using MX04? If so, are you using the 7.2 update? If not, I'll see if I can dig up some info about what I did ...

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread Kevin Jackson
The 7.2 update did clear up many things. Components Live Preview was always a bit flaky however. The one most notorious for showing up incorrectly was the numeric stepper. On the positive side, they have always shown up correctly when actually compiled. They often don't look right in the editing

RE: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread azsl1326-email
Sorry, using Flash 8. Thanks for any insight. Derek Vadneau flashcoderlist at ThunderUnderground.com wrote: I remember this happening with my components at one point, but I think the issue was with MX04 - pre 7.2. I'm not 100% on that but I do remember the problem occurring. Are you using

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread JesterXL
It's because LivePreview variables are different SWF's, but same depth. Gary wrote the original LivePreview.as file (in includes in Flash MX 2004's install directory), and you can take a look at it to see how it works. I had the same problem with my Flowchart components. Basically, things were

Re: [Flashcoders] Component and Live Preview ~ problems

2006-01-30 Thread judah
I wrote a post on working with live preview on my lame ass blog at http://www.judahfrangipane.com/?p=13. Judah JesterXL wrote: It's because LivePreview variables are different SWF's, but same depth. Gary wrote the original LivePreview.as file (in includes in Flash MX 2004's install

RE: [Flashcoders] Component and Live Preview problems

2006-01-30 Thread GregoryN
Do you subclass UIComponent or just MovieClip? What code do you use for onUpdate? Try to trace components names etc while in live preview. -- Best regards, GregoryN http://GOusable.com Flash components development. Usability