jeudi 26 novembre 2015

How can I import opening component at default package?

There is a button in opening component(welcome page) and it is invisible at the beginning. When user pass to another component, the button is supposed to be visible. However I cannot reach the property.

What is the way of importing opening component at (default package)?

this is the button:

<s:SWFLoader id="btnRepr" x="1790" y="1008.45" source="@Embed('Components/Starter/Assets/Buttons/ButtonReport.swf')" click="ShowReportPage" visible="false"/>

and this is the part I change visible to true:

btnRepr.visible = true;//Access of undefined property 'btnRepr'

Aucun commentaire:

Enregistrer un commentaire