Re: valdhor [flexcoders] Re: domain problem in remoteobject application

2009-06-26 Thread Vikram Singh
Yes. You are right. But main problem was that my amfphp code is older.
I have downloaded new code and got globals.php at amfphp/ directory.

Thanks valdhor.





From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, 25 June, 2009 6:34:04 PM
Subject: Re:valdhor  [flexcoders] Re: domain problem in remoteobject application





Wrong file (You are looking at amfphp/core/ shared/app/ Globals.php) . The file 
should be in the root directory (amfphp/globals. php) along with the 
gateway.php file amongst others.

HTH

Steve

BTW. I would recommend changing to WebORB for a more robust, well tested and 
reliable remoting experience (www.themidnightcod ers.com)

--- In flexcod...@yahoogro ups.com, Vikram Singh vikisingh169@ ... wrote:

 hello valdhor
 
 in my amfphp directory there is only one globals.php file and it contains 
 these 
 
 ?php
 /**
  * Defines globals used throughout amfphp package for config options
  * 
  * @license http://opensource. org/licenses/ gpl-license. php GNU Public 
 License
  * @copyright (c) 2003 amfphp.org
  * @package flashservices
  * @subpackage app
  */
 
 global $amfphp;
 
 $amfphp = array();
 $amfphp['errorLevel '] = E_ALL ^ E_NOTICE;
 $amfphp['instanceNa me'] = NULL;
 $amfphp['classPath' ] = 'services/';
 $amfphp['customMapp ingsPath' ] = 'services/';
 $amfphp['adapterMap pings'] = array();
 $amfphp['incomingCl assMappings' ] = array();
 $amfphp['outgoingCl assMappings' ] = array();
 $amfphp['webService Method'] = 'php5';
 $amfphp['disableDes cribeService' ] = false;
 $amfphp['disableTra ce'] = false;
 $amfphp['disableDeb ug'] = false;
 $amfphp['lastMethod Call'] = '/1';
 $amfphp['isFlashCom m'] = false;
 $amfphp['classInsta nces'] = array();
 $amfphp['regenerate MethodTable' ] = false;
 $amfphp['amf3Record SetFormat' ] = Array;
 $amfphp['encoding' ] = amf0;
 
 ?
 
 so what should i do? I am confused.
 
 
 
 
  _ _ __
 From: valdhor valdhorlists@ ...
 To: flexcod...@yahoogro ups.com
 Sent: Tuesday, 23 June, 2009 7:19:43 PM
 Subject: [flexcoders] Re: domain problem in remoteobject application
 
 
 
 
 
 Inside your amfphp directory you will find a file globals.php.
 
 Change the $servicesPath variable to the full path to your services directory.
 
 HTH
 
 Steve
 
 --- In flexcod...@yahoogro ups.com, Vikram Singh vikisingh169@ ... wrote:
 
  I am not getting excetly what you are trying to say me.
  Can you please tell me in some detail which/how configure in amfphp?
  I am little bit freshers for this stuff.
  
  
  Thanks.
  
  
   _ _ __
  From: Pedro Sena sena.pedro@ ...
  To: flexcod...@yahoogro ups.com
  Sent: Monday, 22 June, 2009 5:55:51 PM
  Subject: Re: [flexcoders] domain problem in remoteobject application
  
  
  
  
  
  You can configure in amfphp where your 'services' would be.
  
  Take a look at documentation, I think that your idea is to have just one 
  amfphp directory for every project, if so, You can reference external 
  directories in a way that amfphp would search for them.
  
  HTH
  
  
  On Mon, Jun 22, 2009 at 9:07 AM, Vikram Singh vikisingh169@ yahoo.in 
  wrote:
  
  
  
  
  Hello friends,
  I have a query regarding domain problem.
  My database is at primarydomain (www..primarydomain . com)
  I also have subdomain and place all at subdomain directory. like this...
  
  scenario 1:
  Current file arrangement is:
  
  Exported release build flex project at :www.subdomain. com/flexApplicat ion/
  amfphp code placed at :www.subdomain. com/flexApplicat ion/amfphpcode/
  
  this is perfectly working.
  but now... 
  
  scenario 2:
  need to arrange like this
  
  Exported release build flex project at :www.subdomain. com/flexApplicat ion/
  amfphp code placed at :www.subdomain. com/amfphpcode/
  
  amfphpcode is placed outside of flex application directory.
  
  to run perfectly flex application in scenario-2, what changes I have to 
  make with flex application code OR any other.
  OR any other possible idea to implement it in scenario-2.
  Please help me...
  
  Regards,
  Vikram. 
  
   _ _ __
   ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
  
  
  -- 
  /**
  * Pedro Sena
  * Systems Architect
  * Sun Certified Java Programmer 
  * Sun Certified Web Component Developer
  */
  
  
  
  
