[flexcoders] FlexUnit error while using stage

2008-06-27 Thread Vinoth Babu
Hi,

FlexUnit is showing error in my test class for 
stage.showDefaultContextMenu = false;

Please let me know, if you experienced this kind of error

Thanks in advance,
Vinoth



[flexcoders] Unit Testing for Flex

2008-06-24 Thread Vinoth Babu
Hi All,

I had developed an Actionscript project using Flex IDE. Here most of
the components are embedded using Flash and Sprite

Do you have any idea of how to do unit testing?

No luck with the following component usage


FlexUnit – I could not find examples using Actionscript project
asunit -  No example for Flex environment 
 

Thanks  Regards,
Vinoth 




[flexcoders] Flex 3 plugin + eclipse crashing OS

2008-04-25 Thread Vinoth Babu
Hi All,

I have Windows vista home edition OS in my laptop and tried to install
Flex 3 plugin in Eclipse europa, it installed successfully but OS is
crashing if I restart my laptop.

what could be the issue?

Thanks,
Vinoth



[flexcoders] Error while selecing items in Menubar

2008-02-12 Thread Vinoth Babu
Hi All,

 

I’m getting this error, while selecting items in Menubar. I had used
external CSS for the menu Style.

 

TypeError: Error #1009: Cannot access a property or method of a null
object reference.

at
mx.core::Container$/http://www.adobe.com/2006/flex/mx/internal::checkFocus()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\Container.as:462]

at
mx.core::UIComponent/mx.core:UIComponent::focusInHandler()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8063]

at flash.display::Stage/set focus()

at
mx.core::UIComponent/setFocus()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:6284]

at
mx.managers::FocusManager/setFocus()[E:\dev\flex_201_borneo\sdk\frameworks\mx\managers\FocusManager.as:390]

at
mx.managers::FocusManager/activate()[E:\dev\flex_201_borneo\sdk\frameworks\mx\managers\FocusManager.as:530]

at
mx.managers::SystemManager/deactivate()[E:\dev\flex_201_borneo\sdk\frameworks\mx\managers\SystemManager.as:1921]

at
mx.managers::FocusManager/mx.managers:FocusManager::hideHandler()[E:\dev\flex_201_borneo\sdk\frameworks\mx\managers\FocusManager.as:1121]

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.core::UIComponent/dispatchEvent()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8389]

at
mx.controls::Menu/dispatchEvent()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:1172]

at
mx.core::UIComponent/setVisible()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:1813]

at mx.core::UIComponent/set
visible()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:1780]

at
mx.controls::Menu/mx.controls:Menu::parentHideHandler()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:791]

at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at
mx.core::UIComponent/dispatchEvent()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:8389]

at
mx.controls::Menu/dispatchEvent()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:1172]

at
mx.core::UIComponent/setVisible()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:1813]

at mx.core::UIComponent/set
visible()[E:\dev\flex_201_borneo\sdk\frameworks\mx\core\UIComponent.as:1780]

at
mx.controls::Menu/hide()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:1344]

at
mx.controls::Menu/http://www.adobe.com/2006/flex/mx/internal::hideAllMenus()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:2010]

at
mx.controls::Menu/mx.controls:Menu::mouseUpHandler()[E:\dev\flex_201_borneo\sdk\frameworks\mx\controls\Menu.as:1476]

 

Thanks in advance,

Vinoth Babu T J 

 




[flexcoders] Re: How to Convert LCDS project into AIR?

2007-11-26 Thread Vinoth Babu
I don't find any response. Oh! my god.

--- In flexcoders@yahoogroups.com, Vinoth Babu [EMAIL PROTECTED] wrote:

 Hi All,
 
 I'm using Flex builder 2 pluing and  LCDS in Eclipse IDE (backend
 java), Now I want to convert this project into AIR application.
 
 Need your help for conversion.
 
 Thanks in advance,
 Vinoth Babu T.J





[flexcoders] How to Convert LCDS project into AIR?

2007-11-20 Thread Vinoth Babu
Hi All,

