[flexcoders] ActionScriot file in Componet

2009-02-08 Thread cool buddy

HI all,

I am trying to include an actionscript file in a MXML component file by 
including the whole path of the file. But it gives me an error saying Unable 
to open the included file..

When i include the file in main application file  there is no error. is there 
any that i need to change.

Please let me kow,.

Thanks,



  

[flexcoders] Flex + RSS samples

2009-02-07 Thread cool buddy

HI all,

I am developing a small website, where i want to post all the news on a page. I 
am thinking of using RSS with flex. Can anyone please send some sample program 
files.

Thanks for your help.



  

Re: [flexcoders] Unrecognised binding style null

2008-04-04 Thread cool buddy
Did you check your WSDL file. Are you mapping the objects correctly.

- Original Message 
From: nehavyas13 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, April 4, 2008 11:03:56 AM
Subject: [flexcoders] Unrecognised binding style null

I am trying to access a webservice method throught action 
Script. I
just need to call a method  RequestSomeMethod and send 2 parameters.
But am getting following error :

RPC Fault faultString= Unrecognized binding style 'null'. Only
'document' and 'rpc' styles are supported. faultCode=Encoding Error
faultDetail= null

I am not expecting anything back from the webservice. I just need to
call the method so that it takes some action.

Can please somebody help me with this and tell me why am I getting
this error and how to get rid of it?

In the wsdl file that I am accessing, some of the tags it has are as
below. It does not have style property in soap binding tag, but is in
operation tag. Is that OK? or does flex expect it to be in soap
binding tag and hence give me this error?

Attached is the code I am using for Action Script:

?xml version=1.0 ?

mx:Button xmlns:mx=http://www.adobe. com/2006/ mxml
click=useWebServic e() width=80% 
mx:Script

![CDATA[
import mx.rpc.soap. LoadEvent;

import mx.controls. Alert;
import mx.rpc.http. HTTPService;
import mx.rpc.soap. WebService;
import mx.rpc.events. ResultEvent;
import mx.rpc.events. FaultEvent;

private var ws:WebService;
private var para1:Number;
private var para2:int;

override public function set data(value:Object) :void
{
para1=1;
setStyle(color , red);
enabled=false;
label =Do not click;
para2=0

}

public function useWebService( ):void {
ws = new WebService() ;

ws.addEventListener (fault, faultHandler) ;
ws.addEventListener (LoadEvent. LOAD,wsLoaded) ;
ws.addEventListener (ResultEvent. RESULT, result_listener) ;
ws.wsdl= someurl?wsdl ;
ws.loadWSDL( );

}

private function wsLoaded(loadEvent: Event):void{
ws.RequestSomeMetho d(para1, para2);
}

public function echoResultHandler( event:ResultEven t):void {
Alert.show( WSDL returned);
}

public function faultHandler( event:FaultEvent ):void {
trace(event. fault);
}

public function result_listener( event:ResultEven t):void {
}

]]
/mx:Script

/mx:Button

WSDL file:

- wsdl:binding name=abc type=tns:IJK 
wsp:PolicyReferenc e URI=#XYZ /
soap12:binding transport=http://schemas. xmlsoap.org/ soap/http /
- wsdl:operation name=RequestDetail s
soap12:operation soapAction=http://tempuri/ RequestDetails
style=document /
- wsdl:input
soap12:body use=literal /
/wsdl:input
- wsdl:output
soap12:body use=literal /
/wsdl:output
/wsdl:operation
/wsdl:binding




!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--

!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--

!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-reco {
margin-bottom:20px;padding:0px;}
#ygrp-reco #reco-head {
font-weight:bold;color:#ff7900;}

