Re: [flexcoders] How to get "resizecursor" when resizing a custom chrome window in AIR?

2009-08-05 Thread Doug Arthur
Did anyone ever figure this one out?

On Thu, Jan 10, 2008 at 1:52 AM, ola.muldal  wrote:

>   I've tried a few diffrent solutions, but I am abit confused about what
> is going on when resizing.
>
> I have a flex panel which acts as the chrome. This is set to 100%
> width and height in the "WindowedApplication". When using the native
> resizing, scaling of the panel works realtime during dragging.
>
> However, when i try to move a custom cursor with
> CursorManager.setCursor(CursorResize); - this will just freeze the
> custom cursor. Same thing happens when i just try to use
> MouseEvent.MOUSE_MOVE and change the x/y coords manually.
>
> I guess that when i resize the application, the mouse is not "active"
> in the application, thus the swf file doesnt receive any events from
> it. So is there a way to get around this, or is it possible to get the
> native OS cursor to appear (which appears when using standard chrome)?
>
> 
>


[flexcoders] exit transitions between states

2008-02-27 Thread Doug Arthur
I'm having trouble getting this to work. I'm trying to create an exit
transition that wipes up the searchpanel and then fades in the results
screen. The only thing I can think of is that I'm trying to do this as an
exist transition on a state, where as the only part that works is the enter
state transition. I can get the scenario to work if I take the views out of
the state and use AddChild/RemoveChild.

 

  



  





  



  

  

  



  



  



  





  



  



  





  

  



  



  



  

 

 

 

Thanks,

Doug



[flexcoders] Re: Flex 2 RPC & SSL

2006-09-20 Thread Doug Arthur



I was able to get this to work ith the following propery in my xml:
false
 
 
Thanks!
- Doug 
On 9/19/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


I cannot seem to get Flex 2 Remote Objects to work over SSL, I've got a wildcard cert setup with host headers in IIS6.0 and have SSL working properly and confirmed. The problem now is when I try to make a Remote Object call. I've added the SecureAMFChannel & SecureAMFEndpoint classes and the "s" to http in the uri. When I browse to 
https://dev.mydomain.com/flex2gateway/ I get a blank page as expected. But I still get the following error:

 
(mx.rpc:Fault)#0
  errorID = 0
  faultCode = "Client.Error.MessageSend"
  faultDetail = "Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed"
  faultString = "Send failed"
  message = 
"faultCode:Client.Error.MessageSend
faultString:'Send failed'
faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed'"
  name = "Error"
  rootCause = (Object)#1
    code = "NetConnection.Call.Failed"
    description = "HTTP: Failed"
    details = 
https://dev.mydomain.com/flex2gateway/
    level = "error"
 
 
Thanks!

- Doug

__._,_.___





--
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] Flex 2 RPC & SSL

2006-09-19 Thread Doug Arthur



I cannot seem to get Flex 2 Remote Objects to work over SSL, I've got a wildcard cert setup with host headers in IIS6.0 and have SSL working properly and confirmed. The problem now is when I try to make a Remote Object call. I've added the SecureAMFChannel & SecureAMFEndpoint classes and the "s" to http in the uri. When I browse to 
https://dev.mydomain.com/flex2gateway/ I get a blank page as expected. But I still get the following error:
 
(mx.rpc:Fault)#0
  errorID = 0
  faultCode = "Client.Error.MessageSend"
  faultDetail = "Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed"
  faultString = "Send failed"
  message = 
"faultCode:Client.Error.MessageSend
faultString:'Send failed'
faultDetail:'Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed'"
  name = "Error"
  rootCause = (Object)#1
    code = "NetConnection.Call.Failed"
    description = "HTTP: Failed"
    details = 
https://dev.mydomain.com/flex2gateway/
    level = "error"
 
 
Thanks!
- Doug

__._,_.___





--
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] dateValidator question...

2006-09-11 Thread Doug Arthur



Does anyone know why I can't seem to get the following code to work?

var dateValidator:DateValidator = new DateValidator();Alert.show
(dateValidator.validate(new Date()).type);
This shows up as invalid. I've tried setting the "validateAsString" property to true, and nothing seems to work...
- Doug

__._,_.___





--
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] Using DateField control to set birthday

2006-09-01 Thread Doug Arthur



I usually set the following to properties when dealing with DoB's.
 

yearNavigationEnabled="true" editable="true"
On 8/31/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote:






Hi All!DateField is a great control, though setting birthday even for peoplethat were born in 198* it takes minutes to move through the months inorder to get to the correct 
date. Does anybody have experiencecustomizing this control for this particular need (selectingbirthday)?Sergey. 

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] date timezone differences!!!

2006-09-01 Thread Doug Arthur



When using a dateField and datefield.selectedDate and adding/updateing records in the database, users in different time zones results in an inaccurate date.
 
The server is central timezone.
 
Example, someone in eastern time choose 9/15/2006, the database shows 9/14/2006 23:00:00.
 
 
Is there a way to configure dates so they don't use a timezone?
 
Also note, I'm using reactor, so I'm not sure how I would handle this on the CF side since reactor is inserting/updating the values that flex passes over.
 
 
- Doug

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: Issue with dates from Flex to MySQL

2006-09-01 Thread Doug Arthur