ICC World Twenty20 England #39;09 exclusively on YAHOO! CRICKET 
  http://cricket. yahoo.com
 
 
 
 
 
 
   Cricket on your mind? Visit the ultimate cricket website. Enter 
 http://cricket. yahoo.com



   


  Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com

Re:valdhor [flexcoders] Re: domain problem in remoteobject application

2009-06-24 Thread Vikram Singh
hello valdhor

in my amfphp directory there is only one globals.php file and it contains these 


?php
/**
 * Defines globals used throughout amfphp package for config options
 * 
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 * @copyright (c) 2003 amfphp.org
 * @package flashservices
 * @subpackage app
 */

global $amfphp;

$amfphp = array();
$amfphp['errorLevel'] = E_ALL ^ E_NOTICE;
$amfphp['instanceName'] = NULL;
$amfphp['classPath'] = 'services/';
$amfphp['customMappingsPath'] = 'services/';
$amfphp['adapterMappings'] = array();
$amfphp['incomingClassMappings'] = array();
$amfphp['outgoingClassMappings'] = array();
$amfphp['webServiceMethod'] = 'php5';
$amfphp['disableDescribeService'] = false;
$amfphp['disableTrace'] = false;
$amfphp['disableDebug'] = false;
$amfphp['lastMethodCall'] = '/1';
$amfphp['isFlashComm'] = false;
$amfphp['classInstances'] = array();
$amfphp['regenerateMethodTable'] = false;
$amfphp['amf3RecordSetFormat'] = Array;
$amfphp['encoding'] = amf0;

?

so what should i do? I am confused.





From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, 23 June, 2009 7:19:43 PM
Subject: [flexcoders] Re: domain problem in remoteobject application





Inside your amfphp directory you will find a file globals.php.

Change the $servicesPath variable to the full path to your services directory.

HTH

Steve

--- In flexcod...@yahoogro ups.com, Vikram Singh vikisingh169@ ... wrote:

 I am not getting excetly what you are trying to say me.
 Can you please tell me in some detail which/how configure in amfphp?
 I am little bit freshers for this stuff.
 
 
 Thanks.
 
 
  _ _ __
 From: Pedro Sena sena.pedro@ ...
 To: flexcod...@yahoogro ups.com
 Sent: Monday, 22 June, 2009 5:55:51 PM
 Subject: Re: [flexcoders] domain problem in remoteobject application
 
 
 
 
 
 You can configure in amfphp where your 'services' would be.
 
 Take a look at documentation, I think that your idea is to have just one 
 amfphp directory for every project, if so, You can reference external 
 directories in a way that amfphp would search for them.
 
 HTH
 
 
 On Mon, Jun 22, 2009 at 9:07 AM, Vikram Singh vikisingh169@ yahoo.in wrote:
 
 
 
 
 Hello friends,
 I have a query regarding domain problem.
 My database is at primarydomain (www..primarydomain . com)
 I also have subdomain and place all at subdomain directory. like this..
 
 scenario 1:
 Current file arrangement is:
 
 Exported release build flex project at :www.subdomain. com/flexApplicat ion/
 amfphp code placed at :www.subdomain. com/flexApplicat ion/amfphpcode/
 
 this is perfectly working.
 but now... 
 
 scenario 2:
 need to arrange like this
 
 Exported release build flex project at :www.subdomain. com/flexApplicat ion/
 amfphp code placed at :www.subdomain. com/amfphpcode/
 
 amfphpcode is placed outside of flex application directory.
 
 to run perfectly flex application in scenario-2, what changes I have to make 
 with flex application code OR any other.
 OR any other possible idea to implement it in scenario-2.
 Please help me...
 
 Regards,
 Vikram. 
 
  _ _ __
  ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 
 
 
 -- 
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer 
 * Sun Certified Web Component Developer
 */
 
 
 
 
   ICC World Twenty20 England #39;09 exclusively on YAHOO! CRICKET 
 http://cricket. yahoo.com



   


  Cricket on your mind? Visit the ultimate cricket website. Enter 
