Re: [flexcoders] Re: Flex with bluetooth input data

2011-12-30 Thread Rick Winscot
If you're talking barcode scanners, mag stripe readers, etcŠ then just use
one that is HID compliant (keyboard emulation). Give the field where the
data needs to go focus ­ scan your tag ­ and voi-la. Done deal. No need for
native extensions or any other fancy footwork. I did a blog post on just
such a topic a couple months back.

http://www.quilix.com/node/84

Šand here is a sexy barcode scanner that acts like an external keyboard.

http://ww1.socketmobile.com/products/bluetooth-scanners.aspx

Cheers,

Rick Winscot


From:  Haykel BEN JEMIA 
Reply-To:  "flexcoders@yahoogroups.com" 
Date:  Fri, 30 Dec 2011 16:38:34 +0100
To:  "flexcoders@yahoogroups.com" 
Subject:  Re: [flexcoders] Re: Flex with bluetooth input data

 
 
 
   

I'm not sure but it should be possible by writing a native extension.

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Fri, Dec 30, 2011 at 3:10 PM, markflex2007 
wrote:
>  
>  
>  
>
> 
> Hi,
> 
> I need to use blue tooth scanner to input bar code to Flex application.do you
> think if it is possible.
> 
> Please give me a idea. Thanks
> 
> Mark
> 
> 
> 
> --- In flexcoders@yahoogroups.com  ,
> "markflex2007"  wrote:
>> >
>> > Hi,
>> > 
>> > How to make Flex (or Air) application can receive bluetooth device's input?
>> Thanks
>> > 
>> > Mark
>> >
> 
> 
>  
>
>  


 
   

 




RE: [flexcoders] Flex Tree selectedItem is null issue

2011-12-30 Thread Philip Smith

Setting the 'selectedItem' twice works around this flex tree bug.

To: flexcoders@yahoogroups.com
From: loudj...@hotmail.com
Date: Fri, 30 Dec 2011 19:14:19 +
Subject: [flexcoders] Flex Tree selectedItem is null issue


















 



  



  
  
  This works, and tree.selectedItem is not null after assignment:



var nodeToSelect:XML = this.tree.dataProvider.getItemAt(0) as XML;



this.tree.expandItem(nodeToSelect, true);

this.tree.selectedItem = nodeToSelect; // NOT NULL



But this doesn't, when the tree 'selectedItem' is set to an xml sub node: 



var node:XML = this.tree.dataProvider.getItemAt(0) as XML;

var nodeToSelect:XML = node.children()[0]; // valid value



this.tree.expandItem(n2, true);

this.tree.selectedItem = nodeToSelect; // NULL



How can I fix this?



Cheers.






 









  

[flexcoders] Flex Tree selectedItem is null issue

2011-12-30 Thread method_air
This works, and tree.selectedItem is not null after assignment:

var nodeToSelect:XML = this.tree.dataProvider.getItemAt(0) as XML;

this.tree.expandItem(nodeToSelect, true);
this.tree.selectedItem = nodeToSelect; // NOT NULL

But this doesn't, when the tree 'selectedItem' is set to an xml sub node: 

var node:XML = this.tree.dataProvider.getItemAt(0) as XML;
var nodeToSelect:XML = node.children()[0]; // valid value

this.tree.expandItem(n2, true);
this.tree.selectedItem = nodeToSelect; // NULL

How can I fix this?

Cheers.




Re: [flexcoders] Re: Flex with bluetooth input data

2011-12-30 Thread Haykel BEN JEMIA
I'm not sure but it should be possible by writing a native extension.

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Fri, Dec 30, 2011 at 3:10 PM, markflex2007 wrote:

> **
>
>
> Hi,
>
> I need to use blue tooth scanner to input bar code to Flex application.do
> you think if it is possible.
>
> Please give me a idea. Thanks
>
> Mark
>
>
> --- In flexcoders@yahoogroups.com, "markflex2007" 
> wrote:
> >
> > Hi,
> >
> > How to make Flex (or Air) application can receive bluetooth device's
> input? Thanks
> >
> > Mark
> >
>
>  
>


[flexcoders] Re: Flex with bluetooth input data

2011-12-30 Thread markflex2007
Hi,

I need to use blue tooth scanner to input bar code to Flex application.do you 
think if it is possible.

Please give me a idea. Thanks

Mark

--- In flexcoders@yahoogroups.com, "markflex2007"  wrote:
>
> Hi,
> 
> How to make Flex (or Air) application can receive bluetooth device's input? 
> Thanks
> 
> Mark
>




Re: [flexcoders] flex with sql server 2008

2011-12-30 Thread Rogerio Gonzalez
Hello!

You can do a connection by socket, or using the sqlserver webservices.

But, there are a few security issues that make people prefer the use of a
server side language to do the connection.


Regards and happy new year!

Rogério Gonzalez


On Thu, Dec 29, 2011 at 9:38 PM, Angelo Anolin wrote:

> **
>
>
> Since you did mentioned that you have some knowledge of .NET, the only way
> to connect to SQL Server is via a backend service (i.e. Web Service) to
> which you could perform queries and CRUD operations.
>
> You would define the web service in your .NET backend and call the same
> from your flex application.
>
>
>
> *From:* Nitin 
> *To:* flexcoders@yahoogroups.com
> *Sent:* Tuesday, December 27, 2011 8:43:02 AM
> *Subject:* [flexcoders] flex with sql server 2008
>
>
> hi i have a question how can i connect to the sql sever 2008 i have a
> little experience in the following subject i have just switch from the .net
> to flex and could not find the way to connect to the sql server without the
> use of the any of the server side technology like php, asp.net, java ,
> JavaScript. is there a way to connect to the sql sever kindly provide with
> some help.
>
> thank you,
>
>
>
>   
>