Thanks Steven...after you guys explained how the SWC was packaged, it made more sense.
DUH!, i'm slow :-)
Craig


Steven Webster <[EMAIL PROTECTED]> wrote:
Craig,
 
If you feel better about it, you can change your code to:
 
<mx:Canvas xmlns:keepAwayFromAli="com.iterationtwo.containers.*">
 
and then instantiate your component as:
 
<keepAwayFromAli:AdvancedTabNavigator />
 
In the SWC, Ali has packaged the component as com.iterationtwo.containers.AdvancedTabNavigator
 
You are simply creating a namespace within which you can unambiguously refer to the
AdvancedTabNavigator; call it what you like.
 
It makes sense however, that the namespace reflect the SWC/package from which you
are using the component, eg mx = Macromedia built-ins, iterationtwo = iteration::two, etc.
 
But your call how you use namespaces....but you're not going near our servers.
 
Steven


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Craig Newroth
Sent: 19 April 2005 14:58
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Comments: Tab Navigator with Tabs at Bottom

Alistair:
     THiunk i fixed with the namespace 'clue', here is what I added to my <mx:canvas> tag:
 
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:iterationtwo="com.iterationtwo.containers.*">
now the next question? Why does that work, am i going to your server somewhere to get the correct namespace for the URI? if so then that won't do...I need to make sure that it is reading the swc that you provided on my box...
Craig


Alistair McLeod <[EMAIL PROTECTED]> wrote:
Hi,

<iterationtwo:AdvancedTabNavigator tabPlacement="bottom" >
      //What goes here, do i do the same thing as a 'regular'
tabnavigator?
</iterationtwo:AdvancedTabNavigator>

Yes, inside the definition above, you put the same containers you would put
in the standard TabNavigator. I'm suspecting that you've not set the
namespace up correctly - what error is the compiler returning?

Ali

--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]

Office:  +44 (0)131 338 6108

This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, an! d any copies of it, immediately.

Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.


-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: 19 April 2005 14:09
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Comments: Tab Navigator with Tabs at Bottom



Alistair:
    this component is being called from gvsStartA.mxmx Here is the code:

<!-- component displayGVSData.mxml -->

<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Label text="Thrust Report Results for ASMT" x="316" y="6" />
    <mx:Model id="thrustdata" source="thrust.xml"/>  <mx:DataGrid
id="datagrid1" x="8" y="24"
dataProvider="{thrustdata.thrusts}" rowCount="10" >
    <mx:columns>
      <mx:Array>
        <mx:DataGridColumn headerText="Need ID" columnName="NeedID"
width="125" />
        <mx:DataGridColumn headerText="Business Unit"
columnName="BusinessUnit" width="140" />
        <mx:DataGridColumn headerText="Business Program"
columnName="BusinessProgram" width="140" />
        <mx:DataGridColumn headerText="Need Title"
columnName="NeedTitle" widt! h="300" />
        <mx:DataGridColumn headerText="Need Value Index"
columnName="NeedValue" width="150" />
      </mx:Array>
    </mx:columns>
  </mx:DataGrid>

   <iterationtwo:AdvancedTabNavigator tabPlacement="bottom" > What goes
here, do i do the same thing as a 'regular' tabnavigator?
   </iterationtwo:AdvancedTabNavigator>

  






Yahoo! Groups Links







Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/04/2005


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/04/2005

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Yahoo! Groups Links

Reply via email to