http://cricket.yahoo.com

[flexcoders] domain problem in remoteobject application

2009-06-22 Thread Vikram Singh
Hello friends,
I have a query regarding domain problem.
My database is at primarydomain (www.primarydomain.com)
I also have subdomain and place all at subdomain directory. like this..

scenario 1:
Current file arrangement is:

Exported release build flex project at :www.subdomain..com/flexApplication/
amfphp code placed at :www.subdomain.com/flexApplication/amfphpcode/

this is perfectly working.
but now... 

scenario 2:
need to arrange like this

Exported release build flex project at :www.subdomain.com/flexApplication/
amfphp code placed at :www.subdomain.com/amfphpcode/

amfphpcode is placed outside of flex application directory.

to run perfectly flex application in scenario-2, what changes I have to make 
with flex application code OR any other.
OR any other possible idea to implement it in scenario-2.
Please help me...

Regards,
Vikram. 



  ICC World Twenty20 England #39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com

Re: [flexcoders] domain problem in remoteobject application

2009-06-22 Thread Vikram Singh
I am not getting excetly what you are trying to say me.
Can you please tell me in some detail which/how configure in amfphp?
I am little bit freshers for this stuff.


Thanks.



From: Pedro Sena sena.pe...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Monday, 22 June, 2009 5:55:51 PM
Subject: Re: [flexcoders] domain problem in remoteobject application





You can configure in amfphp where your 'services' would be.

Take a look at documentation, I think that your idea is to have just one amfphp 
directory for every project, if so, You can reference external directories in a 
way that amfphp would search for them.

HTH


On Mon, Jun 22, 2009 at 9:07 AM, Vikram Singh vikisingh169@ yahoo.in wrote:




Hello friends,
I have a query regarding domain problem.
My database is at primarydomain (www..primarydomain. com)
I also have subdomain and place all at subdomain directory. like this..

scenario 1:
Current file arrangement is:

Exported release build flex project at :www.subdomain. com/flexApplicat ion/
amfphp code placed at :www.subdomain. com/flexApplicat ion/amfphpcode/

this is perfectly working.
but now... 

scenario 2:
need to arrange like this

Exported release build flex project at :www.subdomain. com/flexApplicat ion/
amfphp code placed at :www.subdomain. com/amfphpcode/

amfphpcode is placed outside of flex application directory.

to run perfectly flex application in scenario-2, what changes I have to make 
with flex application code OR any other.
OR any other possible idea to implement it in scenario-2.
Please help me...

Regards,
Vikram. 


 ICC World Twenty20 England '09 exclusively on YAHOO! CRICKET 


-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer 
* Sun Certified Web Component Developer
*/

   


  ICC World Twenty20 England #39;09 exclusively on YAHOO! CRICKET 
http://cricket.yahoo.com

Re: [flexcoders] chart labelRotation problem

2009-05-26 Thread Vikram Singh
Thanks Jake Churchill..






From: Jake Churchill j...@cfwebtools.com
To: flexcoders@yahoogroups.com
Sent: Saturday, 23 May, 2009 9:32:36 PM
Subject: RE: [flexcoders] chart labelRotation problem





It seems like I’ve gotten this working before.  At least on the
axis I did but I had to embed the font for it to work.  I think by default,
Flex can only rotate the system font or one that’s embedded in the app.
 
Here’s a link to the widget I did with this:
 
http://www.sonburst .com/lfg/ LFG401kAssetAccu mulationChart/ LFG401kAssetAccu 
mulationChart4. html 
 
