[flex_india:23642] Dynamic Resizing of windows

2009-07-10 Thread kalavati singh
Hi,

  As per my current requirement i need to create windows
dynamic(Dynamic resize of windows).Can anyone suggests any examples docs
relted to it.However I have a example
http://examples.adobe.com/flex3/componentexplorer/explorer.html .Any thing
of this kind please forward the links.







Regards

Kalavati Singh

--~--~-~--~~~---~--~~
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:23644] Executing air problem

2009-07-10 Thread moshe

Hi All

I created an air application
I installed it
and when I click on the image in my programs nothing happened
Where can I see what was the problem??

moshe
I

--~--~-~--~~~---~--~~
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:23645] Re: Dynamic Resizing of windows

2009-07-10 Thread Ganesh r
refer dashboard sample for dynamic grid

regards
ganesh


On 7/10/09, kalavati singh kalavati.si...@gmail.com wrote:

 Hi,

   As per my current requirement i need to create windows
 dynamic(Dynamic resize of windows).Can anyone suggests any examples docs
 relted to it.However I have a example
 http://examples.adobe.com/flex3/componentexplorer/explorer.html .Any thing
 of this kind please forward the links.







 Regards

 Kalavati Singh

 



-- 
ஹ்ம்ம் !! நாங்களெல்லாம் பொதுவா பிரச்சனைனு வந்தா ... பிரச்சனைய தீர்கரதில்ல
... பிரச்சனை பண்றவனையே தித்துடுவோம் !! Be Careful.
gan...@gmail.com

--~--~-~--~~~---~--~~
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:23646] Regarding Panel and its child

2009-07-10 Thread pradeep.pa...@gmail.com

Hi,
I have an application where there is a panel inside a VDividedBox. The
panel is set to 100% width and 60% height. In that panel there is an
canvas which is set to a width and height of 800x500.
I wanted to know how to get the exact width and height of canvas when
ever the panel is resized by draging the VDividedBox.

mx:VDividedBox
mx:Panel id=panel1 width=100% height=60%
mx:Canvas id=canvas width=800 height=500/
/mx:Panel
/mx:VDividedBox

The dimension of canvas i requires is excluding the border dimensions
of panel

Regards

Pradeep

--~--~-~--~~~---~--~~
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:23647] SuperTabNavigator close tabs programatically

2009-07-10 Thread jeroen

Any idea on how close a Tab from another Tab?
--~--~-~--~~~---~--~~
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:23649] Re: Regarding Panel and its child

2009-07-10 Thread Ravi

Hello Pradeep,
use Alert to get the width and height of canvas after it get resized.
Like: Alert.show(+canvas_id.height);

Regards
Ravi

--~--~-~--~~~---~--~~
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:23652] Save file on Click of Save button in Flex

2009-07-10 Thread vikram

Hi ,
I have a requirment in which i need to a have a save button,on click
of button i should be able to save the content of Advanced datagrid.
What i m doing on click of save m invoking a JSP that will read a XML
file (From that i m showing content of datagrid) .In JSP i m
generatiing a HTML file and i put the html file in BufferedOutputStrem
to save the fileas in typical web application we used to save file
using outputstrem.This JSP page is working OK when i m running it in
browser individually. But same thing i m doing in fle with Save
button , m not able to see Save as dialog (Download)
 So can anyone tllme how can i do this option with Flex or what should
i do it to perform Save option .


Thanks
Vikram

--~--~-~--~~~---~--~~
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:23651] need code

2009-07-10 Thread amutha raju
hi frnds,
 i want source code for rating and review component in flex using
Cairngormarchitecture
thanks

--~--~-~--~~~---~--~~
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:23648] Component Behaviour

2009-07-10 Thread santosh bussa

Hi friends,
Am having a datagrid and it is having double click behavoiur.
I dont want to use that behavior...
Is there any property for this..

Regards
Santosh B

--~--~-~--~~~---~--~~
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:23650] Re: How to Zoom the Image in particular position

2009-07-10 Thread aaddaz

HI prasad,
  You can use matrix for this.
help url: http://livedocs.adobe.com/flex/3/langref/flash/geom/Matrix.html


On Jul 9, 7:15 pm, prasad perj...@gmail.com wrote:
 Hi Folks,

       I am using zoom effect for the image component. My requirement
 is , I want to zoom in a particular
 position (mouse pointed) of the image and it should zoom from the
 specified position. How to zoom from the particular position and how
 to move the image component whenever zoom effect is playing ?

 Thanks in Advance

 Prathab

