[flexcoders] getUrl() of a Codfusion page - work's correctly on some browsers

2005-05-02 Thread Dzafer










Hi there,





Try this :



Var setUpURL= mypage.cfm;



getURL(_javascript_:open(' + setUpURL +
','popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width=600,height=250,left=200,top=200,screenX=200,screenY=200');void(0););



Receive this: Coldfusion report
in PDF or Flash Paper format



Problem: doesnt
working on some browser, receive a window with mypage.cfm
open,save,cancel





Any help will be appreciated.

Dzafer











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] URL/URI of my mxml page

2005-04-27 Thread Dzafer










Hi there,



How can I retrieve the URL (or URI) string of my opened mxml
page?



Best regards,

Dzafer











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Webservice result

2005-04-22 Thread Dzafer










Sorry , small correction : function
myResultCallback(event)













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dzafer
Sent: Friday, April 22, 2005 12:43
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Webservice result





Hi there,



Here is the code :



var childHandlerCall:Object;

childHandlerCall = myService.function1.send()


childHandlerCall.marker =
myF1;



childHandlerCall = myService.function2.send()


childHandlerCall.marker =
myF2;







function myResultCallback()
{
 var myCall = event.call;





 if (myCall.marker ==  myF1) {

}



 if (myCall.marker ==  myF2) {

}







}

Best regards,

Dzafer









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Fransjo Leihitu
Sent: Friday, April 22, 2005 12:33
PM
To: flex coders
Subject: [flexcoders] Webservice
result







ok, consider this code: 
 





mx:Script

function myResultCallback()
{

}

/mx:Script





 mx:WebService id=myService
wsdl=http://www.mydomein.com/script?wsdl
fault=alert(event.fault.faultstring)
result=myResultCallback()
 
 mx:operation
name=function1

mx:request
inputmy input/input

/mx:request
 /mx:operation
 
 mx:operation
name=function2

mx:request
inputmy input1/input

/mx:request
 /mx:operation

 
 /mx:WebService
 
 
Everytime I do a send() and the result is done, then everytime the function
myResultCallback() is called.
But how do I know from wich operation the result is?





So when I do myService.function1.send() and the server responds back,
the function myResultCallback() is called, how do I know the result was meant
for myService.function1 ?









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









Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] DateChooser - date operation

2005-04-21 Thread Dzafer










Many thanks Dirk.



var d:Date = new Date();

d.setDate(d.getDate()-1);

myDC.selectedDate = d;











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk Eismann
Sent: Thursday, April 21, 2005
10:54 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
DateChooser - date operation





Hi,

I suppose you want to display the previous day?
Try:

 var d:Date = new Date();
 myDC.selectedDate =
d.setDate(d.getDate()-1);

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]On
Behalf Of Dzafer
Sent: Thursday, April 21, 2005 10:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DateChooser - date operation


Hi there,

How can I write something like this:

function dateChooser_init()
 {

myDC.selectedDate = new Date () - 1; 
 }


mx:DateChooser id=myDC
initialize=dateChooser_init(); /



Best regard's
Dzafer
Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service. 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] drag-drop with two sources and two targets

2005-04-21 Thread Dzafer










Hi there,



How can I use drag-drop features with 2 sources and 2
targets without allowing drag elements from source one to target two and vice-versa?



Any help will be appreciated.



Best regards



Dzafer













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Charting

2005-04-19 Thread Dzafer










You have here a good example of dynamic
charting:



http://coenraets.com/viewarticle.jsp?articleId=81



Dzafer









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola
Sent: Tuesday, April 19, 2005 2:46
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Charting





I have been looking at the sample charts at
http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml
and
noticed that the xml used for the Misc Techniques
and Examples is not
posted. Can anyone point me to these xml
files?

Rich












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Generating dynamic datagrid based on dynamic query result

2005-04-18 Thread Dzafer












Hi all,



How generating this one dynamically based on a query with a dynamic number of columns:



