[flexcoders] Remove Particular Child

2006-09-28 Thread KP










Hi All.



I have one canvas and on that I have number of child what I
want to do is remove one particular child say of class Label .



Can some one suggest some approach on this one .



Thanks 

Kumar.




__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread omkarjoe
Hi All,

I am trying to apply SeriesInterpolate effect to stacked ColumnChart. 
When my dataprovider changes it popups a null object reference error. 
If I use any other chart type as overlaied or clustered then 
everything works fine but if I change type to stacked then this error 
pops up. Do anyone has any idea why this is happening and what's the 
workaround for that. I need it really urgently...

Thanks in advance






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR



The problem with the Application.cfc (Bug #2) appears to be even worse then i thought. It can be tested with the following simple files:

Application.cfc (change the name for each directory)

cfcomponentcfset this.name = app2 //cfcomponent

App.cfc

cfcomponent extends=fly.TestAppcffunction name=test access=remote returntype=anycfreturn TEST (#application.applicationName#): #getDirectoryFromPath(getCurrentTemplatePath())# /
/cffunction/cfcomponent

App2.mxml (app1 looks exactly the same).

?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute applicationComplete=start()
mx:Script![CDATA[import fly.utils.cfDump;import mx.rpc.events.FaultEvent;import mx.rpc.events.ResultEvent;import mx.rpc.remoting.RemoteObject;public function start():void
{var ro:RemoteObject = new RemoteObject();ro.destination = ColdFusion;ro.source = App;ro.addEventListener(ResultEvent.RESULT, _result);ro.addEventListener
(FaultEvent.FAULT, _fault);ro.test();};public function _result(e:ResultEvent):void{//willpush the event over a local connection to our debug panel which shows it like cfDump in coldfusion would.
cfDump(e); 
};public function _fault(e:FaultEvent):void{cfDump(e);};]]/mx:Script/mx:Application


I will now test to see if i can set up a windows 2000 server with IIS to see if i can replicate the problem there.


Greetz Erik

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Unable to access UserTransaction in DataService.

2006-09-28 Thread erik_jen5en
Hi all,

Finally got this to work in Tomcat.  Not what I originally wanted to
do but, hey, it works.  I am now using an external tomcat instance to
deploy the flex app to and the application is running on JBoss.

The ClassCastException was being caused by Jboss' client jars.  Since
the JBoss jars were in the application's WEB_INF/lib folder they were
hiding some of the JOTM classes. I had to remove the javax.transaction
package from the jboss-j2ee.jar.  

Thanks to everyone that helped,

Erik

--- In flexcoders@yahoogroups.com, Dave Carabetta [EMAIL PROTECTED]
wrote:

 I'm not sure if this is it, but have you read this TechNote about
 weaking typing and the ClassCastException?
 
 http://www.adobe.com/go/6b9a3b10
 
 Regards,
 Dave.
 
 On 9/27/06, erik_jen5en [EMAIL PROTECTED] wrote:
  It seems that the problem is not isolated to only JBoss.  I have
  deployed the application to Tomcat 5.5 and the same message appears.
  Rather than being caused by a connection failure this time it is
  caused by a ClassCastException.
 
  See the trace below,
 
  [Flex] Exception when invoking service: data-service
with message: Flex Message (flex.data.messages.DataMessage)
  operation = transacted
  id = null
  clientId = 627EFDAF-E0B2-D265-7E87-814FBF618297
  correlationId =
  destination = userDest
  messageId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
  timestamp = 1159367364062
  timeToLive = 0
  body =
  [
Flex Message (flex.data.messages.DataMessage)
operation = update
id = ASObject(20457766){id=12}
clientId = 9D2C55D8-A16D-DF68-6281-EFADFD836225
correlationId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
destination = userDest
messageId = B941BD2C-2AEA-5B39-6759-EFAE0DA0A91A
timestamp = 0
timeToLive = 0
body =
[
 
  [
username
  ],
  {password=12vianet, userType=1, username=root,
  ownerName=System, id=12},
  {password=12vianet, userType=1, username=roo,
  ownerName=System, id=12}
]
  ]
  hdr(DSEndpoint) = my-polling-amf
exception: flex.data.DataServiceException: Unable to access
  UserTransaction in DataService.
 
  [Flex] Error handling message: flex.data.DataServiceException: Unable
  to access UserTransaction in DataService.
incomingMessage: Flex Message (flex.data.messages.DataMessage)
  operation = transacted
  id = null
  clientId = 627EFDAF-E0B2-D265-7E87-814FBF618297
  correlationId =
  destination = userDest
  messageId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
  timestamp = 1159367364062
  timeToLive = 0
  body =
  [
Flex Message (flex.data.messages.DataMessage)
operation = update
id = ASObject(20457766){id=12}
clientId = 9D2C55D8-A16D-DF68-6281-EFADFD836225
correlationId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
destination = userDest
messageId = B941BD2C-2AEA-5B39-6759-EFAE0DA0A91A
timestamp = 0
timeToLive = 0
body =
[
 
  [
username
  ],
  {password=12vianet, userType=1, username=root,
  ownerName=System, id=12},
  {password=12vianet, userType=1, username=roo,
  ownerName=System, id=12}
]
  ]
  hdr(DSEndpoint) = my-polling-amf
errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
  clientId = null
  correlationId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
  destination = userDest
  messageId = 627F04DB-D0EA-6F83-F899-17780D7F89EE
  timestamp = 1159367364109
  timeToLive = 0
  body = null
  code =  Server.Processing
  message =  Unable to access UserTransaction in DataService.
  details =  null
  rootCause =  java.lang.ClassCastException:
org.objectweb.jotm.Current
  body =  null
  extendedData =  null
  [Flex] Serializing AMF/HTTP response
  Version: 3
(Message #0 targetURI=/8/onStatus, responseURI=)
  (Typed Object #0 'flex.messaging.messages.ErrorMessage')
rootCause = (Typed Object #1 'java.lang.ClassCastException')
  localizedMessage = org.objectweb.jotm.Current
  message = org.objectweb.jotm.Current
  cause = null
destination = userDest
headers = (Object #2)
correlationId = 5D5B6555-6771-5A6C-7783-EFAE0DB097BE
faultString = Unable to access UserTransaction in DataService.
messageId = 627F04DB-D0EA-6F83-F899-17780D7F89EE
faultCode = Server.Processing
timeToLive = 0.0
extendedData = null
faultDetail = null
clientId = null
timestamp = 1.159367364109E12
body = null
 
 
  I am attempting to use the Assemblers to fill and update data is there
  anything special I am missing?
 
  --- In flexcoders@yahoogroups.com, 

Re: [flexcoders] Remove Particular Child

2006-09-28 Thread EECOLOR



Hello,

If you have a reference to the child you can do removeChild(reference). 

If you want to remove all labels, you can do this:

var i:int = numChildren;
var child:DisplayObject;
while (i--)
{
 child = getChildAt(i);
 if (child is Label)
 {
 removeChild(child);
 };
};


Greetz Erik

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] New Autocomplete component (free)...feedback?

2006-09-28 Thread Stacy Young












I think the concept itself is right on the
money. Kind of applying the Adobe Labs concept to component
development. Kudos!



Stace











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Mendels
Sent: Thursday, September 28, 2006
12:19 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] New
Autocomplete component (free)...feedback?











Hi,

It works for me. Here is a shorter URL (no wordwrap) that might work
better:

http://snipurl.com/autocomplete

-David

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of hank williams
Sent: Thursday, September 28, 2006 12:05 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] New Autocomplete component (free)...feedback?

Are you sure this is the right url? nothing at weblogs.macromedia.com
seems to respond at all. I also tried at weblogs.adobe.com.

Hank

On 9/27/06, David Mendels [EMAIL PROTECTED]com
wrote:
 Hi all,

 FYI:

http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.
cfm

 We'd be interested in feedback.

 Thanks,
 David
 Adobe


 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links












--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links






 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Dan Rossi






Hi, unfortunately im not doing any custom progress
bar, its just the standard preloader when the swf loads, id prefer just
to take it out and add listeners to work out whats going on somehow ?
Adobe dont even reply about it i dont think ill ever get a reply from
them about it as usual, ive asked them 3 or 4 times now. 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




[flexcoders] Getting data grid rowcount when changed from Java applet

2006-09-28 Thread Wally Randall
I have a data grid component which is populated with data from a Java 
applet.  I need to setup an event to obtain the new grid rowcount 
after data is entered in the grid.  I have tried the change event in 
the grid control which is not triggered by the external update.

The grid is bound to a data arraycollection.  Is there an event on the 
arraycollection that I can use to trigger the function to refresh the 
rowcount?








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Pounds and currencyFormatter

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 16:39, Stephen Gilson wrote:
         currencySymbol=#163; decimalSeparatorFrom=.

Tried that :-)

-- 
Tom Chiverton
Helping to biannually supply integrated e-services



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Importing CSV file to a data grid

2006-09-28 Thread sahay17
Hi all,
I want to import data from a csv file to a datagrid.For that i need
1) to open a browse dialog box.
2) Select the file and import to the data grid.
Is it possible and if yes can you guide me with it.

Thanks in advance.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca
Hi,

My requirement is when i close the browser, from javascript i want to 
call java application using HttpService in Flex.
I am using FABridge to call java application using HttpService from 
javaScript.

JavaScript code snippet
--

var flexApp = null; 
var initCallback = function()
{
flexApp = FABridge.flash.root();
}
FABridge.addInitializationCallback(flash,initCallback);


function saveChanges() { 
if (flexApp!= null) {
var dataChangedFlag = flexApp.dataChangedFlag();
if(dataChangedFlag) {
var closeWin = window.confirm(Do you want to save your changes?);
if (true) {
flexApp.httpService.request.reqParamMode=saveChanges;
flexApp.setUnSavedDataAsXML();
flexApp.httpService.send(); 
flexApp.closeWindow();
alert('done...');
} 
} 
} 

Code is failing to identify httpService object.

If any one know's any other mechanism to handle browser close also 
fine. Some how i want to call java application to save changes i made 
in flex application when browser is closed.

very very urgent..

Regards,
SriHari






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Problem with RemoteObject Java

2006-09-28 Thread Laurent Fontvielle
Hello,

Did you specify a correct 'context-root' when compiling your Flex web
application. The value for this compiler parameter must be the same as
 the context-root where you deploy your webapp on your application server.
From the project properties window, got to 'Flex compiler' properties,
add to  'Additional compiler arguments' the parameter:
-context-root  /myContextRoot

Regards,
Laurent.

--- In flexcoders@yahoogroups.com, jonathan_merey [EMAIL PROTECTED] wrote:

 Hi, I have an application with flex 2.0, flex data services and java and
 I want to access methods of my JAVA classes. So I use the remoteObject.
 
 Here is the code :
 
 Test.java
 
 package beans;
 
 public class Test {
 
  public Test()
  {
  System.out.println(-= Test start =-);
  }
 
  public String doTest()
  {
  return -= This is a test =-;
  }
 
 }
 
 remoting-config.xml
 
 ?xml version=1.0 encoding=UTF-8?
 service id=remoting-service
  class=flex.messaging.services.RemotingService
  messageTypes=flex.messaging.messages.RemotingMessage
 
  adapters
  adapter-definition id=java-object
 class=flex.messaging.services.remoting.adapters.JavaAdapter
 default=true/
  /adapters
 
  default-channels
  channel ref=my-amf/
  /default-channels
 
  destination id=test
  properties
  sourcebeans.Test/source
  scopeapplication/scope
  /properties
  /destination
 
 /service
 
 index.mxml
 
 ?xml version=1.0?
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  initialize=applicationInit()
  layout=absolute
  backgroundGradientColors=[#ff, #808080]
  viewSourceURL=srcview/index.html
  creationComplete=doTest()
 
  mx:Script
  ![CDATA[
   import mx.controls.Alert;
   import mx.rpc.events.FaultEvent;
   import mx.collections.ArrayCollection;
   import flash.events.MouseEvent;
   import mx.rpc.AsyncToken;
   import mx.data.*;
   import mx.managers.*;
 
   [Bindable]
 
   private function doTest():void
   {
   test.doTest();
   }
 
]]
 /mx:Script
 
 mx:RemoteObject id=test destination=test
 mx:method name=createTest/
 /mx:RemoteObject
 
 When I launch the server  -= Test start =- is printed on tomcat so the
 remoteObject is good initialized but after there is an error due to the
 method createTest.
 
 Here is the final message when i launch the application :
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend faultDetail=Channel.Connect.Failed
 error NetConnection.Call.Failed: HTTP: Failed]
  at

mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faul\
 tHandler()
  at mx.rpc::Responder/fault()
  at mx.rpc::AsyncRequest/fault()
  at mx.messaging::ChannelSet/::faultPendingSends()
  at mx.messaging::ChannelSet/channelFaultHandler()
  at

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
 tFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
  at

mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChann\
 el::connectFailed()
  at

mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::stat\
 usHandler()
 
 
 Please help me.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Muzak
If I get this right, you have the App.cfc in the server root and 2 
Application.cfc's each in one of the flex app directories (app1, 
app2) which are subfolders in the server root.
If that is the case, App.cfc doesn't *see* those Application.cfc's.
App.cfc runs in the context it lives in, not in the context it is invoked from, 
if that makes sense.

App.cfc will look for an Application.cfc in it's own folder and upwards to the 
root, untill it finds one, but never looks in sub 
directories.

Does that make sense?

regards,
Muzak

- Original Message - 
From: EECOLOR [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, September 28, 2006 10:57 AM
Subject: Re: [flexcoders] Bugs in the Remoting adapter which comes with 
ColdFusion


 The problem with the Application.cfc (Bug #2) appears to be even worse then
 i thought. It can be tested with the following simple files:

 Application.cfc (change the name for each directory)

 cfcomponent
 cfset this.name = app2 /
 /cfcomponent

 App.cfc

 cfcomponent extends=fly.TestApp
 cffunction name=test access=remote returntype=any
  cfreturn TEST (#application.applicationName#):
 #getDirectoryFromPath(getCurrentTemplatePath())# /
 /cffunction
 /cfcomponent

 App2.mxml (app1 looks exactly the same).

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
 applicationComplete=start()

 mx:Script
  ![CDATA[
   import fly.utils.cfDump;
   import mx.rpc.events.FaultEvent;
   import mx.rpc.events.ResultEvent;
   import mx.rpc.remoting.RemoteObject;
   public function start():void
   {
var ro:RemoteObject = new RemoteObject();
ro.destination = ColdFusion;
ro.source = App;
ro.addEventListener(ResultEvent.RESULT, _result);
ro.addEventListener(FaultEvent.FAULT, _fault);

ro.test();
   };

   public function _result(e:ResultEvent):void
   {
//will push the event over a local connection to our debug panel which
 shows it like cfDump in coldfusion would.
cfDump(e);
   };

   public function _fault(e:FaultEvent):void
   {
cfDump(e);
   };
  ]]
 /mx:Script
 /mx:Application


 I will now test to see if i can set up a windows 2000 server with IIS to see
 if i can replicate the problem there.


 Greetz Erik
 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Logging in Flex

2006-09-28 Thread Anas Mughal



I am wondering if there is some sort of logging mechanism that I could use to log messages/errors from a Flex application. I would like the log to be created on the server.It would be great if there is something like Log4J in Flex.Thank you for your advice.  --  Anas Mughal 
		Stay in the know. Pulse on the new Yahoo.com.  Check it out. 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Text component sizing issue

2006-09-28 Thread n51red
Who would have thought that the humble Text component could be so 
full of bugs?!

Here's one that giving me trouble at the moment:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[
[Bindable]private var html:String=
+Class aptent taciti sociosqu ad litora torquent
+ per conubia nostra, per inceptos hymenaeos.
+ Praesent facilisis vestibulum risus. Mauris eu
+ neque nec ipsum consectetuer viverra. Curabitur
+ in neque. Integer commodo tempus leo. Vestibulum
+ neque turpis, facilisis nec, volutpat eu, malesuada
+ ut, ligula. Duis tortor lectus, tempor lobortis,
+ placerat a, pharetra ac, odio. Aenean imperdiet,
+ tortor in pretium condimentum, nibh massa mattis
+ dolor, mollis molestie lectus diam id elit. Sed
+ bibendum erat sit amet erat. Curabitur a metus.
+ Proin feugiat bibendum eros. Duis eu ipsum feugiat
+ ante ultricies egestas. Suspendisse feugiat
+ porttitor nunc. Nunc tempus ultricies turpis. Morbi
+ scelerisque dictum ligula. Duis faucibus est eu nisi.
+ Etiam nisi. Integer vel magna vitae lorem pretium
+ sodales. Sed egestas. Maecenas fermentum suscipit
+ turpis. Cras vitae sapien at velit vulputate hendrerit.
+ Quisque ullamcorper pede eget felis convallis
+ fermentum. Nunc nec tortor. Mauris nisi odio,
+ convallis eget, elementum id, faucibus ut, libero.
+ Fusce id nunc et magna pulvinar dictum. Maecenas
+ diam. Aenean auctor neque in lectus. Donec eleifend.
+ Aenean sed velit. Pellentesque ornare imperdiet leo.
+ Vestibulum non eros.;
]]
/mx:Script
mx:VBox height=300 width=300
mx:Text text={html} width=100%/
/mx:VBox
/mx:Application

To see the bug execute this app and scroll to the bottom of the text. 
You should notice that the last two lines are missing. If you begin 
to select the bottom part of the text and drag downwards past the 
bottom of the box the text will shift revealing the missing lines. 
Doing this will have hidden the top lines of text.

Has anyone come accross this bug and found a reliable way to get 
round it?

Thanks,

Nick






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] FlexUnit usage examples

