Connection between PreloadAppSwfCommand, PreloadAppSwfService and AppContext

vishwas.gagrani's Avatar

vishwas.gagrani

08 Nov, 2012 09:22 AM

Trying to load a swf following robotlegs pattern

So there is a main.swf, from where the app starts

1) AppContext triggers the PreloadSWFCommand
2) PreloadSWFCommand triggers the PreloadSWFService
3) PreloadSWFService gives out an event called : PreloadEvent ( PreloadEvent.LOAD_PROGRESS, PreloadEvent.LOAD_COMPLETE )
4) AppContext has this line :
commandMap.mapEvent(PreloadEvent.LOAD_PROGRESS, UpdatePreloaderViewCommand );

Do the above 4 points look fine ?? My main concern is that preloader progress is going to occur again and again... say 100 times. So are the above 4 points tell a good way to handle such scenario ( like preloading, that updates view each second ) ??

Thanks in advance.
V.

  1. 1 Posted by neil on 08 Nov, 2012 10:18 AM

    neil's Avatar

    sorry vishwas, I'm not quiet sure what you are asking.

    It looks ok in paper to me, are you having any problems?

  2. 2 Posted by vishwas.gagrani on 09 Nov, 2012 02:55 PM

    vishwas.gagrani's Avatar

    Nvm. I think i have solved it. But thnx for the response.:)

    V.

  3. vishwas.gagrani closed this discussion on 09 Nov, 2012 02:55 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac