List Info

Thread: Where in the world is Sam.




Where in the world is Sam.
user name
2006-07-28 16:00:05
I wrote a test and it worked as you described so I need to
go back to my
app and see why its not running as expected.

Grant.

-----Original Message-----
From: Fling-bouncesosflash.org [mailto:Fling-bouncesosflash.org] On
Behalf Of Grant Davies
Sent: Friday, July 28, 2006 9:40 AM
To: Chris Allen
Cc: Flingosflash.org
Subject: Re: [Fling] Where in the world is Sam.

Hey Chris,

I got the latest code and still have the same issue, I think
frame 1 has
to have been executed before any child mc's are
available...  give me a
call later when you get chance and we can talk.

Grant

-----Original Message-----
From: Chris Allen [mailto:mrchrisallengmail.com] 
Sent: Friday, July 28, 2006 9:05 AM
To: Grant Davies
Cc: Flingosflash.org
Subject: Re: [Fling] Where in the world is Sam.

Hey Grant,

Yeah, I experienced this very thing and changed MovieAsset
to dispatch
"ASSETLOADCOMPLETE" only on the onInit() method
not the onComplete().
I figured that there is no point in letting people know when
the Movie
has loaded if it's not completely ready to use. Check out
the latest
from SVN to see my change.

If this isn't what you are talking about, please explain
further.

-Chris

On 7/28/06, Grant Davies <grantbluetube.com> wrote:
>  Chris Allen / John Grden / Folks...
>
> Using the assetloader coming across a small issue, not
a bug, just a
> "how should we solve this?"
>
> When loading a swf that contains other movie clips on
stage in frame
1,
> I want to know when the swf has loaded and when the
movie clips on
stage
> are also loaded.  Using total load complete with the
assetloader tells
> you when the swf has loaded, but any movie clips on the
stage are
still
> initializing... For example, I have a swf called
eventTemplate.swf
and
> on stage in frame1 is a movie clips called
eventDetailsForm :
>
> This is the event handler for total load complete :
>
>  [INFO] 2006-07-28 00:42:47,390 | [FINE]
> com.aso.view.eventemplate.EventTemplateApplication -
> onEventDetailFormLoaded:58 - eventTemplate.swf was
loaded by the asset
> loader
>
> So the "swf" is loaded, and in frame 1 of
that swf there is a movie
clip
> on stage called "eventDetailsForm"
>
> But if I try an use it "now"  :
>
> [INFO] 2006-07-28 00:52:09,750 | [FINE]
> com.aso.view.eventemplate.EventTemplateApplication -
> onEventDetailFormLoaded:67 - eventDetailForm = null
>
>
> Its null.
>
> So I added some logging to the "onLoad" of
the eventDetailsForm :
>
>  [INFO] 2006-07-28 00:52:09,812 | [FINE]
> com.aso.view.eventemplate.EventDetailForm - onLoad:48 -
this is
>
_level0.appContainer.instance1.eventTemplateContainer.eventD
etailForm
>
> And as you can see by the timestamp is after the total
load complete
was
> executed.
>
> So the "hack" I have right now, is I use
the ARP framework anyway and
I
> wrote arpx which has a system level event dispatcher,
call it a "app
> event" dispatcher.  I register with it to say
"tell me when the
> eventDetailsForm is loaded" and in the
eventDetailsForm onLoad method
I
> fire a system level event :
>
> dispatchSystemEvent(new
Event(StandardEventNames.ON_LOAD,
> ApplicationAssets.EVENT_DETAILS_FORM));
>
> This works, but a whole lot of work considering I'd
really like fling
to
> say "hey I loaded that swf AND any movie clips of
frame 1 are also
fully
> loaded"....
>
> So... Ideas ?
>
>
>
> Thanks
> Grant
> http://www.bluetube.com
> http://theresiden
talien.typepad.com
>
>
> _______________________________________________
> Fling mailing list
> Flingosflash.org
> http://osflash.org/mailman/listinfo/fling_osflash.org
>

_______________________________________________
Fling mailing list
Flingosflash.org
http://osflash.org/mailman/listinfo/fling_osflash.org

_______________________________________________
Fling mailing list
Flingosflash.org
http://osflash.org/mailman/listinfo/fling_osflash.org
Where in the world is Sam.
user name
2006-07-28 16:22:12
Oh, cool! Glad that it works in your test, cause otherwise I
had no idea.