#reco-grpname{
font-weight:bold;margin-top:10px;}
#reco-category{
font-size:77%;}
#reco-desc{
font-size:77%;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{

Re: [flexcoders] Connecting 2 mxml files in flex

2008-04-04 Thread cool buddy
Did you try to import the mxml file in the other..



- Original Message 
From: munnya_bdm1 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, April 4, 2008 12:41:35 PM
Subject: [flexcoders] Connecting 2 mxml files in flex

Hello guys,
Does ne1 kno bout, how 2 connect two mxml filesi m 
currntly doin a prjct,in which i want to access contents of one 
component in mxml(A) into another mxml(B). .Is there ne way of doin 
so..for example u can create a textbox in a.mxml and access its 
text in b.mxml.. .both mxml are in same project

THANK YOU


 


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

[flexcoders] Deployment of flex and Java on a webserver

2008-04-04 Thread cool buddy

HI All,

Currently i am developing a website where the frontend is in flex. Flex access 
the Java backend through webservices. Can anyone let me know how should i 
deploy both the flex and Java on the webserver. So that a user comes and access 
the application.

Thanks,




  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

[flexcoders] Question regarding FLex JVM termination

2008-04-03 Thread cool buddy

Hello all,

I am running eclispe and Flex builder on local machine. Suddenly Flex builder 
got terminated\
and gave the following message

JVM terminated . Exit code=1
C:\ProgramFiles\Adobe\FlexBuilder 3\jre\bin\javaw.exe
-xms128m
-xmx512m
-XX:MaxPermSize=256m
-XX:PermSize=64m
-Djava.net.prefrIPv4Stack=true
..
...

Does any one has any idea.If so please post it..

Thanks,


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

Re: [flexcoders] Question regarding FLex JVM termination

2008-04-03 Thread cool buddy
i got it working..i was trying to embed a flash movie in the main 
application.so the flex builder got terminated. When i removed the movie it was 
working fine...

So anyinsights into it. why this happens??


- Original Message 
From: cool buddy [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, April 3, 2008 3:17:38 PM
Subject: [flexcoders] Question regarding FLex JVM termination

 
Hello all,
 
I am running eclispe and Flex builder on local machine. Suddenly Flex builder 
got terminated\
and gave the following message
 
JVM terminated . Exit code=1
C:\ProgramFiles\ Adobe\FlexBuilde r 3\jre\bin\javaw. exe
-xms128m
-xmx512m
-XX:MaxPermSize= 256m
-XX:PermSize= 64m
-Djava.net.prefrIPv 4Stack=true
..
...
 
Does any one has any idea.If so please post it..
 
Thanks,



You rock. That's why Blockbuster' s offering you one month of Blockbuster Total 
Access, No Cost. 
 


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

[flexcoders] Question: Input/Output statements in Flex

2008-04-02 Thread cool buddy

HI all,

I have a question regarding the output statemetn in flex.. i have read the 
documenation but could not find..i have used trace fucntion while debugging. I 
was wondering if there are any statements which i want to print out while 
exceuting the code.

Thanks,


  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

[flexcoders] Handling result in webservices

2008-04-01 Thread cool buddy
HI all,

I need help in handling result in webservices..following is the code.

the add method takes two inputs from the user and computes the sum...at the 
backend which is written in Java..
so when i get the result how should i handle it..Is the below code correct to 
handle it..or 
exampleService  is the main service class
 public function find():void{
  
exampleService.addEventListener(result,handleResultHandler);
  exampleService.add(String s1,String s2);
  
  }
  
   public function handleResultHandler(event:AddResultEvent):void{
   
   
resultArr=event.result.asIList().toArray();
//event.result.asICollectionView().
trace(length+:+resultArr.length);
  trace(event.result.length);
   



   }




  

You rock. That's why Blockbuster's offering you one month of Blockbuster Total 
Access, No Cost.  
http://tc.deals.yahoo.com/tc/blockbuster/text5.com

[flexcoders] tabnavigator and states

2008-03-13 Thread cool buddy

HI all,

Can some one please help me out on my problem with the use of tabnavigator and 
states. when i use currentState='' it doesn't go the base state but goes to the 
another page with index 1

i have defined in the actionscript to go the selected index to 0 ..but still it 
goes to 1..

Thanks,




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] going to next page after submission to backend..

2008-03-11 Thread cool buddy

HI all,

I have written a application where in the user enters his details and hits 
submit button ..on submission the details are sent to the database..It should 
go to the next page and display some messagehow do we handle this in 
flex..i was thinking of using states..but the above database processing i have 
included in a component...

does anyone know how to handle this scenario..please post it..

Thanks,
D




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] Re: going to next page after submission to backend..

2008-03-11 Thread cool buddy
HI all,

i have question regarding the use of tabnavigator and states..

i have defined states based on the home page..but when i navigate from a 
component page to the home page defining currentState='' on submitting the 
button it does not go to the home page instead it goes to the other page..does 
any one have any insight on this.. please let me know...

Thanks.