Was there ever a solution for this? I'm experiencing the same problem and it's very frustrating. I don't have the ability to modify the server, just utilize it. This is a very bad situation for us!!! Please help!

 
- Doug 
On 8/22/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:
On Tuesday 22 August 2006 11:38, Tim Hoff wrote:> ECMA or not, this area feels incomplete - comparatively speaking.
Indeed.I've mentioned before the total lack of proper date/time functions.--Tom ChivertonHelping to preemptively accelerate intuitive supply-chains
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.
CONFIDENTIALITYThis 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 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/<*> 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
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Problems calling a RemoteObject within a loop

2006-08-30 Thread Doug Arthur



Can you please elaborate on this? My CFC does not expect an array, I've tried using an AbstractOperation.send() using an array, but that also doesn't get me the expected results.
 
- Doug 
On 8/30/06, Fernando Lobos <[EMAIL PROTECTED]> wrote:






send the parameter into an array !

On 8/30/06, Doug Arthur <[EMAIL PROTECTED]
> wrote: 







I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this? 

 
In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue. 

 
 
- Doug



 

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Problems calling a RemoteObject within a loop

2006-08-30 Thread Doug Arthur



I've noticed a critical issue when calling a remoteObject within a loop and having a resultHandler, the resultHandler does not execute the same number of times that the remoteObject was invoked. Can anyone explain this?

 
In my case, after each record is updated, I increment an int to identifty when all records have been saved, because another remote call needs to be fired off when all records have been added/updated. This is not happening, and it's a critical issue.

 
 
- Doug

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] delete sharedObject

2006-08-29 Thread Doug Arthur



How can I go about deleting a SharedObject off a users local machine?
 
- Doug

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: delete sharedObject

2006-08-29 Thread Doug Arthur



Disregard... so.clear() is what I was looking for.
 
Thanks! 
On 8/29/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


How can I go about deleting a SharedObject off a users local machine?

 
- Doug

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Icons in menu - not working

2006-08-25 Thread Doug Arthur



Can someone please send me this same file as an example?
 
Thanks!
- Doug 
On 6/28/06, Kelly Birr <[EMAIL PROTECTED]> wrote:







Thank you,  that is the solution I cam up with also.  It's nice to know that this is not the intended behavior, and that hopefully some day I can go back to static embedded images.  I use them very successfully for button icons.

 
- Kelly


From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Deepa SubramaniamSent: Wednesday, June 28, 2006 4:46 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Icons in menu - not working 



Hmmm – well our Embed expert says that you can make the variable for the embedded asset static, but that seems to be your problem. I'll file a bug on your behalf, but for now, don't make exitOn static and the icon should show up.

 
Let me know if it doesn't –
 
Deepa
Flex SDK 
 
 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Kelly BirrSent: Wednesday, June 28, 2006 4:26 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Icons in menu - not working
 




I've been racking my brain trying to get icons in the menu bar.  I think I'm doing exactly what the docs say but I cannot get any icon to render.  The label and actions work perfectly but the icon does not show up.  The icon is embedding properly as I can see it in the "icon" property of a button in the same file.  I've also tried putting the path to the icon file in the xml, no joy.


 

My Menu XML Is:



            
        



 

My MXML is:



   

cornerRadius="3" itemClick="menuHandler(event)" labelField="@label" iconField="@icon" />

    I cannot find any samples anywhere with icons in the menu,  Is this still supported?  Can anyone tell me what i'm doing wrong?  I am using Flex 
2.0 RTM

 

- Kelly

 

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] menubar icon

2006-08-25 Thread Doug Arthur



Can someone send me an example of an icon in a menubar?
 
- Doug

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] TitleWindow title text aligned left & aligned right...

2006-08-25 Thread Doug Arthur



How do you have text on the left and right of a TitleWindow???
 
Here's an example if you login: http://flexderby.ntara.com/
 
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
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] specifying a percentage width in script?

2006-08-24 Thread Doug Arthur



Thanks all! That was easy! :) Now for my other problem see "ControlBar added in Script display issue"
 
 
Thanks! 
On 8/24/06, Tom Ortega <[EMAIL PROTECTED]> wrote:






I had this problem too, you'll be mad about the simple answer.  =)percentWidthLOL.Enjoy!-Tom2

On 8/24/06, Brian Dunphy < [EMAIL PROTECTED]
> wrote: 






I think you may have to determine the width of the outer container and calculate the percentage (in pixels) the manual way.Thanks,Brian

On 8/24/06, Doug Arthur <[EMAIL PROTECTED]
> wrote: 







How can I specify spacer.width = "100%"??? It throws an error because 100% is not an int.
 
Thanks!

-- Brian Dunphy 


 

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] ControlBar added in script display issues...

2006-08-24 Thread Doug Arthur




I'm creating a popup with a progress bar and a cancel button, I want to add a controlBar container, but it's not padding the width of the container properly, any help would be great.
Below is the code:   progressStatus = PopUpManager.createPopUp(Container(Application.application), TitleWindow, true);   progressStatus.width = 300;   progressStatus.styleName = "opaquePanel";
   progressStatus.title = 'Download in Progress:';   bar.mode = 'manual';   bar.label = 'Loading ' + currentIndex + ' of ' + totalOrders + '...';   btnCancel.addEventListener(MouseEvent.CLICK, cancel);   btnCancel.enabled
 = true;   btnCancel.label = 'Cancel';   var ctrlBar:ControlBar = new ControlBar();   ctrlBar.percentWidth = 100;   ctrlBar.addChild(btnCancel);   progressStatus.addChild(ctrlBar);   progressStatus.addChildAt
