[flexcoders] set focus to iframe

2009-08-14 Thread niamath basha
Hi

I have an application with an iframe showing pdf file at the top
and an advanced datagrid(editable) at the bottom

I want to set focus to the pdf while entering data in datagrid by pressing
ctrl+t.

I added listner for key down and used iframe.setFocus();
ya i know it will not work. how can I achive this..
this is similar as Alt + tab change to next open window in the same way
i want to implement this.. any suggestions are appreciated.

With Regards,
Niamath Basha


Re: [flexcoders] Custom DataGrid with Form for itemeditor (any examples)???

2009-07-10 Thread niamath basha
you mean
when we click on datagrid row display a popup with a form containing details
of the selected row
and then you can edit, delete the details.

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



On Thu, Jul 9, 2009 at 10:08 PM, flexaustin flexaus...@yahoo.com wrote:



 Wondering if anyone has ever seen and example of a custom DataGrid
 component where you click a row in the DataGrid to edit it and instead of
 showing a combobox or textfield as an itemeditor you replace the entire row
 with a form.

 So any row or columns lines would be removed or the form would be
 positioned overtop of the row.

 TIA

  



Re: [flexcoders] Re: Streaming in LCDS

2009-07-10 Thread niamath basha
hey there is no reply
you just replied blank..

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



On Fri, Jul 10, 2009 at 12:50 AM, Shailesh Mangal shailesh.man...@gmail.com
 wrote:




 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, niamath
 basha niamathba...@...
 wrote:

 
  Hi all,
 
  I have a problem with streaming in LCDS. while running the sample
 using
  streaming channel it works fine when run it as 'localhost'. but when I
 tried
  to run it through IP address its not working. I tried to change the
 endpoint
  url by giveing ip address. but its not working. plese help me out.
 
  With Regards,
  Niamath Basha
  www.niamathbasha.wordpress.com
 

  



Re: [flexcoders] java data send to flex issue

2009-07-10 Thread niamath basha
try to create an object in flex similar to java return object

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



2009/7/10 j2me_soul j2me_s...@163.com



 This is my data structure at back-end using java,



 ArrayList

   HashTable(keys, values);

   HashTable(keys, values);

   ...

   ...



 but the problem is when push the data to flex this data structure will be
 coverd to a instance of ArrayCollection and the HashTable covered to a
 Object.

 HashTable is out-of-order so the order of my data in flex is different
 every time . I use the ArrayCollection bind to the DataList component
 directly, and I don't want to indicate the order of each columns of  each
 DataList Component.How can I fix this ?





 var dataSource:ArrayCollection = from Java back-end;



 mx:DataList dataProvider={dataSource} /



 I don't want to indicate each columns like this, because I have a lot of
 different structure tables in SQL.



 mx:DataList dataProvider={dataSource} 

 mx:DataListColumns dataField=ID /

 mx:DataListColumns dataField=Name /

 mx:DataListColumns dataField=Age /

 mx:DataListColumns dataField=Address /

 /mx:DataList




 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com
 



Re: [flexcoders] setStyle not valid

2009-07-09 Thread niamath basha
small mistake
use fontSize

styleLabel.setStyle(fontSize, 72);

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



2009/7/8 j2me_soul j2me_s...@163.com



 I try to change the style at runtime

  mx:Button x=38 y=44 label=为中国喝彩 click=butClickHandler(event)/
  mx:Label id=styleLabel text=I'm Label/
private function butClickHandler(event:MouseEvent):void
{
 /* it doesn't work */
 styleLabel.setStyle(font-size, 72);
}


 --
 200万种商品,最低价格,疯狂诱惑你http://count.mail.163.com/redirect/footer.htm?f=http://gouwu.youdao.com
 



[flexcoders] Streaming in LCDS

2009-07-09 Thread niamath basha
Hi all,

I have a problem with streaming in LCDS. while running the sample using
streaming channel it works fine when run it as 'localhost'. but when I tried
to run it through IP address its not working. I tried to change the endpoint
url by giveing ip address. but its not working. plese help me out.

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com


Re: [flexcoders] List ScrollToIndex does not work for last item in List

2009-07-08 Thread niamath basha
It works fine, have a look at this..

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=load()
mx:Script
![CDATA[
import mx.collections.ArrayCollection;

private function load():void {
var arr:ArrayCollection = new ArrayCollection;
for (var i:int=0; i 20; i++) {
arr.addItem(Item  + i);
}
li.dataProvider = arr;
}

private function scrollTo(index:int) : void {
li.scrollToIndex(index);
}
]]
/mx:Script
mx:List id=li  x=171 y=246 height=27 width=183 /
mx:Label x=171 y=293 text=Enter Index number:/
mx:TextInput id=index x=290 y=291 width=64/
mx:Button x=228 y=329 label=Submit
click=scrollTo(parseInt(index.text))/
/mx:Application

With Regards,
Niamath Basha


On Sat, Jul 4, 2009 at 5:06 AM, flexcoder2008 djohnso...@yahoo.com wrote:



 How do you make scrollToIndex work on a List where the last item in the
 List is currently not visible?

 When I use List.scrollToIndex it works for any item above my current
 selection, but will never scroll to the end of the List.

  



Re: [flexcoders] Problem with calling customcomponent second time.

2009-07-08 Thread niamath basha
don't call it on creationComplete
instead call it on 'show' event.

With Regards,
Niamath Basha
www.niamathbasha.wordpress.com