I'm using Flex builder 2 pluing and  LCDS in Eclipse IDE (backend
java), Now I want to convert this project into AIR application.

Need your help for conversion.

Thanks in advance,
Vinoth Babu T.J



[flexcoders] Help need to update datagrid value dynamically

2007-04-15 Thread Vinoth Babu
Hi All,

I have a datagrid, data's are from external XML file.

Once .swf file is created. I changed few values in XML  reopend .swf file, 
it's not updating. The values are updating if .mxml is recompiled.

by just reopening the .swf file, the data's must update

Here is my code

xx.mxml

?xml version=1.0 encoding=utf-8?

mx:XML id=xmlCatalog source=testX.xml/ 
 mx:XMLListCollection id =testcatlog source={xmlCatalog.product}/  
mx:DataGrid dataProvider={testcatlog} 
mx:columns
mx:DataGridColumn dataField=name headerText=Name/
mx:DataGridColumn dataField=description headerText=Description/
mx:DataGridColumn dataField=price headerText=Price/
mx:DataGridColumn dataField=series headerText=Series/
/mx:columns
/mx:DataGrid
/mx:Application


testX.xml

catalog
  product productId=1
nameNokia 6010/name
descriptionEasy to use without sacrificing styl/description
price99.99/price
series6000/series  
  /product
  product productId=2
nameNokia 3100 Blue/name
descriptionLight up the night with a glow-in-the-dark cover 
/description
price139/price
imageassets/pic/Nokia_3100_blue.gif/image
series3000/series   
  /product
  product productId=3
nameNokia 3100 Pink/name
descriptionLight up the night with a glow-in-the-dark cover 
/description
price139/price
imageassets/pic/Nokia_3100_pink.gif/image
series3000/series
  /product 
/catalog
 
Thanks 
Vinoth Babu T.J.
  
 















__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[flexcoders] pdf||word images in a datagrid column

2007-04-04 Thread Vinoth Babu
Below code loads single image in a column, but i need to load different images 
according to the data provided in 'img' xml attribute
  for e.g
 if a img attribute == pdf then load pdf.gif 
else
if a img attribute == word then load word.gif 
  in a column,how to give condition under component 
  