(bar, 0);   PopUpManager.centerPopUp(progressStatus);   PopUpManager.bringToFront(progressStatus);

__._,_.___





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

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] specifying a percentage width in script?

2006-08-24 Thread Doug Arthur



How can I specify spacer.width = "100%"??? It throws an error because 100% is not an int.
 
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
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: removing a key from object

2006-08-14 Thread Doug Arthur



Ok, I sent this email too soon. I have figured it out.
 
delete UserData.getInstance().recordMap[vendorOrder.detail_id];
 
- Doug 
On 8/14/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


How do you remove a key from an Object in flex?
 
This is what I currently have:UserData.getInstance().recordMap[vendorOrder.detail_id] = null;

What I really want to do is completely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null.
 
Thanks!

- Doug

__._,_.___





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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] removing a key from object

2006-08-14 Thread Doug Arthur



How do you remove a key from an Object in flex?
 
This is what I currently have:UserData.getInstance().recordMap[vendorOrder.detail_id] = null;

What I really want to do is completely remove vendorOrder.detail_id from the recordMap Object completely, not just set it null.
 
Thanks!
- Doug

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur



Michael, thanks... I can do that already. What I'm looking to do is bullet items in the text. I think I will just go with a TitleWindow/VBox custom class.
 
 
Thanks! 
On 8/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]
> wrote:






[Embed(source="/assets/images/alert.png")][Bindable]public var alertSymbol:Class;Alert.show("Text entered in the comments box will be lost! Do you want tocontinue?","Alert",
Alert.YES|Alert.NO,null,alertListener,alertSymbol,Alert.NO);"Doug Arthur" To: flexcoders@yahoogroups.com
 <[EMAIL PROTECTED]> cc: Sent by: Subject: Re: [flexcoders] Re: image in text within 
flexcoders@yahoogroups.com Alert.show() 08/08/2006 02:09 PM Please respond to flexcoders 

can anyone point me in the right direction on this? Thanks! On 8/7/06, Doug Arthur <
[EMAIL PROTECTED]> wrote: I'm also realizing I'm not to sure on how I'd do that? The show does a lot more than just text... On 8/7/06, Tim Hoff <
[EMAIL PROTECTED] > wrote: Hi Doug, To do this, you are probably going to have to create your own component that extends the Alert class. Instead of text, use htmlText. -TH --- In 
flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote: 
> > Does anyone know how to add an image in the text that I would put in an > Alert.show()??? > > Here's why I'm trying to do this, I'm alerting an error, and I want an image 
> to bullet point some items. > > Thanks! > 
--This e-mail message (including attachments, if any) is intended for the useof the individual or entity to which it is addressed and may containinformation that is privileged, proprietary , confidential and exempt from
disclosure. If you are not the intended recipient, you are notified thatany dissemination, distribution or copying of this communication isstrictly prohibited. If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.-- 
 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur



can anyone point me in the right direction on this? 
 
Thanks! 
On 8/7/06, Doug Arthur <[EMAIL PROTECTED]> wrote:

I'm also realizing I'm not to sure on how I'd do that? The show does a lot more than just text...

On 8/7/06, Tim Hoff <[EMAIL PROTECTED]
> wrote: 







Hi Doug,To do this, you are probably going to have to create your own component that extends the Alert class. Instead of text, use htmlText.-TH--- In 
flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> 
wrote:>> Does anyone know how to add an image in the text that I would put in an> Alert.show()???> > Here's why I'm trying to do this, I'm alerting an error, and I want 
an image> to bullet point some items.> > 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur



Awesome, thanks... Now how would I embed an image in htmlText?
 
- Doug 
On 8/7/06, Tim Hoff <[EMAIL PROTECTED]> wrote:






Hi Doug,To do this, you are probably going to have to create your own component that extends the Alert class. Instead of text, use htmlText.-TH--- In 
flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> 
wrote:>> Does anyone know how to add an image in the text that I would put in an> Alert.show()???> > Here's why I'm trying to do this, I'm alerting an error, and I want 
an image> to bullet point some items.> > 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur



I'm also realizing I'm not to sure on how I'd do that? The show does a lot more than just text...
On 8/7/06, Tim Hoff <[EMAIL PROTECTED]> wrote:






Hi Doug,To do this, you are probably going to have to create your own component that extends the Alert class. Instead of text, use htmlText.-TH--- In 
flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> 
wrote:>> Does anyone know how to add an image in the text that I would put in an> Alert.show()???> > Here's why I'm trying to do this, I'm alerting an error, and I want 
an image> to bullet point some items.> > 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] image in text within Alert.show()

2006-08-07 Thread Doug Arthur



Does anyone know how to add an image in the text that I would put in an Alert.show()???
 
Here's why I'm trying to do this, I'm alerting an error, and I want an image to bullet point some items.
 
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] fundamental logout problem...

2006-08-03 Thread Doug Arthur



I've built a system that utilizes a login/logout process. The login portion works great. I realize now that my app is 95% complete, that when logout is executed, all it really does is change states, clear the user singleton instance, but what I didn't realize was going to be a challange is how to globally log them out so that data throughout the app is wiped clean slate, and when another user logs in, they won't get the previous users data.

 
I've tried all the initialize,creationComplete,updateComplete, and oher methods and they don't do the trick.
 
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] PopUp from within a class