- Original Message 
From: vitorinomarlene [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, March 11, 2008 6:18:44 PM
Subject: [flexcoders] Re: going to next page after submission to backend..

  Hello,
I've done something very similar to what you are describing, a survey
which was composed by 5 different forms. I used a ViewStack for each
group of questions, created a validator and a button for each canvas.
The validator checks if the responses are valid and the button submits
the data to the backend and changes the canvas.
Something like this:

mx:Button label=NEXT click=validateQues t1()/

public function validateQuest1( ):void{
   if (validResponse( )) //validator for the user answers
   {
phpSendQuest1( ); //sends the data to the backend
mainView.selectedIn dex = 2; //changes the selectedIndex in the 
viewStack
   }
}

Just include the code you already have inside a viewstack canvas and i
believe i would still work

--- In [EMAIL PROTECTED] ups.com, cool buddy [EMAIL PROTECTED] .. wrote:

 
 HI all,
 
 I have written a application where in the user enters his details
and hits submit button ..on submission the details are sent to the
database..It should go to the next page and display some
messagehow do we handle this in flex..i was thinking of using
states..but the above database processing i have included in a
component...
 
 does anyone know how to handle this scenario..please post it..
 
 Thanks,
 D
 
 
 
 
  
 _ _ _ _ _ _
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search. 
http://tools. search.yahoo. com/newsearch/ category. php?category= shopping




  
!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--

!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--

!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
.MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq{margin:4

[flexcoders] problem having navigation betwen states

2008-02-29 Thread cool buddy

Hi all,

I am using tabnavigator and states to naigate from one page to the other..

I have defined the states for all the pages based on HOME page(base state).

when i define to a linkbutton which i say go to home page defining it as 
click=currentState=' ' 

it does n't go to home page instead it goes to the other page after home page 
defined in the order on TabNavigator.

does any one have any idea..if so please post it..

Thanks.




  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] Re: problem having navigation betwen states

2008-02-29 Thread cool buddy
 states

  Could we see the code so that we can check out the 
interaction between 
your states and your tabNavigator?

--- In [EMAIL PROTECTED] ups.com, cool buddy [EMAIL PROTECTED] .. wrote:

 
 Hi all,
 
 I am using tabnavigator and states to naigate from one page to the 
other..
 
 I have defined the states for all the pages based on HOME page(base 
state).
 
 when i define to a linkbutton which i say go to home page defining it as 
click=currentState =' ' 
 
 it does n't go to home page instead it goes to the other page after home 
page defined in the order on TabNavigator. 
 
 does any one have any idea..if so please post it..
 
 Thanks.
 
 
 
 
   
 _ _ _ _ _ _
 Looking for last minute shopping deals?  
 Find them fast with Yahoo! Search.  http://tools. search.yahoo. com/
newsearch/category. php?category= shopping




  
!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--

!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--

!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
.MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq{margin:4;}
--






  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

[flexcoders] Question reg. flex + webservices

2008-02-20 Thread cool buddy

HI All,

For webservices to work with flex..do we need to an event listener.
Because i am writing an action script where i am calling the webservice method 
it does n't work..so wondering whether we need to write the event listener.

If any knows please post it.

Thanks,




  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] flex + webservices

2008-02-17 Thread cool buddy

Hi all,

Do we need to change any configuration in flex-config.xml file for consumption 
of web services.

Thanks,
DN




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


[flexcoders] Flex 3.0 + webservice

2008-02-16 Thread cool buddy

HI All,


I am using Flex 3.0 for building the client and imported the wsdl file which is 
running on Tomcat server.
I am using mx:WebService tag to access it from the MXML component file...
i was going through an example in flex generated webservices code
which says to declare xmlns:srv=generated.webservices.*
and then declare the service
srv:ServiceName id =myService
srv:saveName_request_var
 srv:SaveName_request in0=myValue/
 /srv:saveName_request_var
   /srv:ServiceName

wondering from above what is in0...when i use the same above code it gives me 
an error saying it must be enclosed in single quotes..

if anybody knows please post it..

Thanks,







  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Login Application

2008-02-12 Thread cool buddy
Hi,

I am doing a login application in flex with communication with backend (Java) 
using cxf(Xfire). webservices.
my question is how do we go to the next page after the login details are 
validated..

If anyone know please post it..

Thanks..


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: [flexcoders] Login Application

2008-02-12 Thread cool buddy
thanks,,

if the first screen consists of only the login screen and there are no tabs 
only after the user submits the button it should display the home page...will 
the below code works...