?xml version=1.0 encoding=utf-8?
mx:Application  xmlns:mx=http://www.adobe.com/2006/mxml;  layout=absolute  
backgroundGradientColors=[#ff, #ff]
mx:XML  id=documentationServicesource=documentation.xml  /
mx:XMLListCollection id=xc  source={documentationService.document}/
mx:DataGrid  horizontalCenter=0   borderStyle=solid   width=450 
height=100%   dataProvider={xc}
  mx:columns
 mx:DataGridColumn width=300 headerText=Document Name 
dataField=@name/ 
mx:DataGridColumn width=50 headerText=pdf 
  mx:itemRenderer
   mx:Component
  mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Image source=icon_pdf.gif  /
  /mx:HBox
/mx:Component 
  /mx:itemRenderer
 /mx:DataGridColumn   
 /mx:columns
 /mx:DataGrid 
/mx:Application
  
!-- document .xml 
documents
 document name=Installing Flex 2 
html=http://www.adobe.com/support/documentation/en/flex/2/install.html; 
img=word/
 document name=Getting Started with Flex 2 
html=http://www.adobe.com/go/flex2_gettingstarted; img=pdf / 
/documents
--
   
   
  Thanks,
  Vinoth

Vinoth Babu [EMAIL PROTECTED] wrote:
Thanks for your info .
   
  But I need to load images according to the data.
   
  for e.g.
   
  In a column , if a data is 'pdf' then load 'pdf.gif'  or if it's 'word' load 
'word.gif'
   
  pdf.gif or word.gif or... are shown in one  column in a different row each
   
   
  Thanks ,
  Vinoth
   
  Jack OMelia [EMAIL PROTECTED] wrote:
  Try using an itemRenderer.

Create a separate component that looks like this:
(saved as imageRenderer.mxml in the comps directory)
?xml version=1.0 encoding=utf-8?
mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=2 
width=50 height=20 horizontalAlign=center 
mx:Image source=images/image.gif width=14 height=14 /
/mx:HBox 

then add it to your datagrid like this:

mx:DataGridColumn headerText=! itemRenderer=comps.imageRenderer /

HTH, Jack

--- In flexcoders@yahoogroups.com, Vinoth Babu [EMAIL PROTECTED] wrote:

 Hi,
 
 Need your help to load an different images in a datagrid column
 
 Thanks 
 Vinoth
 
 
 
 -
 Don't be flakey. Get Yahoo! Mail for Mobile and 
 always stay connected to friends.






-
  Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.  

 

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

[flexcoders] Need to different images in datagrid column

2007-04-03 Thread Vinoth Babu
Hi,
   
  Need your help to  load an different images in a datagrid column
   
  Thanks 
  Vinoth
   

 
-
Don't be flakey. Get Yahoo! Mail for Mobile and 
always stay connected to friends.

Re: [flexcoders] Re: Need to different images in datagrid column

2007-04-03 Thread Vinoth Babu
Thanks for your info .
   
  But I need to load images according to the data.
   
  for e.g.
   
  In a column , if a data is 'pdf' then load 'pdf.gif'  or if it's 'word' load 
'word.gif'
   
  pdf.gif or word.gif or... are shown in one  column in a different row each
   
   
  Thanks ,
  Vinoth
   
  Jack OMelia [EMAIL PROTECTED] wrote:
  Try using an itemRenderer.

Create a separate component that looks like this:
(saved as imageRenderer.mxml in the comps directory)
?xml version=1.0 encoding=utf-8?
mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
paddingBottom=0 paddingLeft=0 paddingRight=0 paddingTop=2 
width=50 height=20 horizontalAlign=center 
mx:Image source=images/image.gif width=14 height=14 /
/mx:HBox 

then add it to your datagrid like this:

mx:DataGridColumn headerText=! itemRenderer=comps.imageRenderer /

HTH, Jack

--- In flexcoders@yahoogroups.com, Vinoth Babu [EMAIL PROTECTED] wrote:

 Hi,
 
 Need your help to load an different images in a datagrid column
 
 Thanks 
 Vinoth
 
 
 
 -
 Don't be flakey. Get Yahoo! Mail for Mobile and 
 always stay connected to friends.




 

 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.

Re: [flexcoders] space between MenuBar - menuitems

2007-03-29 Thread Vinoth Babu
I could not find any link names Style Editor, I had searched in flex style 
explorer also, I could not find any property as I expected.
   
  I need complete information
   
  Thanks,
  Vinoth 

Cutter (Flex Related) [EMAIL PROTECTED] wrote:
  I don't remember the exact style attribute, but if you go in to the 
Flex 
Start Page of Flex Builder you will see a link for the Style Editor, 
and I know that was one of the examples on there, giving you the 
complete attribute/value information you would need.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_
http://blog.cutterscrossing.com

Vinoth Babu wrote:
 
 
 Hi All,
 
 How to give a custom gap between two menuItems in a menubar component
 
 For e.g.
 
 Assume menubar contains File,Edit, View,... menuitems
 
 I need to give custom gap between File and Edit
 
 Thanks,
 Vinoth
 
 --
 Expecting? Get great news right away with email Auto-Check. 
 http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
 Try the Yahoo! Mail Beta. 
 http://us.rd.yahoo.com/evt=49982/*http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
  
 
 


 

 
-
8:00? 8:25? 8:40?  Find a flick in no time
 with theYahoo! Search movie showtime shortcut.

[flexcoders] space between MenuBar - menuitems

2007-03-28 Thread Vinoth Babu
Hi All,
   
  How to give a custom gap between two menuItems in a menubar component
   
  For e.g.
   
  Assume menubar contains File,Edit, View,... menuitems
   
  I need to give custom gap between File and Edit 
   
  Thanks,
  Vinoth

 
-
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.