|
Wow! - Tracy, that actually worked!
- I did as you suggested, and removed everything except my
<TitleWindow> tags, and an ActionScript function - that sends Trace() text
to my debug window (triggered by the creationComplete
event).
So, where do you think my previous code is
failing? There is a radically small amount of code from my first
example - so I am really baffled and frustrated that Flex is getting tripped up
this easily... I will try to tweak
where I put certain pieces of code, etc. but I gotta
say, this is really odd - since this SAME code, works fine when it's in an
<Application> tag.
Typically, immediately after the main container code, is
where I put my ActionScript Code. Like in the Root Application, I put
my ActionScript functions just after the "Application" tag - or if it's a Custom
Component, I put my ActionScript functions just after the Tags that define the
component.
Are there any rules I need to follow, regarding WHERE I
should declare my ActionScript Variables, Functions or Objects?
Also, are there any specific rules, as to where I should put my
RemoteObject declarations - so my code executes reliably?
It's a little disappointing to have this many problems, so
close to the beginning of learning this new language... I understand what
it means (and what it takes) to learn & take on a new language - but to have
all these goofy problems, really takes the fun out of
things...
Well, if you could shed more light on these problems I am
having, I would greatly appreciate it :)
Mike From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, June 17, 2005 1:21 PM To: [email protected] Subject: RE: [flexcoders] Code not executing in Popup Window Rip out everything but
the creationComplete handler with the trace. See what
happens. Tracy From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson It's not just
RemoteObject - TRACE doesn't even work
- which means, the code isn't even executing - Is there any reason,
why the code isn't executing properly? Thanks
again, Mike From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin I don’t see a problem
but I know that others have run into issues when the RemoteObject has been
contained in a popup. It seems to work better if it’s hung off the
Application or something that’s a little more “permanent”
instead. Matt From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Hello All, Yahoo! Groups Links
|
- RE: [flexcoders] Code not executing in Popup Window Mike Anderson