var zingerManufacturingData = [

 {Month:
January '03,  Widgets:885202,  Blinkies:
184454, monthIdx:1
},

 {Month:
February '03,  Widgets:683392,  Blinkies:
945385, monthIdx:2
},

 {Month:
March '03,  Widgets:638820,  Blinkies:
442383, monthIdx:3
},

 {Month:
April '03,  Widgets:949932,
 Blinkies: 841201, monthIdx:4
},

 .

];





I need to display the query in a
datagrid.



This is the starting of my code:



mx:Button
label=Test click={myTest({mx.utils.ArrayUtil.toArray(myWS.RtuDataFunction.result)})}
/



public function
myTest(obj: Object):Void {

 var
cdgStaff:DataGrid;

var
myItem:Array;

 var
myobj:Object;

 


 

cdgStaff
= DataGrid( myCanvas.createChild(DataGrid));


cdgStaff.editable = false;

 cdgStaff.x=10;

 cdgStaff.y=10;


cdgStaff.setSize(500, 200);

 



for (var i in obj) {

  myobj
= obj[i];

 


??? 


If (  COLUMN[j] == COL1)


cdgStaff.addItem(myobj);




} 


}

 



Any help will be appreciated,



Dzafer











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Generating dynamic datagrid based on dynamic query result

2005-04-18 Thread Dzafer










Hi Manish,



Ok, but I will select with an action script
witch columns I will display my datagrid.



I use the Webservice result as a provider
for different flex object. 



For the datagrid I need to retrieve all
the column names from the provider to do something like this:



 If ( column[i]
== firstname) 

 {}

 If ( column[i]
== value + j) 

 {}















From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani
Sent: Monday, April 18, 2005 12:35
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Generating dynamic datagrid based on dynamic query result





On 4/18/05, Dzafer [EMAIL PROTECTED]
wrote:

 How generating this one dynamically based on
a query with a dynamic number
 of columns: 
[snip]

If you simply assign the web service result to the
grid's dataProvider
property, that'll do it.

-- 
[EMAIL PROTECTED]
http://manish.revise.org/












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Wha kinds of object are in this Array?

2005-04-18 Thread Dzafer










Hi All,



What kinds of object are in this Array?



var zingerManufacturingData = [

 {Month: January
'03,  Widgets:885202,  Blinkies: 184454, monthIdx:1
},

 {Month: February
'03,  Widgets:683392,  Blinkies: 945385, monthIdx:2
},

 {Month: December
'03,  Widgets:800254,  Blinkies: 826652, monthIdx:12
}



];





And how can I put a variable instead of Month,
Widgets ?



Thank you,

Dzafer











Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Wha kinds of object are in this Array?

2005-04-18 Thread Dzafer










Hi there,



If you put differentVar and
displaying into a datagrid he will display differentVar

What I want to do is this one :



Var myString:String;



myString = FistrName;



and put myString has the first label .



Tnx!













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin
Sent: Monday, April 18, 2005 3:30
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Wha
kinds of object are in this Array?





This array contains plain objects.
You can access any of the properties like this zingerManufacturingData[0].Month,
zingerManufacturingData[1].Widget, etc.



To change the variable names, do this,



var zingerManufacturingData = [


{differentVar: January '03,
anotherVar:885202, Blinkies:
184454,
monthIdx:1 },


{differentVar: February '03,
anotherVar:683392, Blinkies:
945385,
monthIdx:2 },


{differentVar: December '03,
anotherVar:800254, Blinkies:
826652, monthIdx:12
}

];



In that example Month was changed to
differentVar and Widgets was changed to anotherVar. Hope that is what you
were looking for J













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dzafer
Sent: Monday, April 18, 2005 6:22
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Wha kinds of
object are in this Array?





Hi All,



What kinds of object are in this Array?



var zingerManufacturingData = [


{Month: January '03,

Widgets:885202,  Blinkies:
184454,
monthIdx:1 },


{Month: February '03,
 Widgets:683392,
 Blinkies: 945385,
monthIdx:2 },


{Month: December '03,
 Widgets:800254,
 Blinkies: 826652,
monthIdx:12 }



];





And how can I put a variable instead of Month,
Widgets ?



Thank you,

Dzafer













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.