2006-08-02 Thread Doug Arthur



Yea, I'm going to need some help. I ended up using: 
 
Application.application.callLater(parseOrders, args); 
 
parseOrders is a new function where I basically broke out the loop into a seperate call to the above listed code. This still did not display my popup before the loop properly. Maybe i'm not doing it right?
 
for each(var vendorOrder:VendorOrder in vendorOrders) {
  var args:Array = new Array();
  args.push(vendorOrder);
  Application.application.callLater(parseOrders, args);}
 
private function parseOrders(vendorOrder:VenorOrder):void {
  // do what was in my loop originally instead of callLater()...
} 
On 8/2/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 

On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]
> wrote: 










Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update. 

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try. 

 
Tracy
 





From: [EMAIL PROTECTED]
 ups.com [mailto:
[EMAIL PROTECTED] ups.com] On Behalf Of Doug Arthur

Sent: Tuesday, August 01, 2006 7:22 PMTo: [EMAIL PROTECTED]
ups.com



Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
 [EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
 ;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
 [EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
 [EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 





  

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] PopUp from within a class

2006-08-02 Thread Doug Arthur



I looked in the docs, and it's suppose to be: callLater(myFunction, args)
 
When I try this, I get Error - 1180: Call to a possibly undefined method callLater.
 
Thanks! 
On 8/1/06, Tracy Spratt <[EMAIL PROTECTED]> wrote:








Use callLater() to start the loop. That will give the ui a chance to update before the heavy processing begins.  If you have heavy processing going on, like in a loop, the UI will not redraw until the loop is done.  To change this you need to break the loop up into smaller bits and use callLater() to get the ui to update.

 
Jesse helped me with this a year or so ago. I couldn't find his example any more.  If you need more help I will try.

 
Tracy
 




From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Doug ArthurSent: Tuesday, August 01, 2006 7:22 PMTo:
 [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] PopUp from within a class


 




That's perfect, thanks.


 

One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count. 


 

Thanks! 

On 8/1/06, Martina Smith <
[EMAIL PROTECTED]> wrote: 






Hi Doug,

 

Try using the code in the zip attached herewith..

 

I have given a complete example of how PopupManager will work.

 

Hope this solves your problem!


 

Regards,

Martina

 

Doug Arthur <
[EMAIL PROTECTED]> wrote:




Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. 
this.parent is null. The only thing I've found to work now is the following: 

 

var tw:TitleWindow = 
new TitleWindow();tw.title = 'Test Window...'
;var txt:Label = new Label();
txt.text = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application 
as DisplayObject, true); 

 

I'm not sure if there is any other way though...?

 

Thanks!

 

On 7/31/06, Martina Smith <
[EMAIL PROTECTED] > wrote: 







Hi Doug,

 

You can make use of PopupManager Class to create a popup dynamically.

 

Regards,

Martina 

Doug Arthur <
[EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating 
SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 

Any ideas? Thanks!
 





Here's a new way to find what you're looking for - 
Yahoo! Answers 
 
 



Here's a new way to find what you're looking for - 
Yahoo! Answers 

 


 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] PopUp from within a class

2006-08-01 Thread Doug Arthur



That's perfect, thanks.
 
One other issue I have is when popuping up the window before a large loop, the window doesn't actually render until the loop is done. Is there a reason for that or a workaround? I'm working on the same thing as in another thread about a 'Please Wait...' type of thing, but I want to put a progress bar and do setProgress(n, x); where n is the incrimented number in the loop and x is the total loop count.

 
Thanks! 
On 8/1/06, Martina Smith <[EMAIL PROTECTED]> wrote:







Hi Doug,
 
Try using the code in the zip attached herewith..
 
I have given a complete example of how PopupManager will work.
 
Hope this solves your problem!

 
Regards,
Martina
 
Doug Arthur <[EMAIL PROTECTED]> wrote:



Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. this.parent is null. The only thing I've found to work now is the following: 

 
var tw:TitleWindow = new TitleWindow();tw.title = 
'Test Window...';var txt:Label = new Label();txt.text
 = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application as
 DisplayObject, true); 
 
I'm not sure if there is any other way though...?
 
Thanks!
 
On 7/31/06, Martina Smith <[EMAIL PROTECTED]
> wrote: 







Hi Doug,
 
You can make use of PopupManager Class to create a popup dynamically.
 
Regards,
Martina 
Doug Arthur <[EMAIL PROTECTED]> wrote:






Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 
Any ideas? Thanks!




Here's a new way to find what you're looking for - Yahoo! Answers
 






Here's a new way to find what you're looking for - Yahoo! Answers
 


 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] PopUp from within a class

2006-08-01 Thread Doug Arthur



Yes, I've dealt with PopUp's plenty of times, but the problem is while I'm within a class object, it will not let me reference the document. I've tried using "this", and it does not work. this.parent is null. The only thing I've found to work now is the following:

 
var tw:TitleWindow = new TitleWindow();tw.title = 
'Test Window...';var txt:Label = new Label();txt.text
 = 'THIS IS A TEST';tw.addChild(txt);PopUpManager.addPopUp(tw, Application.application as
 DisplayObject, true); 
 
I'm not sure if there is any other way though...?
 
Thanks!
 
On 7/31/06, Martina Smith <[EMAIL PROTECTED]> wrote:







Hi Doug,
 
You can make use of PopupManager Class to create a popup dynamically.
 
Regards,
Martina 
Doug Arthur <[EMAIL PROTECTED]> wrote:





Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working. 

 
Any ideas? Thanks!




Here's a new way to find what you're looking for - Yahoo! Answers
 

 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] PopUp from within a class

2006-07-31 Thread Doug Arthur



Does anyone know how to create a popup from within a class? I can't seem to reference anything of type DisplayObject such as .parent and so on... I've even tried instantiating SystemManager.getSWFRoot(this), and other things with SystemManager... Nothing is working.

 
Any ideas? 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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Re: Flex 2: how to convert a remote XML file to a self defined object

2006-07-27 Thread Doug Arthur



I just ran into a similar probem and it was for some reason do to the namespace on the xml document. I was trying to work with spreadSheetXML (Microsoft XML schema for Excel), needless to say it was a complex XML doc. I had to do loops on the child, check the name() agains the 
fully_qualified_schema::name
 
eg: if(item.name() == 'urn:schemas-microsoft-com:office:spreadsheet::@data') 

 
 
Below is my complete short example of how I'm parsing through XML. What I'm doing is using a template to re-build XML with dynamic data... (I'm guessing there's a way to do xml translations via xslt but, I have no idea how... so don't take this example to heart as in what I'm doing, this is just shows parsing at least...)

 

public function parseXMLTemplates():
void {  parseChildren(templateXML.children());}public function
 parseChildren(xmlChild:XMLList):void {  var dataXML:XML =      DATA_SECTION
  ;  if(xmlChild.length()) {    for 
each(var item:XML in xmlChild) {
  if(item!=='') {    if(item.name() == 
'urn:schemas-microsoft-com:office:spreadsheet::@data') {  item.parent().replace(item.name(), dataXML);    }  }  }
  if(xmlChild.children().length())    parseChildren(xmlChild.children());  }} 
 
On 7/27/06, junhufr <[EMAIL PROTECTED]> wrote:






Sorry for the mistake, actually, I couldn't retrive the "companyA"child by using .child("companyA") method.
--- In 
flexcoders@yahoogroups.com, "junhufr" <[EMAIL PROTECTED]> wrote:>> I've tried to convert a remote XML such as "client.xml" to a self> defined client class, but failed.> 
> > > > Tom> > > Jerry> 
> > > > > Jean> > > Philip> 
> > > 1. I invoked the XML from HTTPService> 2. Then I could get the child "companyA" from the object that i> invoked for HTTPService by using .child("companyA") method.
> > > Any helps will be appreicated.> > Jun>

 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] query as a flex class object

2006-07-27 Thread Doug Arthur



Isn't there a way to populate a dataGrid with a query returned from cf and then reference the selectedItem as a existing Flex Class? When I try to do this, it does not work. Any Ideas?
 
var myClassObj:myClass = myDataGrid.selectedItem as myClass;
The attributes on myClassObj would not be populated or even accessible.
 
 
More explained for the reactor group:
What I currently have to do is return an array of objects by using the iterator, I want to get away from that and use a gateway. Below is my actual code...
 
Currently Returning (which is EXTREMELY slow):
var result = ArrayNew(1);iterator = Variables.beanFactory.getBean(
'reactorFactory').createIterator('vendor_orders');iterator.getWhere().IsEqual('vendor_orders'
, 'vendor_id', arguments.vendor_id).IsIn('vendor_orders', 
'status', '0,1,3');objArray = iterator.getArray();for(i=
1;i lte ArrayLen(objArray);i=i+1
) {ArrayAppend(result, objArray[i]._getTo());}return result;
 
 
What I want to return:
var result = "";gateway = Variables.beanFactory.getBean
('reactorFactory').createGateway('vendor_orders');query = gateway.createQuery();query.getWhere
().IsEqual('vendor_orders', 'vendor_id', arguments.vendor_id).IsIn(
'vendor_orders', 'status', '0,1,3');result = gateway.getByQuery(query);
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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] setting value on cfc & invoke another method on cfc

2006-07-20 Thread Doug Arthur



How would you invoke one method on a cfc from flex, then call another method on the same cfc and the cfc maintain the values from the first invoke? 
 
example:


     name="init"
 access="remote" output=
"false" returntype="any">
         this />        
 name="doSomething" access=
"remote" output="false" returntype=
"any>         getSomeValue() &
 ' is the value you asked for...' />    
     name="setSomeValue"
 access="remote" output=
"false" returntype="any">
     name="someValue" required=
"true" default="" 
/>     Variables.someValue =
 arguments.someValue />    
     name="getSomeValue" access=
"remote" output="false" 
returntype="any">     
Variables.someValue />    
 
remoteObject.setSomeValue('something');
remotObject.doSomething(); // I'm looking for event.result to contain the string 'something is the value you asked for...'
 
 
 

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Flex 2 & Reactor/ColdSpring

2006-07-12 Thread Doug Arthur





How would you go from an ActionScript class to CS/Reactor?
 
I'm trying to use CS & Reactor with Flex. The stumbling block I'm at is that I can't figure out how to get a populated ActionScript class tied in with either CS or Reactor I have an ActionScript class that represents a database table, then I have the RemoteClass cfc bean that the ActionScript class references, so when I pass in the ActionScript class to cf, the cf bean already has the values defined. What's the best way to get reactor to recognize this and just invoke a save method? 

 
Thanks!