- Original Message 
From: Jehanzeb Musani [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, February 12, 2008 12:48:11 PM
Subject: Re: [flexcoders] Login Application










  



Below is the sample MXML



mx:Script

  ![CDATA[

private function OnSubmit()

{

  //After validing user credentials

  //The below line will change the view

  //to main application controls

  this.mainContainer. selectedIndex = 1;

}

  ]]

mx:Script

mx:ViewStack id=mainContainer selectedIndex= 0

  mx:VBox id=loginControlsCo ntainer

!-- login controls should be placed here --

mx:Button id=btnSubmit label=Submit

click=this. OnSubmit( ) /

  /mx:VBox

 

  mx:VBox

!-- Main applicatin control should be placed here

--

  /mx:VBox

/mx:ViewStack



Hope this helps.



--- cool buddy [EMAIL PROTECTED] com wrote:



 Hi,

 

 Thanks for your reply..

 Like if the user is granted access after validating

 the credentials. .it go to the next page..i was

 trying to figure out how do we do it...

 can you give me a small example..

 like after the user hits the Submit Button..it

 should validate and id it passes then it should go

 to the next page...

 

 - Original Message 

 From: Jehanzeb Musani jehanzeb_bs@ yahoo.com

 To: [EMAIL PROTECTED] ups.com

 Sent: Tuesday, February 12, 2008 12:32:55 PM

 Subject: Re: [flexcoders] Login Application

 

 

 

 

 

 

 

 

 

 

   

 

 

 

 Hello,

 

 

 

 What do you mean by switching to next page, can you

 

 elaborate that?

 

 

 

 If you want to change the login screen and display

 

 application main UI after validating user

 credentials,

 

 then you can use ViewStack. The first (default) view

 

 of the ViewStack container should be Login screen.

 

 Once the user successfully logs in, change the view

 of

 

 the ViewStack container to application' s main UI.

 

 

 

 Regards,

 

 Jehanzeb

 

 

 

 --- cool buddy [EMAIL PROTECTED] com wrote:

 

 

 

  Hi,

 

  

 

  I am doing a login application in flex with

 

  communication with backend (Java) using

 cxf(Xfire).

 

  webservices.

 

  my question is how do we go to the next page after

 

  the login details are validated..

 

  

 

  If anyone know please post it..

 

  

 

  Thanks..

 

  

 

  

 

   

 

 

 

  _ _ _ _

 _ _

 

  Be a better friend, newshound, and 

 

  know-it-all with Yahoo! Mobile.  Try it now. 

 

 

 

 http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR

 8HDtDypao8Wcj9tA cJ

 

  

 

  

 

 

 

  _ _ _ _

 _ _

 

 Never miss a thing.  Make Yahoo your home page. 

 

 http://www.yahoo. com/r/hs

 

 

 

 

   

 

 

 

 

 

 

 

 !--

 

 #ygrp-mkp{

 border:1px solid

 #d8d8d8;font- family:Arial; margin:14px

 0px;padding: 0px 14px;}

 #ygrp-mkp hr{

 border:1px solid #d8d8d8;}

 #ygrp-mkp #hd{



color:#628c2a; font-size: 85%;font- weight:bold; line-height: 122%;margin: 10px

 0px;}

 #ygrp-mkp #ads{

 margin-bottom: 10px;}

 #ygrp-mkp .ad{

 padding:0 0;}

 #ygrp-mkp .ad a{

 color:#ff; text-decoration: none;}

 --

 

 

 

 !--

 

 #ygrp-sponsor #ygrp-lc{

 font-family: Arial;}

 #ygrp-sponsor #ygrp-lc #hd{

 margin:10px



0px;font-weight: bold;font- size:78%; line-height: 122%;}

 #ygrp-sponsor #ygrp-lc .ad{

 margin-bottom: 10px;padding: 0 0;}

 --

 

 

 

 !--

 

 #ygrp-mlmsg {font-size:13px; font-family: arial,

 helvetica, clean, sans-serif;}

 #ygrp-mlmsg table {font-size:inherit; font:100% ;}

 #ygrp-mlmsg select, input, textarea {font:99% arial,

 helvetica, clean, sans-serif;}

 #ygrp-mlmsg pre, code {font:115% monospace;}

 #ygrp-mlmsg * {line-height: 1.22em;}

 #ygrp-text{

 font-family: Georgia;

 }

 #ygrp-text p{

 margin:0 0 1em 0;}

 #ygrp-tpmsgs{

 font-family: Arial;

 clear:both;}

 #ygrp-vitnav{



