It'll be whatever namespace you define in your root node. For example (from
a file I'm looking at right now):

<mx:Application
  xmlns:mx="http://www.adobe.com/2006/mxml";
  xmlns:flash="flash.filters.*"
  xmlns:disposals="disposals.ui.components.*"
  xmlns:ns1="pathways.controls.*"
  xmlns:core="pathways.core.*"
  xmlns:controllers="disposals.controllers.*">

In the examples above, "ns1" is the namespace, and "disposals.ui.components"
is the package. "ns1" is what you get if you type "<MyComponentClassName"
and hit ctrl-space and let builder find it - the nice ones you can type
yourself, or change after you let Builder import them.

-Josh

On Thu, Jul 17, 2008 at 2:19 AM, whatabrain <[EMAIL PROTECTED]> wrote:

>  Let's say I subclass a control, like DataGrid:
> package myStuff {
>     public class CustomGrid extends CDataGrid {}
> }
>
> How do I instantiate it in an mxml file? I tried these but they didn't
> work:
>    <mx:CustomGrid/>
>    <myStuff:CustomGrid/>
>
> Thanks for all your help! This group is making my transition from DHTML to
> Flex so much easier.
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to