Re: [Flashcoders] AIR and external mp3's

2012-03-15 Thread John R. Sweeney Jr.
So no one has dabbled in iPad apps? That's a bit surprising or is that saying don't? :( John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169 On Mar 14, 2012, at 1:57 PM, John R. Sweeney Jr. wrote: Has anyone built a app in AIR

Re: [Flashcoders] AIR and external mp3's

2012-03-15 Thread Kurt Dommermuth
Hi John, Yes, I have a couple apps out their on iPad. One specifically does indeed play external mp3s loaded from a sub directory. It also records and plays back wavs. All doable. I haven't responded because I did the last one approximately 10 months ago and really don't recall the details.

Re: [Flashcoders] AIR and external mp3's

2012-03-15 Thread Rob Romanek
Hi John, Yes I have developed apps that use external mp3 files, that was a last year so I'm trying to remember if we had any gotchyas. It should work. Are you sure you are bundling the mp3 files properly with your app so they exist on the iPad? If I come up with any ideas I'll let you know.

[Flashcoders] Dispatching events from V to C

2012-03-15 Thread Mattheis, Erik (MIN-WSW)
Say I have a save button that can exist in multiple views and can save multiple things. What's the best way to do this? Dispatch a different custom event from each type of button? Send one type of custom event with different parameters? I have a controller that listens for 28 different custom

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Peter Ginneberge
I usually have Events that match the data (for lack of a better word) they are related with. eg: NewsEvent, UserEvent, etc.. Events then contain one or more static constants representing different event types. eg: NewsEvent.GET_NEWS, NewsEvent.UPDATE_NEWS, UserEvent.LOGIN, UserEvent.LOGOUT,

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Ross Sclafani
Usually I let the view detail the event handlers, which in turn call the appropriate controller methods. In this case, each view would have something like private function saveButton_clickHandler(event:MouseEvent):void{ this.controller.save(/*here is the differing parameter*/); } Where the

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Ross Sclafani
Again, a completely different approach to MVC than mine, so you have your pick :) Ross P. Sclafani Owner / Creative Director Neuromantic Industries http://www.neuromantic.com http://ross.sclafani.net http://www.twitter.com/rosssclafani 347.204.5714 On Mar 15, 2012, at 5:44 PM, Peter Ginneberge

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Mattheis, Erik (MIN-WSW)
How does the controller know about each command class? Is each instantiated by the controller? Do the command classes talk directly to the model or view or back through the controller? On 3/15/12 4:44 PM, Peter Ginneberge p.ginnebe...@telenet.be wrote:

Re: [Flashcoders] Dispatching events from V to C

2012-03-15 Thread Peter Ginneberge
How does the controller know about each command class? Is each instantiated by the controller? Yup, controller knows about command classes. This is the FrontController (part of my MVC framework), which the AppController extends. Might be able to view it in my repository, allthough i'm not