The right vertical axis has rotation applied.  
 
Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtoo ls.com
402-408-3733 x103
 
From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On 
Behalf Of Vikram
Singh
Sent: Saturday, May 23, 2009 5:32 AM
To: Flex Coders
Subject: [flexcoders] chart labelRotation problem
 




Hello
Friends,
I am facing problem in labelRotation of ColumnChart.
Can we use labelRotation with ColumnChart ?? If no, which one is suitable
option?

I want to display label (Text type as well as Numbers) of horizontal axis at 45
degree of rotation.
any idea please

Regards,
Vikram




 
Cricket on your mind? Visit the ultimate cricket website. Enter
now!
   


  Bollywood news, movie reviews, film trailers and more! Go to 
http://in.movies.yahoo.com/

Re: [flexcoders] chart labelRotation problem

2009-05-26 Thread Vikram Singh
Thanks Vivian Richard.. :)





From: Vivian Richard kanps...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Monday, 25 May, 2009 7:39:10 AM
Subject: Re: [flexcoders] chart labelRotation problem

Please see this link --

http://demo.quietlyscheming.com/ChartSampler/app.html

In the Style folder see the Axis Labels example. You can also
see the code.

Regards






On Sat, May 23, 2009 at 11:02 AM, Jake Churchill j...@cfwebtools.com wrote:


 It seems like I’ve gotten this working before.  At least on the axis I did
 but I had to embed the font for it to work.  I think by default, Flex can
 only rotate the system font or one that’s embedded in the app.



 Here’s a link to the widget I did with this:



 http://www.sonburst.com/lfg/LFG401kAssetAccumulationChart/LFG401kAssetAccumulationChart4.html



 The right vertical axis has rotation applied.



 Jake Churchill

 CF Webtools

 11204 Davenport, Ste. 100

 Omaha, NE  68154

 http://www.cfwebtools.com

 402-408-3733 x103



 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Vikram Singh
 Sent: Saturday, May 23, 2009 5:32 AM
 To: Flex Coders
 Subject: [flexcoders] chart labelRotation problem




 Hello Friends,
 I am facing problem in labelRotation of ColumnChart.
 Can we use labelRotation with ColumnChart ?? If no, which one is suitable
 option?

 I want to display label (Text type as well as Numbers) of horizontal axis at
 45 degree of rotation.
 any idea please

 Regards,
 Vikram

 

 Cricket on your mind? Visit the ultimate cricket website. Enter now!

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links




  Explore and discover exciting holidays and getaways with Yahoo! India 
Travel http://in.travel.yahoo.com/

[flexcoders] chart labelRotation problem

2009-05-23 Thread Vikram Singh
Hello Friends,
I am facing problem in labelRotation of ColumnChart.
Can we use labelRotation with ColumnChart ?? If no, which one is suitable 
option?

I want to display label (Text type as well as Numbers) of horizontal axis at 45 
degree of rotation.
any idea please

Regards,
Vikram



  Explore and discover exciting holidays and getaways with Yahoo! India 
Travel http://in.travel.yahoo.com/

Re: [flexcoders] PDF and XL

2009-05-19 Thread Vikram Singh
Go through this link for printing flex component:

http://examples.adobe.com/flex3/componentexplorer/explorer.html
http://livedocs.adobe.com/flex/3/html/help.html?content=Part2_DevApps_1.html


I hope you will get your solution from here.

Regards,
Vikram



From: senthilkumarirtt senthilkumari...@yahoo.co.in
To: flexcoders@yahoogroups.com
Sent: Tuesday, 19 May, 2009 11:05:00 AM
Subject: [flexcoders] PDF and XL





Hi all i need to export my advanced datagrid data as PDF and XL format..

Thanks in advance

S.Senthilkumar


   


  Explore and discover exciting holidays and getaways with Yahoo! India 
Travel http://in.travel.yahoo.com/

[flexcoders] Flex to excel sheet report

2009-05-18 Thread Vikram Singh
I need to create excel report from flex data.
When clicked on Excel Button, particular data fetched from database using 
amfphp. And put that data in Excel (.csv is preferable) file and ask to save it 
on system.
Is it possible with actionscript?
any other idea to implement this functionality.

