[Xerte] custom interface initialization
Marc Torruella Altadill
mtorruella at viguera.com
Wed Apr 22 13:53:46 BST 2009
None work for me
De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Dave Burnett
Enviado el: miércoles, 22 de abril de 2009 14:24
Para: Xerte list
Asunto: RE: [Xerte] custom interface initialization
Should the event be onLoad or onInit?
Dave
_____
From: mtorruella at viguera.com
To: xerte at lists.nottingham.ac.uk
Subject: RE: [Xerte] custom interface initialization
Date: Wed, 22 Apr 2009 13:40:02 +0200
Thank you Julian,
I tried, but it seems i dont know how to use events correctly. I added an
interaction icon as a child right under interface icon, then a event icon
int it with name and eventName set to onLoad and icon set to rootIcon.
Then added a script icon as a child to the event icon, with the name load
and on the script I just wrote debug(hi);
Then even using default interface, no debug message is prompted
I did that after trying to call my function with no luck.
Marc
De: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] En nombre de Julian Tenney
Enviado el: miércoles, 22 de abril de 2009 12:56
Para: Xerte discussion list
Asunto: RE: [Xerte] custom interface initialization
I think that when you try and call the function, the swf file hasnt loaded
yet. The interface icon (rootIcon) will fire onLoad when it does load and is
ready to have its functions called. You need to add an interaction with an
event response. On the event respoinse set the icon to rootIcon, the event
to onLoad and then add a script icon to the response that calls your
function.
J
Hi everyone,
Ive developed a swf
_____
Rediscover Hotmail®: Get e-mail storage that grows with you. Check it out.
<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_St
orage2_042009>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090422/7985793c/attachment.html
More information about the Xerte
mailing list