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

Pages: [1]
Print
Author Topic: May a view component load swfs?  (Read 7160 times)
hesten
Sr. Member
****
Posts: 52


View Profile Email
« on: August 13, 2009, 01:22:55 »

Hi All

I've previously asked whether a view component can load it's own external images without breaking best practices or not. The answer was that it could.

Does the same go for swf files that implement an interface that allows the view component to control them?

I'm thinking the external swf's are subcomponents of a specific view component.

Regards
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: August 15, 2009, 06:25:29 »

Yes, they may. No problem at all with that. Best practices always have to reconcile with practicality, and the bottom line is there are lots of components out there that are meant to be loaded directly into a view component for use.

It's only when that loaded swf needs to be communicated with from multiple places in the view, or spoon-fed data from services that no other view needs to handle that you begin to consider loading it and wrapping a Mediator around it.   

-=Cliff>
Logged
Pages: [1]
Print