Creating Custom Components: Missing MovieClip issue


hi guys,

 

i've been creating custom reusable components while now, have noticed problem 1 of components.

 

i have 2 movie clips represent status of telephone operator, want able styled invidually; unavailable, available. both movie clips located in component assets/_private folder in library, along container use positioning , swapping/addchild/removechild each of 2 movie clips. container emptied on load of component, , depending on update settings, relevant movie clip loaded it, using as3 class file.

 

now on actual stage of component have available movie clip positioned, , unavailable 1 doesn't exist on stage.

 

when create shim, , run mxi file package component distributable zxp file unavailable movie clip seems disappear package.

 

does every movie clip in library need exist on stage included in package? or can specify clips should included.

 

would great answered! it's confusing topic!

 

i can send of src on request, can't appear upload here.

 

regards

charlie

ok, figured out how fix problem,

 

all movieclips should placed on stage in 1 way or another, either inside container movieclip (would need removed on runtime) or can place movieclips on 2nd frame of assets layer on component, cleared when component run.

 

hope helps else having problem



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support