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 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 getting created correctly in different movieclips, but the actual data was referencing a previous component. I had to hack the LivePreview.as with a few modifications on the 2 main functions that update the component, but I never fully resolved it.

My suggestion is to start tweaking that file since it's the one that pretty much runs LivePreviews.

...or, create your own, and do it the MX way where you code the refreshing yourself, export a SWF, and point your component to that vs. using the internal Flash MX 2004 component LivePreview-auto-gen.

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <flashcoders@chattyfig.figleaf.com>
Sent: Monday, January 30, 2006 11:21 PM
Subject: [Flashcoders] Component and Live Preview ~ problems


Hello All ---

I posted this on FlashNewbie and didn't have much luck getting it resolved. I also found a number of posts on Actionscript.org referencing this same problem, but I couldn't find any solutions, so I thought I would try here. I created a custom button component with live preview enabled for the label. The live preview works great with only one button component on stage. However, if I put another instance of my btn component on stage, both btn components are updated to the most recent component's label. Both buttons have different instance names.

Any ideas on how to resolve this issue?

Thanks for any and all replies.




_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--
"Always bear in mind that your own resolution to succeed is more important than any 
one thing."

"You can have anything you want - if you want it badly enough. You can be anything you want to be, do anything you set out to accomplish if you hold to that desire with singleness of purpose."
- Abraham Lincoln

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to