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
|
Pages: [1] 2
|
1
|
Announcements and General Discussion / General Discussion / Re: Adobe Strobe or Open Source Media Framework
|
on: October 27, 2009, 03:04:51
|
Thanks for your reply!
I have developed several video players myself in the past, ranging from simple to more complex players that integrate an advertising model. I also have a client that is interested in a "Media" player (video, audio, image, swf slideshow), that could provide the functionality that OSMF has set out to accomplish. So, I do see a need for this type of player. However, I may not be as knowledgeable on the inner-workings of the OSMF framework as yourself, and would love if you could elaborate more.
I can't see Adobe abandoning this project anytime soon, and it would seem wise to embrace this new framework than reject these efforts to create a decent standard.
|
|
|
4
|
Announcements and General Discussion / Fabrication / Re: Reaction to FlexEvent?
|
on: March 30, 2009, 11:19:19
|
sure. The creationComplete event is not fired by the time the mediator is registered, so I should be able to listen to it. That is the point of this post. For whatever reason, I can't listen to that event being fired ... even though I add an eventlistener before the event is fired.
|
|
|
5
|
Announcements and General Discussion / Fabrication / Re: Reaction to FlexEvent?
|
on: March 29, 2009, 06:13:54
|
I'm 100% sure that the reactTo is meant to work with Flex events, or any events for that matter. I really wish so! ![:(](http://forums.puremvc.org/Smileys/default/xsad.gif.pagespeed.ic.L3FGyzQrjB.png) The only logical answer I can come up with to support my conclusion, is found in the org.puremvc.as3.multicore.utilities.fabrication.vo.Reaction class on line 94, with this function here: public function fulfil(event:Event):void { handler(event); } I understand that FlexEvent is a sub class of Event, but MouseEvent also extends Event ... and works just fine. So, I'm not sure if that function above has anything to do with it (probably not).
|
|
|
6
|
Announcements and General Discussion / Fabrication / Re: Reaction to FlexEvent?
|
on: March 29, 2009, 12:16:48
|
Hmmm, I'm not entirely sure that this is correct, because in my Application file, I listen for creationComplete and trace it out, and in my ApplicationMediator I trace the mediator out when it registers ... and low and behold, ApplicationMediator gets registered first, and then the creationComplete event is traced.
Is it possible that you can't listen for FlexEvent calls with reactions? I solved my small problem by just listening for the Event.ADDED_TO_STAGE in my Mediator, which I used as a reaction (reactToApplicationAddedToStage).
I understand what you guys are saying, but it still doesn't make sense to me.
|
|
|
7
|
Announcements and General Discussion / Fabrication / Reaction to FlexEvent?
|
on: March 29, 2009, 12:44:37
|
Can anyone confirm that they have this working? I'm trying to listen to a creationComplete from my application with my Mediator, however it does not seem to get called. However, I have a handler that listens for resize that works just fine.
so to cap off:
reactToApplicationResize( e:Event ) - works just fine; reactToApplicationCreationComplete( e:FlexEvent ) - does not work
any ideas?
|
|
|
8
|
PureMVC Manifold / Demos and Utils / Re: StateMachine - A PureMVC / AS3 Utility
|
on: March 27, 2009, 11:01:25
|
Hmmm. Well there are different types of fullscreen states in my app. The one I was mentioning was when on a landing page and transitioning form the normal screen to fullscreen, it adds and removes components. When say a video component is viewed, it has small, normal, and fullscreen states.
|
|
|
10
|
PureMVC Manifold / MultiCore Version / Re: Module vs Application
|
on: March 23, 2009, 10:52:07
|
Hey Jason,
Thanks for the reply, and great analogy. I believe I remember seeing you post in the Fabrication forum, and I'm wondering if you have tried loading modules into a module, into a module. How have you found this to work out with Fabrication?
|
|
|
12
|
PureMVC Manifold / MultiCore Version / Module vs Application
|
on: March 23, 2009, 05:48:49
|
When is the best time to use another Application container, and when is the best time to use Modules? If I have an Application that has 5 main categories, should each category become a module, or another Application container? And if I use Module, can I load multiple modules inside modules ... inside modules? Is it possible to have 'n' number of modules loaded inside each other?
Just wondering what the best practice would be ..
|
|
|
15
|
Announcements and General Discussion / Fabrication / RetrieveProxy returns null?
|
on: March 06, 2009, 03:20:23
|
Hi, I have a Shell app that loads in a module, and then a command inside that module that registers a few proxies and a few mediators inside. I have the following code:
public class LocationStepMediator extends BaseStepMediator { public static const NAME:String = "LocationStepMediator"; public function LocationStepMediator() { super( NAME ); } override public function onRegister():void { var _proxy:LocationStepProxy = facade.retrieveProxy( LocationStepProxy.NAME ) as LocationStepProxy; trace( _proxy ); } }
but my proxy is returning null. Why would this be? How do I grab the correct facade instance? I've loaded my proxy before mediator ... surely this should work? I feel like it's something simple ..
|
|
|
|
|
|