- Doug

__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Adding EventListener to variable...

2006-06-23 Thread Doug Arthur



Is there a way to add an EventListner to see when a value of a variable has changed? For instance, if I want to invoke a specific function when myVar is no longer empty?
 
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] databinding...

2006-06-23 Thread Doug Arthur



I have a class that I want to be bindable with text fields... When the text field gets updated, the value for the attribute in the class should be updated. The problem is that's not happening the way I thought it should. Am I doing something wrong, or do I have the wrong  idea about the capability of databinding???

 
 
When the "asdf" button is clicked, I'm expecting it to display what's in the lastName field, but based on the updated attribute from the TexInpu.
 
package com.viva.model{ [Bindable] public class RecordData {  public var recordID:int;  public var firstName:String = 'Douglas';  public var middleName:String;  public var lastName:String;
  public var address:String;  public var city:String;  public var state:String;  public var zip:String;  public var heightFt:Number;  public var heightIn:Number;  public var weight:Number;  public var hairColor:String;
  public var eyeColor:String;  public var dob:Date;public function RecordData():void {   // constructor  } }}
 
 xmlns:mx="http://www.adobe.com/2006/mxml" label="Name / Address" 
 width="100%"  height="100%"> 

 
  
   




__._,_.___





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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] RemoteObject call results into a bindable var not updating...

2006-06-15 Thread Doug Arthur



Hi, I'm trying to call a cfc and put the results into a bindable public var and use that on the page. But the problem is that when I call the method on the cfc, it doesn't put the value into the var immediately as expected... Here's the code, maybe that'll be more helpful:

 
 
 source="flexapps.new.viva.components.model.Record"  showBusyCursor="true">  
  
 
   

[flexcoders] multiton

2006-06-05 Thread Doug Arthur



I'm taking a stab at creating a multiton in Flex 2.0. Is there an easier way to do it other than how I have done it in the code below? I'm looking for the best implementation.
 
Thanks!
 

package com.model { import flash.net.SharedObject; import mx.collections.ArrayCollection;  public class Record {private static var instance:Record = null;  private static var blocker:Object = null;
private var _so:SharedObject;public function Record(record:int) {   _so = SharedObject.getLocal(record.toString());   if(blocker == null)throw new Error("Public construction not allowed. Use getInstance()");
  }public static function getInstance(record:int):Record {   blocker = new Object();var key:Object = new Object();key.value = record;instance = Record.get(key);if(instance == null) {
 instance = new Record(record); Record.put(key, instance);}  return instance;  }public function set i(s:String):void {   _so.data.i = s;   _so.flush();  }
public function get i():String {   return _so.data.i;  }
 
 
  // INSTANCE FUNCTIONS TO MANAGE MULTITON...  public static var instanceContainer:ArrayCollection = new ArrayCollection();public static function put(key:Object, instance:Object) {   var newInstance:Object = new Object();
   newInstance.key = key;   newInstance.instance = instance;   instanceContainer.addItem(newInstance);  }public static function get(key:Object) {   for(var i=0;ivar currentInstance = instanceContainer.getItemAt(i);if(currentInstance.key == key) return currentInstance.instance;else return null;   }  }
   }}






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: Multiple instances

2006-06-01 Thread Doug Arthur



Thank you very much for you reply.
 
I guess that's what I'm looking for, binding my interface to data. I need to have the functionality of a user clicking "add new record" and all the fields empty, and new instance of data can be filled out, while the other instances of data still exist in memory.

 
So, one view and multiple data instances for that single complex-view (modulized in multiple components). Each instance of data needs to be indentifiable, and can page through each instance with a next button.

 
Here's what I've researched between then and now. I can create a singleton and implement the getInstance() method using the SharedObject.getLocal(data_name, data_location...) and instantiate the class with data for each paged record.

 
Am I on the right track? Are there examples out there with this for Flex 2.0. I haven't been able to get most examples to work. Although, I have been able to successfully instantiate multiple instances of data, just not bound to one view yet. I'm starting to get the hang of it and don't see it being as hard as it looked when I originally sent this message. But feedback and suggestions is much appreciated, so please let me know if I'm on the right track everyone.

 
Thanks!
- Doug 
On 6/1/06, Darren Houle <[EMAIL PROTECTED]> wrote:


Doug,I think maybe the lack of replies might be due to the fact you haven't asked a question yet.  "Need assistance" is very vague.  Specifically what do you need assistance with?  Are you having trouble somewhere in your custom mxml 
components?  Are you looking for a way to bind your interface to data?  If I had to guess I'd say you're looking for a way to bind your interface to data, but also provide a way to offer those same pages blank, so a user can 
fill them out to create new records...?Darren>From: "Doug Arthur" <
[EMAIL PROTECTED]>>Reply-To: flexcoders@yahoogroups.com>To: 
flexcoders@yahoogroups.com>Subject: [flexcoders] Re: Multiple instances>Date: Thu, 1 Jun 2006 08:42:58 -0500
>>Wow, it amazes me how active this group is, but I yet to get an answering>from anyone on this problem. Does anyone have any suggestions for me at 
>all?>>Thanks!>- Doug>>>On 5/31/06, Doug Arthur <[EMAIL PROTECTED]
> wrote:>>>>  I hope I form my question and problem adequate enough for everyone to>>understand.>>>>I'm still fairly new to flex and I'm trying to do something complicated,
>>at least in my mind it is.>>>>What I'm trying to do is to have multiple instances of the below code with>>different data. I have pages broken out into multiple mxml components. 
>>Each>>components has data driven values on it, but what i need is to have >>multiple>>instances of data and to propagate the data through the pages to their>>respective components... The purpose of this is to use a "Previous/Next
>>Record" process. This include non-existent records, what I mean by this is>>that a user can enter multiple records in a given time with a "Add New>>Record" action. And also a "Delete Record" action.
>>>>I hope this all is clear, please, any assistance would be much>>appreciated. Thanks!>>>>>>>>>>>>Here's the code example (really high level):
>>  >>   >>    >>    
>>    >>    >>    >>   >>  >>>>
>>>>- Doug>>
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 










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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] NEED: simple mxml component & class that utilize the getInstance methods for Flex 2.0...

