Re: [flexcoders] MSSQL date field error: Error #1034: Type Coercion failed: cannot convert 2008-03-19 00:00:00.0 to Date.

2010-04-18 Thread Wally Kolcz
Nevermind. I found the DateFriend Class has a stringToDate function that 
worked like a charm.



[flexcoders] Re: Actionscript Project Flex Project How does the display list change?

2010-04-18 Thread Amy


--- In flexcoders@yahoogroups.com, Clark Stevenson a.scots...@... wrote:

 Hey guys.
 
 Say your familiar with Flash document Class. Flash Develop or Flex
 actionscript projects in that your not so familiar with MXML.
 
 You take this class
 
 package
 {
  public class MyGraphic extends Sprite
  {
 
   private var customSprite:Sprite;
 
   public function MyGraphic()
   {
   super();
   }
 
  }
 }
 
 
 
 Ok heres the issue. If i start a new Flex Project because i want to combine
 either an existing complex project or branch my application out to pure AS3
 yet i want to retain the functionality of MXML for a form or a games room
 etc.
 
 How can i do this?
 
 I remember last time i tried it was awkward.  MyGraphic needed to extend
 UIComponent but then it got awkward because customSprite needed to also be a
 UIComponent so i never found a way to combine them. Likewise, i read about a
 rather obscure addRawChild() method but it seemed like a hack or frowned
 apon.
 
 That has something to do with the display list?
 
 Is there any sources which i can read that deal with AS3 OOP TO Flex MXML

Check out
http://guyinthechair.com/?p=164
http://jacwright.com/blog/320/introducing-reflex/

HTH;

Amy
 instead of treating you like you dont know what actionscript 3.0 is and
 concentrating on MXML only?  I cannot find the relationship or common
 functionality between the 2 different approaches. If i go with MXML im stuck
 in modular tags with supporting actionscript, or if go with only AS3 i
 have no access to the framework.
 
 Cheers.
 
 Clark.





[flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi,

I'm working on a cairngorm flex app and have been told to put all business
logic inside the CG Command.

At the end of the CG Command, I need to get the ADG to expand it's grouping
nodes for a particular node.


What is the correct way of solving this problem because from my Command, I
can't 'see' the view.

Should I update the model from the Command and have a ChangeWatcher on the
view to run the AdvancedDataGrid.expandChildrenOf() code?

Is there a right and wrong way of solving this?


Thanks,
Nick


Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Download cairgorm extensions. nbsp;It has classes called Callbacks which 
basically notifies the view after a command has finished. nbsp;It's perfect 
for this situation.

-Jake



-- Sent from my Palm Prē
On Apr 18, 2010 1:02 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;



  



  
  
  
Hi,

I'm working on a cairngorm flex app and have been told to put all business 
logic inside the CG Command.

At the end of the CG Command, I need to get the ADG to expand it's grouping 
nodes for a particular node.




What is the correct way of solving this problem because from my Command, I 
can't 'see' the view.

Should I update the model from the Command and have a ChangeWatcher on the view 
to run the AdvancedDataGrid.expandChildrenOf() code?



Is there a right and wrong way of solving this?


Thanks,
Nick





 









  
  
  









Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hi Jake,

Thanks for the info... I know this sounds crazy but because of project/
company politics we have extreem difficulty getting 3rd party libraries on
the project.

Are there any preferred alternative ways?


Cheers,
Nick



On 18 April 2010 19:11, Jake Churchill reyna...@gmail.com wrote:



 Download cairgorm extensions.  It has classes called Callbacks which
 basically notifies the view after a command has finished.  It's perfect for
 this situation.

 -Jake



 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:02 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi,

 I'm working on a cairngorm flex app and have been told to put all business
 logic inside the CG Command.

 At the end of the CG Command, I need to get the ADG to expand it's grouping
 nodes for a particular node.


 What is the correct way of solving this problem because from my Command, I
 can't 'see' the view.

 Should I update the model from the Command and have a ChangeWatcher on the
 view to run the AdvancedDataGrid.expandChildrenOf() code?

 Is there a right and wrong way of solving this?


 Thanks,
 Nick





Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Jake Churchill
Wel, just tell them it's an upgraded version of the cairngorm SWC. nbsp;You 
can just replace the SWC in the project and it'd be all good

-Jake


-- Sent from my Palm Prē
On Apr 18, 2010 1:46 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;



  



  
  
  
Hi Jake,

Thanks for the info... I know this sounds crazy but because of project/ company 
politics we have extreem difficulty getting 3rd party libraries on the project.

Are there any preferred alternative ways?




Cheers,
Nick



On 18 April 2010 19:11, Jake Churchill lt;reyna...@gmail.comgt; wrote:

















nbsp;



  



  
  
  
Download cairgorm extensions. nbsp;It has classes called Callbacks which 
basically notifies the view after a command has finished. nbsp;It's perfect 
for this situation.

-Jake





-- Sent from my Palm Prē


On Apr 18, 2010 1:02 PM, Nick Middleweek lt;n...@middleweek.co.ukgt; wrote: 


nbsp;




  
  
  
Hi,

I'm working on a cairngorm flex app and have been told to put all business 
logic inside the CG Command.

At the end of the CG Command, I need to get the ADG to expand it's grouping 
nodes for a particular node.






What is the correct way of solving this problem because from my Command, I 
can't 'see' the view.

Should I update the model from the Command and have a ChangeWatcher on the view 
to run the AdvancedDataGrid.expandChildrenOf() code?





Is there a right and wrong way of solving this?


Thanks,
Nick





 














 









  












 









  
  
  









Re: [flexcoders] Cairngorm/ Command/ AdvancedDataGrid.expandChildrenOf() ?

2010-04-18 Thread Nick Middleweek
Hey Jake,

Cheers for the response... I've gone with a ChangeWatcher approach. Update
the model from the command and I've dropped in the ChangeWatcher in the
view, seems to be working but was curious who others would solve this...

I'll look into CG Extensions though, cheers for the idea!


Nick





On 18 April 2010 20:29, Jake Churchill reyna...@gmail.com wrote:



 Wel, just tell them it's an upgraded version of the cairngorm SWC.  You can
 just replace the SWC in the project and it'd be all good


 -Jake


 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:46 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi Jake,

 Thanks for the info... I know this sounds crazy but because of project/
 company politics we have extreem difficulty getting 3rd party libraries on
 the project.

 Are there any preferred alternative ways?


 Cheers,
 Nick



 On 18 April 2010 19:11, Jake Churchill reyna...@gmail.com wrote:



 Download cairgorm extensions.  It has classes called Callbacks which
 basically notifies the view after a command has finished.  It's perfect for
 this situation.

 -Jake



 -- Sent from my Palm Prē

 --
 On Apr 18, 2010 1:02 PM, Nick Middleweek n...@middleweek.co.uk wrote:



 Hi,

 I'm working on a cairngorm flex app and have been told to put all business
 logic inside the CG Command.

 At the end of the CG Command, I need to get the ADG to expand it's
 grouping nodes for a particular node.


 What is the correct way of solving this problem because from my Command, I
 can't 'see' the view.

 Should I update the model from the Command and have a ChangeWatcher on the
 view to run the AdvancedDataGrid.expandChildrenOf() code?

 Is there a right and wrong way of solving this?


 Thanks,
 Nick


   



[flexcoders] Find tree node in groupingcollection?

2010-04-18 Thread Nick Middleweek
Hi,

Does anyone know the best way to find the tree node in the grouping
collection for the selected row in an AdvancedDataGrid ?

Hope that makes sense... I've got an ADG with a grouping collection for the
provider and I've got a selected row, what I would like to do is get the
next level up and reference the tree node so i can then
vendorComplexSearch.advancedDataGrid.expandChildrenOf(treeNode, false);
vendorComplexSearch.advancedDataGrid.expandChildrenOf(treeNode, true); to
force a refresh only on that tree node without collapsing the whole
AdvancedDataGrid.


Thanks for any help...

Nick


[flexcoders] GroupingCollection.getParent() doesn't exist?

2010-04-18 Thread Nick Middleweek
Hi,

Does anyone know why the getParent() command listed in the docs doesn't seem
to exist?

http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html#getParent%28%29

I've trying to use it like this...

refreshParent = GroupingCollection(model.groupingCollection).getParent();


Thanks,
Nick


[flexcoders] Re: amazon payments

2010-04-18 Thread groovydave36
It's hard to believe that no one has used amazon payments and flex. help a 
brotha' out?

--- In flexcoders@yahoogroups.com, groovydave36 groovydav...@... wrote:

 anyone? Buehler?
 
 --- In flexcoders@yahoogroups.com, groovydave36 groovydave36@ wrote:
 
  I am trying to integrate amazon payments w/ flex, as shown here:
  
  http://www.adobeopenoptions.com/devnet/flex/articles/flex_amazon_print.html
  
  I've got the payments system down in a standalone php version, so no issues 
  there. I'm having trouble with the flex integration. I've followed the 
  instructions and can click and get into amazon's sandbox fine and pay for 
  everything...well, almost. When I'm on the amazon co-branded site, I press 
  the confirm button and then get redirected to a page that says Signature 
  did not matchthis is coming from the return.php file that Miti created 
  but I can't figure out how to fix it. Anyone figured it out?
 





[flexcoders] security flex

2010-04-18 Thread garykim...@rocketmail.com
I was under the impression that flex is not a secure UI and that credit card 
information and other sensitive information should not be passed through 
flash/flex. 

When I upgraded my account with Pandora, I noticed the payments system 
interface was flash. Also, there is the flex store that Conraets talks about at 
http://coenraets.org/blog/2010/02/flexstore-revisited-building-an-animated-spark-layout/

So, are these methods not secure, then?




[flexcoders] Openings in flex

2010-04-18 Thread Ravi
Hello all,

We have an urgent requirement in flex flash and action scrip 3.0
If any one interested Please send your profile to ivr...@yahoo.com
OR
Call me 9912010608
Location Hyderabad.
Regards,
Ravi.


Send instant messages to your online friends http://uk.messenger.yahoo.com 

Re: [flexcoders] security flex

2010-04-18 Thread Jimmy G
What gave you the impression that UI built in Flex less secure than one
built in HTML? In both cases the end-user can input sensitive data like
credit card information and then it is up to you to setup proper security.
Like making sure that the client to server communication is done using SSL
(meaning HTTPS). If you dont do this in either case, then anyone can capture
the data that is being transmitted.

You need to provide more information so we can help you.

Also the link you provide below doesn't have anything to do with you
question.

Jimmy

On Sun, Apr 18, 2010 at 12:01 PM, garykim...@rocketmail.com 
garykim...@rocketmail.com wrote:



 I was under the impression that flex is not a secure UI and that credit
 card information and other sensitive information should not be passed
 through flash/flex.

 When I upgraded my account with Pandora, I noticed the payments system
 interface was flash. Also, there is the flex store that Conraets talks about
 at
 http://coenraets.org/blog/2010/02/flexstore-revisited-building-an-animated-spark-layout/

 So, are these methods not secure, then?

  




-- 
Jimmy G
Development Team Lead


[flexcoders] Re: security flex

2010-04-18 Thread garykim...@rocketmail.com
the link has everything to do with my question. He gives an example of a 
shopping cart/payment system setup in Flex. This raises my question of whether 
or not flash is secure enough to operate his phone store in real life.

More specifically, user enters information into flash app, which then sends it 
somewhere to get processed (presumably some HTTPS address). The period of time 
where flash is transfering info to the HTTPS address is not secure, as 
described here: http://www.adobe.com/devnet/flex/articles/flex_amazon_02.html

Specifically, Miti (a Flex Evangelist, so we should take his word for it, 
right?) says:

hardcoding sensitive information into a Flex application is a highly insecure 
practice. 

So, is it possible that Pandora's (100% Flex) payments system is secure?




--- In flexcoders@yahoogroups.com, Jimmy G angelone197...@... wrote:

 What gave you the impression that UI built in Flex less secure than one
 built in HTML? In both cases the end-user can input sensitive data like
 credit card information and then it is up to you to setup proper security.
 Like making sure that the client to server communication is done using SSL
 (meaning HTTPS). If you dont do this in either case, then anyone can capture
 the data that is being transmitted.
 
 You need to provide more information so we can help you.
 
 Also the link you provide below doesn't have anything to do with you
 question.
 
 Jimmy
 
 On Sun, Apr 18, 2010 at 12:01 PM, garykim...@... 
 garykim...@... wrote:
 
 
 
  I was under the impression that flex is not a secure UI and that credit
  card information and other sensitive information should not be passed
  through flash/flex.
 
  When I upgraded my account with Pandora, I noticed the payments system
  interface was flash. Also, there is the flex store that Conraets talks about
  at
  http://coenraets.org/blog/2010/02/flexstore-revisited-building-an-animated-spark-layout/
 
  So, are these methods not secure, then?
 
   
 
 
 
 
 -- 
 Jimmy G
 Development Team Lead