[Arp] ARP with Flex 2.0

Mike Britton mbritton72 at gmail.com
Tue Jun 6 11:53:58 PDT 2006


I'm interested in how one takes the first step in porting their apps
over.  I see in the Flex 1 example Pizza app, Application is
represented in ArpPizza.mxml:

<pizzaView:Application
    xmlns:pizzaView="org.osflash.arp.samples.pizza.flex1.view.*">

    <mxml:ViewOrdersForm id="viewOrdersForm" label="View Orders" />
</pizzaView:Application>

I can correctly map to a standard AS class with:

<?xml version="1.0" encoding="utf-8"?>
<app:FrontController
	xmlns:app="*"
	xmlns:mxml="*"
	xmlns:mx="http://www.adobe.com/2006/mxml">
</app:FrontController>

But not with:

<?xml version="1.0" encoding="utf-8"?>
<app:FrontController
	xmlns:app="com.*"
	xmlns:mxml="*"
	xmlns:mx="http://www.adobe.com/2006/mxml">
</app:FrontController>

That is, my classes all have to be in the same directory.  I'm not
sure why this is.  Do we have to make custom MXML components to design
an application this way?


Mike



More information about the Arp mailing list