2006-06-01 Thread Doug Arthur



Awesome, that did the trick!
 
I can't believe I missed that...
 
Thanks!
- Doug
 
On 6/1/06, Xavi Beumala <[EMAIL PROTECTED]> wrote:


I think there's an error on your code:
if(_self = null) _self = new Blah();
should be:
if(_self == null) _self = new Blah();
X.

On 6/1/06, Doug Arthur <
[EMAIL PROTECTED]> wrote:





I need to find a simple tutorial or example of implementing a getInstance method in a class, and then invoking it.
 
Here's what I have so far, but it is not working.
 
 
   var asdf:Blah = Blah.getInstance();   var a = Blah.getInstance().geta();   mx.controls.Alert.show(a); 
 
package{ public class Blah {  public var a:String = null;public function Blah() {   // constructor   seta('a');  }private static var _self:Blah = null;public static function getInstance():Blah { 
   if(_self = null) _self = new Blah();   return _self;  }public function seta(b:String):void {   a = b;  }public function geta():String {   return a;  } }}

 
 
I get the following error: Cannot access a property or method of a null object reference.
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  

 To unsubscribe from this group, send an email to: 
 [EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service . 



--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 










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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: Multiple instances

2006-06-01 Thread Doug Arthur



Wow, it amazes me how active this group is, but I yet to get an answering from anyone on this problem. Does anyone have any suggestions for me at all?
 
Thanks!
- Doug 
On 5/31/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


I hope I form my question and problem adequate enough for everyone to understand.
 
I'm still fairly new to flex and I'm trying to do something complicated, at least in my mind it is.
 
What I'm trying to do is to have multiple instances of the below code with different data. I have pages broken out into multiple mxml components. Each components has data driven values on it, but what i need is to have multiple instances of data and to propagate the data through the pages to their respective components... The purpose of this is to use a "Previous/Next Record" process. This include non-existent records, what I mean by this is that a user can enter multiple records in a given time with a "Add New Record" action. And also a "Delete Record" action. 

 
I hope this all is clear, please, any assistance would be much appreciated. Thanks!
 
 
 
 
 
Here's the code example (really high level):
 
  
 
 
- Doug






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] NEED: simple mxml component & class that utilize the getInstance methods for Flex 2.0...

2006-06-01 Thread Doug Arthur



I need to find a simple tutorial or example of implementing a getInstance method in a class, and then invoking it.
 
Here's what I have so far, but it is not working.
 
 
   var asdf:Blah = Blah.getInstance();   var a = Blah.getInstance().geta();   mx.controls.Alert.show(a); 
 
package{ public class Blah {  public var a:String = null;public function Blah() {   // constructor   seta('a');  }private static var _self:Blah = null;public static function getInstance():Blah {
   if(_self = null) _self = new Blah();   return _self;  }public function seta(b:String):void {   a = b;  }public function geta():String {   return a;  } }}

 
 
I get the following error: Cannot access a property or method of a null object reference.






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Multiple instances

2006-05-31 Thread Doug Arthur



I hope I form my question and problem adequate enough for everyone to understand.
 
I'm still fairly new to flex and I'm trying to do something complicated, at least in my mind it is.
 
What I'm trying to do is to have multiple instances of the below code with different data. I have pages broken out into multiple mxml components. Each components has data driven values on it, but what i need is to have multiple instances of data and to propagate the data through the pages to their respective components... The purpose of this is to use a "Previous/Next Record" process. This include non-existent records, what I mean by this is that a user can enter multiple records in a given time with a "Add New Record" action. And also a "Delete Record" action.

 
I hope this all is clear, please, any assistance would be much appreciated. Thanks!
 
 
 
 
 
Here's the code example (really high level):

  
 
 
- Doug






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: RemoteObject error...

2006-05-19 Thread Doug Arthur



For some reason, adding the following line fixes it. I just don't understand why this line needs to be in the code???
 
 
 
On 5/19/06, Doug Arthur <[EMAIL PROTECTED]> wrote:


When I try to use a remote Object, I get the following error.
 
ArgumentError: Error #2004: One of the parameters is invalid. 
Why am I getting this error?






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] RemoteObject error...

2006-05-19 Thread Doug Arthur



When I try to use a remote Object, I get the following error.
 
ArgumentError: Error #2004: One of the parameters is invalid. 
Why am I getting this error?






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flash Remoting w/o FDS

2006-05-18 Thread Doug Arthur