--~--~-~--~~~---~--~~
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:23653] how to configure tomcat

2009-07-10 Thread Gerald Anto

Hello Friends,
I am using Flex Builder 3.
I need to get a data from jsp file which is running in tomcat.
how can i configure tomcat(which is in c:\) in Flex builder.
i need to create a flex project in E:\.
When i create a project i mentioned server type is j2ee server and
disabled using remote object(because am using HTTPService Request
only)
after that it will ask Web Root and Root Url
what i have to give if my application to run in localhost i mean how
can i configure tomcat in flex builder

I need to have any plug in for that?

my tomcat location is c:/prografiles/Apache/tomcat/
my flex project is in E:/projects/test

and where should i have my Jsp file

Please give me detailed explanation

ThanksRegards,
Gerald A
--~--~-~--~~~---~--~~
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:23657] Re: how to configure tomcat

2009-07-10 Thread santosh bussa

when u installing  lcds  it gives choice to choose the server tomcat
by default with lcds tomcat server is there

On 7/10/09, Gerald Anto flex.gerald.a...@gmail.com wrote:

 Hello Friends,
 I am using Flex Builder 3.
 I need to get a data from jsp file which is running in tomcat.
 how can i configure tomcat(which is in c:\) in Flex builder.
 i need to create a flex project in E:\.
 When i create a project i mentioned server type is j2ee server and
 disabled using remote object(because am using HTTPService Request
 only)
 after that it will ask Web Root and Root Url
 what i have to give if my application to run in localhost i mean how
 can i configure tomcat in flex builder

 I need to have any plug in for that?

 my tomcat location is c:/prografiles/Apache/tomcat/
 my flex project is in E:/projects/test

 and where should i have my Jsp file

 Please give me detailed explanation

 ThanksRegards,
 Gerald A
 



-- 
Thanks  Regards
Santosh Bussa
+91-9985722246

--~--~-~--~~~---~--~~
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:23655] Re: Save file on Click of Save button in Flex

2009-07-10 Thread vikram

Hi ,

I have done with this problem as .I needed to jsut put a function in
that i should give name of URL(JSP) that is creating HTML file .And
have used FileReference class to doenlaod generated file .

Thanks
Vikram

On Jul 10, 3:32 pm, vikram virendravikra...@gmail.com wrote:
 Hi ,
 I have a requirment in which i need to a have a save button,on click
 of button i should be able to save the content of Advanced datagrid.
 What i m doing on click of save m invoking a JSP that will read a XML
 file (From that i m showing content of datagrid) .In JSP i m
 generatiing a HTML file and i put the html file in BufferedOutputStrem
 to save the fileas in typical web application we used to save file
 using outputstrem.This JSP page is working OK when i m running it in
 browser individually. But same thing i m doing in fle with Save
 button , m not able to see Save as dialog (Download)
  So can anyone tllme how can i do this option with Flex or what should
 i do it to perform Save option .

 Thanks
 Vikram

--~--~-~--~~~---~--~~
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:23656] Re: Change DataGridColumn position...

2009-07-10 Thread Rodrigo Portillo
U dont start ur script with mx:Script

2009/7/10 cholid ridwan choli...@gmail.com

 hi all,can anyone know what the problem with this code?
 thanks
 cholid
 mx:Application
 ***
 creationComplete=xmlHttpService.send();
 
 mx:HTTPService
 id=xmlHttpService
 url=http://localhost/switch.xml;
 result=xmlResultSuccess(event)
 resultFormat=e4x
 fault=xmlResultFailure(event);
 /

 [Bindable]
 private var xmldata:XML;


 private function init():void {
   Security.loadPolicyFile(http://localhost/switch.xml;);

 xmlHttpService.send();
 initLogging();
  initData();
 var graph:Graph = new Graph(graph_id,false,xmldata);

 vgraph.graph = graph;
 }

 private function xmlResultSuccess( event:ResultEvent ):void
   {
 xmldata = event.result as XML;
 initData();
 }

 private function xmlResultFailure( event:FaultEvent ):void
   {
 Alert.show( event.fault.message, Error loading XML );
 }

 private function initData():void {


 vgraph.graph = new
 Graph(XMLAsDocsGraph,false,xmldata);

 }
 



-- 
Rodrigo Portillo - (55-81)8836.9100
http://www.portillodesigner.blogspot.com/

--~--~-~--~~~---~--~~
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:23654] How to parse the xml data and loop out all the xml data I want to use?

