Re: [flexcoders] e4x Dash

2008-03-30 Thread Phil Krasko
Try ().

event.result..(time-entry)


Sent via BlackBerry from T-Mobile

-Original Message-
From: "todd_geist" <[EMAIL PROTECTED]>

Date: Sun, 30 Mar 2008 18:57:33 
To:flexcoders@yahoogroups.com
Subject: [flexcoders] e4x Dash


Hello
 
 I would like to use the descendant accessor operator to extract all time-entry 
nodes from 
 the event data containing the following XML and loop through them.
 
 
 person
 2008-03-23
 2008-03-29
 
 
 me
 12.45
 
 
 ---nodes are here 
 
 
 
 
 
 
 I have tried this...
 
 for each (var t:XML in event.result..time-entry)
 
 but I get an error "1120: Access of undefined property entry".
 
 I know this is due to the "-" in the element name but I do not know how to 
escape it.
 
 any help would be appreciated
 
 Thanks
 
 Todd
 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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/



Re: [flexcoders] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?

2008-02-17 Thread Phil Krasko
It works.  I think you need to be on the console tab.


Sent via BlackBerry from T-Mobile

-Original Message-
From: "Josh McDonald" <[EMAIL PROTECTED]>

Date: Mon, 18 Feb 2008 10:47:30 
To:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tools to monitor flex network traffic for debugging 
SOAP calls and responses (kinda urgent)?


Firebug isn't working, it gives me nothing for the requests, and somehow shows 
me html invokers instead of the response. I managed to get a proxy named 
"Charles" working and it shows the conversation pretty well and can also 
interpret soap request / reponse data which is kinda nice.
 
-JH


On Feb 18, 2008 10:44 AM, Jeff Tapper <[EMAIL PROTECTED]  net> wrote:
 
 
 
 
 
while not free, I've found service capture to be incredibly valuable.

 
 At 07:20 PM 2/17/2008, you wrote:
 >Firebug plugin for firefox or wireshark. Both are free
 >Sent via BlackBerry from T-Mobile
 >
 >-Original Message-
 >From: "Josh McDonald" <[EMAIL PROTECTED]  com>
 >
 >Date: Mon, 18 Feb 2008 10:13:28
 >To:"[EMAIL PROTECTED]  ups.com" <[EMAIL 
 >PROTECTED]  ups.com>
 >Subject: [flexcoders] Tools to monitor flex network traffic for 
 >debugging SOAP calls and responses (kinda urgent)?
 >
 >
 >Hi Guys,
 >
 >Is there something good out there I can use to view the raw XML 
 >request/response data going to and from the server when making SOAP 
 >calls? A vcr proxy? An option in the debugger I don't know about?
 >
 >-Josh
 >
 >--
 >"Therefore, send not to know For whom the bell tolls, It tolls for thee."
 >
 > :: Josh 'G-Funk' McDonald
 > :: 0437 221 380 :: [EMAIL PROTECTED]   com> 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
 >
 >
 >
 
 Jeff Tapper
 Senior Technologist
 Digital Primates IT Consulting Group
 [EMAIL PROTECTED]  ates.net
 http://www.digitalp  rimates.net
 
  


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

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]  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] Tools to monitor flex network traffic for debugging SOAP calls and responses (kinda urgent)?

2008-02-17 Thread Phil Krasko
Firebug plugin for firefox or wireshark.  Both are free
Sent via BlackBerry from T-Mobile

-Original Message-
From: "Josh McDonald" <[EMAIL PROTECTED]>

Date: Mon, 18 Feb 2008 10:13:28 
To:"flexcoders@yahoogroups.com" 
Subject: [flexcoders] Tools to monitor flex network traffic for debugging SOAP 
calls and responses (kinda urgent)?


Hi Guys,

Is there something good out there I can use to view the raw XML 
request/response data going to and from the server when making SOAP calls? A 
vcr proxy? An option in the debugger I don't know about? 
 
-Josh

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

 :: Josh 'G-Funk' McDonald
 :: 0437 221 380 :: [EMAIL PROTECTED]  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 Book

2008-02-15 Thread Phil Krasko
CreationComplete on component call the httpservice


Sent via BlackBerry from T-Mobile

-Original Message-
From: "Dan Vega" <[EMAIL PROTECTED]>

Date: Fri, 15 Feb 2008 15:55:24 
To:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex Book


Rob,
Great tip on using http instead of xml. The problem I am having now is I think 
the component is trying to load before the service is completed.  I don't think 
the dataSet is filled when the component is setting up. I tried to create the 
component in AS but it would not let me. Any help is appreciated, I am racking 
my brain over this.
 
Dan

[SWF] //bin-debug/.swf - 925,285 bytes after decompression
TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
    at /loadContent()[C:\Program 
Files\Apache\htdocs\src\.mxml:62]
     at /__book_turnEnd()[C:\Program 
Files\Apache\htdocs\\src\.mxml:85]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at 
mx.core::UIComponent/dispatchEvent()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:9041]
     at qs.controls::FlexBook/dispatchEventForPage()[C:\Program 
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:733]
    at qs.controls::FlexBook/commitProperties()[C:\Program 
Files\Apache\htdocs\\src\qs\controls\FlexBook.as:777]
     at 
mx.core::UIComponent/validateProperties()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:5660]
    at 
mx.managers::LayoutManager/validateProperties()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:517]
     at 
mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:637]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at 
mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
     at 
mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta3\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]




here is my code


 http://www.adobe.  
com/2006/mxml" xmlns:l="*" layout="absolute" 
    xmlns:controls="qs.controls.*"
    creationComplete="initApp();" xmlns:containers="qs.containers.*" 