On 7/28/06, Grant Davies <grantbluetube.com> wrote:
>
> I wrote a test and it worked as you described so I need
to go back to my
> app and see why its not running as expected.
>
> Grant.
>
> -----Original Message-----
> From: Fling-bouncesosflash.org
[mailto:Fling-bouncesosflash.org] On
> Behalf Of Grant Davies
> Sent: Friday, July 28, 2006 9:40 AM
> To: Chris Allen
> Cc: Flingosflash.org
> Subject: Re: [Fling] Where in the world is Sam.
>
> Hey Chris,
>
> I got the latest code and still have the same issue, I
think frame 1 has
> to have been executed before any child mc's are
available...  give me a
> call later when you get chance and we can talk.
>
> Grant
>
> -----Original Message-----
> From: Chris Allen [mailto:mrchrisallengmail.com]
> Sent: Friday, July 28, 2006 9:05 AM
> To: Grant Davies
> Cc: Flingosflash.org
> Subject: Re: [Fling] Where in the world is Sam.
>
> Hey Grant,
>
> Yeah, I experienced this very thing and changed
MovieAsset to dispatch
> "ASSETLOADCOMPLETE" only on the onInit()
method not the onComplete().
> I figured that there is no point in letting people know
when the Movie
> has loaded if it's not completely ready to use. Check
out the latest
> from SVN to see my change.
>
> If this isn't what you are talking about, please
explain further.
>
> -Chris
>
> On 7/28/06, Grant Davies <grantbluetube.com> wrote:
> >  Chris Allen / John Grden / Folks...
> >
> > Using the assetloader coming across a small issue,
not a bug, just a
> > "how should we solve this?"
> >
> > When loading a swf that contains other movie clips
on stage in frame
> 1,
> > I want to know when the swf has loaded and when
the movie clips on
> stage
> > are also loaded.  Using total load complete with
the assetloader tells
> > you when the swf has loaded, but any movie clips
on the stage are
> still
> > initializing... For example, I have a swf called
eventTemplate.swf
> and
> > on stage in frame1 is a movie clips called
eventDetailsForm :
> >
> > This is the event handler for total load complete
:
> >
> >  [INFO] 2006-07-28 00:42:47,390 | [FINE]
> > com.aso.view.eventemplate.EventTemplateApplication
-
> > onEventDetailFormLoaded:58 - eventTemplate.swf was
loaded by the asset
> > loader
> >
> > So the "swf" is loaded, and in frame 1
of that swf there is a movie
> clip
> > on stage called "eventDetailsForm"
> >
> > But if I try an use it "now"  :
> >
> > [INFO] 2006-07-28 00:52:09,750 | [FINE]
> > com.aso.view.eventemplate.EventTemplateApplication
-
> > onEventDetailFormLoaded:67 - eventDetailForm =
null
> >
> >
> > Its null.
> >
> > So I added some logging to the
"onLoad" of the eventDetailsForm :
> >
> >  [INFO] 2006-07-28 00:52:09,812 | [FINE]
> > com.aso.view.eventemplate.EventDetailForm -
onLoad:48 - this is
> >
_level0.appContainer.instance1.eventTemplateContainer.eventD
etailForm
> >
> > And as you can see by the timestamp is after the
total load complete
> was
> > executed.
> >
> > So the "hack" I have right now, is I
use the ARP framework anyway and
> I
> > wrote arpx which has a system level event
dispatcher, call it a "app
> > event" dispatcher.  I register with it to
say "tell me when the
> > eventDetailsForm is loaded" and in the
eventDetailsForm onLoad method
> I
> > fire a system level event :
> >
> > dispatchSystemEvent(new
Event(StandardEventNames.ON_LOAD,
> > ApplicationAssets.EVENT_DETAILS_FORM));
> >
> > This works, but a whole lot of work considering
I'd really like fling
> to
> > say "hey I loaded that swf AND any movie
clips of frame 1 are also
> fully
> > loaded"....
> >
> > So... Ideas ?
> >
> >
> >
> > Thanks
> > Grant
> > http://www.bluetube.com
> > http://theresiden
talien.typepad.com
> >
> >
> > _______________________________________________
> > Fling mailing list
> > Flingosflash.org
> > http://osflash.org/mailman/listinfo/fling_osflash.org
> >
>
> _______________________________________________
> Fling mailing list
> Flingosflash.org
> http://osflash.org/mailman/listinfo/fling_osflash.org
>

_______________________________________________
Fling mailing list
Flingosflash.org
http://osflash.org/mailman/listinfo/fling_osflash.org
Where in the world is Sam.
user name
2006-07-28 16:22:12
Oh, cool! Glad that it works in your test, cause otherwise I
had no idea.

