Hi Hugo,

just tried this and is working:

j:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
xmlns:j="library://ns.apache.org/royale/jewel"
xmlns:js="library://ns.apache.org/royale/basic"
initialize="initApp(event)">

<fx:Script>
<![CDATA[
import org.apache.royale.jewel.Card;
import org.apache.royale.events.Event;

private var card:Card;

public function initApp(event:Event):void
{
card = new Card();
card.addEventListener("initComplete", initCompleteHandler);
view.addElement(card);

}

private function initCompleteHandler(event:Event):void
{
trace("hey!!")
}
]]>
</fx:Script>




El vie., 4 sept. 2020 a las 10:31, Hugo Ferreira (<[email protected]>)
escribió:

> I have a Jewel Card that is created and added at runtime after a login.
> I have code on initComplete of this Card.
> The event don't fire any more (without console errors) after I upgrade to
> last night build.
>


-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to