Fonts re-vanishing in module

View: New views
5 Messages — Rating Filter:   Alert me  

Fonts re-vanishing in module

by djhatrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Only one module gives me this problem, but it went away for an hour and is back.  

I'm :(

Thanks,
Patrick


Re: Fonts re-vanishing in module

by djhatrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


var myLoaderContext:LoaderContext = new LoaderContext();
myLoaderContext.applicationDomain = ApplicationDomain.currentDomain;

why would applicationDomain be null after setting it in a creationComplete?


--- In flexcoders@..., "djhatrick" <djhatrick@...> wrote:
>
> Only one module gives me this problem, but it went away for an hour and is back.  
>
> I'm :(
>
> Thanks,
> Patrick
>



Re: Re: Fonts re-vanishing in module

by Ek0 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try setting it in applicationComplete ?

2009/11/3 djhatrick <djhatrick@...>

>
>
>
> var myLoaderContext:LoaderContext = new LoaderContext();
> myLoaderContext.applicationDomain = ApplicationDomain.currentDomain;
>
> why would applicationDomain be null after setting it in a creationComplete?
>
>
> --- In flexcoders@... <flexcoders%40yahoogroups.com>,
> "djhatrick" <djhatrick@...> wrote:
> >
> > Only one module gives me this problem, but it went away for an hour and
> is back.
> >
> > I'm :(
> >
> > Thanks,
> > Patrick
> >
>
>  
>

RE: Re: Fonts re-vanishing in module

by Alex Harui :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How did you prove it is null?  IIRC, it doesn't always trace() very well.
________________________________
From: flexcoders@... [flexcoders@...] On Behalf Of djhatrick [djhatrick@...]
Sent: Tuesday, November 03, 2009 2:19 PM
To: flexcoders@...
Subject: [flexcoders] Re: Fonts re-vanishing in module



var myLoaderContext:LoaderContext = new LoaderContext();
myLoaderContext.applicationDomain = ApplicationDomain.currentDomain;

why would applicationDomain be null after setting it in a creationComplete?

--- In flexcoders@...<mailto:flexcoders%40yahoogroups.com>, "djhatrick" <djhatrick@...> wrote:
>
> Only one module gives me this problem, but it went away for an hour and is back.
>
> I'm :(
>
> Thanks,
> Patrick
>




Re: Fonts re-vanishing in module - Solved finally

by djhatrick :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I didn't trace I used the debugger but it doesn't seem to be a problem now.

Wow how dumb of me, i had the style sheet embedded to the module and didn't even notice, probably because it was the first one  I created.

This is fixed and I am doing things properly, this is great read for anybody who is diving into the fantastic land of modules and how style work with them:

http://livedocs.adobe.com/flex/3/html/help.html?content=styles_10.html



--- In flexcoders@..., Alex Harui <aharui@...> wrote:

>
> How did you prove it is null?  IIRC, it doesn't always trace() very well.
> ________________________________
> From: flexcoders@... [flexcoders@...] On Behalf Of djhatrick [djhatrick@...]
> Sent: Tuesday, November 03, 2009 2:19 PM
> To: flexcoders@...
> Subject: [flexcoders] Re: Fonts re-vanishing in module
>
>
>
> var myLoaderContext:LoaderContext = new LoaderContext();
> myLoaderContext.applicationDomain = ApplicationDomain.currentDomain;
>
> why would applicationDomain be null after setting it in a creationComplete?
>
> --- In flexcoders@...<mailto:flexcoders%40yahoogroups.com>, "djhatrick" <djhatrick@> wrote:
> >
> > Only one module gives me this problem, but it went away for an hour and is back.
> >
> > I'm :(
> >
> > Thanks,
> > Patrick
> >
>