Regards,
Vikram


  Own a website.Get an unlimited package.Pay next to nothing.*Go to 
http://in.business.yahoo.com/

[flexcoders] chart presentation problem

2009-05-11 Thread Vikram Singh
Hello Flexers,
I am representing data using Chart and want to display Horizontal axis label at 
some specific angle rotation.
i have try this. but not getting perfect output.
Horizontal axis label are of long text.

mx:ColumnChart id=DataChart showDataTips=true width=100% height=100% 
dataProvider={db_data}
mx:horizontalAxisRenderer
mx:AxisRenderer labelRotation=45.50 /
/mx:horizontalAxisRenderer
mx:verticalAxis
mx:LinearAxis maximum={max_yaxis} interval=1  /
/mx:verticalAxis
mx:horizontalAxis
mx:CategoryAxis categoryField=name /
/mx:horizontalAxis
mx:series
mx:ColumnSeries  xField=name yField=patent_count displayName=  /
/mx:series
/mx:ColumnChart


do you have any idea of where I am doing mistake?
help me.

Thanks,
Vikram



  Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! 
Edition http://downloads.yahoo.com/in/firefox/?fr=om_email_firefox

[flexcoders] .csv import stuff

2009-05-09 Thread Vikram Singh
is there any nice and easy way to 'Browse' .csv file on flex
and after that send 'Import Request' to php and php will import this .csv 
file's data to database.?

any thought on this stuff!!?



  Cricket on your mind? Visit the ultimate cricket website. Enter 
http://beta.cricket.yahoo.com

Re: [flexcoders] problem when execute on server.

2009-04-22 Thread Vikram Singh
Thanks for your quick response.

I have not put any crossdomain.xml on server. I really don't know about this 
file and functionality.
whats the main purpose of this file and what contains this files?

at which place(address) i have to put this file on server?




From: Tracy Spratt tr...@nts3rd.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, 21 April, 2009 7:23:16 PM
Subject: RE: [flexcoders] problem when execute on server.





“works locally but not on the server”
usually means a security issue.  Do you have a crossdomain. xml file on the
server serving the data?
 
Tracy Spratt,
Lariat Services, development services
available


 
From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On 
Behalf Of Vikram Singh
Sent: Tuesday, April 21, 2009 7:44
AM
To: Flex Coders
Subject: [flexcoders] problem when
execute on server.
 




flex-amfphp application is working very fine on Localhost
but after putting this application code on server, not
working properly.
 
and it also not showing any error message. 
 
is there any special configuration between Flex and
amfphp.??
 




 
Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo!
Edition * Click
here!
   


  Bollywood news, movie reviews, film trailers and more! Go to 
http://in.movies.yahoo.com/

[flexcoders] problem when execute on server.

2009-04-21 Thread Vikram Singh
flex-amfphp application is working very fine on Localhost
but after putting this application code on server, not working properly.

and it also not showing any error message. 

is there any special configuration between Flex and amfphp.??



  Now surf faster and smarter ! Check out the new Firefox 3 - Yahoo! 
Edition http://downloads.yahoo.com/in/firefox/

[flexcoders] problem with mx:horizontalAxisRenderers

2009-04-13 Thread Vikram Singh
Hello Friends,
there are many items on X-Axis so can't see clearly name of each and every item.
I have tried to implement mx:horizontalAxisRenderers to view chart very clear.
But its not perfectly implemented on chart having very long name.

how can i implement on it? please give some idea.
Thanks,



  Connect with friends all over the world. Get Yahoo! India Messenger at 
http://in.messenger.yahoo.com/?wm=n/

[flexcoders] flex chart problem

2009-04-10 Thread Vikram Singh
chart having dynamic Yaxis and Xaxis range. max range is get from database.
problem is if max. Yaxis is small like(3,2,1), it will display in decimal 
sequence. (1, 1.2, 1.4, 1.6, 1.8, 2, 2.2like)
want to display only pure numbers in charts.
I have tried many things but not get it.
Is there any idea to get it?? how can i solve this?


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] get print of chart in different format file

