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  Announcements and General Discussion / Getting Started / Best practices for including view components in your app - Flash only on: July 21, 2009, 12:55:57
I am very stuck conceptually here and would love ANYONE's advice. I'm trying to figure out how to get graphics that I have created in the Flash IDE into this framework. You can tell I'm stuck conceptually because even my question sounds so general as to be laughable.

I'm pretty sure I know how to do it with a single FLA - you add the items to your library, create linkages and then you should be able to add them to the display hierarchy with addChild().

And I guess you can also encapsulate the entire component into an SWF and load it at runtime.

I don't want dynamic loading (at this point), but for easily distributing design / development tasks I want to have various view components (eg: "screens") in different FLAs.

I was hoping that exporting to a SWC would do the trick, but I have absolutely no idea how to get AT the graphics inside the SWC.

I have trolled through every post in the Getting Started, I have scoured the two demo applications targeted at AS3 and have found no examples of people creating Flash assets and bringing them into their applications.

I would like to avoid [embed] if possible. Please help. I'm completely disheartened at my lack of insight on how this could be done.

Thanks in advance.
Pages: [1]