On 7/28/06, Grant Davies <grantbluetube.com> wrote:
>
> I wrote a test and it worked as you described so I need
to go back to my
> app and see why its not running as expected.
>
> Grant.
>
> -----Original Message-----
> From: Fling-bouncesosflash.org
[mailto:Fling-bouncesosflash.org] On
> Behalf Of Grant Davies
> Sent: Friday, July 28, 2006 9:40 AM
> To: Chris Allen
> Cc: Flingosflash.org
> Subject: Re: [Fling] Where in the world is Sam.
>
> Hey Chris,
>
> I got the latest code and still have the same issue, I
think frame 1 has
> to have been executed before any child mc's are
available...  give me a
> call later when you get chance and we can talk.
>
> Grant
>
> -----Original Message-----
> From: Chris Allen [mailto:mrchrisallengmail.com]
> Sent: Friday, July 28, 2006 9:05 AM
> To: Grant Davies
> Cc: Flingosflash.org
> Subject: Re: [Fling] Where in the world is Sam.
>
> Hey Grant,
>
> Yeah, I experienced this very thing and changed
MovieAsset to dispatch
> "ASSETLOADCOMPLETE" only on the onInit()
method not the onComplete().
> I figured that there is no point in letting people know
when the Movie
> has loaded if it's not completely ready to use. Check
out the latest
> from SVN to see my change.
>
> If this isn't what you are talking about, please
explain further.
>
> -Chris
>
> On 7/28/06, Grant Davies <grantbluetube.com> wrote:
> >  Chris Allen / John Grden / Folks...
> >
> > Using the assetloader coming across a small issue,
not a bug, just a
> > "how should we solve this?"
> >
> > When loading a swf that contains other movie clips
on stage in frame
> 1,
> > I want to know when the swf has loaded and when
the movie clips on
> stage
> > are also loaded.  Using total load complete with
the assetloader tells
> > you when the swf has loaded, but any movie clips
on the stage are
> still
> > initializing... For example, I have a swf called
eventTemplate.swf
> and
> > on stage in frame1 is a movie clips called
eventDetailsForm :
> >
> > This is the event handler for total load complete
:
> >
> >  [INFO] 2006-07-28 00:42:47,390 | [FINE]
> > com.aso.view.eventemplate.EventTemplateApplication
-
> > onEventDetailFormLoaded:58 - eventTemplate.swf was
loaded by the asset
> > loader
> >
> > So the "swf" is loaded, and in frame 1
of that swf there is a movie
> clip
> > on stage called "eventDetailsForm"
> >
> > But if I try an use it "now"  :
> >
> > [INFO] 2006-07-28 00:52:09,750 | [FINE]
> > com.aso.view.eventemplate.EventTemplateApplication
-
> > onEventDetailFormLoaded:67 - eventDetailForm =
null
> >
> >
> > Its null.
> >
> > So I added some logging to the
"onLoad" of the eventDetailsForm :
> >
> >  [INFO] 2006-07-28 00:52:09,812 | [FINE]
> > com.aso.view.eventemplate.EventDetailForm -
onLoad:48 - this is
> >
_level0.appContainer.instance1.eventTemplateContainer.eventD
etailForm
> >
> > And as you can see by the timestamp is after the
total load complete
> was
> > executed.
> >
> > So the "hack" I have right now, is I
use the ARP framework anyway and
> I
> > wrote arpx which has a system level event
dispatcher, call it a "app
> > event" dispatcher.  I register with it to
say "tell me when the
> > eventDetailsForm is loaded" and in the
eventDetailsForm onLoad method
> I
> > fire a system level event :
> >
> > dispatchSystemEvent(new
Event(StandardEventNames.ON_LOAD,
> > ApplicationAssets.EVENT_DETAILS_FORM));
> >
> > This works, but a whole lot of work considering
I'd really like fling
> to
> > say "hey I loaded that swf AND any movie
clips of frame 1 are also
> fully
> > loaded"....
> >
> > So... Ideas ?
> >
> >
> >
> > Thanks
> > Grant
> > http://www.bluetube.com
> > http://theresiden
talien.typepad.com
> >
> >
> > _______________________________________________
> > Fling mailing list
> > Flingosflash.org
> > http://osflash.org/mailman/listinfo/fling_osflash.org
> >
>
> _______________________________________________
> Fling mailing list
> Flingosflash.org
> http://osflash.org/mailman/listinfo/fling_osflash.org
>

_______________________________________________
Fling mailing list
Flingosflash.org
http://osflash.org/mailman/listinfo/fling_osflash.org
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )