I suppose there could be a number of possible reasons, but I'd start by looking to see if it could be a synchronicity issue, ie. perhaps you are trying to assign an event listener to that object before that object is done being created. Can you post a snippet of your code so we can see exactly how/when you are adding the event listener?

At 01:40 PM 2/15/2005, you wrote:
I have a component...a empty canvas that has a show listener that simply
calls trace to write "test" to the log file, ok? I then have my initial
application load up with a tab navigator with a single tab that pulls in
a very similar empty component but with a show listener that makes a
call to a function that prints "static test" to the log file instead.

On this page that contains the tab navigator, I have a creationComplete
listener that triggers a method that dynamically adds the aforementioned
component, the first empty canvas with the trace print function, to the
tab navigator using the createChild method of the tab navigator.

I load up the app, the second tab is dynamically created without a
hitch...only problem is, the show listener never triggers the function
in this dynamically created tab...nor does it ever trigger the function,
whether I go back to the first tab and then come back to the dynamically
added tab...but every time I head back to the first tab, the statically
coded-in tab, that component's show listener triggers the function that
writes "static test" to the log file. Why would the show listener on a
dynamically added component never trigger when dynamically added to a
navigator like the tab navigator?

Robert L. Brueckmann
Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

--------------------------------------------------------

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

Yahoo! Groups Sponsor
ADVERTISEMENT
<http://us.ard.yahoo.com/SIG=12947tg1o/M=298184.6018725.7038619.3001176/D=groups/S=1705007207:HM/EXP=1108579253/A=2532114/R=2/SIG=12kd9t0q4/*http://clk.atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1108492853036846>
[]



----------
Yahoo! Groups Links
* To visit your group on the web, go to:
* <http://groups.yahoo.com/group/flexcoders/>http://groups.yahoo.com/group/flexcoders/


*
* To unsubscribe from this group, send an email to:
* <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]


*
* Your use of Yahoo! Groups is subject to the <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.





Reply via email to