[flex_india:28318] xquery in action script 3.0

2010-02-08 Thread hosonno
is there any way to support query in flex
i' know that E4X is based on xquery and that it's possible to
translate xquery into e4x but wha i need is to make xquery directly
because the query are dynamic an i don't want to change the code every
time

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.



[flex_india:25533] keyboard listener problem

2009-09-29 Thread hosonno

hello,
I have a little problem with keyboard listener propagation.I have a
page with 2 panel a keyboard listener in the first one the problem is
in the propagation on the TAB key-down it change the selected panel
and i continue writing in the second one. How can i stop the TAB key-
down propagation.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:22368] listener problem on dynamic context menu

2009-05-20 Thread hosonno

hello everybody  iwant to create a dynamic context menu menu based on
an XML description


my XML definition is this
<"contextmenuitemlabel">"contextmenulistener function
name"<"contextmenuitemlabel">

this is my code





public function CreateMenu(contextMenuXml:XML):void

{
var i:int=0

for each (var option:XML in contextMenuXml.children())
{

try
{
var cmi:ContextMenuItem = null
cmi= new ContextMenuItem(option.name(), 
true);
var 
myfunction:Function=this[option.children()[0].toXMLString()]
as Function
   cmi.addEventListener
(ContextMenuEvent.MENU_ITEM_SELECT,function ():void{myfunction.call
()})

contextmenuitem[i]=cmi;
i++;

}
catch(err:Error)
{
}

}



contextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
contextMenu.customItems = contextmenuitem
}



the menu appered perfectly as i wanted but when i tried the listener i
found that all contextmenuitem have the same listener which in the
last  function  defined in my XML

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:21725] Re: get instance name from string

2009-04-21 Thread hosonno

i didn't found how to do it
but i dicider to use dictonary to solve this problem

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:21727] problem with dynamic class

2009-04-21 Thread hosonno

hello everybody
i want to instance from dynamic class  i used this code


var testing:Object;
var ClassRef:Class;
ClassRef= getDefinitionByName("NetworkProviderDomain") as Class;
testing=new ClassRef();


my problem is that when the class is a MXML componement all work
greate but when it's a action script class i have a 1065 error

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:21569] Re: get instance name from string

2009-04-16 Thread hosonno

hi Shaleen
that's it i need a particular name for the instance this particular
name will be parsed from xml

i need to do something like that

var (name parsed from xml):Object= new object()

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---



[flex_india:21544] get instance name from string

2009-04-15 Thread hosonno

hello every body i'am new here
i have some problem with flex i want to create some instance that name
will be passed by a string
some thing equivalent exist in AS 3  [the instance name] but it
doesn't seem to work with flex

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~--~~~~--~~--~--~---