[flexcoders] Re: Accessing Microsoft XLS from Flex.

2007-12-03 Thread garylee0709
hi Prayank:
to Question 1:it seems there's no flex's API to read
XLS file...

to Question 2:filtering data function is certainly available,but flex 
did not provide data filter component.u should write codes to 
accomplish that.if u'll use sever side Java code to read database,how 
about using SQL to filter datas,in my opinion,this method saves alot of 
Flex codes but of course is a little bit lazy,and will cost extra time 
to complete the filtering.

to Question 3:yes~i had done this before too,i directly changed XLS 
file to mdb files(Access'file) and use JDBC-ODBC drive to connect 
database.

all the best~
P.S:if u find ways to read XLS file directly from flex app,i will be 
grateful if u tell me about it~



[flexcoders] Re: How to make viewSource enabled

2007-12-02 Thread garylee0709
select 'project ' from ur flex builder menu,then select 'publish 
application source',
feel free to change any pre-settings.
after that,add up 'viewSourceURL' property in ur Application MXML Tag 
with the
the value,which if u use the pre-settings of flex builder it should 
then be 'srcview/index.html'.

have a nice day~



[flexcoders] is change a program's namespace in run-time possible?

2007-12-02 Thread garylee0709
i try to use the code:
"use namespace ..."to change some constants of program at run-time,
it seems no working at all...
is there a way to work this out?
any replies will be greatly appreciated.



[flexcoders] i find a bug in PopUpButton component...wondering how to solve this bug

2007-03-13 Thread garylee0709
try the following program in flex 2(they come from flex help 
documentation,):


http://www.adobe.com/2006/mxml";>















the problem is in the changeHandler menuEvent handler function,after 
items in popupButton was clicked,changeHandler event function always 
execute twice.so everytime i click just 1 time,i got 2 Alert of 'y'!!
PS:there were some time that it did act normal,eg:u click the first 
item of popupButton,but after that the "twice" effect comes again...
tks for ur time and any replyment will be greatly appreciated.



[flexcoders] can i remove the selectionColor of a tilelist?

2007-03-12 Thread garylee0709
i use a tilelist which possessed a itemRender,but i really don't want 
it to show a BackgroundColor when user click one of the tilelist's 
item...
can i remove the selectionColor of a tilelist?
tks for ur time and any replayment will be greatly appreciated~!



[flexcoders] Re: is it possible a ErrorToolTip can work with Flex2's effect?

2007-03-07 Thread garylee0709
i found a solution to the second question about the text in a tooltip 
will show before the animation ends,but i think this is not a very good 
idea
program:
private function iniapp():void{
   btn.addEventListener(ToolTipEvent.TOOL_TIP_SHOWN,hideHandler);
}
//btn is a button;
private function hideHandler(evt:ToolTipEvent):void{
   ToolTipManager.currentToolTip.text='nice';
   evt.toolTip.text='nice';
}
using ToolTipManager or evt.toolTip can both change the text
at first i set the btn's tooltip to null,and have set its width
to a certain value,then using the ToolTipEvent to change tooltip's
text




[flexcoders] is it possible a ErrorToolTip can work with Flex2's effect?

2007-03-07 Thread garylee0709
eg:i want a error tooltip showing with a fade in effect.then i found 
some solutions about how to apply effects with tooltip in the help 
document as below:


http://www.adobe.com/2006/mxml"; width="600" 
height="600" initialize="app_init();">





it works for sure,then i try the error tooltip which just show up 
without the fade in effect,the below lines show how i create a error 
tooltip,are they relevent to the failure of the fade in effect?
 
tt=ToolTipManager.createToolTip
('hello',ti.x,ti.y+ti.height,'errorTipBelow');
tt.setStyle('styleName','errorTip');

those lines execute in a button's click handler event function;
and there 's another problem with a normal tooltip effect,the strings 
in a tooltip often show before the effect ended,is there a solution 
to this problem?
thank u for ur precious time and any replies will be greatly 
appreciated.



[flexcoders] Re: how to change rightClick menu?

2006-10-09 Thread garylee0709
Rogerio:
hi!can u give me a example about the "second mouse button click" 
function?i just begin to learn teh class ContextMenu & ContextMenuItem
i think all the objects in flex are attached with their own 
events,the instance of ContextMenu,when its item were clicked,then an 
EventHandler function will be executed,by which i think can set an 
boolean variable to indicate that certain items were clicked,and by 
judging the value of this variable,we can change the outlook of other 
objects or do many other things...
i haven't read the contents about ContextMenu yet...so there should 
be many mistakes above,appreciate ur help~!thank u very much

--- In flexcoders@yahoogroups.com, "Rogerio Gonzalez" 
<[EMAIL PROTECTED]> wrote:
>
> hi there!
> 
> Tell me one thing, how to detect the "second mouse button click"?
> The contextmenu donĀ“t associate the "Click" whith the object 
clicked... He
> open up the menu window but not link with the object clicked.
> The only workaround to this that I found, was edit the contextmenu 
in
> separeted components...
> 
> Any better ideias?
> 
> 
> Rogerio
> 
> 
> 
> 
> 
> On 10/9/06, Muzak <[EMAIL PROTECTED]> wrote:
> >
> >   search docs for:
> > - ContextMenu
> > - ContextMenuItem
> >
> > Muzak
> >
> > - Original Message -
> > From: "garylee0709" <[EMAIL PROTECTED] >
> > To: >
> > Sent: Monday, October 09, 2006 12:59 PM
> > Subject: [flexcoders] how to change rightClick menu?
> >
> > can't locate any resources about how to change or insert items 
into the
> > rightclick menu on the swf files(published in flexbuilder2) in the
> > flexBuilder2 help file...is this kind of programming object exist 
in
> > the actionscript3.0 framework?appreciate ur helps...!
> >
> > regards
> > gary lee
> >
> >  
> >
>







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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] how to change rightClick menu?

2006-10-09 Thread garylee0709
can't locate any resources about how to change or insert items into the 
rightclick menu on the swf files(published in flexbuilder2) in the 
flexBuilder2 help file...is this kind of programming object exist in 
the actionscript3.0 framework?appreciate ur helps...!

regards
gary lee








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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] create a research function though google's api,but failed to get any results...

2006-09-19 Thread garylee0709
i used fb2 to create a page that can use 
google's search webservice,and i think i had wrote the script 
correctly,but can't get any result,the flex codes 
are below: 
http://api.google.com/GoogleSearch.wsdl"; 
result="{ti.text='yes'}" fault="{ti.text='no'}"> 
 
 
  //and i also had got my 
key written correctly!! 
0 
10 
true 
true 
{searchTerm} 
 
 
 
and i use a button to do "ws.doGoogleSearch.send()",and i'd bind the 
result to a datagrid component,"ti" is a textinput component,and 
everytime i click this send button,all i got is the fault feedback(a 
"no" in the textinput) which means didn't receive any search result 
from google soap research api...can't any flexcoder help me to solve 
this problem?thanks a lot!! 







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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] i use the api that google provides to make flex rearch page,but...

2006-09-18 Thread garylee0709
i failed to success,here is my code,hope you can help finding the 
mistakes...thank you very much!!!


http://www.adobe.com/2006/mxml"; 
layout="absolute">



http://api.google.com/GoogleSearch.wsdl"; 
result="{ti.text='yes'}" fault="{ti.text='no'}">


keys i applied from http://www.google.com/apis
0
10
true
true
{searchTerm}






















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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/