On Wed, Jul 8, 2009 at 12:55 PM, Ganesh Suyampirakasam 
ganesh.suyampiraka...@yahoo.co.in wrote:



 Hi

 I have two Link button,

 First button contain canvas with more fields,similar way second also
 contain few fields

 One field is Customcomponent,ie combox.

 In 1st link button the combo will load with creation complete.

 in second link button i can have the option to add few moreentries to the
 combo which is in 1st link button.

 Once i click 1st link button it will get loaded and when i try to come to
 2nd button and i add one more name at that time combo is not getting
 refreshed with the new data.

 Problem is i am calling customcomponnt in creationcomplete.so for the
 second time when i click on 1st link button how to reload that combo.

 Thanks

 Ganesh

 --
 See the Web's breaking stories, chosen by people like you. Check out Yahoo!
 Buzz http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/.
 



Re: [flexcoders] HELP PLS

2009-07-06 Thread niamath basha
I think it will be helpful http://www.adobe.com/devnet/flex/quickstart.html
i started from here itself

With Regards,
Niamath Basha


On Fri, Jul 3, 2009 at 10:47 PM, Vivian Richard kanps...@gmail.com wrote:



 http://www.adobe.com/devnet/flex/videotraining/


 On Fri, Jul 3, 2009 at 8:21 AM, 
 veerendragaonkar.viren...@yahoo.comgaonkar.virendra%40yahoo.com
 wrote:
 
 
  I'm trying to learn Flex.
  Can anyone guide me, where I can get the information about this.
  I am beginner to Flex
  Thanks in Advance.
 
 
  



Re: [flexcoders] Moving tabs in the TabNavigator

2009-07-02 Thread niamath basha
Hi Wally

In TabNavigator componet use tabOffset property to get your required output.

With Regards,
Niamath Basha


On Thu, Jul 2, 2009 at 5:53 PM, Wally Kolcz wko...@isavepets.com wrote:



 Normally when you have a tab navigator, the tabs start from left to right.
 I see that you can offset the tabs numerically, but can you / how do you
 start the tabs from the right side?
  



[flexcoders] LCDS and JMS topics

2009-07-01 Thread niamath basha
hi all,
I have an Active MQ server which will publish messages ( STOCK.NYSE.GOOG,
STOCK.NYSE.IBM.)
and in Flex (using LCDS) i have to dynamically subscribe for STOCK.NYSE.GOOG
or STOCK.NYSE.IBM
i hve to get data for the subscribed topics only but now i am not able to
subscribe for specific topic
i can just subscribe to STOCK so by this i will get all messages published
on STOCK.

With Regards,
Niamath Basha


[flexcoders] Changing Channel for JMS adapter in LCDS

2009-06-30 Thread Niamath Basha
hi,
Default configuration of JMS adapter in LCDS is configured to rtmp channel. Now 
I want to change the Channel from rtmp to nio-amf-poll. Can I change the 
Channel for JMS adapter? If yes how can I achive that.
Thanks



Re: [flexcoders] Re: Spell Checking

2008-03-26 Thread Niamath Basha
thank you very much 
ya i saw that site
in that google toolbar spell check api is using

if i use that api
when the version of that api changes
does it work well?
 
Regards,
Niamath Basha...


- Original Message 
From: caffeinewabbit [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, March 24, 2008 7:42:59 PM
Subject: [flexcoders] Re: Spell Checking

The Dictionary class in flash.utils is used to create 
collections of
properties using objects as keys, and isn't used for spell checking.
What you'll need to look for is a spell checking component or library
that someone else has made.

A search in Google for Flex spell checker brings this page up as its
first result:

http://www.bridel. org/?p=12

which might help you out. The search also brings up several other
components you could try, so you may want to give that a shot.

-- Greg Crothers

--- In [EMAIL PROTECTED] ups.com, Niamath Basha niamath_flex@ ... wrote:

 hi all,
 i want to implement spell check in my application
 there is dictionary tag in util.flash
 i don't know how use,
 can that tag be helpful..
 any one plz guide me i don't have any idea to implement this.
 thank you
  
 Regards,
 Niamath Basha...
 
 
 
 
 
  
 _ _ _ _ _ _
 Never miss a thing.  Make Yahoo your home page. 
 http://www.yahoo. com/r/hs





!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--

!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--

!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
..bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-reco {
margin-bottom:20px;padding:0px;}
#ygrp-reco #reco-head {
font-weight:bold;color:#ff7900;}

#reco-grpname{
font-weight:bold;margin-top:10px;}
#reco-category{
font-size:77%;}
#reco-desc{
font-size:77%;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
..MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
..replbq{margin:4;}
--






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[flexcoders] Locking row

2008-03-26 Thread Niamath Basha
hi all
In flex 3
how to lock first column which user is viewing
first column view means
if user scroll to right and he lock the column
then first column which he was viewing must be locked
similar to MS Exel - View - Window - Freeze column
 
Regards,
Niamath Basha...





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Spell Checking

2008-03-24 Thread Niamath Basha
hi all,
i want to implement spell check in my application
there is dictionary tag in util.flash
i don't know how use,
can that tag be helpful..
any one plz guide me i don't have any idea to implement this.
thank you
 
Regards,
Niamath Basha...





  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] DataGrid rows to column

2007-10-30 Thread niamath basha
Hi all,
I am new to flex2(fresher),
I have one application in which there will be two datagrids like

UserId   FirstName   LastName   e-mailId

i want to convert this datagird to other datagrid like

UserId0123
FirstName  John
LastName   Smith
e-mailId  [EMAIL PROTECTED]

can any one please provide the snippet for this

thanks
Niamath


[flexcoders] dataGrid

2007-10-29 Thread niamath basha
Can we get the values of datagrid to an array or arraycollection


[flexcoders] can we convert rows of datagrid to columns in other datagrid

2007-10-27 Thread niamath basha
Hi
I have one simple task

I have one DataGrid with rows
I want to convert each row into one column in another datagrid
when i click on perticular row.

plz help me