xmlns:effects="qs.effects.*"
     width="720" height="430">

    
        FlexBook {        
            color: #00;
            textRollOverColor:     #00;        
            border-thickness: 0;
             border-style: none;
            page-slope: .6;
            active-grab-area: page;
            page-shadow-strength: 1;
            curve-shadow-strength: 1;
            auto-turn-duration: 1500;
         }
        
        Application {
            color: #F1F1CC;
            textRollOverColor:     #000;
            backgroundColor: #ff;
        }
        
        SuperImage {
            border-thickness: 0;
             border-style: none;            
        }        
    
    
    
        
    
    
    
 
    
                



   

--
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: Object is Null? How can it be if it's a component in main.mxml. No access

2008-02-03 Thread Phil Krasko
Actually now that I look the snippet I wrote was wrong.  I have my indices 
starting at 0 and go to 2.

The block if index == 2 executes and I still can't access 
application.com3mgetData() unless there is a delay involved.

How would the creation policy effect this?


Sent via BlackBerry from T-Mobile

-Original Message-
From: "Dealy, Brian" <[EMAIL PROTECTED]>

Date: Sun, 3 Feb 2008 12:34:58 
To:
Subject: RE: [flexcoders] Re: Object is Null?  How can it be if it's a 
component in main.mxml.  No access


Viewstack’s children index is zero based, so you need to start at zero and go 
to two 
  
> if(indexHit == 0){
 > Application.application.com1.getData();
 > }else if(indexHit==1){
 > Application.application.com2.getData();
 > }else if(indexHit==2){
 > //THIS FAILS
 > Application.application.com3.getData();
 > }else{
 > //nothing
 > }
 
 
I hope this helps! 
regards, 
brian 
  
  
  
Brian Dealy 
Vice President - Technology 
SAIC Technical Fellow 
Science Application International Corp. 
San Diego, CA 
  
  
  
  
 
 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien Legros
 Sent: Sunday, February 03, 2008 3:45 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Object is Null? How can it be if it's a component in 
main.mxml. No access 
  
 
 
 
Check the viewstack creationPolicy property :)
 
 --- In [EMAIL PROTECTED]  ups.com, 
"phipzkillah" <[EMAIL PROTECTED]> wrote:
 >
 > I have a toggle bar that's data provider is a viewstack.
 > When I click on the toggle bar an event is dispatched that my controller
 > is listening for.
 > 
 > My controller can access com1, com2, but always gives me a null pointer
 > exception on com3.
 > All components are identical.
 > 
 > I just wrote this off the top of my head. So syntax might be off a bit
 > and I only included the core functionality stripped down to demonstrate
 > my issue.
 > 
 > Any thoughts?
 > 
 > 
 > Main.mxml
 > //script
 > import CustomClass();
 > 
 > protected var controller:CustomClass;
 > private function init():void{
 > controller = new CustomClass();
 > }
 > 
 > //body
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > CustomClass.as
 > //Controller
 > 
 > public function doSomething(event:ItemClickEvent):void{
 > var indexHit:int = event.index;
 > if(indexHit == 1){
 > Application.application.com1.getData();
 > }else if(indexHit==2){
 > Application.application.com2.getData();
 > }else if(indexHit==3){
 > //THIS FAILS
 > Application.application.com3.getData();
 > }else{
 > //nothing
 > }
 > }
 > 
   

--
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: Object is Null? How can it be if it's a component in main.mxml. No access

2008-02-03 Thread Phil Krasko
Thanks.  I knew that!  I need more sleep
Sent via BlackBerry from T-Mobile

-Original Message-
From: "Dealy, Brian" <[EMAIL PROTECTED]>

Date: Sun, 3 Feb 2008 12:34:58 
To:
Subject: RE: [flexcoders] Re: Object is Null?  How can it be if it's a 
component in main.mxml.  No access


Viewstack’s children index is zero based, so you need to start at zero and go 
to two 
  
> if(indexHit == 0){
 > Application.application.com1.getData();
 > }else if(indexHit==1){
 > Application.application.com2.getData();
 > }else if(indexHit==2){
 > //THIS FAILS
 > Application.application.com3.getData();
 > }else{
 > //nothing
 > }
 
 
I hope this helps! 
regards, 
brian 
  
  
  
Brian Dealy 
Vice President - Technology 
SAIC Technical Fellow 
Science Application International Corp. 
San Diego, CA 
  
  
  
  
 
 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damien Legros
 Sent: Sunday, February 03, 2008 3:45 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Object is Null? How can it be if it's a component in 
main.mxml. No access 
  
 
 
 
Check the viewstack creationPolicy property :)
 
 --- In [EMAIL PROTECTED]  ups.com, 
"phipzkillah" <[EMAIL PROTECTED]> wrote:
 >
 > I have a toggle bar that's data provider is a viewstack.
 > When I click on the toggle bar an event is dispatched that my controller
 > is listening for.
 > 
 > My controller can access com1, com2, but always gives me a null pointer
 > exception on com3.
 > All components are identical.
 > 
 > I just wrote this off the top of my head. So syntax might be off a bit
 > and I only included the core functionality stripped down to demonstrate
 > my issue.
 > 
 > Any thoughts?
 > 
 > 
 > Main.mxml
 > //script
 > import CustomClass();
 > 
 > protected var controller:CustomClass;
 > private function init():void{
 > controller = new CustomClass();
 > }
 > 
 > //body
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > CustomClass.as
 > //Controller
 > 
 > public function doSomething(event:ItemClickEvent):void{
 > var indexHit:int = event.index;
 > if(indexHit == 1){
 > Application.application.com1.getData();
 > }else if(indexHit==2){
 > Application.application.com2.getData();
 > }else if(indexHit==3){
 > //THIS FAILS
 > Application.application.com3.getData();
 > }else{
 > //nothing
 > }
 > }
 > 
   

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