Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Show Posts

| * |

  Show Posts
Pages: [1]
1  PureMVC Manifold / Standard Version / How to make a SLIDESHOW? on: May 20, 2009, 02:27:35
Please help, here are my ideas and problems :-) so far

MEDIATORS:
ThumbnailsMediator > display thumbnails for current album
PictureMediator > display current image

PROXY:
EntityProxy > gets one albums data from AMFPHP, no bitmap data, just an array of urls, names, ids..

SlideShowProxy > store albums data, slideshow timeing, play, pause.. and sends notification to ThumbnailsMediator if new thumbnails reference are avaiable, and to PictureMediator to show a new picture.

but where to use StartupManager's assetloader?
Currently i use it in mediators, for ex. ThumbnailsMediator get notification from SlideShowProxy, if new thumbnails reference are avaiable mediator send a notification to LoadAssetGroupCommand, with thumbnails url's addresses. But i think it's not a good sollution because bitmap datas should be in SlideShowProxy?

But there are timeing isues too, if I change to a new album, first i should load thumbnails and after it first, second...n pictures, or if someone clicks meanwhile on a thumb, I should stop loading pictures and load the requested one.

Thanks!
crypt
2  PureMVC Manifold / Standard Version / FlexBuilder and embedded swfAssets in AS3 projects on: March 19, 2009, 05:44:56
I am using FlexBuilder for creating "Actionscript projects", to write code, compile and debug. I don't like Flash IDE for this tasks, i use it just for creating assets, animation and user interfaces (view components) without any AS code except some dispatchevent to communicate transitions states, tween states etc.

I would like to ask, what is the best practice to embed this assets in a PureMVC framework? Where should
It's important for me not to loose actionscript from the embedded assets.
Is there any libarary for this?

Please Help,
thanks!
Pages: [1]