2009-07-10 Thread LDaneil

hi, all. I stucked by the xml problem, I want to read out the data and
use the data to insert to database.

now I use the code:

  Dim formName As String
formName = XmlDoc.SelectSingleNode(formTemplate/
formTempName).InnerText

I could get the formTemplate Name ‘abc’, but I also want to get the
Component Name Button,Label and TextInput, and I also want to
get all the properties value of the
component. the xml data file I received is below.

my question now is that I could not loop out all the component Name,
and get all the properties values of the component accordingly.can
anyone help me ? thanks in advance.

becaue I get the xml data in the runtime in the client side(flex
interface, design environment), I am using the editable region to
design the form template page, and get all the components in the
canvas and send it as xml data to server side to store it to the
table. I basically want use a 'for' loop to loop out all the component
Name (Button,Label) ,and their properties.

 what I am doing is the template design IDE, it's something like
visual studio software development, the user could drag as many
components (Button,Label,Image and so on) as he wants to the
editable Canvas to form a page. So, I don't know exactly how many
components are on the Canvas(which will be sent to server side as xml
data) and different components have differenct properties(id,x,y
and so on), so I use the code:

Dim streamread As StreamReader

Dim XmlDoc As XmlDocument = New XmlDocument()

streamread = New StreamReader(Request.InputStream)

XmlDoc.LoadXml(streamread.ReadToEnd)

To get the xml data, the xml data looks like the one I listed above
(but not fixed), but the xml data is not fixed data or properties, it
depends on different user to drag different components
('buttons','labels','Images') to the editable Canvas to form a
formTemplate page.
so, I think I must use a something like 'for' loop to get the
component Name and component properties.


my code : //it does not work
  Dim id As String
Dim xAxis As String
Dim yAxis As String
Dim width As String
Dim height As String
For Each node As XmlNodeList In XmlDoc.SelectNodes(formTemplate/
Component)
   id = node.Item(id).InnerText
xAxis = node.Item(x).InnerText
yAxis = node.Item(y).InnerText
width = node.Item(width).InnerText
height = node.Item(height).InnerText
If (node.FirstChild.Name = Button) Then
   Dim label As String
   label = node.Item(label).InnerText
End If
if(node.FirstChild.Name=Image) Then
Dim source As String
source = node.Item(source).InnerText
End If
Next



this is my Xml data look like:

formTemplate
  formTempNameabc/formTempName
  Component
Button
  labelButton/label
  idbtn1/id
  x141/x
  y49/y
  width65/width
  height23/height
/Button
Label
  textNew Label/text
  idlbl2/id
  x192/x
  y123/y
  width65/width
  height23/height
/Label
TextInput
  idtxtInput3/id
  x237/x
  y193/y
  width160/width
  height23/height
/TextInput
  /Component
/formTemplate

--~--~-~--~~~---~--~~
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:23658] Problem with catching events in dynamically loaded modules

2009-07-10 Thread TodLoch

Hi,
I have a problem with unloading module, which I loads dynamically.
Here is a fragment my code:

TitledWindow ...creationComplete=init()/
..
mx:Accordion id=lista_ryzyk
/mx:Accordion
.
mx:Script
...
public function init():void
{
CairngormEventDispatcher.getInstance().addEventListener
(LoadRisksEvent.EVENT_RE SULT, populateAccordion);
..
}

public function populateAccordion(event:CairngormEvent):void
{
...
 lista_ryzyk.removeAllChildern();
 for (i in risks)
 {
  var m:ModuleLoader = new ModuleLoader();
  m.url = path_to_module;
  m.label = module_label;
  m.loadModule();
 }
 lista_ryzyk.addChildAt(m,Number(i));

}

/mx:Script

The modules loads fine. Each module adds own eventListener for some
event. It works fine, but ONLY for first time. For next invoke
populateAccordion function, the modules loads, but don't reacts for
event. I investigate !!! that for dispatched events reacts modules,
which was loaded for the first time!!! It seems like the first
instance remains in application all time. How to remove it? I try to
call the unloadModule() function, but it does't work:-(

I try to fix that from wednesday, and it goes me crazy!!!
Could anyone help me?? Please.

Regards,
Mariusz

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---