Did you see/try this (from flex-config.xml)?
           <!--
           For security, the whitelist is locked down by default.
           Uncomment the first two urls below to enable access to all
URLs,
           or the last two urls to enable access to the local server,
           or add above the individual URLs you wish to access.
           -->

And here is an unnamed example:
<url>http://www.webservicex.net/*</url>

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cnewroth55
Sent: Thursday, April 28, 2005 2:46 PM
To: [email protected]
Subject: [flexcoders] Re: creditcard dashboard - for Alistair

did look at flex-config.mxml... not a clue sorry. and the book it self
doesn't seem to explain where or give example for whitelist..

--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
> Look at flex-config.xml itself. It has extensive explanatory comments
> and examples.  There is also the documentation.
> Tracy
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED]
On
> Behalf Of cnewroth55
> Sent: Thursday, April 28, 2005 1:06 PM
> To: [email protected]
> Subject: [flexcoders] Re: creditcard dashboard - for Alistair
> 
> okay, so I changed all the 'chart' references to just <mx:....> and
> that seems to work, but now when it starts I get...
> "onFault Client.NotAllowed You are not allowed to access the service
> com.iterationtwo.boe.business.Application Delegate. THe service is not
> in the configured whitelist. 
> so I know I need to put that "path' in the whitelist, just not sure of
> syntax or place in flex.config...can you provide example...
> Craig
> 
> --- In [email protected], "Alistair McLeod" <[EMAIL PROTECTED]>
> wrote:
> > Hi,
> > 
> > The book was written before the charts were added to Flex 1.5, so
the
> > namespace is now different - use the mx namespace for all the charts
> code.
> > You should also check the Flex 1.5 documentation for the actual
> chart usage
> > - the book was published before Flex 1.5 was released and the chart
> APIs may
> > have changed in the interim.
> > 
> > Cheers,
> > 
> > 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, and 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: [email protected] [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of cnewroth55
> > Sent: 28 April 2005 13:16
> > To: [email protected]
> > Subject: [flexcoders] creditcard dashboard - for Alistair
> > 
> > Alistair McLeod:
> >      I am trying to get chapters 22-25 to run. THe creditcard
> dashboard, and
> > have had to change a few of the name space things, but this one has
me
> > stumped, in the file SalesByCard (folder charts) you reference an
> xlmns of
> > (well see code)to the url at mm, this does not exist. how do I
change
> so
> > that this error does not happen when I run the dashboard...
> > (errors below code snippet)
> > 
> > <mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml";
> >  xmlns:chart="http://www.macromedia.com/2004/charts";
> >  xmlns:i2View="views.*"
> >  title="Bank of Edinburgh Credit Card - Application Dashboard" >
> > 
> > ******** Errors I am getting *********** Error
> > /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Namespace http://www.macromedia.com/2004/charts has not been
> associated with
> > component manifest.
> > 
> > Error
/flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:82
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:ColumnChart";. It is not a
> known type
> > or a property of mx.containers.VBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Namespace http://www.macromedia.com/2004/charts has not been
> associated with
> > component manifest.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:112
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:PieChart";. It is not a known
> type or
> > a property of mx.containers.VBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> > Namespace http://www.macromedia.com/2004/charts has not been
> associated with
> > component manifest.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/charts/SalesByCard.mxml:139
> > Don't know how to parse element
> > "http://www.macromedia.com/2004/charts:LineChart";. It is not a known
> type or
> > a property of mx.containers.HBox.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:56
> > Don't know how to parse element "charts.*:SalesByCard". It is not a
> known
> > type or a property of mx.containers.ViewStack.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:60
> > Don't know how to parse element
> > "http://www.macromedia.com/2003/mxml:HBox";. It is not a known type
or
> a
> > property of mx.core.Application.
> > 
> > Error
> /flexbook/flexbook/Chapters22-25/flex/creditCardDashboard.mxml:66
> > Don't know how to parse element "services.*:Services". It is not a
> known
> > type or a property of mx.core.Application.
> > 
> > Thanks,
> > Craig
> > 
> > 
> > 
> > 
> > 
> > 
> >  
> > Yahoo! Groups Links
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links





 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to