2006-09-28 Thread Dima Ulich


Hi everybody,
 Does anyone have an example of using FlexUnit with async requests made to the server? Is there a way of testing existing flex application? How do you usually test yours?

Thanks
Dima
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___


[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca
Hi,

My requirement is when i close the browser, from javascript i want to 
call java application using HttpService in Flex Application.
I am using FABridge to call java application using HttpService from 
javaScript.

JavaScript code snippet
--

var flexApp = null; 
var initCallback = function()
{
flexApp = FABridge.flash.root();
}
FABridge.addInitializationCallback(flash,initCallback);


function saveChanges() { 
if (flexApp!= null) {
var dataChangedFlag = flexApp.dataChangedFlag();
if(dataChangedFlag) {
var closeWin = window.confirm(Do you want to save your changes?);
if (true) {
flexApp.httpService.request.reqParamMode=saveChanges;
flexApp.setUnSavedDataAsXML();
flexApp.httpService.send(); 
flexApp.closeWindow();
alert('done...');
} 
} 
} 

Code is failing to identify httpService object.

If any one know's any other mechanism to handle browser close also 
fine. Some how i want to call java application to save changes i made 
in flex application when browser is closed.

very very urgent..

Regards,
SriHari 
 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 13:09, wayneposner wrote:
 complete.  If I take out the recursion, the progress bar loads fine.

What if you display the bar, then callLater the function ?

-- 
Tom Chiverton
Helping to dynamically drive back-end patterns



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR



Nope, i have 2 directories, which both act as wwwroot (virtual hosts).

http://app1 points to c:\wwwroot\app1
http://app2 points to c:\wwwroot\app2

In c:\wwwroot\app1 i have the following files (leaving out the js and history ones etc):

- app1.swf
- App.cfc
- Application.cfc
- index.cfm

In c:\wwwroot\app2 i have the following files:


- app2.swf
- App.cfc
- Application.cfc
- index.cfm


Greetz Erik

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
The problem is with the way the player and the debugger initiate 
their communication.  Here's how it works when things are going well:

1. When you click Debug in Flex Builder, it starts listening on a 
TCP/IP socket, and it launches your browser.

2. When the Flash Player notices that the SWF was built with -debug, 
it tries to connect to the TCP/IP socket.

3. They are now connected, and debugging begins.

But what happens if, in step 2, the Flash Player's attempt to connect 
to the TCP/IP socket fails?  That is, what if no debugger is waiting 
for incoming connections?  The answer is, the Flash Player puts up 
that message asking where the debugger is.  That dialog was added 
long ago to support remote debugging in Flash Professional.

In this case, unfortunately, the Flash Player isn't doing the right 
thing.  When the RSL gets loaded, the player sees that it was 
compiled with -debug, so it tries to connect on the TCP/IP socket -- 
but since Flex Builder had no involvement in the loading of that RSL, 
Flex Builder didn't know to start listening on the socket.  So the 
Flash Player can't find a debugger, so it puts up the dialog.

For a future release, I hope to improve this so that you get a 
smoother workflow in scenarios such as the one you are describing.

- Mike Morearty
  Flex Builder team
  http://www.morearty.com/blog


--- In flexcoders@yahoogroups.com, Carlos Rovira 
[EMAIL PROTECTED] wrote:

 Anatole, that's exactly my config :)
 
 But...don't you think that's strange? If I use debug button in FB2 
I get it
 work in FF, but If I run application (not debug mode) I get that 
dialog. I
 don't understand why this happen when using RSLs and not when using 
an app
 without RSLs.
 
 Maybe I should compile RSLs with -debug=false but I think that's 
imposible
 in FB2 dialogs
 
 Maybe I'm wrong?
 
 Thanks for your response Anatole.
 
 C.
 
 
 On 9/27/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:
 
looks like you are using debugging plugin in firefox and 
production
  release of player in IE
 
  Regards,
  Anatole
 
 
 
  On 9/27/06, Carlos Rovira [EMAIL PROTECTED] wrote:
  
 Hi,
  
   I spend a few ours trying to find the cause of a weird 
behaviour. I was
   trying to use RSLs in a project and when I test it in my 
default browser
   (Firefox lastest version), a debug dialog comes. I found that 
launching the
   app in IE does not have this problem, so I asume that is a 
Firefox
   problem...someone knows how to avoid it?
  
   Thanks in advance.
  
   --
   ::| Carlos Rovira
   ::| http://www.carlosrovira.com
   ::| http://www.madeinflex.com
  
 
   
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Transferring Data through Cairngorm methodology

2006-09-28 Thread laidezmon
I am trying to implement a simple login application in cairngorm. I am
having all kinds of problems. 

Heres the deal. 

Basically I have a button which calls a doLogin() function.

private function doLogin():void
{
var event : AuthenticateEvent = new
AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
event.loginName = loginName.text;
event.password = password.text;
CairngormEventDispatcher.getInstance().dispatchEvent( event );
}

this is called from my mxml display page. loginName and password are
text fields on my screen.

The controller is loaded from the main.mxml file, and is already
instantiated, but here is the add command reference for this login
function.

 public function initialiseCommands() : void
   {
  addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
   }

From there the loginCommand.as is called and runs its execute method:

public function execute (event : CairngormEvent):void
{
if( !CruiseModelLocator.getInstance().authenticated  )
{
var delegate : LoginDelegate = new LoginDelegate( this );
delegate.doLogin(event.data.loginName, event.data.password);
}
else
{
Alert.show( Logged In already! );
return;
}
}

The delegate is below:

public function LoginDelegate( responder : Responder )
{   
this.service = ServiceLocator.getInstance().getService( UserManager );
this.responder = responder;
}

public function doLogin(loginName:String, password:String) : void
{   
var call : Object = service.login(loginName,password);
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault;  
}

I must be doing something wrong here. But basically I am getting lost
trying to pass the values of those two text boxes, and getting them
all the way through this methodology to the remote object service i am
going to call. It looks for two parameters, loginName and password,
and in this test case loginName actually equals the string loginName
thats the value. 

I have traced the debugger and even gone through the cairngorm ASDoc
stuff, and cannot figure out what I am doing wrong. It mentions the
data attribute, and when I pass into the execute function on the
command, event.data or event.data.loginName I dont get a compile time
error. However nothing is being passed to the service. 

When I look at the debugger trace I see that event does have a
event.data attribute, but its undefined, and also that event has a
event.loginName, and a event.password. Note this is correct, its not
event.data.loginName, but rather event.loginName, and the value is
there from those text boxes.

So it is there, but it dont work. If I pass into the command,
event.loginName I get a compile time error. However it shows in the
debugger as being there. I dont get it. 

I am a newbie to OOP and flex and java, so this could be a really
stupid question. Any help would be greatly appreciated.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
The code actually works as expected as long as I am calling from the
webroot (ex. myApp.cfc.SomeComponent)  -However, I have posted it
below for your review.

mx:RemoteObject id=myService
 destination=ColdFusion
 result=event.token.resultHandler(event)
 fault=event.token.faultHandler(event)
 source={myMapping.myService'}
 showBusyCursor=true /

As far as the two XML files are concerned, I do not have the file
flex-enterprise-services.xml on my local machine. The only file I have
is services-config.xml

Keep in mind that on my machine locally, I am running the developer
edition of CF7.

Thanks you all for helping me to try and figure this out.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread laidezmon
I wish I had an answer for you, but frankly I am looking for the same
thing. 

Please someone help us both.


--- In flexcoders@yahoogroups.com, Gareth Edwards [EMAIL PROTECTED] wrote:

 I must be missing parts, or doing something wrong.
 
 Can't seem to re-assign the saved detail record to the ArrayCollection 
 some error about not being able to convert and object to a VO? Any 
 examples a simple view edit delete record program written with
Cairngorm 
 2 would be most appreciated.
 
 Cheers
 Gareth.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Logging in Flex

2006-09-28 Thread John Grden



Hey Anas, I've put out a test version of Xray's flex2 logger which comes with a panel component if you don't have the xray interface to see your trace out put. Chris and I modeled it after log4j style of logging.here's an email I sent a while ago about it:
I'm in the very early stages of getting Xray's connector
ported over the AS3 and the first step has been to get the new Logger
up and running. So far, it's working great and I've included an
OutputPanel.mxml that users can include it in their app if they don't want to
use the xray interface ( plus, i've not implemented log level switching
with xray's interface yet ).

http://mirror1.cvsdude.com/trac/osflash/
xray/browser/downloads/connector/flex/XrayLogger_as3_alpha.zip?format=raw
screenshot:http://www.rockonflash.com/
xray/images/XrayLogger_Flex2_withInterface_0.png

some featurues:
1. log level support (debug, info, warn, error, fatal)
2. time stamp 
3. Calling method is reported
4. objects are recursed
5. outputs to Xray's interface if you have it running

OutputPanel features (not necessary for running logger):
1. runtime log level control
2. Resizeable (drag lower right corner)
3. Window shade by double clicking header of OutputPanel's header area
4. Search

Usage:copy com.blitzagency.xray.logger into your classes/src folderif you want to use the OutputPanel (optional):
copy OutputPanel.mxml to your src folder or where ever your main app is.
Add this line to your app:ns1:OutputPanel id=outputPanel/Add this property to your mx:Application node:

xmlns:ns1=*Using it in your app:
import com.blitzagency.xray.logger.XrayLog;
.
public var log:XrayLog;
.
log = new XrayLog();
log.debug(message:String [, dump:object]);
log.info(message:String [, dump:object]);
log.warn(message:String [, dump:object]);
log.error(message:String [, dump:object]);
log.fatal(message:String [, dump:object]);I've
included the FlashDevelop project in the zip. I would love
suggestions/comments on implementation and features. Right now, it
doesn't color code the output based on the log level, but that is
something I'm looking into.
Anyway, if anyone wants to give it a whirl, I'd really appreciate the feedback,On 9/28/06, 
Anas Mughal [EMAIL PROTECTED] wrote:














  



I am wondering if there is some sort of logging mechanism that I could use to log messages/errors from a Flex application. I would like the log to be created on the server.

It would be great if there is something like Log4J in Flex.Thank you for your advice.  --  Anas Mughal 
		Stay in the know. Pulse on the new Yahoo.com. 

 Check it out. 

  













-- [JPG]


__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Simeon Bateman



What url does the ColdFusion destination use in your config file? This is going to be the url that is used to decide what domain to make calls against, not nessicarily the domain you are loading the swf from.On the first bug you list. I dont know if I would have assumed that it would chase up the parent tree. The documentation says that the cfc we return MUST have cfproperty tags for each of the properties in our as class in the exact same order. I dont see how that could work if it included properties from parent classes.
If you really think these are bugs, or would like to file enhancement requests to have them added, you should submit them to Adobe. You can do that at http://www.adobe.com/go/wish
 . While lots of adobe folks watch this list to help people solve their problems, if you want to make sure your bugs are evaluated, make sure you submit them.Good Luck!simeon
On 9/28/06, EECOLOR [EMAIL PROTECTED] wrote:













  



Nope, i have 2 directories, which both act as wwwroot (virtual hosts).

http://app1 points to c:\wwwroot\app1
http://app2 points to c:\wwwroot\app2

In c:\wwwroot\app1 i have the following files (leaving out the js and history ones etc):

- app1.swf
- App.cfc
- Application.cfc
- index.cfm

In c:\wwwroot\app2 i have the following files:


- app2.swf
- App.cfc
- Application.cfc
- index.cfm


Greetz Erik

  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] ClassFactory pb

2006-09-28 Thread arnbely
Hello,

I'm new to Flex and AS, and I'm developing an application using flex.

I have a problem whith the following code:

var arrowRenderer:ClassFactory = new ClassFactory(ArrowItem);
arrowRenderer.properties = {t:test};
tmpColumn.itemRenderer = arrowRenderer;

and I've got the error:

Cannot acces a property or method of a null object reference

When I look at the 'Variables' window in flexbuilder, the property
'properties' is null in the arrowRenderer object.

Any idea ?

Arnaud.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Mark Hawley
Flash is single-threaded. You're not going to ever get screen refreshes 
during a function's execution.

wayneposner wrote:
 Hi Dan-

 Just to let you know you're not alone, I've been having issues with my 
 progress bar not displaying at all.  I've got code that is supposed to 
 pop up my progress bar when the user clicks on a tree node.  After 
 that I dispatch an event that my tree node has been clicked and pass 
 the data from my tree to a recurisve function.  If I let the recursion 
 execute, the progress bar doesn't load until the recursion is 
 complete.  If I take out the recursion, the progress bar loads fine.  

 It seems there are some threading issues with Flex that prevent the 
 progress bar from displaying properly during operations that are heavy 
 on the CPU.  I'd really like to hear someone from Adobe comment on 
 this, though.

 Wayne

 -- In flexcoders@yahoogroups.com, Dan Rossi [EMAIL PROTECTED] wrote:
   
 Hi there, each time i make a change to my flex app, the default 
 
 progress 
   
 bar becomes stuck and doesnt finish loading therefore the 
 
 applicarton 
   
 wont load, it takes up to 12 refreshes to actually load properly.

 It also seems that upon each page reload the progress bar will flash 
 briefly halfway even though the movie is loaded ! that is with 
 
 pragma 
   
 cache enabled or even disabled ! Whats the go here ?

 let me know thanks.

 Dan

 







 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links










   


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread Simeon Bateman



In helping other developers with this the general rule I have found is this. When you have enabled the use-mappings in the config file for cf, you can then access your cfc's from flex using mappings.This works great for any objects that you would use as the source of your RemoteObject call. However once you are using mappings the path for the VO's you return can not be translated correctly. So they never get translated to the correct AS object counterpart. We have found that as soon as you drop those cfc in a folder in the webroot everything works fine.
I am not sure if this is a bug, or if there is something I am missing about the setup. I have a feeling that the mapping adds something to the path internally so the path doesnt match our alias anymore.Anywah, just my thoughts on it. Good Luck.
simeonOn 9/28/06, lostinrecursion [EMAIL PROTECTED] wrote:













  



The code actually works as expected as long as I am calling from the
webroot (ex. myApp.cfc.SomeComponent)  -However, I have posted it
below for your review.

	mx:RemoteObject id=myService
	 destination=ColdFusion
	 result=event.token.resultHandler(event)
	 fault=event.token.faultHandler(event)
	 source={myMapping.myService'}
	 showBusyCursor=true /

As far as the two XML files are concerned, I do not have the file
flex-enterprise-services.xml on my local machine. The only file I have
is services-config.xml

Keep in mind that on my machine locally, I am running the developer
edition of CF7.

Thanks you all for helping me to try and figure this out.


  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread laidezmon
O and one other thing, when I created the authenticate event class, I
created two params

public var loginName : String;
public var password : String;

I dont know if thats important or not.

--- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote:

 I am trying to implement a simple login application in cairngorm. I am
 having all kinds of problems. 
 
 Heres the deal. 
 
 Basically I have a button which calls a doLogin() function.
 
 private function doLogin():void
 {
   var event : AuthenticateEvent = new
 AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
   event.loginName = loginName.text;
   event.password = password.text;
   CairngormEventDispatcher.getInstance().dispatchEvent( event );
 }
 
 this is called from my mxml display page. loginName and password are
 text fields on my screen.
 
 The controller is loaded from the main.mxml file, and is already
 instantiated, but here is the add command reference for this login
 function.
 
  public function initialiseCommands() : void
{
   addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
}
 
 From there the loginCommand.as is called and runs its execute method:
 
 public function execute (event : CairngormEvent):void
 {
   if( !CruiseModelLocator.getInstance().authenticated  )
   {
   var delegate : LoginDelegate = new LoginDelegate( this );
   delegate.doLogin(event.data.loginName, event.data.password);
   }
   else
   {
   Alert.show( Logged In already! );
   return;
   }
 }
 
 The delegate is below:
 
 public function LoginDelegate( responder : Responder )
 { 
 this.service = ServiceLocator.getInstance().getService( UserManager );
 this.responder = responder;
 }
   
 public function doLogin(loginName:String, password:String) : void
 { 
 var call : Object = service.login(loginName,password);
 call.resultHandler = responder.onResult;
 call.faultHandler = responder.onFault;
 }
 
 I must be doing something wrong here. But basically I am getting lost
 trying to pass the values of those two text boxes, and getting them
 all the way through this methodology to the remote object service i am
 going to call. It looks for two parameters, loginName and password,
 and in this test case loginName actually equals the string loginName
 thats the value. 
 
 I have traced the debugger and even gone through the cairngorm ASDoc
 stuff, and cannot figure out what I am doing wrong. It mentions the
 data attribute, and when I pass into the execute function on the
 command, event.data or event.data.loginName I dont get a compile time
 error. However nothing is being passed to the service. 
 
 When I look at the debugger trace I see that event does have a
 event.data attribute, but its undefined, and also that event has a
 event.loginName, and a event.password. Note this is correct, its not
 event.data.loginName, but rather event.loginName, and the value is
 there from those text boxes.
 
 So it is there, but it dont work. If I pass into the command,
 event.loginName I get a compile time error. However it shows in the
 debugger as being there. I dont get it. 
 
 I am a newbie to OOP and flex and java, so this could be a really
 stupid question. Any help would be greatly appreciated.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] calling HttpService from Javascript when browser is closed

2006-09-28 Thread sri4umca


Hi,
My requirement is when i close the browser, from javascript i want to 
call java application using HttpService in Flex.
I am using FABridge to call java application using HttpService from 
javaScript.

JavaScript code snippet
--

var flexApp = null; 
var initCallback = function()
{
flexApp = FABridge.flash.root();
}
FABridge.addInitializationCallback(flash,initCallback);


function saveChanges() { 
if (flexApp!= null) {
var dataChangedFlag = flexApp.dataChangedFlag();
if(dataChangedFlag) {
var closeWin = window.confirm(Do you want to save your changes?);
if (true) {
flexApp.httpService.request.reqParamMode=saveChanges;
flexApp.setUnSavedDataAsXML();
flexApp.httpService.send(); 
flexApp.closeWindow();
alert('done...');
} 
} 
} 

Code is failing to identify httpService object.

If any one know's any other mechanism to handle browser close also 
fine. Some how i want to call java application to save changes i made 
in flex application when browser is closed.

very very urgent..

Regards,
SriHari 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Printing Images

2006-09-28 Thread nathanpdaniel
I have an issue when printing images!  I am working on a shipping app 
which will generate a barcode label for printing.  If I load the 
label, then have the user print it, it works.  However, there are 
cases when there will be 100's of labels that need to be printed at 
once.  When I try to bypass the user interaction for each label 
using the FlexPrintJob class and addObject() method (repeatedly...) 
the text info on the labels prints properly, but with no barcodes or 
other images!  I've tried every workaround I can think of with no 
success... anyone else have any ideas?  Thanks in advance! -Nathan





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





RE: [flexcoders] Transferring Data through Cairngorm methodology

2006-09-28 Thread Evan Gifford












You might want to use the one written by
Alex Uhlmann as a starting (or restarting) point. You can find it here: 
http://www.alex-uhlmann.de/flash/adobe/blog/cairngormlogin/CairngormLogin.html



Then just Right-Click and View Source. You
can of course download the project from this View Source
perspective at the bottom left corner.



-Evan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
Sent: Thursday, September 28, 2006
7:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Transferring
Data through Cairngorm methodology











I am trying to implement a simple login application in
cairngorm. I am
having all kinds of problems. 

Heres the deal. 

Basically I have a button which calls a doLogin() function.

private function doLogin():void
{
var event : AuthenticateEvent = new
AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
event.loginName = loginName.text;
event.password = password.text;
CairngormEventDispatcher.getInstance().dispatchEvent( event );
}

this is called from my mxml display page. loginName and password are
text fields on my screen.

The controller is loaded from the main.mxml file, and is already
instantiated, but here is the add command reference for this login
function.

public function initialiseCommands() : void
{
addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
}

>From there the loginCommand.as is called and runs its execute method:

public function execute (event : CairngormEvent):void
{
if( !CruiseModelLocator.getInstance().authenticated )
{
var delegate : LoginDelegate = new LoginDelegate( this );
delegate.doLogin(event.data.loginName, event.data.password);
}
else
{
Alert.show( Logged In already! );
return;
}
}

The delegate is below:

public function LoginDelegate( responder : Responder )
{ 
this.service = ServiceLocator.getInstance().getService(
UserManager );
this.responder = responder;
}

public function doLogin(loginName:String, password:String) : void
{ 
var call : Object = service.login(loginName,password);
call.resultHandler = responder.onResult;
call.faultHandler = responder.onFault; 
}

I must be doing something wrong here. But basically I am getting lost
trying to pass the values of those two text boxes, and getting them
all the way through this methodology to the remote object service i am
going to call. It looks for two parameters, loginName and password,
and in this test case loginName actually equals the string loginName
thats the value. 

I have traced the debugger and even gone through the cairngorm ASDoc
stuff, and cannot figure out what I am doing wrong. It mentions the
data attribute, and when I pass into the execute function on the
command, event.data or event.data.loginName I dont get a compile time
error. However nothing is being passed to the service. 

When I look at the debugger trace I see that event does have a
event.data attribute, but its undefined, and also that event has a
event.loginName, and a event.password. Note this is correct, its not
event.data.loginName, but rather event.loginName, and the value is
there from those text boxes.

So it is there, but it dont work. If I pass into the command,
event.loginName I get a compile time error. However it shows in the
debugger as being there. I dont get it. 

I am a newbie to OOP and flex and java, so this could be a really
stupid question. Any help would be greatly appreciated.






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/458 - Release Date: 9/27/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/458 - Release Date: 9/27/2006
 


Re: [flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread Douglas Knudsen



On 9/28/06, lostinrecursion [EMAIL PROTECTED] wrote:
The code actually works as expected as long as I am calling from thewebroot (ex. myApp.cfc.SomeComponent)-However, I have posted itbelow for your review.mx:RemoteObject id=myService
 destination=ColdFusion result=event.token.resultHandler(event) fault=event.token.faultHandler(event) source={myMapping.myService'}
 showBusyCursor=true /Does it work if you hardcode the source attribute? FYI, there is a extraneous single quote in there.DK
As far as the two XML files are concerned, I do not have the fileflex-enterprise-services.xml on my local machine. The only file I haveis services-config.xmlKeep in mind that on my machine locally, I am running the developer
edition of CF7.Thanks you all for helping me to try and figure this out.--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional
* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
* 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/-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Mapping Fails, CFCs

2006-09-28 Thread lostinrecursion
Sorry, I may not have been clear enough. But the issue is not mapping
VOs here. It is CF throwing an error saying it cannot find the component.

(The single quote is an artifact. The original code does not have it)

Unfortunately, no it does not. I only put the {} around it from a
previous try.

This code is the most updated:

mx:RemoteObject id=lendersService
 destination=ColdFusion
 result=event.token.resultHandler(event)
 fault=event.token.faultHandler(event)
 source=deskH93236.LenderServices
 showBusyCursor=true /   

This is weird. I can't figure out why I cannot get it to find the CFC.

The exact error message is: Could not find the Coldfusion Component
deskH93236.LenderServices. Please check that the given name is correct
and the component exists.

I have done this, of course, by running a cfinvoke on the CF server
from a normal CFM page to make sure the mapping was right.

*Hm. Scratches head*





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread ben.clinkinbeard
I've never used FlexUnit but Paul has done extensive testing and
writing about this subject:
http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml

HTH,
Ben

--- In flexcoders@yahoogroups.com, Dima Ulich [EMAIL PROTECTED] wrote:

 Hi everybody,
 Does anyone have an example of using FlexUnit with async
requests made to the server? Is there a way of testing existing flex
application? How do you usually test yours?
 
 Thanks
 Dima







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread ben.clinkinbeard
I didn't read every line of your code but I think this is your
problem: You are creating and passing your custom AuthenticateEvent
object, which has the loginName and password properties, but then you
are trying to access data.loginName and data.password in your command. 

Try this:

var ae:AuthenticateEvent = event as AuthenticateEvent;
delegate.doLogin(ae.loginName, ae.password);

HTH,
Ben

--- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote:

 I am trying to implement a simple login application in cairngorm. I am
 having all kinds of problems. 
 
 Heres the deal. 
 
 Basically I have a button which calls a doLogin() function.
 
 private function doLogin():void
 {
   var event : AuthenticateEvent = new
 AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
   event.loginName = loginName.text;
   event.password = password.text;
   CairngormEventDispatcher.getInstance().dispatchEvent( event );
 }
 
 this is called from my mxml display page. loginName and password are
 text fields on my screen.
 
 The controller is loaded from the main.mxml file, and is already
 instantiated, but here is the add command reference for this login
 function.
 
  public function initialiseCommands() : void
{
   addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
}
 
 From there the loginCommand.as is called and runs its execute method:
 
 public function execute (event : CairngormEvent):void
 {
   if( !CruiseModelLocator.getInstance().authenticated  )
   {
   var delegate : LoginDelegate = new LoginDelegate( this );
   delegate.doLogin(event.data.loginName, event.data.password);
   }
   else
   {
   Alert.show( Logged In already! );
   return;
   }
 }
 
 The delegate is below:
 
 public function LoginDelegate( responder : Responder )
 { 
 this.service = ServiceLocator.getInstance().getService( UserManager );
 this.responder = responder;
 }
   
 public function doLogin(loginName:String, password:String) : void
 { 
 var call : Object = service.login(loginName,password);
 call.resultHandler = responder.onResult;
 call.faultHandler = responder.onFault;
 }
 
 I must be doing something wrong here. But basically I am getting lost
 trying to pass the values of those two text boxes, and getting them
 all the way through this methodology to the remote object service i am
 going to call. It looks for two parameters, loginName and password,
 and in this test case loginName actually equals the string loginName
 thats the value. 
 
 I have traced the debugger and even gone through the cairngorm ASDoc
 stuff, and cannot figure out what I am doing wrong. It mentions the
 data attribute, and when I pass into the execute function on the
 command, event.data or event.data.loginName I dont get a compile time
 error. However nothing is being passed to the service. 
 
 When I look at the debugger trace I see that event does have a
 event.data attribute, but its undefined, and also that event has a
 event.loginName, and a event.password. Note this is correct, its not
 event.data.loginName, but rather event.loginName, and the value is
 there from those text boxes.
 
 So it is there, but it dont work. If I pass into the command,
 event.loginName I get a compile time error. However it shows in the
 debugger as being there. I dont get it. 
 
 I am a newbie to OOP and flex and java, so this could be a really
 stupid question. Any help would be greatly appreciated.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR



What url does the ColdFusion destination use in your config file? This is going to be the url that is used to decide 
what domain to make calls against, not nessicarily the domain you are loading the swf from.

Im using http://{server.name}/flex2gateway/on one server.

On another i use:http://{server.name}:{server.port}{context.root}/flex2gateway/

When i check the cgi variables i get the correct host name with a wrong path variable though...


Greetz Erik




__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Conversion from Array to XML

2006-09-28 Thread richmcgillicuddy
I have an array that my user is editing in a data grid. I want to be
able to convert that back to an XML object. Is there a generic easy
way to do this. My array has objects that look like:

var myObject : ObjectProxy = new ObjectProxy();
myObject.f1 = 1;
myObject.f2 = 2;
myObject.f3 = 3;

I want to convert that (generically by determining at runtime, which
fields the object proxy has) to:

Object
  f11/f1
  f22/f2
  f33/f3
/Object
Object
...

Is there a simple way to convert an array to an XML object or get an
XML string representation of an array without hard coding this for
each grid I'd want to do this for?


Rich






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 14:09, Mark Hawley wrote:
 Flash is single-threaded. You're not going to ever get screen refreshes
 during a function's execution.

Sometimes the internal model isn't even updated during execution.

-- 
Tom Chiverton
Helping to globally foster B2B clusters



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Re: Architecting a large, modular Flex application (with Cairngorm)

2006-09-28 Thread Derrick Grigg
Hi Carlos,

Actually the application I am developing (the one that started this
thread) is built on Cairngorm.

In order to give the seperate modules access to Cairngorm and core
application classes (ie models, commands) I have put our core
application classes and the Cairngorm classes and in an RSL. This
allows any of the modules to access all the key pieces of the main
application. As each module gets loaded into the application shell,
they register events/commands with the main application controller. As
far as unloading goes I have not dealt with that (for now). In the
application, modules only get loaded as users need them, but not
unloaded. 

All in all it is a fairly straightforward process, BUT, you do need to
have a really good architecture plan before you start because it can
get a little confusing as to which pieces are where. Also,
understanding RSLs and how to use external libraries is hugely beneficial.

Derrick

--- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED]
wrote:

 Hi to all,
 
 I was following this thread with interest since there is very useful
info.
 
 One thing that you are not talking about at the moment is about Modular
 Cairngorm Apps. Cairngorm is a great framework for monolithic flex
apps, but
 if you try to modularize it you don't have the necesary artifacts to
 accomplish the task (or maybe I can't find those).
 
 if you make a module, you should have a way to add commands and add
services
 on the fly. And the same as you remove a module you should have a way to
 unregister commands and services. Maybe the shell application should
build
 the main MVC structure and let modules contribute its own commands,
services
 and so on as soon as are loaded. But it seems that nothing of this
are taked
 into account in the microarchitecture. Maybe that would be a topic of
 interest for many people and a subject fot Steven, Ali and others next
 article.
 
 Maybe someone has invest time in this subject?
 
 Best,
 
 C.
 
 
 
 On 9/28/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:
 
Paul,
  **
  *Certainly. The caching issue I'm referring to is when a new RSL
SWF is
  published and pushed to a server the end user may not immediately see
  the new SWF. Or, more accurately the users browser may load the old
  version of the SWF from the browser cache and not the more recent from
  the server.
  *
 I think browser cache should recognise new RSL. You can use any
HTTP
  tracer to verify that every application startup causes appropriate
HTTP
  request and get 304 and 200 codes. I am not aware of any problems
so far.
  
  *Certainly. The caching issue I'm referring to is when a new RSL
SWF is
  published and pushed to a server the end user may not immediately see
  the new SWF. Or, more accurately the users browser may load the old
  version of the SWF from the browser cache and not the more recent from
  the server.
  *
  I would like to confirm that there is a problem first. Also,
please refer
  to initialize method for Preloader object - by subclassing it you
can mangle
  URLs  any way you like.
 
  Sincerely,
  Anatole
 
 
  On 9/27/06, Paul Spitzer [EMAIL PROTECTED] wrote:
  
 Anatole Tartakovsky wrote:
Paul,
Could you please clarify your question - it seems that there are
number of issues that are mixed up here. First, there is no
issue of
RSL caching in the browser unless you specifically enable some
expiration scheme.
  
   Certainly. The caching issue I'm referring to is when a new RSL
SWF is
   published and pushed to a server the end user may not
immediately see
   the new SWF. Or, more accurately the users browser may load the old
   version of the SWF from the browser cache and not the more
recent from
   the server.
  
   Does that make sense?
  
   
I have seen people loading multiple applications side by side
- using
the same RSLs - that is essentially the question if you want to
isolate your runtime libraries in case of versioning in the
future -
that would essentially hurt performance
   
Finally, there is an issue of loading RSLs in the root appDomain -
essentially you do not have a chance to do reloading of the
classes
till the application startup. Also, there is obvious problem with
versioning.
   
Seems we are done with the client - now the question is how to
build
RSLs so it is the smallest, most recent, and up to date one.
   
That's were it breaks in the beginning. Essentially, if you
are using
dynamic instantiation of any class in the RSL, the main
application
would not know whic objects to initialize/which dependent
classes to
include. One solution we are using is to build self initializing
modules and use them instead of RSLs that would of been
extracted out
of SWCs by the build process.
  
   I was just discussing a similar option with a coworker here. The
idea is
  
   that instead of using RSLs we'd simply build libs of code
(packaged in a
  
   SWF) and 

[flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Rafael M. Martinelli










Hi everybody,



Does somebody consumed any ColdFusion cfc using Flex 2 in Linux Im
trying for some time and it didnt work for me.



Thats what I did:





1. Installed Red Hat AS 4;



2. Installed CFMX 7.02 Stand Alone

- CF working fine;

- Flex + CF error (cfserver.log
is attached);



3. Installed CF with integrated JRun

- CF working fine;

- Flex + CF error (cfserver.log
is attached  same error);



4. Deployed CF in Tomcat

- CF working fine;

- Flex + CF error (cfserver.log
is attached  same error);



5. Installed CF stand alone with
Apache Conector

- CF working fine;

- Flex + CF error (cfserver.log
is attached  same error);



6. Installed Flex Data Service with
integrated JRun

- FDS working fine
(samples applications);



7. Installed Fedora Core 5 (for test)
and CF

- CF working fine;

- Flex + CF error (cfserver.log
is attached  same error);



It seams to me that its a configuration problem, but
I couldnt find anything. I searched at Abode web site, documentation,
Internet etc and couldnt find anything. All the tests and applications
that I deployed were tested in Windows and everything works fine.



If you see the log, the ColdFusion channel is reached by
Flex but when CF tries to send back do Flex the error occurs.



One strange thing in log is the warning:

[Flex] HttpFlexSession has not been
registered as a listener in web.xml for this application so no events will be
dispatched to FlexSessionAttributeListeners or FlexSessionBindingListeners. To
correct this, register flex.messaging.HttpFlexSession as a listener in web.xml.



So I update web.xml file with the tags above, but the warning
still appears in cfserver.log file:

listener


listener-classflex.messaging.HttpFlexSession/listener-class

/listener



Its causing me a lot of trouble because my client
uses just Linux. Our application is read for deploy, but were facing
this problem.



I would really appreciate if somebody helps me. If someone
need any other information just ask me.



Thanks.





Rafael M. Martinelli 
Office. +5511 5506.5154
Mobile. +5511 8142.6902 
D-Click Web  Mobile Solutions 
[EMAIL PROTECTED]


www.dclick.com.br/blog

www.dclick.com.br






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





server.log
Description: Binary data


cfserver.log
Description: Binary data


eventgateway.log
Description: Binary data


Re: [flexcoders] Re: MXML Constructor

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 22:39, Gordon Smith wrote:
 the latter runs as early as possible. Using a preinitialize handler would
 be a better choice.

I'd bet the original poster would be surprised if his 'constructor' didn't 
have access to all the things the creationComplete handler does.

-- 
Tom Chiverton
Helping to collaboratively maximize best-of-breed systems



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: HTTP Status 500 Error using SSL endpoint

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 16:58, syndrake7 wrote:
 (mx.rpc:Fault)
 faultCode = Client.Error.MessageSend
 faultDetail = Channel.Connect.Failed error
 NetConnection.Call.Failed: HTTP: Failed
 faultString = Send failed
 details = https://me.com/flex2gateway/;
 level = error

Can you stick a network sniffer in there and see what is going past on the 
wire ?

 On the Adobe forum, someone posted that The endpoint URI for the
 secureAMFchannel definition should be:
 https://me.com/flex2gateway/messagebroker/amfsecure; but that

I don't think it should be that either.

It's worth pointing out I was never able to get this to work at all using 
CF7.0.2 on SuSE 10.

-- 
Tom Chiverton
Helping to carefully synergize integrated infrastructures



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Derrick Grigg
Hi Paul,

That is exactly my concern. I haven't been able to test the RSL
caching thoroughly but experience tells me it will happen. I was
hoping that I could somehow modify the url that the RSL uses but I
have not found a way to do that. I am starting to think that what may
be required is a seperate swf that duplicates the RSL contents, but
gets loaded from a command in the application, as opposed to some code
that the compiler generates. That would allow modification of the URL
to prevent against caching.

Derrick


--- In flexcoders@yahoogroups.com, Paul Spitzer [EMAIL PROTECTED] wrote:
 
 Certainly. The caching issue I'm referring to is when a new RSL SWF is 
 published and pushed to a server the end user may not immediately see 
 the new SWF. Or, more accurately the users browser may load the old 
 version of the SWF from the browser cache and not the more recent from 
 the server.
 
 Does that make sense?
 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Logging in Flex

2006-09-28 Thread Anas Mughal



John,  Thank you very much for your response.  We will give it a try and provide feedback.  Regards.  --  Anas MughalJohn Grden [EMAIL PROTECTED] wrote:  Hey Anas, I've put out a test version of Xray's flex2 logger which comes with a panel component if you don't have the xray interface to see your trace out put. Chris and I modeled it after log4j style of logging.here's an email I sent a while ago about it:
 I'm in the very early stages of getting Xray's connector ported over the AS3 and the first step has been to get the new Logger up and running. So far, it's working great and I've included an OutputPanel.mxml that users can include it in their app if they don't want to use the xray interface ( plus, i've not implemented log level switching with xray's interface yet ).http://mirror1.cvsdude.com/trac/osflash/ xray/browser/downloads/connector/flex/XrayLogger_as3_alpha.zip?format=raw screenshot:http://www.rockonflash.com/ xray/images/XrayLogger_Flex2_withInterface_0.pngsome featurues:1. log level support (debug, info, warn, error, fatal)2. time stamp 3. Calling method is reported4. objects are recursed5. outputs to Xray's interface if you have it runningOutputPanel features (not necessary for running logger):1. runtime log level control2. Resizeable (drag lower right corner)3. Window shade by double clicking header of OutputPanel's header area4. SearchUsage:copy com.blitzagency.xray.logger into
 your classes/src folderif you want to use the OutputPanel (optional): copy OutputPanel.mxml to your src folder or where ever your main app is. Add this line to your app:ns1:OutputPanel id="outputPanel"/Add this property to your mx:Application node:xmlns:ns1="*"Using it in your app:import com.blitzagency.xray.logger.XrayLog;  .public var log:XrayLog;.log = new XrayLog();log.debug(message:String [, dump:object]);log.info(message:String [, dump:object]);log.warn(message:String [, dump:object]);log.error(message:String [,
 dump:object]);log.fatal(message:String [, dump:object]);I've included the FlashDevelop project in the zip. I would love suggestions/comments on implementation and features. Right now, it doesn't color code the output based on the log level, but that is something I'm looking into. Anyway, if anyone wants to give it a whirl, I'd really appreciate the feedback,  On 9/28/06, Anas Mughal [EMAIL PROTECTED]com wrote:  I am wondering if there is some sort of logging mechanism that I could use to log messages/errors from a Flex application. I would like the log to be created on the server.   
 It would be great if there is something like Log4J in Flex.Thank you for your advice.  --  Anas Mughal  Stay in the know. Pulse on the new Yahoo.com. Check it out. -- [JPG]
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Tom Chiverton
On Wednesday 27 September 2006 23:26, Anatole Tartakovsky wrote:
 I would like to confirm that there is a problem first. Also, please refer
 to initialize method for Preloader object - by subclassing it you can
 mangle URLs  any way you like.

Or have your librays is directories numbered according to version, that way 
you just recompile a new shell app with an updated version number embedded in 
the URL of the RSLs.

-- 
Tom Chiverton
Helping to advantageously establish global experiences



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have a similar issue, I have the arraycollection of VO's returned
from the CFC.  I assign those to a datagrid, then on datagrid change
event, assign the selected item to a VO to pass between my tiers. I
always get error trying to access a null object.  I can't seem to
convert my arraycollection to the VO, even with casting I get zip.   
A nice read/update/delete with CFC/Cairngorm would be a big help.  

It sounds like your problem but in reverse order.

--- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote:

 I wish I had an answer for you, but frankly I am looking for the same
 thing. 
 
 Please someone help us both.
 
 
 --- In flexcoders@yahoogroups.com, Gareth Edwards ghedwards@ wrote:
 
  I must be missing parts, or doing something wrong.
  
  Can't seem to re-assign the saved detail record to the
ArrayCollection 
  some error about not being able to convert and object to a VO? Any 
  examples a simple view edit delete record program written with
 Cairngorm 
  2 would be most appreciated.
  
  Cheers
  Gareth.
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: To change font weight in renderer class

2006-09-28 Thread Daniel Freiman



in the MenuItemRenderer I think label is actually a UITextField, not a Label. If this is true, you would need to use the following code:var tf:TextFormat = new TextFormat();tf.bold = true;label.setTextFormat
(tf);or I think settings a UITextField's parent style will also work so you might just be able to change your current code to this.setStyle(fontWeight, bold);I think one of those should work.
- DanOn 9/28/06, nischalpathania [EMAIL PROTECTED] wrote:
Hi:I have fixed this issue by creating menu item renderer class andoverriding updateDisplayList function.codeoverride protected function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void{
super.updateDisplayList(unscaledWidth, unscaledHeight);label.x=4;label.width = unscaledWidth - 10;label.setActualSize(unscaledWidth, label.getExplicitOrMeasuredHeight());}/code
Now I want to change the format of some of the menu items, say theitem those have null data.. I tried following code but it is notworking.codeoverride protected function commitProperties():void{
super.commitProperties();if(this.data.data == null){label.setStyle(fontWeight, bold);}}/codeLet me know the correct way to handle this issue.
Thanks in advanceNischal--- In flexcoders@yahoogroups.com, nischalpathania[EMAIL PROTECTED] wrote: I haven't receive any reply on this...so I decided to create a link
 button and on mouse over I'm creating a menu object. But here the text start after a empty space on each menubarItem. How can I reduce this gap? I tried to use paddingLeft or paddingRight style but not working..
 Thanks Nischal --- In flexcoders@yahoogroups.com, nischalpathania nischalpathania@ wrote: 
  I'm facing some issues with MenuBar tag. Let me know the workaround to  fix following issues.   1. How can I reduce the gap between root level menu items? 
  2. How can I customize separator? Again the width of the separator is  too much and it is selectable just like others menuitem. I want to put  small vertical line of 2px width in place of this.
   3. I want sub menu to activate when mouse is over the root menu item  and goes off when mouse move out of the menus. Currectly I have to  click on the menuitem to get the popup and one more click to close.
Here is the code   ?xml version=1.0 encoding=utf-8?  mx:Application xmlns:mx=
http://www.adobe.com/2006/mxml  layout=absolute  mx:ApplicationControlBar width=730 height=31 x=48 y=30 mx:MenuBar id=myMenuBar labelField=@label 
  mx:XMLList  menuitem label=MENU ITEM-1 type=link  menuitem label=SubMenuItem A-1/  menuitem label=SubMenuItem A-2/
  /menuitem  menuitem label=MENU ITEM-2 type=check/  menuitem label=MENU ITEM-3 type=check/
  menuitem type=seprator /  menuitem label=MENU ITEM-4   menuitem label=SubMenuItem D-8/
  menuitem label=SubMenuItem D-9/  menuitem label=SubMenuItem D-10/  menuitem label=SubMenuItem D-11/
  menuitem label=SubMenuItem D-12 type=link /  /menuitem  menuitem label=MENU ITEM-5 
  menuitem label=SubMenuItem D-1/  menuitem label=SubMenuItem D-2/  menuitem label=SubMenuItem D-3/
  /menuitem  /mx:XMLList  /mx:MenuBar  mx:TextInput width=100% maxWidth=200 /  mx:LinkButton label=Search right=5 /
  /mx:ApplicationControlBar  /mx:Application --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/* Your email settings:Individual Email | Traditional
* To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)* To change settings via email:
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
* 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/

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Object references within XML

2006-09-28 Thread Daniel Freiman



I'm loading in an xml file. The xml file defines the layout of the movie (think mxml at runtime, but not really for reasons that aren't relevant here). The layout is fairly complex and from the coder's perspective it would be a great help to be able to traverse the original xml document instead of having to search through layout objects. So when an instance of a DisplayObjects is created, I would like to point the xml node that created the DisplayObject to the instance of the DisplayObject.
What I think I'm going to do is have an Dictionary in a static class and just register the xml with the object instance and do a lookup when I need to. I'd rather have the reference within the XML because it just seems nicer to me, but your ideas will work just fine.
Thanks,DanOn 9/27/06, Dustin Mercer [EMAIL PROTECTED] wrote:




















I agree, a hashtable or a Dictionary would
be better suited for this depending on your need… I don't know how
your performance on the XML would scale compared to those associative classes.
Are you trying to persist the XML back to the file system? As Erik said, maybe
understanding the need for XML can help us help you. If not, maybe try the
dictionary class: http://livedocs.macromedia.com/flex/2/langref/flash/utils/Dictionary.html




Dustin Mercer











From:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Wednesday, September 27,
2006 4:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Object
references within XML













Eww, as I recall, the IE browser DOM permitted stuff like that, but
I do not know if the e4x XML class will.



If it was me, I'd use an associative array (hashtable).



Tracy













From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com]
On Behalf Of EECOLOR
Sent: Wednesday, September 27,
2006 5:31 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Object
references within XML













Hello,











may i ask why you
want to keep references to objects in an xml? I cant think of any use. It may
help awnsering your question maybe.

















Greetz Erik


























__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: why isn't the model's data being updated.

2006-09-28 Thread boy_trike
Thanks for the answer, and of course, it works.  Just to make sure I understand:

when I have 

[Bindable]
model.currentProspect


this just means that any changes to properties in the model.currentProspect 
will be displayed 
in any attached UI controls, BUT Changes to the UI control do NOT update the 
bound variable 
unless I use the MX:Binding command.  Do I understand it correctly?

Bruce






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 15:34, EECOLOR wrote:
 Im using http://{server.name}/flex2gateway/ on one server.

If you hard code app1 or app2 here for {server.name}, does it work as 
expected ?

-- 
Tom Chiverton
Helping to adaptively reinvent dynamic data



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Carlos Rovira



Hi Mike,Maybe If I could set -debug=false for each RSL would avoid that problem?but, if so...how could I set that param for a RSL? I think I can only put that additional param for the main project. 
On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote:













  



The problem is with the way the player and the debugger initiate 
their communication.  Here's how it works when things are going well:

1. When you click Debug in Flex Builder, it starts listening on a 
TCP/IP socket, and it launches your browser.

2. When the Flash Player notices that the SWF was built with -debug, 
it tries to connect to the TCP/IP socket.

3. They are now connected, and debugging begins.

But what happens if, in step 2, the Flash Player's attempt to connect 
to the TCP/IP socket fails?  That is, what if no debugger is waiting 
for incoming connections?  The answer is, the Flash Player puts up 
that message asking where the debugger is.  That dialog was added 
long ago to support remote debugging in Flash Professional.

In this case, unfortunately, the Flash Player isn't doing the right 
thing.  When the RSL gets loaded, the player sees that it was 
compiled with -debug, so it tries to connect on the TCP/IP socket -- 
but since Flex Builder had no involvement in the loading of that RSL, 
Flex Builder didn't know to start listening on the socket.  So the 
Flash Player can't find a debugger, so it puts up the dialog.

For a future release, I hope to improve this so that you get a 
smoother workflow in scenarios such as the one you are describing.

- Mike Morearty
  Flex Builder team
  http://www.morearty.com/blog

--- In flexcoders@yahoogroups.com, Carlos Rovira 
[EMAIL PROTECTED] wrote:

 Anatole, that's exactly my config :)
 
 But...don't you think that's strange? If I use debug button in FB2 
I get it
 work in FF, but If I run application (not debug mode) I get that 
dialog. I
 don't understand why this happen when using RSLs and not when using 
an app
 without RSLs.
 
 Maybe I should compile RSLs with -debug=false but I think that's 
imposible
 in FB2 dialogs
 
 Maybe I'm wrong?
 
 Thanks for your response Anatole.
 
 C.
 
 
 On 9/27/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:
 
looks like you are using debugging plugin in firefox and 
production
  release of player in IE
 
  Regards,
  Anatole
 
 
 
  On 9/27/06, Carlos Rovira [EMAIL PROTECTED] wrote:
  
 Hi,
  
   I spend a few ours trying to find the cause of a weird 
behaviour. I was
   trying to use RSLs in a project and when I test it in my 
default browser
   (Firefox lastest version), a debug dialog comes. I found that 
launching the
   app in IE does not have this problem, so I asume that is a 
Firefox
   problem...someone knows how to avoid it?
  
   Thanks in advance.
  
   --
   ::| Carlos Rovira
   ::| http://www.carlosrovira.com
   ::| http://www.madeinflex.com
  
 
   
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com



  













-- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.com

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-28 Thread EECOLOR



I finished installing windows 2003 server with coldfusion 7.02. 

The same problem happens here...


Greetz Erik

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] TextInput component issue

2006-09-28 Thread joshuajnoble
I've got a component that extends TextInput that I need to do some
extra stuff for validation with, so I've done the following:

override public function
validationResultHandler(event:ValidationResultEvent):void
{
super.validationResultHandler(event);
if(event.results[0][isError])
{
invalidHandler();
}
else
{
validHandler();
}
}

which works fine as long as every component has a validator assigned
to it. When I just had seperate functions tied to the event (i.e.
addEventListener('valid', validHandler);) I wasn't getting the little
red errorTip showing up, so I went with this which seems to work ok.
However, as soon as I have a component that doesn't have a
validator assigned I get the following:


Cannot access a property or method of a null object reference.
at controls::SmartTextInput/validationResultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.validators::Validator/::processValidation()
at mx.validators::Validator/validate()

I could have two versions of my component, one validating and one not,
but that seems silly. Anyone know what's going on? I looked through
the UIComponent.as and ValidationResultEvent.as without seeing
anything that made much sense.






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Re: why isn't the model's data being updated.

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 16:24, boy_trike wrote:
 when I have
 [Bindable]
 model.currentProspect

Why not write 
[Bindable]
model
?

-- 
Tom Chiverton
Helping to professionally mesh essential e-services



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 16:03, Michael Ritchie wrote:
 always get error trying to access a null object.  I can't seem to
 convert my arraycollection to the VO, even with casting I get zip.

Is the AS version of your class marked with the correct hint ?
If you set CF Flex log level to Debug (bottom of services.xml) what does it 
say is being returned ?
If you Alert() the VO field, is it null ?

-- 
Tom Chiverton
Helping to evangelistically entrench sexy customers



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Tom Chiverton
On Thursday 28 September 2006 15:07, Rafael M. Martinelli wrote:
 Does somebody consumed any ColdFusion cfc using Flex 2 in Linux I'm
 trying for some time and it didn't work for me.

Try setting the log level to Debug in services.xml and see if that helps.

-- 
Tom Chiverton
Helping to heterogeneously incubate compelling initiatives



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Bug?: Array not populating List.

2006-09-28 Thread jnewport
Thank you. Thank you. Thank you.  

Does it show that I am just a beginner here?  All that code gone with
just your one line.  You rock!  If you worked for me you just got a
$1000.00 raise.

Thank you, Jason

--- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote:

 The syntax you are using is a bit odd:
 
NumberOfDistricts = new Number(xmldpAddress.month
 [0].child(*).length());
 
tempDistricts = new Array(NumberOfDistricts);
for (var i:Number = 0; i  NumberOfDistricts;
i++){
tempDistricts[i] = (xmldpAddress.month
 [EMAIL PROTECTED]);
}
 
districts = tempDistricts;
 
 
trace(districts);
 
 I would write it (in your code style) as:
 
NumberOfDistricts = xmldpAddress.month[0].region.length();
 
tempDistricts = new Array();
var i:int = 0;
for (i = 0; i  NumberOfDistricts; i++)
{
tempDistricts[i] =
[EMAIL PROTECTED]();
}
 
districts = tempDistricts;
 
 
 However its probably easier to do something like this (didnt test):
 
districts = new XMLListCollection(xmldpAddress.month[0].region);
 
 with
 
   mx:List id=districtList dataProvider={districts}
labelField=@name
 /
 
 districts should be desclared as a XMLListCollection.
 
 Greetz Erik








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: issue with progress bar loader becoming stuck

2006-09-28 Thread wayneposner
Is there a method or some call to use that forces the UI to 
refresh.  I actaully tried staging the call to my recursive function 
so that it wouldn't get called until three events later--
creationComplete dispatched to a render event which then dispatched 
to my event which called the recursion.  Still no progress bar.

Thanks,
Wayne

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] 
wrote:

 On Thursday 28 September 2006 14:09, Mark Hawley wrote:
  Flash is single-threaded. You're not going to ever get screen 
refreshes
  during a function's execution.
 
 Sometimes the internal model isn't even updated during execution.
 
 -- 
 Tom Chiverton
 Helping to globally foster B2B clusters
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in 
England and Wales under registered number OC307980 whose registered 
office address is at St James's Court Brown Street Manchester M2 
2JF.  A list of members is available for inspection at the 
registered office. Any reference to a partner in relation to 
Halliwells LLP means a member of Halliwells LLP. Regulated by the 
Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named 
above and may be confidential or legally privileged.  If you are not 
the addressee you must not read it and must not use any information 
contained in nor copy it nor inform any person other than Halliwells 
LLP or the addressee of its existence or contents.  If you have 
received this email in error please delete it and notify Halliwells 
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] custom outlined pie labels

2006-09-28 Thread Pan Troglodytes



I'm making an outline around my pie labels using the following code for the pie chart:public function creationComplete():void{ UIComponent(labelElements[0]).filters =
 [new DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new DropShadowFilter(1, 180, 0xFF, 1, 0, 0), new DropShadowFilter(1, 270, 0xFF, 1, 0, 0)];
}Is there anything about this that's not kosher? I suppose I could put a check in for labelElements.length != 0, but this isn't really for general purpose use. Are there any situations in a pie chart where this could blow up?
-- Jason

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread Ely Greenfield








Hi Omkar. Enough people have run into this problem 
that I'm going to post the workaround to the list. I want to give fair 
warning, however, that this is _not_ a supported workaround. Specifically, 
it requires you to copy and paste code from the charting package...which means 
that when we release a new version of charts, with bug fixes, etc., you will 
have to either delete your fix, or possibly re-apply it. 


So here's how to fix the problem:


1. copy the code for mx.charts.chartClasses.StackedSeries 
. Put it into a file mx/charts/chartClasses/StackedSeries.as in your 
project.
2. find the function protected function 
udpateStacking():void
3. find the line: stackingDirty = 
false;
4. move line down to the end of the 
function.


That should fix 
your problem. If it doesn't, you're running into something else, and we'll have 
to dig a little further.

Ely.


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of omkarjoeSent: 
Thursday, September 28, 2006 1:42 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Facing issues 
applying SeriesInterpolate effect to stacked ColumnChart


Hi All,I am trying to apply SeriesInterpolate effect to stacked 
ColumnChart. When my dataprovider changes it popups a null object reference 
error. If I use any other chart type as overlaied or clustered then 
everything works fine but if I change type to stacked then this error 
pops up. Do anyone has any idea why this is happening and what's the 
workaround for that. I need it really urgently...Thanks in 
advance
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Ely Greenfield








Can't think of any reason why that would be problematic. 
The PieSeries currently always creates a label layer, and never recreates it, so 
at least for now that should be Copacetic.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Thursday, September 28, 2006 9:29 AMTo: 
flexcodersSubject: [flexcoders] custom outlined pie 
labels


I'm making an outline around my pie labels using the following code for the 
pie chart:public 
function creationComplete():void{ 
UIComponent(labelElements[0]).filters =  [new 
DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 180, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 270, 0xFF, 1, 0, 0)]; }Is there 
anything about this that's not kosher? I suppose I could put a check in 
for labelElements.length != 0, but this isn't really for general purpose 
use. Are there any situations in a pie chart where this could blow up? 
-- Jason 
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: Expression for an array object name?

2006-09-28 Thread jnewport
How can I print out what obj contains?  I have tried
trace(obj.toString()), but I get [object object].


Thanks for your help you don't know how much I appreciate it.

J



--- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote:

 Hello,
 
 maybe something like this:
 
 monthlysVO = new Array()
 
 var children:XMLList = xmldpAddress.month;
 var child:XML;
 var obj:Object;
 var j:int;
 var length_int:int = chilren.length();
 
 for  (j = 0; j  length; j++)
 {
 child = children[j];
 
 obj = new Object();
 [EMAIL PROTECTED] = [EMAIL PROTECTED];
 monthlysVO.push(obj);
 }
 
 
 Greetz Erik








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Paul Spitzer
Thanks Mike. Is there a way to launch the debugger manually, from Flex 
Builder. For instance to wait for incoming requests from the player. I 
realize the command line debugger would likely work but the GUI would be 
much easier.


Mike Morearty wrote:
 The problem is with the way the player and the debugger initiate 
 their communication.  Here's how it works when things are going well:

 1. When you click Debug in Flex Builder, it starts listening on a 
 TCP/IP socket, and it launches your browser.

 2. When the Flash Player notices that the SWF was built with -debug, 
 it tries to connect to the TCP/IP socket.

 3. They are now connected, and debugging begins.

 But what happens if, in step 2, the Flash Player's attempt to connect 
 to the TCP/IP socket fails?  That is, what if no debugger is waiting 
 for incoming connections?  The answer is, the Flash Player puts up 
 that message asking where the debugger is.  That dialog was added 
 long ago to support remote debugging in Flash Professional.

 In this case, unfortunately, the Flash Player isn't doing the right 
 thing.  When the RSL gets loaded, the player sees that it was 
 compiled with -debug, so it tries to connect on the TCP/IP socket -- 
 but since Flex Builder had no involvement in the loading of that RSL, 
 Flex Builder didn't know to start listening on the socket.  So the 
 Flash Player can't find a debugger, so it puts up the dialog.

 For a future release, I hope to improve this so that you get a 
 smoother workflow in scenarios such as the one you are describing.

 - Mike Morearty
   Flex Builder team
   http://www.morearty.com/blog


 --- In flexcoders@yahoogroups.com, Carlos Rovira 
 [EMAIL PROTECTED] wrote:
   
 Anatole, that's exactly my config :)

 But...don't you think that's strange? If I use debug button in FB2 
 
 I get it
   
 work in FF, but If I run application (not debug mode) I get that 
 
 dialog. I
   
 don't understand why this happen when using RSLs and not when using 
 
 an app
   
 without RSLs.

 Maybe I should compile RSLs with -debug=false but I think that's 
 
 imposible
   
 in FB2 dialogs

 Maybe I'm wrong?

 Thanks for your response Anatole.

 C.


 On 9/27/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:
 
   looks like you are using debugging plugin in firefox and 
   
 production
   
 release of player in IE

 Regards,
 Anatole



 On 9/27/06, Carlos Rovira [EMAIL PROTECTED] wrote:
   
   Hi,

 I spend a few ours trying to find the cause of a weird 
 
 behaviour. I was
   
 trying to use RSLs in a project and when I test it in my 
 
 default browser
   
 (Firefox lastest version), a debug dialog comes. I found that 
 
 launching the
   
 app in IE does not have this problem, so I asume that is a 
 
 Firefox
   
 problem...someone knows how to avoid it?

 Thanks in advance.

 --
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com

 
  

   

 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com

 



   



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
I have tried marking the VO class a couple different ways.  The first
was following the PhoneExample application by Benoit Hediard
(http://www.benorama.com):

// path to my CFC ContactVO.cfc
[RemoteClass(alias=CairngormContacts.components.model.ContactVO)]

[Bindable]
public class ContactVO
{
public var USERID:Number = 0;
public var FIRST_NAME:String = ;
public var LAST_NAME:String = ;
public var EMAIL:String = ;

public function ContactVO()
{
}
}


When I assign the DataGrid selected item (created from my
ArrayCollection of ContactVO[], I do something like this in the view:

public var selectedItem:ContactVO;

public function updateSelectedContact( event : Object ) : void 
{   
   selectedItem = event.target.selectedItem;
   Alert.show(selectedItem.FIRST_NAME) // throws error null value
   CairngormEventDispatcher.getInstance().dispatchEvent( new
CairngormEvent( SELECT_EVENT ) );
}   

The Alert does throw a null value.  I have tried also:

selectedItem = event.target.selectedItem as ContactVO;

But same error. I am putting a small example together to demonstrate
the issue, I will post it when I have it online. 

Thanks! 

- mr

--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:

 On Thursday 28 September 2006 16:03, Michael Ritchie wrote:
  always get error trying to access a null object.  I can't seem to
  convert my arraycollection to the VO, even with casting I get zip.
 
 Is the AS version of your class marked with the correct hint ?
 If you set CF Flex log level to Debug (bottom of services.xml) what
does it 
 say is being returned ?
 If you Alert() the VO field, is it null ?
 
 -- 
 Tom Chiverton
 Helping to evangelistically entrench sexy customers
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: datgrid fills but content is invisible

2006-09-28 Thread bghoward3
thanks for the feedback tracey i think i am on the right track but 
could use a bit more guidance


my new webservice looks like this

mx:WebService id=wsUserTeams 
wsdl=http://sitename/cfc_UserTeams.cfc?wsdl; useProxy=false
mx:operation name=getAllTeams resultFormat=e4x
mx:request
strDSNProjMan/strDSN
/mx:request
/mx:operation
   
 
/mx:WebService 


and actually returns a structured sting which i can dump into a text 
field for viewing using:

mx:Text htmlText=XML Content: 
${wsUserTeams.getAllTeams.lastResult}/

this brings the text into the component formatted in what appear to 
be xml nodes but i still cant figure out how to access the info in 
those nodes


can you provide instruction on debugging this so that i can puruse 
the object and locate the properties and how they should be called


thanks


--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:

 Probably the structure of the result object is not exactly what you
 expect.
 
  
 
 I don't know what a queryset is.  It is certainly not a Flex data
 structure.
 
  
 
 By default, the operation's resultFormat=object.  Flex converts 
the
 actual result into an mx:Object. You need to debug this object to 
find
 out exactly what the structure is.
 
  
 
 I personally prefer resultFormat=e4x, as that results in an XML
 object, which, among other benefits, can be displayed using
 toXMLString()
 
  
 
 For the DataColumn to be able to find the data for dataField, that 
data
 must be in a first-level property of the item object.  If it is 
nested
 in some other object or node, then you will need to use a 
labelFunction
 to display it.
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of bghoward3
 Sent: Wednesday, September 27, 2006 10:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: datgrid fills but content is invisible
 
  
 
 here is code i am using
 it is returning a queryset not an xml string
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml  
 layout=absolute creationComplete=wsUserTeams.getAllTeams.send
()
 
 mx:Script
 ![CDATA[
 [Bindable]
 public var selectedItem:Object; 
 ]]
 /mx:Script
 
 mx:WebService id=wsUserTeams 
 wsdl=http://sitename/model/cfc_UserTeams.cfc?wsdl
 http://sitename/model/cfc_UserTeams.cfc?wsdl  useProxy=false
 mx:operation name=getAllTeams
 mx:request
 strDSNProjMan/strDSN
 /mx:request
 /mx:operation
 /mx:WebService
 mx:DataGrid x=30 y=75 id=dgTeam width=400 
 dataProvider={wsUserTeams.getAllTeams.lastResult} name=dgTeam
 mx:columns
 mx:DataGridColumn dataField=intProjTeamID 
 headerText=TeamID width=75/
 mx:DataGridColumn 
 dataField=strProjTeamName headerText=Team/
 /mx:columns
 /mx:DataGrid
 mx:ComboBox x=498 y=89 width=310 name=dgTeam2 
 labelField=strProjTeamName 
 dataProvider={wsUserTeams.getAllTeams.lastResult} id=dgTeam2 
 close=selectedItem=ComboBox(event.target).selectedItem/
 mx:VBox width=250
 mx:Label text=You selected: {selectedItem.label}/
 mx:Label text=Data: {selectedItem.data}/
 /mx:VBox 
 
 /mx:Application
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
 , passive_thoughts 
 passive_thoughts@ wrote:
 
  can you post the code for your datagrid and the webservice?
  
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , bghoward3 billhoward@ 
wrote:
  
   i am populating a datagrid via a web service, i am succesfully 
 making 
   the connection and pulling in data however when the datagrid 
 populates 
   no text appears in the grid. i know it is filling it with data 
 because 
   the correct number of lines are added to the grid when the 
 connection 
   is made, it just does not seem to display the content
   
   any thoughts?
   
   thank you
  
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





Re: [flexcoders] Re: Expression for an array object name?

2006-09-28 Thread Dave Carabetta
On 9/28/06, jnewport [EMAIL PROTECTED] wrote:
 How can I print out what obj contains?  I have tried
 trace(obj.toString()), but I get [object object].



I believe you can just do trace( ObjectUtil.toString(obj) ); to get that dump.

Regards,
Dave.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
There is a hack way to launch the debugger manually: create a launch 
configuration where the debug URL points to some random page that 
doesn't have a SWF on it, like http://www.google.com.  A browser will 
come up, but you can just close it.


--- In flexcoders@yahoogroups.com, Paul Spitzer [EMAIL PROTECTED] wrote:

 Thanks Mike. Is there a way to launch the debugger manually, from 
Flex 
 Builder. For instance to wait for incoming requests from the 
player. I 
 realize the command line debugger would likely work but the GUI 
would be 
 much easier.
 
 
 Mike Morearty wrote:
  The problem is with the way the player and the debugger initiate 
  their communication.  Here's how it works when things are going 
well:
 
  1. When you click Debug in Flex Builder, it starts listening on a 
  TCP/IP socket, and it launches your browser.
 
  2. When the Flash Player notices that the SWF was built with -
debug, 
  it tries to connect to the TCP/IP socket.
 
  3. They are now connected, and debugging begins.
 
  But what happens if, in step 2, the Flash Player's attempt to 
connect 
  to the TCP/IP socket fails?  That is, what if no debugger is 
waiting 
  for incoming connections?  The answer is, the Flash Player puts 
up 
  that message asking where the debugger is.  That dialog was added 
  long ago to support remote debugging in Flash Professional.
 
  In this case, unfortunately, the Flash Player isn't doing the 
right 
  thing.  When the RSL gets loaded, the player sees that it was 
  compiled with -debug, so it tries to connect on the TCP/IP 
socket -- 
  but since Flex Builder had no involvement in the loading of that 
RSL, 
  Flex Builder didn't know to start listening on the socket.  So 
the 
  Flash Player can't find a debugger, so it puts up the dialog.
 
  For a future release, I hope to improve this so that you get a 
  smoother workflow in scenarios such as the one you are describing.
 
  - Mike Morearty
Flex Builder team
http://www.morearty.com/blog
 
 
  --- In flexcoders@yahoogroups.com, Carlos Rovira 
  carlos.rovira@ wrote:

  Anatole, that's exactly my config :)
 
  But...don't you think that's strange? If I use debug button in 
FB2 
  
  I get it

  work in FF, but If I run application (not debug mode) I get that 
  
  dialog. I

  don't understand why this happen when using RSLs and not when 
using 
  
  an app

  without RSLs.
 
  Maybe I should compile RSLs with -debug=false but I think that's 
  
  imposible

  in FB2 dialogs
 
  Maybe I'm wrong?
 
  Thanks for your response Anatole.
 
  C.
 
 
  On 9/27/06, Anatole Tartakovsky anatole.tartakovsky@ wrote:
  
looks like you are using debugging plugin in firefox and 

  production

  release of player in IE
 
  Regards,
  Anatole
 
 
 
  On 9/27/06, Carlos Rovira carlos.rovira@ wrote:

Hi,
 
  I spend a few ours trying to find the cause of a weird 
  
  behaviour. I was

  trying to use RSLs in a project and when I test it in my 
  
  default browser

  (Firefox lastest version), a debug dialog comes. I found that 
  
  launching the

  app in IE does not have this problem, so I asume that is a 
  
  Firefox

  problem...someone knows how to avoid it?
 
  Thanks in advance.
 
  --
  ::| Carlos Rovira
  ::| http://www.carlosrovira.com
  ::| http://www.madeinflex.com
 
  
   
 

 
  -- 
  ::| Carlos Rovira
  ::| http://www.carlosrovira.com
  ::| http://www.madeinflex.com
 
  
 
 
 
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
Try putting -debug=false into the Additional Compiler Options field 
of the Flex Library Project that was used to build the SWC.  Not sure 
if that works, but it might.

If it doesn't, I know this is a lot of work but you could do a 
command-line build with compc.exe (the swc building tool).


--- In flexcoders@yahoogroups.com, Carlos Rovira 
[EMAIL PROTECTED] wrote:

 Hi Mike,
 
 Maybe If I could set -debug=false for each RSL would avoid that 
problem?
 but, if so...how could I set that param for a RSL? I think I can 
only put
 that additional
 param for the main project.
 
 On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote:
 
The problem is with the way the player and the debugger initiate
  their communication. Here's how it works when things are going 
well:
 
  1. When you click Debug in Flex Builder, it starts listening on a
  TCP/IP socket, and it launches your browser.
 
  2. When the Flash Player notices that the SWF was built with -
debug,
  it tries to connect to the TCP/IP socket.
 
  3. They are now connected, and debugging begins.
 
  But what happens if, in step 2, the Flash Player's attempt to 
connect
  to the TCP/IP socket fails? That is, what if no debugger is 
waiting
  for incoming connections? The answer is, the Flash Player puts up
  that message asking where the debugger is. That dialog was added
  long ago to support remote debugging in Flash Professional.
 
  In this case, unfortunately, the Flash Player isn't doing the 
right
  thing. When the RSL gets loaded, the player sees that it was
  compiled with -debug, so it tries to connect on the TCP/IP 
socket --
  but since Flex Builder had no involvement in the loading of that 
RSL,
  Flex Builder didn't know to start listening on the socket. So the
  Flash Player can't find a debugger, so it puts up the dialog.
 
  For a future release, I hope to improve this so that you get a
  smoother workflow in scenarios such as the one you are describing.
 
  - Mike Morearty
  Flex Builder team
  http://www.morearty.com/blog
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Carlos
  Rovira
  carlos.rovira@ wrote:
  
   Anatole, that's exactly my config :)
  
   But...don't you think that's strange? If I use debug button in 
FB2
  I get it
   work in FF, but If I run application (not debug mode) I get that
  dialog. I
   don't understand why this happen when using RSLs and not when 
using
  an app
   without RSLs.
  
   Maybe I should compile RSLs with -debug=false but I think that's
  imposible
   in FB2 dialogs
  
   Maybe I'm wrong?
  
   Thanks for your response Anatole.
  
   C.
  
  
   On 9/27/06, Anatole Tartakovsky anatole.tartakovsky@ wrote:
   
looks like you are using debugging plugin in firefox and
  production
release of player in IE
   
Regards,
Anatole
   
   
   
On 9/27/06, Carlos Rovira carlos.rovira@ wrote:

 Hi,

 I spend a few ours trying to find the cause of a weird
  behaviour. I was
 trying to use RSLs in a project and when I test it in my
  default browser
 (Firefox lastest version), a debug dialog comes. I found 
that
  launching the
 app in IE does not have this problem, so I asume that is a
  Firefox
 problem...someone knows how to avoid it?

 Thanks in advance.

 --
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com

   
   
   
  
  
  
   --
   ::| Carlos Rovira
   ::| http://www.carlosrovira.com
   ::| http://www.madeinflex.com
  
 
   
 
 
 
 
 -- 
 ::| Carlos Rovira
 ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Re: FlexUnit usage examples

2006-09-28 Thread Ali Mills
 I've never used FlexUnit but Paul has done extensive testing and
 writing about this subject:
 http://www.eyefodder.com/blog/2006/07/flexunit_asunit_deathmatch_res.shtml

 HTH,
 Ben

Luke (http://www.lukebayes.com) just finished addressing Paul's issues
with AsUnit, and should be blogging about the update soon on
http://www.asserttrue.com.  Also, Luke and I are considering
presenting on AsUnit at MAXUP (http://barcamp.org/MAXUP).  If
interested, please check it out.


Ali
http://www.asunit.org


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] click event in itemRenderer

2006-09-28 Thread Jack OMelia
Hi All,

I have a datagrid with a click event calling some functions. I decided
I didn't want the click event to happen on the whole row, just on a
particular column. I have an itemRenderer for the column with a Text
component formatted to look like a link, so I decided to remove the
click event on the datagrid and add it to the text componenet in the
itemRenderer. When I do, the page won't compile and I get an error
saying I'm making a call to an undefined function. I tried something
simpler and set the click event to change the current state. The page
compiled but on click got an error, call to undefined state.

Here's my itemRenderer:

mx:Component id=dataCellLinkTest
 mx:Text 
   color=0xff 
   textDecoration=underline  
   textAlign=left 
   buttonMode=true 
   useHandCursor=true 
   mouseChildren=false
   click=totalEmployeeData()
  /
/mx:Component

Is there something stupid I'm missing here? Why would an event in an
itemRenderer not be able to see the functions or states in my application?






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Time Validating

2006-09-28 Thread boy_trike
Flex has a NUMBERformatter and a DATEFormatter.  I have the need for a time 
formatter and 
would not like to re-invent what someone else must have already done.  Ideally 
I want to 
have a textinput field which restricts input to 0-9: APM.  I would like to 
accept the following 
and convert all to 3PM

3P
3
3:00
03:00
15:00
3:00PM

Of course, if the time is invalid (i.e. 2:65PM, 25:2, etc.) I would like to 
display an error

Does something like this exist or must I roll my own?

thanks:

Bruce






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





RE: [flexcoders] Re: Transferring Data through Cairngorm methodology

2006-09-28 Thread Paul Williams
I think you will need to perform a cast to access the properties of your
AuthenticateEvent instance (this is why you got a compiler error). The
cast is achieved as follows:

var authenticateEvent : AuthenticateEvent = AuthenticateEvent( event );

So your command's execute function will look like this:

public function execute (event : CairngormEvent):void
{
  
  if( !CruiseModelLocator.getInstance().authenticated  )
  {
var delegate : LoginDelegate = new LoginDelegate( this );

// Do a cast
var authenticateEvent : AuthenticateEvent = AuthenticateEvent( event
);

// Now extract your login details
var loginName = authenticateEvent.loginName;
var password = authenticateEvent.password;

// Pass details to your delegate
delegate.doLogin(loginName, password);
  }
  else  
  {
Alert.show( Logged In already! );
return;
  }
}

I hope this solves your problem, but feel free to post again if you are
unfamiliar with casting and need more explanation.

Paul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of laidezmon
Sent: Thursday, September 28, 2006 2:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Transferring Data through Cairngorm
methodology

O and one other thing, when I created the authenticate event class, I
created two params

public var loginName : String;
public var password : String;

I dont know if thats important or not.

--- In flexcoders@yahoogroups.com, laidezmon [EMAIL PROTECTED] wrote:

 I am trying to implement a simple login application in cairngorm. I am
 having all kinds of problems. 
 
 Heres the deal. 
 
 Basically I have a button which calls a doLogin() function.
 
 private function doLogin():void
 {
   var event : AuthenticateEvent = new
 AuthenticateEvent(AuthenticateEvent.EVENT_LOGIN);
   event.loginName = loginName.text;
   event.password = password.text;
   CairngormEventDispatcher.getInstance().dispatchEvent( event );
 }
 
 this is called from my mxml display page. loginName and password are
 text fields on my screen.
 
 The controller is loaded from the main.mxml file, and is already
 instantiated, but here is the add command reference for this login
 function.
 
  public function initialiseCommands() : void
{
   addCommand( AuthenticateEvent.EVENT_LOGIN, LoginCommand );
}
 
 From there the loginCommand.as is called and runs its execute method:
 
 public function execute (event : CairngormEvent):void
 {
   if( !CruiseModelLocator.getInstance().authenticated  )
   {
   var delegate : LoginDelegate = new LoginDelegate( this );
   delegate.doLogin(event.data.loginName, event.data.password);
   }
   else
   {
   Alert.show( Logged In already! );
   return;
   }
 }
 
 The delegate is below:
 
 public function LoginDelegate( responder : Responder )
 { 
 this.service = ServiceLocator.getInstance().getService( UserManager
);
 this.responder = responder;
 }
   
 public function doLogin(loginName:String, password:String) : void
 { 
 var call : Object = service.login(loginName,password);
 call.resultHandler = responder.onResult;
 call.faultHandler = responder.onFault;
 }
 
 I must be doing something wrong here. But basically I am getting lost
 trying to pass the values of those two text boxes, and getting them
 all the way through this methodology to the remote object service i am
 going to call. It looks for two parameters, loginName and password,
 and in this test case loginName actually equals the string loginName
 thats the value. 
 
 I have traced the debugger and even gone through the cairngorm ASDoc
 stuff, and cannot figure out what I am doing wrong. It mentions the
 data attribute, and when I pass into the execute function on the
 command, event.data or event.data.loginName I dont get a compile time
 error. However nothing is being passed to the service. 
 
 When I look at the debugger trace I see that event does have a
 event.data attribute, but its undefined, and also that event has a
 event.loginName, and a event.password. Note this is correct, its not
 event.data.loginName, but rather event.loginName, and the value is
 there from those text boxes.
 
 So it is there, but it dont work. If I pass into the command,
 event.loginName I get a compile time error. However it shows in the
 debugger as being there. I dont get it. 
 
 I am a newbie to OOP and flex and java, so this could be a really
 stupid question. Any help would be greatly appreciated.







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* 

Re: [flexcoders] custom outlined pie labels

2006-09-28 Thread Pan Troglodytes



Thanks Ely. Would be nice in a future release to more easily fiddle with the series labels.On a related note, how would you go about changing the font size for the pie labels? I've tried a lot of different things, none of which worked.
On 9/28/06, Ely Greenfield [EMAIL PROTECTED] wrote:










Can't think of any reason why that would be problematic. 
The PieSeries currently always creates a label layer, and never recreates it, so 
at least for now that should be Copacetic.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Pan 
TroglodytesSent: Thursday, September 28, 2006 9:29 AMTo: 
flexcodersSubject: [flexcoders] custom outlined pie 
labels


I'm making an outline around my pie labels using the following code for the 
pie chart:public 
function creationComplete():void{ 
UIComponent(labelElements[0]).filters =  [new 
DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 180, 0xFF, 1, 0, 0), new 
DropShadowFilter(1, 270, 0xFF, 1, 0, 0)]; }Is there 
anything about this that's not kosher? I suppose I could put a check in 
for labelElements.length != 0, but this isn't really for general purpose 
use. Are there any situations in a pie chart where this could blow up? 
-- Jason 



-- Jason

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] DataGrid/ItemRender/ComboBox ?

2006-09-28 Thread livinginswitzerland
I've found a really nice feature in Flex 2.  I have a datagrid with 
several rows, and one of the columns has an inline component 
itemrender which is a combobox.  In my case, this datagrid represents 
a list of people, and the people have to be assigned to a department 
once they have been added to the list (so the deparment column is the 
combobox itemrenderer).  If I delete a row in the datagrid, then add 
a new row, the new row's inline itemrender combobox for my department 
column is not set to the correct index, so while the data underneath 
(a default value for deparment) exists in the datagrid's dataprovider 
for this newly added row, the combo box shows a different value, 
usually the selected index of the another instance of that 
itemrenderer from another row in my datagrid :).  I'm looking for a 
easy way from the datagrid to obtain a handle back to the 
itemrenderer for my department column for a given row.  The dataGrid 
has a function called itemToItemRenderer, which you can call to 
receive back the itemRenderer for the FIRST column in the datagrid.  
I hate to HAVE to put my department column first in my datagrid just 
to get this to work.  In trying this approach, I am able to get the 
reference to the itemrenderer and correctly set the selecteditem 
within the combobox, so I just need a better way to get there that 
doesn't require my first column in the datagrid to be this column.  
Does anyone have any ideas?

Thanks,

rick






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Facing issues applying SeriesInterpolate effect to stacked ColumnChart

2006-09-28 Thread omkarjoe
Thanks a ton Ely!!! This worked and I am ok with not supported 
workaround for now...

Thanks

--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] 
wrote:

  
  
  
 Hi Omkar.  Enough people have run into this problem that I'm going 
to
 post the workaround to the list.  I want to give fair warning, 
however,
 that this is _not_ a supported workaround.  Specifically, it 
requires
 you to copy and paste code from the charting package...which means 
that
 when we release a new version of charts, with bug fixes, etc., you 
will
 have to either delete your fix, or possibly re-apply it. 
  
  
 So here's how to fix the problem:
  
 1. copy the code for mx.charts.chartClasses.StackedSeries .  Put 
it into
 a file mx/charts/chartClasses/StackedSeries.as in your project.
 2. find the function protected function udpateStacking():void
 3. find the line:  stackingDirty = false;
 4. move line down to the end of the function.
  
  
 That should fix your problem. If it doesn't, you're running into
 something else, and we'll have to dig a little further.
  
 Ely.
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of omkarjoe
 Sent: Thursday, September 28, 2006 1:42 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Facing issues applying SeriesInterpolate 
effect to
 stacked ColumnChart
 
 
 
 Hi All,
 
 I am trying to apply SeriesInterpolate effect to stacked 
ColumnChart. 
 When my dataprovider changes it popups a null object reference 
error. 
 If I use any other chart type as overlaied or clustered then 
 everything works fine but if I change type to stacked then this 
error 
 pops up. Do anyone has any idea why this is happening and what's 
the 
 workaround for that. I need it really urgently...
 
 Thanks in advance








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Tim Hoff
Hi Michael,

Alternatively, you could define the selectedItem in the 
ModelLocator.  On the Change event of the DataGrid, update the 
selectedItem.  This way wouldn't require you to pass the event to 
the view function.

ModelLocator.getInstance().mySelectedItem = ModelLocator.getInstance
().myDataProvider.getItemAt(myDataGrid.selectedIndex,0);

-TH

--- In flexcoders@yahoogroups.com, Michael Ritchie 
[EMAIL PROTECTED] wrote:

 I have tried marking the VO class a couple different ways.  The 
first
 was following the PhoneExample application by Benoit Hediard
 (http://www.benorama.com):
 
 // path to my CFC ContactVO.cfc
 [RemoteClass(alias=CairngormContacts.components.model.ContactVO)]
 
   [Bindable]
   public class ContactVO
   {
   public var USERID:Number = 0;
   public var FIRST_NAME:String = ;
   public var LAST_NAME:String = ;
   public var EMAIL:String = ;
 
   public function ContactVO()
   {
   }
   }
 
 
 When I assign the DataGrid selected item (created from my
 ArrayCollection of ContactVO[], I do something like this in the 
view:
 
 public var selectedItem:ContactVO;
 
 public function updateSelectedContact( event : Object ) : void 
 { 
selectedItem = event.target.selectedItem;
Alert.show(selectedItem.FIRST_NAME) // throws error null value
CairngormEventDispatcher.getInstance().dispatchEvent( new
 CairngormEvent( SELECT_EVENT ) );
 } 
 
 The Alert does throw a null value.  I have tried also:
 
 selectedItem = event.target.selectedItem as ContactVO;
 
 But same error. I am putting a small example together to 
demonstrate
 the issue, I will post it when I have it online. 
 
 Thanks! 
 
 - mr
 
 --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@
 wrote:
 
  On Thursday 28 September 2006 16:03, Michael Ritchie wrote:
   always get error trying to access a null object.  I can't seem 
to
   convert my arraycollection to the VO, even with casting I get 
zip.
  
  Is the AS version of your class marked with the correct hint ?
  If you set CF Flex log level to Debug (bottom of services.xml) 
what
 does it 
  say is being returned ?
  If you Alert() the VO field, is it null ?
  
  -- 
  Tom Chiverton
  Helping to evangelistically entrench sexy customers
  
  
  
  This email is sent for and on behalf of Halliwells LLP.
  
  Halliwells LLP is a limited liability partnership registered in
 England and Wales under registered number OC307980 whose registered
 office address is at St James's Court Brown Street Manchester M2 
2JF.
  A list of members is available for inspection at the registered
 office. Any reference to a partner in relation to Halliwells LLP 
means
 a member of Halliwells LLP. Regulated by the Law Society.
  
  CONFIDENTIALITY
  
  This email is intended only for the use of the addressee named 
above
 and may be confidential or legally privileged.  If you are not the
 addressee you must not read it and must not use any information
 contained in nor copy it nor inform any person other than 
Halliwells
 LLP or the addressee of its existence or contents.  If you have
 received this email in error please delete it and notify Halliwells
 LLP IT Department on 0870 365 8008.
  
  For more information about Halliwells LLP visit 
www.halliwells.com.
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Scope of variable to set as selectedItem for combobox

2006-09-28 Thread Louie Penaflor










Hi,



 I have a datagrid populating with one of the
itemRenderer being a combobox. I can populate this fine. What Im
trying to do is set the selectedItem of the combobox with a value from an index
array. Is there a way to return which row the component is in the datagrid to
try to retrive the selectedItem? Thanks



Louie






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Ely Greenfield








Yeah, custom label renderers was considered for 2.0, but 
got pulled from the schedule at some point. I'll make a note of your vote 
though ;)

Even with them though, your approach is more 
performant. Putting a filter on the entire set of labels at once is better 
than labels on each individual label.


You should be able to just set the fontSize style of the 
pieseries.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Thursday, September 28, 2006 12:06 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] custom outlined 
pie labels


Thanks Ely. Would be nice in a future release to more easily fiddle 
with the series labels.On a related note, how would you go about 
changing the font size for the pie labels? I've tried a lot of different 
things, none of which worked. 
On 9/28/06, Ely 
Greenfield [EMAIL PROTECTED]com wrote:

  
  
  
  
  Can't 
  think of any reason why that would be problematic. The PieSeries currently 
  always creates a label layer, and never recreates it, so at least for now that 
  should be Copacetic.
  
  Ely.
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Pan 
  TroglodytesSent: Thursday, September 28, 2006 9:29 AMTo: 
  flexcodersSubject: [flexcoders] custom outlined pie 
  labels
  
  
  
  I'm making an outline around my pie labels using the following code for the 
  pie chart:public function creationComplete():void{ 
  UIComponent(labelElements[0]).filters =  [new 
  DropShadowFilter(1, 0, 0xFF, 1, 0, 0), new 
  DropShadowFilter(1, 90, 0xFF, 1, 0, 0), new 
  DropShadowFilter(1, 180, 0xFF, 1, 0, 0), new 
  DropShadowFilter(1, 270, 0xFF, 1, 0, 0)]; }Is 
  there anything about this that's not kosher? I suppose I could put a 
  check in for labelElements.length != 0, but this isn't really for general 
  purpose use. Are there any situations in a pie chart where this could 
  blow up? -- Jason -- Jason 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Is there an isset() in Actionscript 3? (Or an exists())

2006-09-28 Thread rigidcode

If I have an hash (object) like this:

var o:Object = new Object();
o['blahblah'];

How do I test if there exists an o['wwwrgwr']?  

I had a situation where I set something to a string:
o['blahblah']='wefwefw';

and then later tried:

if (o['blahblah']['something']) {

}

and I got:
Property value not found on String 

How do I test if there is exists an o['blahblah']['something'] ?

thanks






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





RE: [flexcoders] Re: datgrid fills but content is invisible

2006-09-28 Thread Tracy Spratt












You are using e4x so you are almost there.



For example if you have:

teams

team name=Falcons game=American
Football

team name=Braves game=Baseball

team name=Thrashers
game=Hockey

teams



lastResult is now a reference to the root
node of the xml, teams. Depending on the xml
structure, you will use an xml _expression_ to return what you want.



Your dataProvider will be:

{wsUserTeams.getAllTeams.lastResult.team}



This returns an XMLList of team
nodes.



Your column dataFields would be name
and game



If the structure is different, you will
need a different _expression_ for the dataProvider, and might even need a
labelFunction for the columns. For example:

teams

team

 management

 nameFalcons/name

 /management

 league

 gameAmerican
Footballgame

 /league

/team



teams



The dataProvider would be the same, but
you would need to use a lableFunction to specify the name and game values for
the datagrid.



Such a function might look like:

private function lfTeams(xmlItem:XML,iIndexColumn):String

 var sReturn:String

 switch (iIndexColumn) {

 case 0:

 sReturn
= xmlItem.management.name.toString() //the toString() might not be needed

 case 1:


sReturn = xmlItem.league.game.toString();

 }

 Return sReturn

Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bghoward3
Sent: Thursday, September 28, 2006
12:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: datgrid
fills but content is invisible











thanks for the feedback tracey i think i am on the
right track but 
could use a bit more guidance

my new webservice looks like this

mx:WebService id=wsUserTeams 
wsdl=http://sitename/cfc_UserTeams.cfc?wsdl
useProxy=false
mx:operation name=getAllTeams resultFormat=e4x
mx:request
strDSNProjMan/strDSN
/mx:request
/mx:operation


/mx:WebService 

and actually returns a structured sting which i can dump into a text 
field for viewing using:

mx:Text htmlText=XML Content: 
${wsUserTeams.getAllTeams.lastResult}/

this brings the text into the component formatted in what appear to 
be xml nodes but i still cant figure out how to access the info in 
those nodes

can you provide instruction on debugging this so that i can puruse 
the object and locate the properties and how they should be called

thanks

--- In [EMAIL PROTECTED]ups.com,
Tracy Spratt
[EMAIL PROTECTED] 
wrote:

 Probably the structure of the result object is not exactly what you
 expect.
 
 
 
 I don't know what a queryset is. It is certainly not a Flex
data
 structure.
 
 
 
 By default, the operation's resultFormat=object. Flex
converts 
the
 actual result into an mx:Object. You need to debug this object to 
find
 out exactly what the structure is.
 
 
 
 I personally prefer resultFormat=e4x, as that results in
an XML
 object, which, among other benefits, can be displayed using
 toXMLString()
 
 
 
 For the DataColumn to be able to find the data for dataField, that 
data
 must be in a first-level property of the item object. If it is 
nested
 in some other object or node, then you will need to use a 
labelFunction
 to display it.
 
 
 
 Tracy
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of bghoward3
 Sent: Wednesday, September 27, 2006 10:42 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Re: datgrid fills but content is invisible
 
 
 
 here is code i am using
 it is returning a queryset not an xml string
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 http://www.adobe.com/2006/mxml
 
 layout=absolute creationComplete=wsUserTeams.getAllTeams.send
()
 
 mx:Script
 ![CDATA[
 [Bindable]
 public var selectedItem:Object; 
 ]]
 /mx:Script
 
 mx:WebService id=wsUserTeams 
 wsdl=http://sitename/model/cfc_UserTeams.cfc?wsdl
 http://sitename/model/cfc_UserTeams.cfc?wsdl
 useProxy=false
 mx:operation name=getAllTeams
 mx:request
 strDSNProjMan/strDSN
 /mx:request
 /mx:operation
 /mx:WebService
 mx:DataGrid x=30 y=75 id=dgTeam
width=400 
 dataProvider={wsUserTeams.getAllTeams.lastResult}
name=dgTeam
 mx:columns
 mx:DataGridColumn dataField=intProjTeamID 
 headerText=TeamID width=75/
 mx:DataGridColumn 
 dataField=strProjTeamName headerText=Team/
 /mx:columns
 /mx:DataGrid
 mx:ComboBox x=498 y=89 width=310
name=dgTeam2 
 labelField=strProjTeamName 
 dataProvider={wsUserTeams.getAllTeams.lastResult}
id=dgTeam2 
 close=selectedItem=ComboBox(event.target).selectedItem/
 mx:VBox width=250
 mx:Label text=You selected: {selectedItem.label}/
 mx:Label text=Data: {selectedItem.data}/
 /mx:VBox 
 
 /mx:Application
 
 --- In [EMAIL PROTECTED]ups.com
mailto:flexcoders%
40yahoogroups.com
 , passive_thoughts 
 passive_thoughts@ wrote:
 
  can you post the code for your datagrid and the webservice?
  
  
  --- In [EMAIL PROTECTED]ups.com
 mailto:flexcoders%40yahoogroups.com ,
bghoward3 billhoward@ 
wrote:
  
   i am populating a datagrid via a web service, i 

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Anatole Tartakovsky



Mike,
 Is there way to get standard libraries (framework, rpc, flex, etc) built with -debug=false Thank you,
Anatole

On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote:





The problem is with the way the player and the debugger initiate their communication. Here's how it works when things are going well:1. When you click Debug in Flex Builder, it starts listening on a TCP/IP socket, and it launches your browser.
2. When the Flash Player notices that the SWF was built with -debug, it tries to connect to the TCP/IP socket.3. They are now connected, and debugging begins.But what happens if, in step 2, the Flash Player's attempt to connect 
to the TCP/IP socket fails? That is, what if no debugger is waiting for incoming connections? The answer is, the Flash Player puts up that message asking where the debugger is. That dialog was added long ago to support remote debugging in Flash Professional.
In this case, unfortunately, the Flash Player isn't doing the right thing. When the RSL gets loaded, the player sees that it was compiled with -debug, so it tries to connect on the TCP/IP socket -- but since Flex Builder had no involvement in the loading of that RSL, 
Flex Builder didn't know to start listening on the socket. So the Flash Player can't find a debugger, so it puts up the dialog.For a future release, I hope to improve this so that you get a smoother workflow in scenarios such as the one you are describing.
- Mike MoreartyFlex Builder teamhttp://www.morearty.com/blog--- In 
flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: Anatole, that's exactly my config :)  But...don't you think that's strange? If I use debug button in FB2 
I get it work in FF, but If I run application (not debug mode) I get that dialog. I don't understand why this happen when using RSLs and not when using an app without RSLs. 
 Maybe I should compile RSLs with -debug=false but I think that's imposible in FB2 dialogs  Maybe I'm wrong?  Thanks for your response Anatole.  C. 
  On 9/27/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:   looks like you are using debugging plugin in firefox and production  release of player in IE
   Regards,  Anatole On 9/27/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi,
 I spend a few ours trying to find the cause of a weird behaviour. I was   trying to use RSLs in a project and when I test it in my default browser   (Firefox lastest version), a debug dialog comes. I found that 
launching the   app in IE does not have this problem, so I asume that is a Firefox   problem...someone knows how to avoid it? Thanks in advance.
 --   ::| Carlos Rovira   ::| http://www.carlosrovira.com
   ::| http://www.madeinflex.com  
--  ::| Carlos Rovira ::| http://www.carlosrovira.com
 ::| http://www.madeinflex.com 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] custom outlined pie labels

2006-09-28 Thread Matt Horn
You should be able to set fontSize on the PieSeries:

mx:PieSeries field=Amount nameField=Expense labelPosition=callout
fontSize=40/ 

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes
 Sent: Thursday, September 28, 2006 3:06 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] custom outlined pie labels
 
 Thanks Ely.  Would be nice in a future release to more easily 
 fiddle with the series labels.
 
 On a related note, how would you go about changing the font 
 size for the pie labels?  I've tried a lot of different 
 things, none of which worked. 
 
 
 On 9/28/06, Ely Greenfield [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED]  wrote:
 



   Can't think of any reason why that would be 
 problematic. The PieSeries currently always creates a label 
 layer, and never recreates it, so at least for now that 
 should be Copacetic.

   Ely.

 
 
 
   From: flexcoders@yahoogroups.com 
 mailto:flexcoders@yahoogroups.com  
 [mailto:flexcoders@yahoogroups.com 
 mailto:flexcoders@yahoogroups.com ] On Behalf Of Pan Troglodytes
   Sent: Thursday, September 28, 2006 9:29 AM
   To: flexcoders
   Subject: [flexcoders] custom outlined pie labels
   
   
   
 
   I'm making an outline around my pie labels using the 
 following code for the pie chart:
   
   public function creationComplete():void
   {
 UIComponent(labelElements[0]).filters = 
   [new DropShadowFilter(1, 0, 0xFF, 1, 0, 0),
   new DropShadowFilter(1, 90, 0xFF, 1, 0, 0),
   new DropShadowFilter(1, 180, 0xFF, 1, 0, 0),
   new DropShadowFilter(1, 270, 0xFF, 1, 0, 0)]; 
   }
   
   Is there anything about this that's not kosher?  I 
 suppose I could put a check in for labelElements.length != 0, 
 but this isn't really for general purpose use.  Are there any 
 situations in a pie chart where this could blow up? 
   
   -- 
   Jason 
 
   
 
 
 
 
 --
 Jason 
 
  
 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Carlos Rovira



Ok, As Anatole brings to the light, I want to use framework.swc and flex.swc as RSLs, but I can't compile it with -debug=false since I haven't the project that generates the SWC...maybe someone at adobe could give us the project templates so we can set up in our enviroment. could it be possible?
On 9/28/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:













  



Mike,
 Is there way to get standard libraries (framework, rpc, flex, etc) built with -debug=false Thank you,
Anatole

On 9/28/06, Mike Morearty [EMAIL PROTECTED]
 wrote:





The problem is with the way the player and the debugger initiate their communication. Here's how it works when things are going well:1. When you click Debug in Flex Builder, it starts listening on a TCP/IP socket, and it launches your browser.
2. When the Flash Player notices that the SWF was built with -debug, it tries to connect to the TCP/IP socket.3. They are now connected, and debugging begins.But what happens if, in step 2, the Flash Player's attempt to connect 
to the TCP/IP socket fails? That is, what if no debugger is waiting for incoming connections? The answer is, the Flash Player puts up that message asking where the debugger is. That dialog was added long ago to support remote debugging in Flash Professional.
In this case, unfortunately, the Flash Player isn't doing the right thing. When the RSL gets loaded, the player sees that it was compiled with -debug, so it tries to connect on the TCP/IP socket -- but since Flex Builder had no involvement in the loading of that RSL, 
Flex Builder didn't know to start listening on the socket. So the Flash Player can't find a debugger, so it puts up the dialog.For a future release, I hope to improve this so that you get a smoother workflow in scenarios such as the one you are describing.
- Mike MoreartyFlex Builder teamhttp://www.morearty.com/blog--- In 

flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: Anatole, that's exactly my config :)  But...don't you think that's strange? If I use debug button in FB2 
I get it work in FF, but If I run application (not debug mode) I get that dialog. I don't understand why this happen when using RSLs and not when using an app without RSLs. 

 Maybe I should compile RSLs with -debug=false but I think that's imposible in FB2 dialogs  Maybe I'm wrong?  Thanks for your response Anatole.  C. 

  On 9/27/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote:   looks like you are using debugging plugin in firefox and production  release of player in IE
   Regards,  Anatole On 9/27/06, Carlos Rovira [EMAIL PROTECTED] wrote: Hi,
 I spend a few ours trying to find the cause of a weird behaviour. I was   trying to use RSLs in a project and when I test it in my default browser   (Firefox lastest version), a debug dialog comes. I found that 
launching the   app in IE does not have this problem, so I asume that is a Firefox   problem...someone knows how to avoid it? Thanks in advance.

 --   ::| Carlos Rovira   ::| http://www.carlosrovira.com
   ::| http://www.madeinflex.com  
--  ::| Carlos Rovira ::| http://www.carlosrovira.com

 ::| http://www.madeinflex.com
 

  













-- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.com

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: MXML Constructor

2006-09-28 Thread Gordon Smith
Perhaps. There seem to be a lot of Flex developers who don't realize
that you have access to almost nothing at construction time... there are
no children, no parent, no inherited styles, etc. That's why I asked
what he wanted to do in his constructor.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, September 28, 2006 7:54 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: MXML Constructor

On Wednesday 27 September 2006 22:39, Gordon Smith wrote:
 the latter runs as early as possible. Using a preinitialize handler
would
 be a better choice.

I'd bet the original poster would be surprised if his 'constructor'
didn't 
have access to all the things the creationComplete handler does.

-- 
Tom Chiverton
Helping to collaboratively maximize best-of-breed systems



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Does anyone have a Flex 2 Cairngorm example for a master/detail view/edit/de

2006-09-28 Thread Michael Ritchie
Thanks, I will try that and post my example so maybe some others can
comment or find what they need if the solution works.  

--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 Hi Michael,
 
 Alternatively, you could define the selectedItem in the 
 ModelLocator.  On the Change event of the DataGrid, update the 
 selectedItem.  This way wouldn't require you to pass the event to 
 the view function.
 
 ModelLocator.getInstance().mySelectedItem = ModelLocator.getInstance
 ().myDataProvider.getItemAt(myDataGrid.selectedIndex,0);
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Michael Ritchie 
 michael.ritchie@ wrote:
 
  I have tried marking the VO class a couple different ways.  The 
 first
  was following the PhoneExample application by Benoit Hediard
  (http://www.benorama.com):
  
  // path to my CFC ContactVO.cfc
  [RemoteClass(alias=CairngormContacts.components.model.ContactVO)]
  
  [Bindable]
  public class ContactVO
  {
  public var USERID:Number = 0;
  public var FIRST_NAME:String = ;
  public var LAST_NAME:String = ;
  public var EMAIL:String = ;
  
  public function ContactVO()
  {
  }
  }
  
  
  When I assign the DataGrid selected item (created from my
  ArrayCollection of ContactVO[], I do something like this in the 
 view:
  
  public var selectedItem:ContactVO;
  
  public function updateSelectedContact( event : Object ) : void 
  {   
 selectedItem = event.target.selectedItem;
 Alert.show(selectedItem.FIRST_NAME) // throws error null value
 CairngormEventDispatcher.getInstance().dispatchEvent( new
  CairngormEvent( SELECT_EVENT ) );
  }   
  
  The Alert does throw a null value.  I have tried also:
  
  selectedItem = event.target.selectedItem as ContactVO;
  
  But same error. I am putting a small example together to 
 demonstrate
  the issue, I will post it when I have it online. 
  
  Thanks! 
  
  - mr
  
  --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@
  wrote:
  
   On Thursday 28 September 2006 16:03, Michael Ritchie wrote:
always get error trying to access a null object.  I can't seem 
 to
convert my arraycollection to the VO, even with casting I get 
 zip.
   
   Is the AS version of your class marked with the correct hint ?
   If you set CF Flex log level to Debug (bottom of services.xml) 
 what
  does it 
   say is being returned ?
   If you Alert() the VO field, is it null ?
   
   -- 
   Tom Chiverton
   Helping to evangelistically entrench sexy customers
   
   
   
   This email is sent for and on behalf of Halliwells LLP.
   
   Halliwells LLP is a limited liability partnership registered in
  England and Wales under registered number OC307980 whose registered
  office address is at St James's Court Brown Street Manchester M2 
 2JF.
   A list of members is available for inspection at the registered
  office. Any reference to a partner in relation to Halliwells LLP 
 means
  a member of Halliwells LLP. Regulated by the Law Society.
   
   CONFIDENTIALITY
   
   This email is intended only for the use of the addressee named 
 above
  and may be confidential or legally privileged.  If you are not the
  addressee you must not read it and must not use any information
  contained in nor copy it nor inform any person other than 
 Halliwells
  LLP or the addressee of its existence or contents.  If you have
  received this email in error please delete it and notify Halliwells
  LLP IT Department on 0870 365 8008.
   
   For more information about Halliwells LLP visit 
 www.halliwells.com.
  
 








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




RE: [flexcoders] click event in itemRenderer

2006-09-28 Thread Dustin Mercer












Its because totalEmployeeData()
doesnt exist at the component scope, but rather the outerDocument
scope. Try this



mx:Component
id=dataCellLinkTest
mx:Text 
color=0xff 
textDecoration=underline 
textAlign=left 
buttonMode=true 
useHandCursor=true 
mouseChildren=false
click=outerDocument.totalEmployeeData() /
/mx:Component











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack OMelia
Sent: Thursday, September 28, 2006
11:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] click event
in itemRenderer











Hi All,

I have a datagrid with a click event calling some functions. I decided
I didn't want the click event to happen on the whole row, just on a
particular column. I have an itemRenderer for the column with a Text
component formatted to look like a link, so I decided to remove the
click event on the datagrid and add it to the text componenet in the
itemRenderer. When I do, the page won't compile and I get an error
saying I'm making a call to an undefined function. I tried something
simpler and set the click event to change the current state. The page
compiled but on click got an error, call to undefined state.

Here's my itemRenderer:

mx:Component id=dataCellLinkTest
mx:Text 
color=0xff 
textDecoration=underline 
textAlign=left 
buttonMode=true 
useHandCursor=true 
mouseChildren=false
click=totalEmployeeData()
/
/mx:Component

Is there something stupid I'm missing here? Why would an event in an
itemRenderer not be able to see the functions or states in my application?






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Mike Morearty
Are you changing them to be external, rather than statically linked 
into your app?  Because if you're leaving them statically linked into 
your app (the default), then there is no need to recompile them with -
debug=false; at link time, if linking the release swf, the linker will 
strip out all of the debug information.

If you are changing them to be external, then...  take a look at 
frameworks/build_framework.xml (an Ant script).  I haven't tried it and 
don't know much about it.


--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
[EMAIL PROTECTED] wrote:

 Mike,
   Is there way to get standard libraries (framework, rpc, flex, etc) 
built
 with -debug=false
 Thank you,
 Anatole






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] -load-externs not working

2006-09-28 Thread Paul Spitzer
I added the -load-externs flag to a Flex project and pointed it to the 
link report of another Flex project and am getting no love. The 
-load-externs flag doesn't seem to be doing anything for me. Anyone have 
any ideas as to what I might be doing wrong?


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





RES: [flexcoders] FLex 2 CF integration in Linux - Real Problem

2006-09-28 Thread Rafael M. Martinelli
EURECA!!!

Thanks Sarge for this post:

http://www.sargeway.com/blog/index.cfm/2006/9/28/CFMX-702-Failure-to-Connect
-to-FDS-2

You must do it (delete flexassembler.jar) to CF Remoting for Flex 2 works on
Linux.

Hope Abode put a TechNote about it. 

It's strange that it does not happen on Windows.


Rafael M. Martinelli 
Tel. +5511 5589.7861 
Cel. +5511 8142.6902 
D-Click Web  Mobile Solutions 
[EMAIL PROTECTED] 
www.dclick.com.br


-Mensagem original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de Tom Chiverton
Enviada em: quinta-feira, 28 de setembro de 2006 12:49
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] FLex 2 CF integration in Linux - Real Problem

On Thursday 28 September 2006 15:07, Rafael M. Martinelli wrote:
 Does somebody consumed any ColdFusion cfc using Flex 2 in Linux I'm
 trying for some time and it didn't work for me.

Try setting the log level to Debug in services.xml and see if that helps.

-- 
Tom Chiverton
Helping to heterogeneously incubate compelling initiatives



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links






 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Re: Is there an isset() in Actionscript 3? (Or an exists())

2006-09-28 Thread Mike Morearty
It depends on what you are really trying to test:

- Are you trying to test whether the property exists at all?
- Are you trying to test whether it exists and has a non-null value?

The verbose but foolproof way to test whether it exists at all is to 
use Object.hasOwnProperty().  To test if object o has 
property 'wwwrgrwr':

if (o.hasOwnProperty('wwwrgwr')) ...

If you know that object o['blahblah'] exists, you want to test 
whether *that* object has its own property 'something':

if (o['blahblah'].hasOwnProperty('something') ...

To test whether it has an, umm, non-false value, do this:

if (o.blahblah) ...

But note that that is kind of subtle.  If blahblah is guaranteed to 
point to some sort of Object, then that's fine.  But what if blahblah 
is equal to false?  What if blahblah is equal to zero?  In both of 
those cases, blahblah exists, but the if test will return false.

And then there are these:

if (o.blahblah != undefined) ...
if (o.blahblah != null) ...

It's tricky stuff.

My guess, from the context, is that you are trying to test if 
blahblah exists and is a reference to some other object.  In that 
case, I would use this (which, conveniently, is the simplest to 
write):

if (o.blahblah) ...



--- In flexcoders@yahoogroups.com, rigidcode [EMAIL PROTECTED] wrote:

 
 If I have an hash (object) like this:
 
 var o:Object = new Object();
 o['blahblah'];
 
 How do I test if there exists an o['wwwrgwr']?  
 
 I had a situation where I set something to a string:
 o['blahblah']='wefwefw';
 
 and then later tried:
 
 if (o['blahblah']['something']) {
 
 }
 
 and I got:
 Property value not found on String 
 
 How do I test if there is exists an o['blahblah']['something'] ?
 
 thanks







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-28 Thread Paul Spitzer
Hi Derrick,

 From the quick test I did, it /is/ an issue. I too looked into 
modifying the URL. I was going to use ANT to automate it all, 
incrementing versions, and changing URLs but I've since abandoned that 
plan. Here is what I'm now doing...

I have a couple of different library projects that store shared code 
bases at different levels of abstraction.

I have a primary or shell application, a Flex project in Flex Builder, 
that is responsible for loading and managing modules. It references the 
libraries as well as the Flex framework with Link Type set to Merged 
into code. This way only what is needed from the libs is actually 
pulled in.

I've been experimenting with different scenarios for my modules. 
Currently, my modules are Flex Projects. Originally I had them linking 
to my library projects with Link Types set to External. But, this 
presents a problem. Say the module uses a DataGrid but no where in the 
shell application is DataGrid referenced. When the module is loaded the 
DataGrid does not exist and a runtime exception occurs. I decided to set 
the Link Types to Merged into code and use the -load-externs compiler 
flag that points to the shells link report. Unfortunately, I can't get 
the -load-externs to do anything. The module SWF is still rather large 
even when I pull all of its dependencies into the shell.

I'm probably not doing something right. Maybe the link report can't be 
used as-is for the -load-externs flag? Not sure.


Derrick Grigg wrote:
 Hi Paul,

 That is exactly my concern. I haven't been able to test the RSL
 caching thoroughly but experience tells me it will happen. I was
 hoping that I could somehow modify the url that the RSL uses but I
 have not found a way to do that. I am starting to think that what may
 be required is a seperate swf that duplicates the RSL contents, but
 gets loaded from a command in the application, as opposed to some code
 that the compiler generates. That would allow modification of the URL
 to prevent against caching.

 Derrick


 --- In flexcoders@yahoogroups.com, Paul Spitzer [EMAIL PROTECTED] wrote:
   
 Certainly. The caching issue I'm referring to is when a new RSL SWF is 
 published and pushed to a server the end user may not immediately see 
 the new SWF. Or, more accurately the users browser may load the old 
 version of the SWF from the browser cache and not the more recent from 
 the server.

 Does that make sense?

 





   



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] Re: Problem with RemoteObject Java

2006-09-28 Thread jonathan_merey
Thank you very much it works now. How could I find this alone ?

--- In flexcoders@yahoogroups.com, Laurent Fontvielle
[EMAIL PROTECTED] wrote:

 Hello,
 
 Did you specify a correct 'context-root' when compiling your Flex web
 application. The value for this compiler parameter must be the same as
  the context-root where you deploy your webapp on your application
server.
 From the project properties window, got to 'Flex compiler' properties,
 add to  'Additional compiler arguments' the parameter:
 -context-root  /myContextRoot
 
 Regards,
 Laurent.
 
 --- In flexcoders@yahoogroups.com, jonathan_merey mereyj@ wrote:
 
  Hi, I have an application with flex 2.0, flex data services and
java and
  I want to access methods of my JAVA classes. So I use the
remoteObject.
  
  Here is the code :
  
  Test.java
  
  package beans;
  
  public class Test {
  
   public Test()
   {
   System.out.println(-= Test start =-);
   }
  
   public String doTest()
   {
   return -= This is a test =-;
   }
  
  }
  
  remoting-config.xml
  
  ?xml version=1.0 encoding=UTF-8?
  service id=remoting-service
   class=flex.messaging.services.RemotingService
   messageTypes=flex.messaging.messages.RemotingMessage
  
   adapters
   adapter-definition id=java-object
  class=flex.messaging.services.remoting.adapters.JavaAdapter
  default=true/
   /adapters
  
   default-channels
   channel ref=my-amf/
   /default-channels
  
   destination id=test
   properties
   sourcebeans.Test/source
   scopeapplication/scope
   /properties
   /destination
  
  /service
  
  index.mxml
  
  ?xml version=1.0?
  
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
   initialize=applicationInit()
   layout=absolute
   backgroundGradientColors=[#ff, #808080]
   viewSourceURL=srcview/index.html
   creationComplete=doTest()
  
   mx:Script
   ![CDATA[
import mx.controls.Alert;
import mx.rpc.events.FaultEvent;
import mx.collections.ArrayCollection;
import flash.events.MouseEvent;
import mx.rpc.AsyncToken;
import mx.data.*;
import mx.managers.*;
  
[Bindable]
  
private function doTest():void
{
test.doTest();
}
  
 ]]
  /mx:Script
  
  mx:RemoteObject id=test destination=test
  mx:method name=createTest/
  /mx:RemoteObject
  
  When I launch the server  -= Test start =- is printed on tomcat
so the
  remoteObject is good initialized but after there is an error due
to the
  method createTest.
  
  Here is the final message when i launch the application :
  
  [RPC Fault faultString=Send failed
  faultCode=Client.Error.MessageSend
faultDetail=Channel.Connect.Failed
  error NetConnection.Call.Failed: HTTP: Failed]
   at
 

mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faul\
  tHandler()
   at mx.rpc::Responder/fault()
   at mx.rpc::AsyncRequest/fault()
   at mx.messaging::ChannelSet/::faultPendingSends()
   at mx.messaging::ChannelSet/channelFaultHandler()
   at
 

flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEven\
  tFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
   at
 

mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChann\
  el::connectFailed()
   at
 

mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::stat\
  usHandler()
  
  
  Please help me.
 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Library Help

2006-09-28 Thread richmcgillicuddy
I am trying to centralize code in a series of libraries and running
into what would seem to be a simple problem. I have a set of
components in AS nd MXML files. I create a new project and add a
source directory to those components. In the MXML editor, I can access
them if I create a namespace to them in the application definition. I
go to the designer and I see the components from a source directory
fine. Then I try to compile and get Could not resolve xx:comp to a
component implementation. If I make a local copy of the library under
the project, it works great. Am I missing something in importing
libraries and components as source code and not SWC files?


Rich






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 




[flexcoders] Tree Help Please

2006-09-28 Thread s_hernandez01
Would anyone know how to write actionscript telling Flex to call up an
index in a ViewStack using a tree whose folders are coded in xml? 
Here is something of what I want the code to say, but I can't get
passed the errors.  

For example:  
if(productTree.selectedItem == Folder 1){
viewstack.selectedIndex=0;
}
else if(productTree.selectedItem == Folder 2){
viewstack.selectedIndex=1;
}

Below is how my tree is coded:

mx:Tree id=productTree labelField = @label width=100%
fontSize=10 fontWeight=bold showRoot=false 
height=100%
mx:dataProvider
mx:XML format=e4x xmlns=
root
folder label = Folder 1 isBranch = true
folder label = item 1/
folder label = item2/
/folder
folder label = Folder 2 isBranch = true
folder label = item 1/
folder label = itme 2/
/folder
/mx:XML
/mx:dataProvider
/mx:Tree






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





[flexcoders] reconnecting an mx:producer component

2006-09-28 Thread JClouz





With a mx:consumer component, I can unsubscribe() 
when I don't need it anymore, and subscribe() when I want it turned back 
on.

With a mx:producer component it looks like I can 
use disconnect() when I don't need it anymore, but I don't see any sort of 
connect() function to turn it back on like I can with a consumer. 


Any help? Thanks.
__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-09-28 Thread Anatole Tartakovsky



Mike,
It might make sense to have separatefolder in SDKwith all the libraries compiled without debugging for size/performance reasons. Realistically, every production application would like to benefit from that and subjecting everybody to Ant process - especially given the additional libs like fds, rpc, etc that come without sources. Please let me know if I should file feature request or if it is already done.

Sincerely,
Anatole Tartakovsky

On 9/28/06, Mike Morearty [EMAIL PROTECTED] wrote:





Are you changing them to be external, rather than statically linked into your app? Because if you're leaving them statically linked into your app (the default), then there is no need to recompile them with -
debug=false; at link time, if linking the release swf, the linker will strip out all of the debug information.If you are changing them to be external, then... take a look at frameworks/build_framework.xml (an Ant script). I haven't tried it and 
don't know much about it.--- In flexcoders@yahoogroups.com, Anatole Tartakovsky 
[EMAIL PROTECTED] wrote: Mike, Is there way to get standard libraries (framework, rpc, flex, etc) built with -debug=false Thank you, Anatole
 

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Tree Help Please

2006-09-28 Thread Tracy Spratt












Try:

if(productTree.selectedItem.label ==
Folder 1)



Do you see why?



Tracy











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of s_hernandez01
Sent: Thursday, September 28, 2006
5:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree Help
Please











Would anyone know how to write actionscript telling
Flex to call up an
index in a ViewStack using a tree whose folders are coded in xml? 
Here is something of what I want the code to say, but I can't get
passed the errors. 

For example: 
if(productTree.selectedItem == Folder 1){
viewstack.selectedIndex=0;
}
else if(productTree.selectedItem == Folder 2){
viewstack.selectedIndex=1;
}

Below is how my tree is coded:

mx:Tree id=productTree labelField = @label
width=100%
fontSize=10 fontWeight=bold
showRoot=false 
height=100%
mx:dataProvider
mx:XML format=e4x xmlns=
root
folder label = Folder 1 isBranch = true
folder label = item 1/
folder label = item2/
/folder
folder label = Folder 2 isBranch = true
folder label = item 1/
folder label = itme 2/
/folder
/mx:XML
/mx:dataProvider
/mx:Tree






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Conversion from Array to XML

2006-09-28 Thread Tracy Spratt












No one else responded so Ill take a
shot.



For dynamic properties, like in an
mx:object, the for..in loop should return a reference to each property. So
maybe something like:



Var sXML:String = root

For (var prop in myObject) {

 sXML +=  + prop
+  + myObject[prop] + / + prop + /;

}

sXML += /root



Tracy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Thursday, September 28, 2006
10:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Conversion
from Array to XML











I have an array that my user is editing in a data
grid. I want to be
able to convert that back to an XML object. Is there a generic easy
way to do this. My array has objects that look like:

var myObject : ObjectProxy = new ObjectProxy();
myObject.f1 = 1;
myObject.f2 = 2;
myObject.f3 = 3;

I want to convert that (generically by determining at runtime, which
fields the object proxy has) to:

Object
f11/f1
f22/f2
f33/f3
/Object
Object
...

Is there a simple way to convert an array to an XML object or get an
XML string representation of an array without hard coding this for
each grid I'd want to do this for?

Rich






__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] As you type Grid Filtering with Textinput and Combobox

2006-09-28 Thread qnotemedia
Hi all - I'm trying to mix together two blocks of code:

Ben Forta's As you type Grid filtering:
http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-Flex

Filter a Grid with Combobox:
http://www.cflex.net/showFileDetails.cfm?
ObjectID=415Object=FileChannelID=1

I have successfully implemented either one or the other, but can't 
quite get both to work at the same time.  What I have so far is 
below.  The application has a datagrid's dataProvider bound 
to objectList - it has an objName field for text search and a 
typeName field for the combobox.

The combobox is cbTypeList and the textinput is searchText.text.  
Both have change=objectList.refresh()

If I use the code below, the combobox still filters, but the textbox 
typing does not.  If I remove either set's function, they each work 
fine on their own.

private function resultHandlerGetAllObjects(event:ResultEvent):void {
objectList = event.result as ArrayCollection;
objectList.filterFunction=processFilter;
objectList.filterFunction=typeFilter;
}
/* http://www.forta.com/blog/index.cfm/2006/7/13/Filtering-Data-In-
Flex */
private function processFilter(item:Object):Boolean {
var result:Boolean=false;

if (item.objName.length == 0 || item.objName.toUpperCase
().indexOf(searchText.text.toUpperCase()) = 0) {
result=true;
}
return result;
}
/* http://www.cflex.net/showFileDetails.cfm?
ObjectID=415Object=FileChannelID=1 */
private function typeFilter(item:Object):Boolean {
var result:Boolean=false;
if(item.typeName == cbTypeList.selectedItem.typeName) {
result=true;
}
return result;
}





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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/
 





  1   2   >