padding-top: 10px;font- family:Verdana; font-size: 77%;margin: 0;}

 #ygrp-vitnav a{

 padding:0 1px;}

 #ygrp-actbar{

 clear:both;margin: 25px

 0;white-space: nowrap;color: #666;text- align:right; }

 #ygrp-actbar .left{

 float:left;white- space:nowrap; }

 .bld{font-weight: bold;}

 #ygrp-grft{

 font-family: Verdana;font- size:77%; padding:15px 0;}

 #ygrp-ft{

 font-family: verdana;font- size:77%; border-top: 1px

 solid #666;

 padding:5px 0;

 }

 

=== message truncated ===



 _ _ _ _ _ _

Looking for last minute shopping deals?  

Find them fast with Yahoo! Search.  http://tools. search.yahoo. com/newsearch/ 
category. php?category= shopping




  







!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px

Re: [flexcoders] Login Application

2008-02-12 Thread cool buddy
Hi,

Thanks for your reply..
Like if the user is granted access after validating the credentials..it go to 
the next page..i was trying to figure out how do we do it...
can you give me a small example..
like after the user hits the Submit Button..it should validate and id it passes 
then it should go to the next page...

- Original Message 
From: Jehanzeb Musani [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, February 12, 2008 12:32:55 PM
Subject: Re: [flexcoders] Login Application










  



Hello,



What do you mean by switching to next page, can you

elaborate that?



If you want to change the login screen and display

application main UI after validating user credentials,

then you can use ViewStack. The first (default) view

of the ViewStack container should be Login screen.

Once the user successfully logs in, change the view of

the ViewStack container to application' s main UI.



Regards,

Jehanzeb



--- cool buddy [EMAIL PROTECTED] com wrote:



 Hi,

 

 I am doing a login application in flex with

 communication with backend (Java) using cxf(Xfire).

 webservices.

 my question is how do we go to the next page after

 the login details are validated..

 

 If anyone know please post it..

 

 Thanks..

 

 

  



 _ _ _ _ _ _

 Be a better friend, newshound, and 

 know-it-all with Yahoo! Mobile.  Try it now. 



http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ

 

 



 _ _ _ _ _ _

Never miss a thing.  Make Yahoo your home page. 

http://www.yahoo. com/r/hs




  







!--

#ygrp-mkp{
border:1px solid #d8d8d8;font-family:Arial;margin:14px 0px;padding:0px 14px;}
#ygrp-mkp hr{
border:1px solid #d8d8d8;}
#ygrp-mkp #hd{
color:#628c2a;font-size:85%;font-weight:bold;line-height:122%;margin:10px 0px;}
#ygrp-mkp #ads{
margin-bottom:10px;}
#ygrp-mkp .ad{
padding:0 0;}
#ygrp-mkp .ad a{
color:#ff;text-decoration:none;}
--



!--

#ygrp-sponsor #ygrp-lc{
font-family:Arial;}
#ygrp-sponsor #ygrp-lc #hd{
margin:10px 0px;font-weight:bold;font-size:78%;line-height:122%;}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom:10px;padding:0 0;}
--



!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, 
sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a{
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc{
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o{font-size:0;}
.MsoNormal{
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq{margin:4;}
--








  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

[flexcoders] Refreshing Page

2008-02-07 Thread cool buddy
Hi,

I developed a small application in FLEX..
Whenever i refresh a page it goes back to the HOME page.Is there anything wrong 
in the coding...
For example there is a user registration page...when i refresh the page it goes 
back to the HOME page..
Does anyone have any idea?? please post it..

Thanks..


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: [flexcoders] Question regarding dynamic form

2008-02-04 Thread cool buddy
HI ,

Thanks for your reply..

I tried but but could not populate it..
If you have some piece of code of it..could you please send it .

Thanks,


- Original Message 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, February 4, 2008 7:54:47 AM
Subject: Re: [flexcoders] Question regarding dynamic form

On Monday 04 Feb 2008, hydcool02 wrote:
 For eg..if he select  '2' then the form should fields twice..

Use the steppers value as the dataProvider of a Reapeater ?

-- 
Tom Chiverton
Helping to interactively market open-source IPOs
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