Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-06-2006, 07:37 AM   #1
Registered User
Join Date: Mar 2006
Posts: 1
Exclamation Component Creation - Problems With Preview

Hi to everyone!
Seriously in need of help.

I'm developing some small components (for personal use) where the color is changed using the properties inspector. The actionscript for the properties is in an external .as file. The actionscript for the preview is on the first frame of the .fla file. I've attached a .zip file to this message with test files.

The problem is this: if I use the component without compiling it, everything works fine (the preview works and the pubblished .swf is perfect). As soon as I compiled it and drag 2 or more instances of the compiled clip on stage, the preview starts to go wrong. What happens is that when I change the color in the properties inspector it changes on all the instances on the stage (this does not happen if I use the component without compiling it). If I apply 3 different colors to 3 instances they all take the color of the last instance on the stage (preview) while when I publish the movie everything is correct and the colors are different (as they should be). Obviously the problem is in how I've done the preview but I can't get it right.

I'm not a developer or an actionscrip expert but a graphic designer and this problem is driving me nuts!!
Please help!
Attached Files
File Type: zip Component.zip (9.8 KB, 128 views)
orsotony is offline   Reply With Quote

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 Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Playback Component Problems ukdigitalguru Components 1 02-27-2006 04:42 PM
External Live Preview with AS 2 component help needed! descin1 ActionScript 2.0 0 04-14-2005 03:22 PM
live preview in extends movieClip component? Wheels Components 1 04-06-2005 06:07 PM
can component preview change its size in the Flash editor? Bax1 Components 3 12-20-2004 10:33 AM
Problems with FTreeView Component Sameal ActionScript 1.0 (and below) 2 10-29-2002 03:33 PM

All times are GMT. The time now is 12:30 PM.

Follow actionscriptorg on Twitter


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