flashing SWC component in Flash IDE

I've made a compiled custom component and put it in the components folder on C:

When I drag it to the stage it looks fine just the outline shows coz I done have a preview yet.

But when I click on it it starts flashing (in the IDE).  Any idea why?

If I run the app the component works fine.

jasonb2Asked:
Who is Participating?
 
deepanjandasConnect With a Mentor Commented:
So just creating the LivePreview did the trick? interesting...Thanks for sharing jasonb2

Warm Regards
Deepanjan Das
0
 
deepanjandasCommented:
Do you have any click event on that.
Though I am not sure if compiled clips can track the click on stage.
Also check if the the Enable Simple Buttons option under control menu is activated.

The flickering may happen if the click is enabled and the component tries to do some action which require runtime compilation and hence failing causing to show the flickering.

Warm Regards
Deepanjan Das
0
 
jasonb2Author Commented:
Actually I dont have to click on it. Just clicking anywhere in the stage (in the IDE) starts it flashing.

I'm only do some very trivial code stuff in the class so it must be the way I'm implementing the component.

Maybe it's coz I dont have a live preview. Will try that now.
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
deepanjandasCommented:
Not for live preview not being added I feel.
Kindly check the export flash player version for the movie.

Warm Regards
Deepanjan Das
0
 
jasonb2Author Commented:
ok, for all those who cant wait to find out :)
It was fixed by adding a LivePreview swf.
0
 
jasonb2Author Commented:
hi mate, thanks for the help :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.