Where can I find an example syntax to do a call to a cfc w/o FDS?
 
Using Flex 2.0.
 
Thanks!
- Doug






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Trouble getting started with cairngorm-0.99

2006-05-16 Thread Doug Arthur



Hi, 
 
I'm having trouble getting started with cairngorm. I tried to run the login example, and it bombed on me. I'm running Flex 1.5. Below is the error.
 
 
7 Errors found.  Error D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\org\nevis\cairngorm\samples\login\business\Services.mxml:22
 
Namespace http://www.iterationtwo.com/cairngorm has not been associated with component manifest. Error 
D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\org\nevis\cairngorm\samples\login\business\Services.mxml:22 
No type for element "http://www.iterationtwo.com/cairngorm:ServiceLocator" Error 
D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\org\nevis\cairngorm\samples\login\business\Services.mxml:22 
Unexpected root element "http://www.iterationtwo.com/cairngorm:ServiceLocator" does not extend MovieClip 
Error D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\Index.mxml:43 
Don't know how to parse element "org.nevis.cairngorm.samples.login.business.*:Services". It is not a known type or a property of mx.core.Application. Error 
D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\Index.mxml:46 
Don't know how to parse element "org.nevis.cairngorm.samples.login.control.*:DemoControl". It is not a known type or a property of mx.core.Application. 
Error D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\Index.mxml:50 
Don't know how to parse element "org.nevis.cairngorm.samples.login.view.*:IndexViewHelper". It is not a known type or a property of mx.core.Application. 
Error D:\inetpub\daaroot\testbed\Flex\cairngorm-0.99\samples\login\webapp\Index.mxml:53 
Don't know how to parse element "http://www.macromedia.com/2003/mxml:ViewStack". It is not a known type or a property of mx.core.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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] events

2006-05-15 Thread Doug Arthur



What about keyListeners? How can I implement a KeyListener, because when I run the following code, it errors trying to access the Key variable. Lines 3 & 6. "This statement is not permitted in a class definition."

 
var keyListener = new Object();
keyListener. {
  x = Key.getAscii();
  trace("You hit: " + x);
};
Key.addListener(keyListener); 
 
Thanks again!
- Doug 
On 5/15/06, Tom Chiverton <[EMAIL PROTECTED]> wrote:


>>> On Mon, May 15, 2006 at  4:19 PM, in message<[EMAIL PROTECTED]
>,
[EMAIL PROTECTED] wrote: > I know the obvious ones such as "click", "enter", "change", but where
can I> find a complete list that I can reference?
It's listed per tag in the documentation, see 'events' of
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/ComboBox.htmlfor instance.Tom ChivertonThis 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.
CONFIDENTIALITYThis 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.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 


YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 










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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] events

2006-05-15 Thread Doug Arthur



Where can I find a suitable list of events for ActionScript 2.0?
 
I know the obvious ones such as "click", "enter", "change", but where can I find a complete list that I can reference?
 
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: extending components

2006-05-14 Thread Doug Arthur



I'm working with Flex 1.5, do these livedocs still apply?
On 5/14/06, jeremy lu <[EMAIL PROTECTED]> wrote:


http://livedocs.macromedia.com/labs/1/flex20beta3/0461.html
very detailed information about Event (flow and listeners)

On 5/14/06, Doug Arthur <
[EMAIL PROTECTED]> wrote:


Is there a good resource on understanding dispatching and listening for events?On 5/12/06, jeremy lu <
[EMAIL PROTECTED]> wrote:> >> >  login panel, and show the main panel. Or, is there better ways of > > accomplishing what I seek?> >>> yes, I would use events to trigger next screen(view),
> say after login view finished all it's job, dispatch a "loginSuccess" event> and let the underlying Application catch it then switch Main view, you could> also considering using "View State" or viewstack to more efficiently manage
> all the views.>> you can also take a look at how Cairngorm (a flex framework) handles these > kinds of situations.>>
 Yahoo! Groups Sponsor ~-->Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/nhFolB/TM~->
--Flexcoders Mailing ListFAQ: 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/
<*> 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 ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 

SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 



YAHOO! GROUPS LINKS 

 Visit your group "flexcoders" on the web.  
 To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]  
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 











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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Re: extending components

2006-05-14 Thread Doug Arthur



Is there a good resource on understanding dispatching and listening for events?

On 5/12/06, jeremy lu <[EMAIL PROTECTED]> wrote:
> >
> >  login panel, and show the main panel. Or, is there better ways of
> > accomplishing what I seek?
> >
>
> yes, I would use events to trigger next screen(view),
> say after login view finished all it's job, dispatch a "loginSuccess" event
> and let the underlying Application catch it then switch Main view, you could
> also considering using "View State" or viewstack to more efficiently manage
> all the views.
>
> you can also take a look at how Cairngorm (a flex framework) handles these
> kinds of situations.
>
>






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

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] extending components

2006-05-12 Thread Doug Arthur



Hi, 
 
I'm fairly new with Flex. I'm trying to create my own components that I will use as views. The problem that I face is that each view needs to interact with other views. When I try to make a component that references ActionScript in the main template, it does not work. How can I make the component extend the main template and just act as an include/module?

 
Rational: I've got a login process that has it's own view and calls to a cfc, does some AS validation, and then once all is passed, it needs to invoke another AS function to hide the login panel, and show the main panel. Or, is there better ways of accomplishing what I seek?

 
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



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.