2009-04-04 Thread Vikram Singh
Hello Friends,
how can we get printout of chart object?
also is it possible to get current status of chart in pdf format OR Excel 
format file?


  From Chandigarh to Chennai - find friends all over India. Go to 
http://in.promos.yahoo.com/groups/citygroups/

Re: [flexcoders] Re: Application.application.parameters.

2009-04-01 Thread Vikram Singh
Thanks dear friends..
I got solution by both 2 methods. (Application.application.parameters AND 
external class QueryString)

Best Regards.




From: valdhor valdhorli...@embarqmail.com
To: flexcoders@yahoogroups.com
Sent: Wednesday, 1 April, 2009 7:20:09 PM
Subject: [flexcoders] Re: Application.application.parameters.


I use a custom QueryString class for this...

package
{
import flash.external. *;
import flash.utils. *;

public class QueryString
{
private var _queryString: String;
private var _all:String;
private var _params:Object;

public function get queryString( ):String
{
return _queryString;
}
public function get url():String
{
return _all;
}
public function get parameters() :Object
{
return _params;
}

public function QueryString( )
{
readQueryString( );
}

private function readQueryString( ):void
{
_params = {};
try 
{
_all =  ExternalInterface. call(window. location. 
href.toString );
_queryString = ExternalInterface. call(window. location. 
search.substring , 1);
if(_queryString)
{
var params:Array = _queryString. split('');
var length:uint = params.length;

for (var i:uint=0,index: int=-1; ilength; i++) 
{
var kvPair:String = params[i];
if((index = kvPair.indexOf( =))  0)
{
var key:String = kvPair.substring( 0,index);
var value:String = kvPair.substring( index+1);
_params[key] = value;
}
}
}
}catch(e:Error) { trace(Some error occured. ExternalInterface 
doesn't work in Standalone player.); }
}
}
}

And to use it

import QueryString;
private var queryString: QueryString = new QueryString( );
user = queryString. parameters. user_id;


HTH



Steve



--- In flexcod...@yahoogro ups.com, Tracy Spratt tspr...@... wrote:

 The html wrapper does not automatically pass parameters into the swf.
 
 
 
 You need some java script like this to get the  parameters into an array:
 
 var _sPassedUrlParms = new String(document. location) .split('? ')[1];  //Get
 any passed-in querystring parms
 
 
 
 then pass that into the SF in the AC_FL_RunContent( ) function:
 
 flashvars, _sPassedUrlParms,
 
 
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _ 
 
 From: flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On
 Behalf Of Vikram Singh
 Sent: Wednesday, April 01, 2009 1:13 AM
 To: Flex Coders
 Subject: [flexcoders] Application. application. parameters.
 
 
 
 Hello Everybody.
 
 I am facing problem in getting value using
 Application. application. parameters. 
 
 I will run my application with http://www. XYZ.
 http://www.XYZ. com/home. html?user_ id=10 com/home..html? user_id=10
 
 
 
 in Flex at initialize() function i wrote like this
 
 user = Application. application. parameters. user_id
 
 
 
 but i don't get value 10 in user variable which is declare like
 
 [Bindable] private var user : uint;
 
 
 
 
 
 is there any package to include for this?
 
 
 
 -Vikram.
 
 
 
 
 
   _ 
 
 
 Add more friends to your messenger and enjoy! Invite
 http://in.rd. yahoo.com/ tagline_messenge r_6/*http: /messenger. yahoo.com/ 
 invit
 e/  them now.





  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] Application.application.parameters.

2009-03-31 Thread Vikram Singh
Hello Everybody.
I am facing problem in getting value using Application.application.parameters.
I will run my application with http://www.XYZ.com/home.html?user_id=10

in Flex at initialize() function i wrote like this
user = Application.application.parameters.user_id

but i don't get value 10 in user variable which is declare like
[Bindable] private var user : uint;


is there any package to include for this?

-Vikram.


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] magnify text data?

2009-03-25 Thread Vikram Singh
in my application there is chart with many entity on 'X' Axis.
so name of entity is not display in readable size.
therefore i want to implement Magnify Text feature on my application.
User just put mouse over text and those text is magnify and user can read it 
perfectly.

do you have any idea to implement this?
is there any ready made tool or component for this?

-Vikram


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: {Disarmed} [flexcoders] remoteobject and parameters

2009-03-24 Thread Vikram Singh
in Flex:

mx:RemoteObject id=ro destination=amfphpcodesource=DemoClass
mx:method name=setData result=setDataResultHandler(event); /
/mx:RemoteObject

mx:Text id=txt1 /
mx:Text id=txt2 /
mx:Text id=anstxt text={ans} /
mx:Button label=”Send Data” click=”btnClick( )” /

private function btnClick() : void
{
ro.setData(txt1.text , txt2.text);

}
private function setDataResultHandler(event:ResultEvent) : void
{
ans = event.result.toString();

}

in php: (http:\\localhost\amfphpcode\services\DemoClass.php)

class DemoClass
{
function setData($v1,$v2)

{

return ($v1+$v2);

}
}


I hope you will get your solution from this.
If not get, tell me.







From: Scott h...@netprof.us
To: flexcoders@yahoogroups.com
Sent: Tuesday, 24 March, 2009 4:14:33 PM
Subject: RE: {Disarmed} [flexcoders] remoteobject and parameters


You need to create a remoteobject in Flex.
 
I use ColdFusion for my backend but it
should be similar.  I’m also not sure if you’re using amfphp
or not but this is the basis to work from:
 
mx:Script
….
private function accessRemote( ):void
{
  phpService.remotePH PFunctionName( variable1,
variable2, variable3 );
}
 
….
 
mx:Remoteobject id=”phpService” 
destination=”amfphp”/
mx:Method name=”remotePHPFunctionNa me”
result=”functionResultHandl er(event)” fault=”faultResultHandler( event)”
/
/mx:Remoteobject
 
mx:Button label=”Remote Object”
id=”btnRemote” click=”accessRemote( )” /
 
 
 


 
From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On 
Behalf Of shrike6_7
Sent: Tuesday, March 24, 2009 5:40
AM
To: flexcod...@yahoogro ups.com
Subject: {Disarmed} [flexcoders]
remoteobject and parameters
 
Hello,
with a remoteobject how can I send parameters?
If I use:

mx:method name=setData 
mx:arguments
arg1{text1. text}/arg1
arg2{text2. text}/arg2
/mx:arguments
/mx:method

at serverside (php with amf) I have a function setData($arg1, $arg2)

but can I send this parameters in POST and receive it in the $_POST variable?

Thanks
-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] which one is better to use?

2009-03-23 Thread Vikram Singh
hello friends...
i am passing data request to php using RemoteObject from flex.
and php send back processed data to Flex. 
which one is better in performance for flex application operation??
1. ArrayCollection
OR
2. XML
which one is easy and fast accesable??
all the data are storing in ArrayCollection and used it to displaying in flex 
components.
I feel that Array object is little bit slow.
Please suggest me the right option.

Thanks.


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] problem with XML in flex

2009-03-20 Thread Vikram Singh
I need to generate XML with data fetch from database. I am using PHP.
then send this generated XML to Flex application and display in flex component 
like (tree, list or Grid).

but i am not getting how to generate XML and passed to Flex?
any easy protocol for communicating between Flex and PHP??
any idea do you have... please  help me.


  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

Re: [flexcoders] Re: problem with XML in flex

2009-03-20 Thread Vikram Singh
Thanks :)




From: Michael mem4...@cox.net
To: flexcoders@yahoogroups.com
Sent: Friday, 20 March, 2009 1:23:39 PM
Subject: [flexcoders] Re: problem with XML in flex


Type adobe flex cms into youtube and you will find a member mikenku who 
created a cms in flex but as an air.  That air program then creates an xml file 
and uploads it.  Hope some code there helps.





  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/

[flexcoders] unable to get hierarchical data using AMFPHP and displayed to tree in flex

2009-03-18 Thread Vikram Singh
Hello friends,
I got data in array from database now convert to XML format and passed to Flex.
and displayed it to Tree component.

I have tried many times by different way but unable to get.
Please help me. any idea?



  Add more friends to your messenger and enjoy! Go to 
http://messenger.yahoo.com/invite/