[flexcoders] Tomcat and jdk version for Flex

2006-07-05 Thread a a



Hi all! I have just a simple question for starting develop Flex application with java.Someone are using Flex with java 1.5 and tomcat 5.5? Can this be a good configuration for application developing or maybe it's better using JRun with jdk1.4?I hope that you understand my bad english :PThanks for the answerbyeRex Chiacchiera con i tuoi amici in tempo reale!  http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Swfloader event

2008-02-17 Thread a.
So I'm using SWFloader to load a flash animation and I want to pass an
event after its done playingis that possible? 

So it runs though its timeline, stops and tells Flex...Hey I'm done here.

Possible?



[flexcoders] .NET web service and Data Grid

2007-03-08 Thread subeesh a
Hi All, 
 
I am using a .NET web service to populate datagrid. I am converting the result 
of the web service call to arraycollection and bind it to the datagrid.
The issue is that when  there is only one data in the database, the data grid 
is not showing up anything.
 
I have analyzed the event tree of the web service call.In the case of more than 
one record, the event object is like
 
event.result.diffgram.NewDaraSet.Table[0]..
event.result.diffgram.NewDaraSet.Table[1]..
event.result.diffgram.NewDaraSet.Table[0]..
 
in the case of database with only one record, the event object is like
 
event.result.diffgram.NewDaraSet.Table
 
How can i bind the data to the datagrid in this case
 
Thanks Subeesh



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

[flexcoders] Data Grid and .NET web Service Issue

2007-03-08 Thread subeesh a
Hi All, 

I am using a .NET web service to populate datagrid. I am converting the result 
of the web service call to arraycollection and bind it to the datagrid.
The issue is that when  there is only one data in the database, the data grid 
is not showing up anything.

I have analyzed the event tree of the web service call.In the case of more than 
one record, the event object is like

event.result.diffgram.NewDaraSet.Table[0]..
event.result.diffgram.NewDaraSet.Table[1]..
event.result.diffgram.NewDaraSet.Table[0]..

in the case of database with only one record, the event object is like

event.result.diffgram.NewDaraSet.Table

How can i bind the data to the datagrid in this case

Thanks Subeesh



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Re: [flexcoders] Re: .NET web service and Data Grid

2007-03-08 Thread subeesh a
I am using 2.0.1


- Original Message 
From: ben.clinkinbeard <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, 8 March, 2007 7:42:32 PM
Subject: [flexcoders] Re: .NET web service and Data Grid

I believe this was a bug that was fixed in 2.0.1. Are you using 2.0.1?

--- In [EMAIL PROTECTED] ups.com, subeesh a  wrote:
>
> Hi All, 
> 
> I am using a .NET web service to populate datagrid. I am converting
the result of the web service call to arraycollection and bind it to
the datagrid.
> The issue is that when there is only one data in the database, the
data grid is not showing up anything.
> 
> I have analyzed the event tree of the web service call.In the case
of more than one record, the event object is like
> 
> event.result. diffgram. NewDaraSet. Table[0]. .
> event.result. diffgram. NewDaraSet. Table[1]. .
> event.result. diffgram. NewDaraSet. Table[0]. .
> 
> in the case of database with only one record, the event object is like
> 
> event.result. diffgram. NewDaraSet. Table
> 
> How can i bind the data to the datagrid in this case
> 
> Thanks Subeesh
> 
> 
> 
>  _ _ _ _ _ _
> Yahoo! India Answers: Share what you know. Learn something new
> http://in.answers. yahoo.com/
>






__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Re: [flexcoders] Data Grid and .NET web Service Issue

2007-03-12 Thread subeesh a
Thanks a lot Kelly,

That really works!!


- Original Message 
From: Kelly Birr <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, 12 March, 2007 5:32:50 PM
Subject: Re: [flexcoders] Data Grid and .NET web Service Issue


This is what i do:

var myCollection:ArrayCollection;
var myTable:Object = event.result.diffgram.NewDataSet.Table;

if (myTable is ArrayCollection)
myCollection = myTable as ArrayCollection;
else
myCollection= new ArrayCollection( [ myTable ] );

myDataGrid.dataProvider = myColleciton;

- Kelly


subeesh a wrote:
> Hi All,
> I am using a .NET web service to populate datagrid. I am converting 
> the result of the web service call to arraycollection and bind it to 
> the datagrid.
> The issue is that when there is only one data in the database, the 
> data grid is not showing up anything.
> I have analyzed the event tree of the web service call.In the case of 
> more than one record, the event object is like
> event.result.diffgram.NewDaraSet.Table[0]..
> event.result.diffgram.NewDaraSet.Table[1]..
> event.result.diffgram.NewDaraSet.Table[0]..
> in the case of database with only one record, the event object is like
> event.result.diffgram.NewDaraSet.Table
> How can i bind the data to the datagrid in this case
> Thanks Subeesh
>
> ----
> Here’s a new way to find what you're looking for - Yahoo! Answers 
> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.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





__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

[flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread subeesh a
Hi All,

Can anyone help me with this 

If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.

Thanks 

Subeesh



__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Re: [flexcoders] Checkbox in Datagrid to Select Items

2007-03-19 Thread subeesh a
Thanks Tracy,

That was a great help. Can u please explain in detail in how can i update the 
dataprovider

Subeesh


- Original Message 
From: Tracy Spratt <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, 19 March, 2007 10:29:16 PM
Subject: RE: [flexcoders] Checkbox in Datagrid to Select Items

When the user clicks a checkbox in the itemRenderer, the renderer must update a 
“selected” property on the dataProvider item with the value of the checkbox 
selected property.  This is required.  Editable renderers must be driven from 
the dataProvider.
 
Then, you can loop through the dataProvider, test for the value of the selected 
property, then put the data into the array.
 
Tracy
 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of subeesh a
Sent: Monday, March 19, 2007 11:06 AM
To: [EMAIL PROTECTED] ups.com
Subject: [flexcoders] Checkbox in Datagrid to Select Items
 
Hi All,
 
Can anyone help me with this 
 
If i place chek boxes in datagrid column by inline item renderer how can il put 
al the items in the datagrid in wich the check boxes are ticked to an array.
 
Thanks 
 
Subeesh 
 



Here’s a new way to find what you're looking for - Yahoo! Answers 




__
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

[flexcoders] 0E-8 problem in Flex 1.5

2007-01-25 Thread Dharmendran A
Hi,

Iam getting a strange problem in Flex Grid. The problem is 0E-8. I have a 
column ReceivedQuantity(decimal datatype) in the Database(SQL Server). This 
data is returned as a resultset using a web-service, converted in to a XML and 
assigned to flex grid. The bug is if i have a value 0 (actually it is .00) 
in the ReceivedQuantity column, then instead of getting the actual value of 0, 
iam getting 0E-8. If the value is greater than 0 then iam getting the correct 
value.

It might be problem with SQL Server also. If anyone could help me pls reply..

Dharmendran A


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

RE: [flexcoders] Reply Please !!!

2007-09-21 Thread Elangovan A
Hi,

 

http://blog.3r1c.net/?p=84

 

Check this link. This link should help you.

 

 

Thanks

Elango

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ktadawn
Sent: Wednesday, September 19, 2007 4:03 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reply Please !!!

 

Please some one reply me, i am still waiting for the answer of the 
following question

Thanks
Tehseen Ahmed

--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
"ktadawn" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I've already post a question that "How a page of flex can be 
scrolled 
> up using code".
> OR
> As in HTML we use Bookmark to move up or down , what is alternatve 
of 
> this thing in Flex ?
> 
> Thanks,
> Tehseen Ahmed
>

 



---
Hurix Mumbai telephone numbers have changed. New numbers are:

Mumbai 1: Simran Center -+91 22 6677 4888

Mumbai 2: Solitiare Center - +91 22 6709 6888
===
***Disclaimer***


This email, and any attachments ("this email"), is confidential. If you are not 
the addressee
please tell the sender immediately, and destroy this email without using, 
sending or storing
it. Any opinions, express or implied, in this email, are those of the sender, 
and are not
necessarily approved by Hurix Systems. Except as expressly stated, this e-mail 
should not be
regarded as an offer, solicitation, recommendation or agreement to buy or sell 
products or
services, or to enter into any contract. E-mail transmissions are not secure 
and may suffer
errors, viruses, delay, interception and amendment. Hurix Systems does not 
accept liability
for damage caused by any of the foregoing.

HURIX SYSTEMS MAY MONITOR ALL INCOMING AND OUTGOING MAILS



[flexcoders] Changing Default Timeout Period

2007-10-30 Thread subeesh a
Hi,

In my flex application, I am calling a javascript function using external 
interface which opens a popup(an aspx page) with a rich text editor. When that 
popup is closed after entering some data, the same javascript function calls an 
actionscript function to refresh the data. 
The problem is that i am getting an error like this when that actionscript 
function is called from javascript.


Error: Error #1502: A script has executed for longer than the default timeout 
period of 15 seconds.
at ()
at 
flash.external::ExternalInterface$/flash.external:ExternalInterface::_evalJS()
at flash.external::ExternalInterface$/call()
at ProcedureIndex/::fneditstep()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher:ispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at MeshPanel/:nEditButtonClick()

It will always take more than 15 seconds to enter data , may be some minutes 

Can anyone help me with this 

Thanks in advance 

Subeesh


  Find a mall, hotel or ATM in any part of India. Go to 
http://in.maps.yahoo.com

[flexcoders] Custom Text Area in Air

2007-11-12 Thread subeesh a
Hi,

When we right click on the text area in adobe air applications , we gets 
context menu with copy , paste , delete etc . How can i add more options to the 
context menu like Bold ,Italic so that when these menu items are selected , the 
text selection is formatted.

Thanks in advance 
Subeesh


  Now you can chat without downloading messenger. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php

Re: [flexcoders] Webservices problem

2007-12-19 Thread subeesh a
Are you  passing in the parameters correctly ? . How are you passing the vaues 
to the webservice method. Post your code snippet here .


- Original Message 
From: sudha_bsb <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, 20 December, 2007 12:15:36 PM
Subject: [flexcoders] Webservices problem

Hi,
I have a webservice that I invoke back to back on a button click. 
On the first click the webservice returns the expected result. 
However, on successive clicks, I get the following error:

[FaultEvent fault=[RPC Fault faultString= "Array of input arguments did 
not contain a required parameter at position 2" 
faultCode="Client. Input" faultDetail= "null"] messageId=null 
type="fault" bubbles=false cancelable=true eventPhase=2]

I am using Flex 2.0.1

Could anyone help me out to resolve this issue?

Thanks & Regards,

Sudha. 





  Chat on a cool, new interface. No download required. Go to 
http://in.messenger.yahoo.com/webmessengerpromo.php

[flexcoders] Capturing TabClick in

2008-01-08 Thread Dharmendran A
Hi,

I need to capture TabClick event in  i.e., When user clicks on 
the tab ( i have three tabs in my UI) each time, i need to do some validation. 

Can anyone help me.

Thanks
Dharmendran A




  

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

[flexcoders] Google Spell Checker Component Error

2008-01-22 Thread subeesh a
Hello ,

I am using google Spell checker component in one of my text Areas , the spell 
checking is working correctly when i run the code from my local machine , when 
i upload the swf to the server i am getting an error like this 

dataLoader security error[SecurityErrorEvent type="securityError" bubbles=false 
cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: 
http://dev.meshenergy.com/Modules/MeshAudit/bin/ComponentQuestion.swf cannot 
load data from https://www.google.com/tbproxy/spell?lang=en.";]

i have placed a crossdomain.xml file in the root folder of the site

this is the structure of the crossdomain xml file

   
   
-  
  
  




Thanks is advance

Subeesh


  Save all your chat conversations. Find them online at 
http://in.messenger.yahoo.com/webmessengerpromo.php

[flexcoders] Locking Last row in a Flex Data Grid

2007-05-23 Thread Dharmendran A
hi,

Does anybody know how to lock a last row in a datagrid. I know that 
lockedRowCount can lock all the rows abouve the specified index, but I need to 
lock the last row in data grid in addition to header row. This last row will 
show the Total value for each column and it should be locked

dharmendran a


   
Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-23 Thread Dharmendran A
Got It !!! Thanks :)))



- Original Message 
From: Harish Sivaramakrishnan <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 23, 2007 5:46:37 PM
Subject: Re: [flexcoders] Locking Last row in a Flex Data Grid

http://blogs. adobe.com/ aharui/2007/ 04/datagrid_ footers.html

I suppose this is what u are looking for 




On 5/23/07, Flexing... <[EMAIL PROTECTED] com> wrote:
One approach can be:


http://flex- apollo.blogspot. com/2007/ 05/adding- total-row- at-end-of- 
datagrid. html




On May 23, 2007, at 2:46 PM, Dharmendran A wrote:




hi,
 

Does anybody know how to lock a last row in a datagrid. I know that 
lockedRowCount can lock all the rows abouve the specified index, but I need to 
lock the last row in data grid in addition to header row. This last row will 
show the Total value for each column and it should be locked 
 

dharmendran a



Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV.









   
Get
 the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php

[flexcoders] KPI Tree View.

2007-05-24 Thread Dharmendran A
Hi,

Does anyone know whether Flex 2.0.1 has KPI Tree View control ??

dharmendran a


   
Luggage?
 GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz

Re: [flexcoders] Locking Last row in a Flex Data Grid

2007-05-24 Thread Dharmendran A
This is working fine if there are no horizantal scroll bars in the grid, but in 
my case many columns exists, which needs to be scrolled(i have set 
horizantalscrollpolicy as auto). In this case, this fixed last row also needs 
to scrolled.

The similiar requirement is also for Last Column to be fixed and scrollable.

pls help,,

dharmendran a



- Original Message 
From: Dharmendran A <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, May 24, 2007 10:36:12 AM
Subject: Re: [flexcoders] Locking Last row in a Flex Data Grid


Got It !!! Thanks :)))


 
- Original Message 
From: Harish Sivaramakrishnan <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Wednesday, May 23, 2007 5:46:37 PM
Subject: Re: [flexcoders] Locking Last row in a Flex Data Grid

http://blogs. adobe.com/ aharui/2007/ 04/datagrid_ footers.html

I suppose this is what u are looking for 




On 5/23/07, Flexing... <[EMAIL PROTECTED] com> wrote: 
One approach can be:


http://flex- apollo.blogspot. com/2007/ 05/adding- total-row- at-end-of- 
datagrid. html




On May 23, 2007, at 2:46 PM, Dharmendran A wrote:




hi,
 

Does anybody know how to lock a last row in a datagrid. I know that 
lockedRowCount can lock all the rows abouve the specified index, but I need to 
lock the last row in data grid in addition to header row. This last row will 
show the Total value for each column and it should be locked 
 

dharmendran a



Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 






 





You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.


 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

[flexcoders] Drawing an Arrow in Flex

2007-05-24 Thread Dharmendran A
Hi,

Iam working on Flex Charting components and i need to draw a KPI Tree View. 

The problem is how can i draw an arrow using flex 2.0??


thanks
dharmendran a


   
Looking
 for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

[flexcoders] For Loop problem..

2007-05-27 Thread Dharmendran A
Hi,

Iam facing a peculiar problem in flex. The For loop works in a reverse way.

for(var i:Number=0; i<3; i++)
{
Alert.show(i.toString());
}

Prints 2,1,0 

??

Could anyone help pls...

Dharmendran A


   
You
 snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

[flexcoders] Re: For Loop problem..

2007-05-27 Thread Dharmendran A
Silly...

Got it...


Dharmendran A


- Original Message 
From: Dharmendran A <[EMAIL PROTECTED]>
To: flex coders 
Sent: Monday, May 28, 2007 10:05:35 AM
Subject: For Loop problem..


 
Hi,
 
Iam facing a peculiar problem in flex. The For loop works in a reverse way.
 
for(var i:Number=0; i<3; i++)
{
Alert.show(i.toString());
}
 
Prints 2,1,0 
 
??
 
Could anyone help pls...
 
Dharmendran A



Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.


   
Building
 a website is a piece of cake. Yahoo! Small Business gives you all the tools to 
get online.
http://smallbusiness.yahoo.com/webhosting 

[flexcoders] HttpFlexSession Register in web.xml

2007-06-04 Thread Dharmendran A
Hi,

Iam trying to access a RemoteObject (java class) thru Flex and iam getting this 
error while calling thru Flex UI. (I have a datagrid dataprovider bound to 
event.result.)

[Flex] [WARN] HttpFlexSession has not been registered as a listener in web.xml f
or this application so no events will be dispatched to FlexSessionAttributeListe
ners or FlexSessionBindingListeners. To correct this, register flex.messaging.Ht
tpFlexSession as a listener in web.xml.



when i cheked the web.xml there is already an entry 


flex.messaging.HttpFlexSession


So, pls help me what i need to do...further



Dharmendran A


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



Re: [flexcoders] HttpFlexSession Register in web.xml

2007-06-04 Thread Dharmendran A
Hi,

Thanks for your reply. I could able to resolve the problem. flex-messaging.jar, 
flex-messaging-common.jar, flex-messaging-opt.jar and flex-messaging-req.jar 
were missing in WEB-INF\lib folder.

Yes Iam using FDS and Iam using Tomcat 5.5

Thanks,
Dharmendran A




- Original Message 
From: Peter Farland <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Monday, June 4, 2007 7:22:00 PM
Subject: RE: [flexcoders] HttpFlexSession Register in web.xml

I need more info to help you out. Are you using FDS? What J2EE application 
server are you using? Have you confirmed that you have flex-messaging. jar in 
/WEB-INF/lib? How did you install FDS? Did you start with a clean war file or 
did you try to merge a new one over an older one?




From: [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf 
Of Dharmendran A
Sent: Monday, June 04, 2007 6:22 AM
To: flex coders
Subject: [flexcoders] HttpFlexSession Register in web.xml


Hi,
 
Iam trying to access a RemoteObject (java class) thru Flex and iam getting this 
error while calling thru Flex UI. (I have a datagrid dataprovider bound to 
event.result. )
 
[Flex] [WARN] HttpFlexSession has not been registered as a listener in web.xml f
or this application so no events will be dispatched to FlexSessionAttribut 
eListe
ners or FlexSessionBindingL isteners. To correct this, register flex.messaging. 
Ht
tpFlexSession as a listener in web.xml.
 
 
 
when i cheked the web.xml there is already an entry 
 

flex.messaging. HttpFlexSession

 
So, pls help me what i need to do...further

 
 
Dharmendran A



Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. 



   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

[flexcoders] Throwing DataSyncException Error - Flex Data Management

2007-06-05 Thread Dharmendran A
Hi,

I have built a sample .MXML application for testing Flex Data Management. In 
client iam using DataService to connect to the destination like,


Iam able to view all the records using ds.fill(). Iam able to add a new 
employee record using addItem() of the ArrayCollection and by calling 
ds.commit()

I could see data synchronization happening in multiple clients.

Now, the problem is iam not able to modify or delete any record. Iam getting an 
error 

"Throwing DataSyncException when trying to update employee id=4"
"Throwing DataSyncException when trying to delete employee id=4"

The code looks like this:
var emp:Employee=contacts.getItemAt(4) as Employee;
ds.autoCommit=false;
emp.firstName="Dharmendran";
emp.lastName="Arumugam";
ds.commit();

Pls help me.

Thanks,
Darmendran A


   
____
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469

[flexcoders] Selecting a bunch of cells in DataGrid.

2007-06-06 Thread Dharmendran A
hi,

I need to select a bunch of cells (like one in excel) in datagrid, press CTRL+C 
and export to Excel.

Any Idea how to select cells in flex data grid??

dharmendran A


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



[flexcoders] Re: Throwing DataSyncException Error - Flex Data Management

2007-06-07 Thread Dharmendran A
Hi,

Any idea for this bug. I didnot get any reply..

Pls help me out..

Thanks
Dharmendran A


- Original Message 
From: Dharmendran A <[EMAIL PROTECTED]>
To: flex coders 
Sent: Wednesday, June 6, 2007 10:59:32 AM
Subject: Throwing DataSyncException Error - Flex Data Management


Hi,
 
I have built a sample .MXML application for testing Flex Data Management. In 
client iam using DataService to connect to the destination like, 

 
Iam able to view all the records using ds.fill(). Iam able to add a new 
employee record using addItem() of the ArrayCollection and by calling 
ds.commit()
 
I could see data synchronization happening in multiple clients.
 
Now, the problem is iam not able to modify or delete any record. Iam getting an 
error 
 
"Throwing DataSyncException when trying to update employee id=4"
"Throwing DataSyncException when trying to delete employee id=4"
 
The code looks like this:
var emp:Employee=contacts.getItemAt(4) as Employee;
ds.autoCommit=false;
emp.firstName="Dharmendran";
emp.lastName="Arumugam";
ds.commit();

Pls help me.
 
Thanks,
Darmendran A
 
 
 



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and 
lay it on us.


 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

Re: [flexcoders] How to change the Link icon at run time

2006-10-09 Thread Dharmendran A



     In the private scope of the class embed the icon like,     [Embed(source="icons/printDown.png")]  var image_printDown :String;        In doPrint() event, assign the abouve icon to PrintLink like,  PrintLink.icon = image_printDown;     hope this helps.     dharmendranAkash <[EMAIL PROTECTED]> wrote:   HI all,   I  want to change the icon of this link at the run time say on the click event. Can anybody plz. Tell me how to do this?   Thanks & regards,  Akash DisclaimerThis email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to
 whom it is addressed. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED]ness.com and destroy the original message. The recipient should check this email and any attachments for the presence of viruses. Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email. Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.   
		Do you Yahoo!? Everyone is raving about the  all-new Yahoo! Mail.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Application crash due to Channel disconnected

2008-05-23 Thread Tuncay A.

Hi,

I hope some of you guys can help me.

I made my first company Flex application integrated into a webapplication
using Java Dataservice to communicate to backend.

On Windows machine it works properly. When deploying into a Linux machine it
crashes almost all time when the application either is launched or refreshed
in a browser (IE/Firefox). Using Adobe flex SDK 3.+ , DataService, Flash 9+
on client it doesn't help. 

The exception I get is:
---
[RPC Fault faultString="Channel disconnected"
faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel disconnected
before an acknowledgement was received"]
at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()
at DataListRequestResponder/fault()
at mx.rpc::AsyncRequest/fault()
at NetConnectionMessageResponder/channelDisconnectHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/disconnectSuccess()
at mx.messaging.channels::NetConnectionChannel/internalDisconnect()
at mx.messaging.channels::RTMPChannel/internalDisconnect()
at mx.messaging.channels::RTMPChannel/statusHandler()

I'm stuck and hope some can help.

-tuncay
-- 
View this message in context: 
http://www.nabble.com/Application-crash-due-to-Channel-disconnected-tp17316630p17316630.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread subeesh a
If you are adding the images to some container , you can get it as

var ImageArray:Array = yourContainer.getChildren();

Subeesh
http://subeesh.co.nr


[flexcoders] A weird performance issue about regExp!

2009-11-03 Thread ha a
The further clue about the previous topic: "A weird performance issue"
After some investigation, maybe regExp is one of the reasons.

One loop in my air program:

    var beg1:Date = new Date();
    regexMatched = regexpArray[index].test(line);
    var end1:Date = new Date();
    sum1 += (end1.valueOf()-beg1.valueOf());

Then for value of sum1:
The 1st runThe 2nd runThe 3rd run
34   --->  154  --->  34    
39   --->  141  --->  39
54   --->  200  --->  59

Why so great difference for the second run regExp.test()?

Any comments?

Thanks.


--- 09年11月3日,周二, ha a  写道:

发件人: ha a 
主题: Weird performance issue
收件人: flexcoders@yahoogroups.com
日期: 2009年11月3日,周二,下午1:35

An air program will process many log files,
click run button to inspect these log files one by one.

*Problems*:
Click run button, then the air program's performance is OK.
Click run button again, then the air program's performance maybe OK or may not 
OK.(about 60-70% is NOT OK)
Click run button again, then the air program's performance is OK.
 ...

Then, seems only the second run may have the performance issue.
So weird?
In fact, each run should do the same thing.
BTW, the busy cursor is a clock, when running slow, the clock cursor also run 
slowly.

*About profiler*:
And I also use Flex builder profiler to analyse.
For example, 
for OK run,
elapse time: 2min
the biggest cumulative time: 1min

for issue run:
elapse time: 7min
the biggest cumulative time: 3.5min


*Questions*:
1.
 Do you have any general clue or hint on this issue?
2. About profiler, for example, the elapse time is 7min, but cumulative time is 
3.5min, where is another 3.5min? 
seems some functions were not be counted by profiler?
how can I know what costs the another 3.5 min?


*Backgrounds*:
1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3
2. when processing log, read file, check each line for finding the keyword.
3. one virtual thread(by timer) is for one log file processing.
4: any other information need?

Thanks





好玩贺卡等你发,邮箱贺卡全新上线!


  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/

[flexcoders] Weird performance issue

2009-11-03 Thread ha a
An air program will process many log files,
click run button to inspect these log files one by one.

*Problems*:
Click run button, then the air program's performance is OK.
Click run button again, then the air program's performance maybe OK or may not 
OK.(about 60-70% is NOT OK)
Click run button again, then the air program's performance is OK.
 ...

Then, seems only the second run may have the performance issue.
So weird?
In fact, each run should do the same thing.
BTW, the busy cursor is a clock, when running slow, the clock cursor also run 
slowly.

*About profiler*:
And I also use Flex builder profiler to analyse.
For example, 
for OK run,
elapse time: 2min
the biggest cumulative time: 1min

for issue run:
elapse time: 7min
the biggest cumulative time: 3.5min


*Questions*:
1. Do you have any general clue or hint on this issue?
2. About profiler, for example, the elapse time is 7min, but cumulative time is 
3.5min, where is another 3.5min? 
seems some functions were not be counted by profiler?
how can I know what costs the another 3.5 min?


*Backgrounds*:
1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3
2. when processing log, read file, check each line for finding the keyword.
3. one virtual thread(by timer) is for one log file processing.
4: any other information need?

Thanks




  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/

[flexcoders] More weird&interesting&specific performance issue for RegExp!

2009-11-04 Thread ha a
hi guys,

*Questions*:
1: Why so great difference between same specific RegExp and line?
and why only in the second run, we have performance issue?
I can see the only difference is the two RegExp are different instances.

2: Any clue or hint to fix this issue?


*Backgrounds*:
The air program goes through big text files by multiple RegExps.
a)The biggest text files is about 137K lines,
b)In some long line(about 50 lines), there are about 1727 ascii chars, and even 
one line is about 8534 ascii chars.
and air program has about 40 RegExps.
c)Matching line with RegExp by
"var mateched:Boolean = (regExps[index] as RegExp).test(line);"
d)the specific RegExp is "(ERROR|FATAL|!ERROR_PRINTER_SETUP|!CA_ERRORCOUNT)".
e)Windows Vista, Flex builder3, flex sdk3.2, actionscript3
f)Any other information need?
You may refer to my previous topic: 
"A weird performance issue" and "A weird performance issue about regExp!"

*Step&Results*:
First, new about 40 RegExp in air program, and processing each line of each 
text files.
Result is: 
for these 1727 char line, each line cost about 2 milli second for the specific 
RegExp.
for 8534 char line, the line costs about 26 milli second for the specific 
RegExp.

Then, re-new the same 40 Regexp in air program, and processing each line of 
each text files.
But result is: 
for these 1727 char line, each line cost about 9-10 milli second for the 
specific RegExp.
for 8534 char line, the line costs about 250 milli second for the specific 
RegExp.

Then, do the same step again and again,
but the result is like first result above, not like the second result any more.

Thanks



--- 09年11月3日,周二, ha a  写道:

发件人: ha a 
主题: Weird performance issue
收件人: flexcoders@yahoogroups.com
日期: 2009年11月3日,周二,下午1:35

An air program will process many log files,
click run button to inspect these log files one by one.

*Problems*:
Click run button, then the air program's performance is OK.
Click run button again, then the air program's performance maybe OK or may not 
OK.(about 60-70% is NOT OK)
Click run button again, then the air program's performance is OK.
 ...

Then, seems only the second run may have the performance issue.
So weird?
In fact, each run should do the same thing.
BTW, the busy cursor is a clock, when running slow, the clock cursor also run 
slowly.

*About profiler*:
And I also use Flex builder profiler to analyse.
For example, 
for OK run,
elapse time: 2min
the biggest cumulative time: 1min

for issue run:
elapse time: 7min
the biggest cumulative time: 3.5min


*Questions*:
1.
 Do you have any general clue or hint on this issue?
2. About profiler, for example, the elapse time is 7min, but cumulative time is 
3.5min, where is another 3.5min? 
seems some functions were not be counted by profiler?
how can I know what costs the another 3.5 min?


*Backgrounds*:
1. Windows Vista, Flex builder3, flex sdk3.2, actionscript3
2. when processing log, read file, check each line for finding the keyword.
3. one virtual thread(by timer) is for one log file processing.
4: any other information need?

Thanks





好玩贺卡等你发,邮箱贺卡全新上线!


  ___ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/

Re: [flexcoders] Joe G James is out of the office.

2012-11-19 Thread Paul A.

So that's what

VerifyError: Error #1014: Class flash.system::Worker could not be found

is all about...


;-)



On 20/11/2012 00:01, joe.g.ja...@kp.org wrote:



I will be out of the office starting  11/19/2012 and will not return 
until 11/26/2012.


I will respond to your message when I return.






Re: [flexcoders] Binding using as3

2013-01-30 Thread Paul A.
On 30/01/2013 23:17, aceoohay wrote:
> I have customized textinput control with a property of x. In my program I 
> instntiate the control as vtiA. My program has a bindable variable called _y.
>
> I would like everytime that _y is changed by my program that the property x 
> of the control vtiA reflects the new values.
>
> What I have done that does not work is
>
> [Bindable] private var _y;
>
> private function whocares():void
> {
>  var vtiA:MyTextInput = new MyTextInput;
>  vtiA.x = _y
> }
>
> If this were mxml I would just say
>
> 
>
> What is the equivalent in as3?

This might point you in the right direction:

http://stackoverflow.com/questions/966047/flex-3-dynamic-creation-and-binding-of-textinput


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



Re: [flexcoders] Re: Binding using as3

2013-01-31 Thread Paul A.
On 31/01/2013 15:13, aceoohay wrote:
> Paul,
>
> BTW I did try BindingUtils.bindProperty(vtiA,"x",this,"_y"); and it did not 
> seem to work for me. It recognized _y as it required that I change it to a 
> public variable.

I was suprised that you were binding a private variable - that only 
makes sense if your code is sitting inside that class.

I don't know the context of this, but if you had a setter, you might be 
able to do the same as when binding.

I have to say that _y is a bit confusing since y is the natural public 
accessor for a private variable _y and y is the actual position of an 
element and _y seems to be something else!

>
> --- In flexcoders@yahoogroups.com, "Paul A."  wrote:
>> On 30/01/2013 23:17, aceoohay wrote:
>>> I have customized textinput control with a property of x. In my program I 
>>> instntiate the control as vtiA. My program has a bindable variable called 
>>> _y.
>>>
>>> I would like everytime that _y is changed by my program that the property x 
>>> of the control vtiA reflects the new values.
>>>
>>> What I have done that does not work is
>>>
>>> [Bindable] private var _y;
>>>
>>> private function whocares():void
>>> {
>>>   var vtiA:MyTextInput = new MyTextInput;
>>>   vtiA.x = _y
>>> }
>>>
>>> If this were mxml I would just say
>>>
>>>
>>>
>>> What is the equivalent in as3?
>> This might point you in the right direction:
>>
>> http://stackoverflow.com/questions/966047/flex-3-dynamic-creation-and-binding-of-textinput
>>
>>
>>> Paul
>>>
>>>
>>>
>>> 
>>>
>>> --
>>> 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
>>>
>>>
>>>
>>>
>
>
>
> 
>
> --
> 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
>
>
>
>



Re: [flexcoders] flex frustration...

2013-03-15 Thread Paul A.
On 15/03/2013 07:34, ZIONIST wrote:
> hi guys one moment my app was working fine and the next i get this error
>
> faultCode:Channel.Call.Failed faultString:'error' 
> faultDetail:'NetConnection.Call.Failed: HTTP: Status 500'
>
>
> any ideas on how to solve this ridiculous flex nonsense of an error?
http://www.checkupdown.com/status/E500.html


Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Paul A.

On 11/04/2013 18:30, Dave Glasser wrote:



In Java and other C-derived languages, an array literal can have a 
comma after the last element, for example:


int[] numList = {1, 2, 3,};

In ActionScript, you can do the same thing:

var numList:Array = [1, 2, 3,];

In both cases, the array has a length of 3. The trailing comma is 
basically ignored, it's permitted to make moving the elements around 
in the editor easier, I assume.


I noticed something else today about array literals in actionscript. 
You can pretty much add additional commas wherever you want:


var numList:Array = [ ,  , ,1, 2, , 3,,,];

And except for the final trailing comma, the array will have an 
element for each of those commas. The element will be null or 
undefined where there is no actual value.


I was surprised when I discovered this, because I would swear I've had 
compiler errors over misplaced commas in array literals before. Am I 
imagining things?


I checked the AS3 programmers reference, and googled around to other 
pages, and nowhere could I find any documentation of this behavior.


Is this a bug, or a feature?


Does it really matter? Nobody in their right mind is going to be 
populating arrays with multiple commas.









Re: [flexcoders] Array literals - odd behavior

2013-04-11 Thread Paul A.

On 11/04/2013 20:45, Dave Glasser wrote:



Yes, I think it matters quite a bit. It would be very easy for 
someone, even in their right mind, to unintentionally have an extra 
comma somewhere in the middle of a long array literal and not notice 
it. And the compiler would not tell them, but instead would insert an 
empty element at that spot. I would prefer that the compiler require 
you to explicitly indicate each element in an array literal, for example:


var myList:Array = [1, 2, 3, undefined, 4, 5, 6];

Or, absent that, I would prefer that the documentation clearly spell 
out the behavior of extra commas in array literals.


It would be nice, but it's hardly essential. It's never going to be good 
practice to put in multiple commas and I can't ever remember have issues 
doing it accidentally.


Raise a bug.


----
*From:* Paul A. 
*To:* flexcoders@yahoogroups.com
*Sent:* Thursday, April 11, 2013 3:00 PM
*Subject:* Re: [flexcoders] Array literals - odd behavior


Does it really matter? Nobody in their right mind is going to be 
populating arrays with multiple commas.















RE: [flexcoders] ICQ, Skype, Yahoo and other messengers id validation

2006-08-04 Thread Rostislav A. Siryk












Sergey,

 

As I understand, the only requirement for ICQ numbers is to be a number.
Historically, ICQ numbers started from 1 and theoretically can have up to infinity
digits (now the biggest is 10 but the ICQ community still grows).

 

Here’s discussion on it in parallel universe though:

http://www.phpinsider.com/smarty-forum/viewtopic.php?p=21490&sid=fb282d9296c06c0681fa088b28022c6b

 



Sincerely,

Rostislav Siryk
http://flash-ripper.com/

 

















From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Friday, August 04, 2006 4:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] ICQ, Skype, Yahoo and other messengers id
validation



 







Thank you, Michael!

And what about ICQ? Now they use both digital value and digital with dashes.

Sergey.

On 8/4/06, Michael Klishin <[EMAIL PROTECTED]com>
wrote:
> Sergey Kovalyov wrote:
>
> > I assume that it is not Flex specific question and probably software
> > issue "in general", but still. Does anybody know the
validation rules
> > for messengers ID. I mean length and allowed characters. I know that
> > Skype id must be at least 6 and maximum 32 characters length, but I
do
> > not know valid characters, etc. ICQ id must consist only numbers, but
> > dash is also possible now. Are there any formal rules available
> > online? Thank you!
>
> Set your eyes to Yahoo and check their ID validation rules (just try to
> register and have a look at the form), this is exactly what Y! Msgr uses.
>
> MSN & Google Talk validation is a simple email address validation so
no
> worries here. Don't forget that Google Talk requires user to use Gmail
> account.
>
> --
> Michael "Antares" Klishin,
>
> http://www.novemberain.com |
mailto:[EMAIL PROTECTED].com






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Exception while using BindingUtils.bindProperty()

2006-08-08 Thread Rostislav A. Siryk












Sergey,

 

Maybe you can fix it by providing default value in getter function?
There’s no such case in your code.

 

So I think adding default case value like: 

 

default :

result = DEFAULT_EXPRESSION;
}



will do the job!

 

 



Sincerely,

Rostislav Siryk
Senior Graphic Designer
Validio Ukraine
[EMAIL PROTECTED]















From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Tuesday, August 08, 2006 5:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Exception while using BindingUtils.bindProperty()



 







Hi All!

I have a class and RegExpValidator instance _validator inside it. When
I try to bind _validator.expression with _expression_() getter inside
the class, I get exception:

ReferenceError: Error #1069: Property _expression_ not found on
TextInputMessengerLabel and there is no default value.

The assignment itself looks like:

BindingUtils.bindProperty(_validator, "_expression_",
this, "_expression_");

The _expression_ getter:

[Bindable(event="messengerChange")]
protected final function get _expression_() : String {
var result : String;
switch (messenger) {
case ICQ :
result = ICQ_EXPRESSION;
break;
case SKYPE :
result = SKYPE_EXPRESSION;
break;
case YAHOO :
result = YAHOO_EXPRESSION;
break;
default :
}
return result;
}

Any ideas why it does not work?

Sergey.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Exception while using BindingUtils.bindProperty()

2006-08-08 Thread Rostislav A. Siryk












Ah I see now! BTW, isn’t it good practice to provide default case
in switch statements?

 



Sincerely,

Rostislav Siryk
Senior Graphic Designer
Validio Ukraine
[EMAIL PROTECTED]















From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sergey Kovalyov
Sent: Tuesday, August 08, 2006 11:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Exception while using
BindingUtils.bindProperty()



 







Actually, it does not help. I have already
found the real mistake. Getter must be public only. Because util class is
external and it can not work with neither private nor protected properties. :)



On 8/8/06, Rostislav A. Siryk
<[EMAIL PROTECTED]com.ua>
wrote: 







Sergey,

Maybe
you can fix it by providing default value in getter function? There's no such
case in your code.

So I
think adding default case value like: 

default :

result = DEFAULT_EXPRESSION;
}

will do the job!














__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] DataGrid: Field Change Event?

2007-04-24 Thread Troy A. Binford
Is there a way I can listen for a change in a specific column's fields
and analyze the changed field?

I was thinking about creating an Item Renderer and firing an event
from there, but I don't really want to lose the default editing
behavior of the field.

The field's data is bound XML and I would like to use that data in my
"change" event.



[flexcoders] Re: How to access Variable in Module from sub-component

2007-04-24 Thread Troy A. Binford
If I get your problem straight, you have an App that loads a module.
Then that module loads subcomponents, and you want to access a
variable that belongs to the module. Have you tried
parentDocument.varname?

--- In flexcoders@yahoogroups.com, "boy_trike" <[EMAIL PROTECTED]> wrote:
>
> My Application loads a module which has many components.  In one of
these components, I 
> want to access a variable declared in my module. 
parentApplication.varname does not work.
> 
> Thanks
> Bruce
>




[flexcoders] Re: DataGrid: Field Change Event?

2007-04-24 Thread Troy A. Binford
Yes, that was it. Thank you. For some reason I was trying to put the
event in the column definition. I also tried change and datachange
events at the datagrid level. I completely forgot about the itemEdit*
events.

--- In flexcoders@yahoogroups.com, "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> You might be looking for the itemEditEnd event.
> 
> On 4/24/07, Troy A. Binford <[EMAIL PROTECTED]> wrote:
> > Is there a way I can listen for a change in a specific column's fields
> > and analyze the changed field?
> >
> > I was thinking about creating an Item Renderer and firing an event
> > from there, but I don't really want to lose the default editing
> > behavior of the field.
> >
> > The field's data is bound XML and I would like to use that data in my
> > "change" event.
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
>




[flexcoders] Alert Control Crashing App

2007-04-24 Thread Troy A. Binford
This is a little complex, but I'll try to describe what's going on to
the best of my ability.

1. Create a new Flex Application.
2. Add a Canvas or whatever and give it an id.
3. Create a new Custom Control that is a DataGrid.
4. Make the DataGrid editable and give it a dataProvider and at least
one column.
5. Add itemEditEnd event.
6. Have the listener method fire an Alert.show("test")
7. close the Custom Control.
8. Create a mx:Script section in the main app.
9. create a private var (x) that is an instance of the Custom Control.
10. Add initialize event.
11. Have the listener assign x = new ()
12. addChild(x)

Run the program and edit a column (making itemEditEnd fire). If done
correctly, the Alert.show() will result in a large stack dump and an
undefined error.

My question is: Is this my fault? What did I do wrong?



[flexcoders] Re: Alert Control Crashing App

2007-04-25 Thread Troy A. Binford
I don't have anywhere to host the app, but I'll put the source up here:

MAIN:
http://www.speechlessrock.com/RendererAlertTest.mxml

Custom Control:
http://www.speechlessrock.com/GridTest.mxml

Upon further testing. I believe it's either I am doing something wrong
or there is something wrong with PopUpManager.

The stack trace is large so I'd rather not post it.

Thanks,

Troy

--- In flexcoders@yahoogroups.com, "Manish Jethani"
<[EMAIL PROTECTED]> wrote:
>
> Perhaps you can post a working example somewhere or at least a stack
> trace? That'll make it easier to follow.
> 
> On 4/25/07, Troy A. Binford <[EMAIL PROTECTED]> wrote:
> > This is a little complex, but I'll try to describe what's going on to
> > the best of my ability.
> >
> > 1. Create a new Flex Application.
> > 2. Add a Canvas or whatever and give it an id.
> > 3. Create a new Custom Control that is a DataGrid.
> > 4. Make the DataGrid editable and give it a dataProvider and at least
> > one column.
> > 5. Add itemEditEnd event.
> > 6. Have the listener method fire an Alert.show("test")
> > 7. close the Custom Control.
> > 8. Create a mx:Script section in the main app.
> > 9. create a private var (x) that is an instance of the Custom Control.
> > 10. Add initialize event.
> > 11. Have the listener assign x = new ()
> > 12. addChild(x)
> >
> > Run the program and edit a column (making itemEditEnd fire). If done
> > correctly, the Alert.show() will result in a large stack dump and an
> > undefined error.
> >
> > My question is: Is this my fault? What did I do wrong?
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
>




[flexcoders] Re: Alert Control Crashing App

2007-04-26 Thread Troy A. Binford
I updated to version 9.0.45.0 that was released april 12. The code
still crashes to a large stack dump and an "undefined" error. Thanks
for the suggestion, but this didn't seem to fix my problem. Anyone
else have any suggestions? It would be much appreciated.

Thanks,

Troy

--- In flexcoders@yahoogroups.com, rml__ <[EMAIL PROTECTED]> wrote:
>
> Update your flash player version, i had the same problem in IE, it
was solved updating the flash player.
> 
> rml
> 
> - Mensaje original 
> De: Manish Jethani <[EMAIL PROTECTED]>
> Para: flexcoders@yahoogroups.com
> Enviado: miércoles, 25 de abril, 2007 5:33:04
> Asunto: Re: [flexcoders] Alert Control Crashing App
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
> 
> 
> Perhaps you can post a working example somewhere or at
least a stack
> 
> trace? That'll make it easier to follow.
> 
> 
> 
> On 4/25/07, Troy A. Binford  wrote:
> 
> > This is a little complex, but I'll try to describe what's going on to
> 
> > the best of my ability.
> 
> >
> 
> > 1. Create a new Flex Application.
> 
> > 2. Add a Canvas or whatever and give it an id.
> 
> > 3. Create a new Custom Control that is a DataGrid.
> 
> > 4. Make the DataGrid editable and give it a dataProvider and at least
> 
> > one column.
> 
> > 5. Add itemEditEnd event.
> 
> > 6. Have the listener method fire an Alert.show(" test")
> 
> > 7. close the Custom Control.
> 
> > 8. Create a mx:Script section in the main app.
> 
> > 9. create a private var (x) that is an instance of the Custom Control.
> 
> > 10. Add initialize event.
> 
> > 11. Have the listener assign x = new ()
> 
> > 12. addChild(x)
> 
> >
> 
> > Run the program and edit a column (making itemEditEnd fire). If done
> 
> > correctly, the Alert.show() will result in a large stack dump and an
> 
> > undefined error.
> 
> >
> 
> > My question is: Is this my fault? What did I do wrong?
> 
> >
> 
> >
> 
> >
> 
> > --
> 
> > Flexcoders Mailing List
> 
> > FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
sFAQ.txt
> 
> > Search Archives: http://www.mail- archive.com/ flexcoders%
40yahoogroups. com
> 
> > Yahoo! Groups Links
> 
> >
> 
> >
> 
> >
> 
> >
> 
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> __
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
> Regístrate ya - http://correo.yahoo.com.mx/
>




[flexcoders] Re: Alert Control Crashing App

2007-04-27 Thread Troy A. Binford
That's weird. Why would the program go into recursion at that point?
Is the alert refiring the itemEditEnd?

I've tried creating an object to invoke the alert indirectly from the
itemEditEnd with the same result.

--- In flexcoders@yahoogroups.com, "Abdul Qabiz" <[EMAIL PROTECTED]> wrote:
>
> It seems, itemEditEnd event handler is getting invoked recursively, you
> might to look at it...
> 
> -abdul
> 
> On 4/27/07, Abdul Qabiz <[EMAIL PROTECTED]> wrote:
> >
> > Ok, I tried running your app. It seems, it gets into recursion
somewhere
> > and that's where Flash crashes..
> >
> > -abdul
> >
> > On 4/26/07, Troy A. Binford < [EMAIL PROTECTED]> wrote:
> > >
> > >   I updated to version 9.0.45.0 that was released april 12. The code
> > > still crashes to a large stack dump and an "undefined" error. Thanks
> > > for the suggestion, but this didn't seem to fix my problem. Anyone
> > > else have any suggestions? It would be much appreciated.
> > >
> > > Thanks,
> > >
> > > Troy
> > >
> > > --- In flexcoders@yahoogroups.com
, rml__
> > >  wrote:
> > > >
> > > > Update your flash player version, i had the same problem in IE, it
> > > was solved updating the flash player.
> > > >
> > > > rml
> > > >
> > > > - Mensaje original 
> > > > De: Manish Jethani 
> > >
> > > > Para: flexcoders@yahoogroups.com 
> > > > Enviado: miércoles, 25 de abril, 2007 5:33:04
> > > > Asunto: Re: [flexcoders] Alert Control Crashing App
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Perhaps you can post a working example somewhere or at
> > > least a stack
> > > >
> > > > trace? That'll make it easier to follow.
> > > >
> > > >
> > > >
> > > > On 4/25/07, Troy A. Binford  wrote:
> > > >
> > > > > This is a little complex, but I'll try to describe what's
going on
> > > to
> > > >
> > > > > the best of my ability.
> > > >
> > > > >
> > > >
> > > > > 1. Create a new Flex Application.
> > > >
> > > > > 2. Add a Canvas or whatever and give it an id.
> > > >
> > > > > 3. Create a new Custom Control that is a DataGrid.
> > > >
> > > > > 4. Make the DataGrid editable and give it a dataProvider and at
> > > least
> > > >
> > > > > one column.
> > > >
> > > > > 5. Add itemEditEnd event.
> > > >
> > > > > 6. Have the listener method fire an Alert.show(" test")
> > > >
> > > > > 7. close the Custom Control.
> > > >
> > > > > 8. Create a mx:Script section in the main app.
> > > >
> > > > > 9. create a private var (x) that is an instance of the Custom
> > > Control.
> > > >
> > > > > 10. Add initialize event.
> > > >
> > > > > 11. Have the listener assign x = new ()
> > > >
> > > > > 12. addChild(x)
> > > >
> > > > >
> > > >
> > > > > Run the program and edit a column (making itemEditEnd fire).
If done
> > > >
> > > > > correctly, the Alert.show() will result in a large stack
dump and an
> > > >
> > > > > undefined error.
> > > >
> > > > >
> > > >
> > > > > My question is: Is this my fault? What did I do wrong?
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > > --
> > > >
> > > > > Flexcoders Mailing List
> > > >
> > > > > FAQ: http://groups. yahoo.com/ group/flexcoders /files/flexcoder
> > > sFAQ.txt
> > > >
> > > > > Search Archives: http://www.mail- archive.com/ flexcoders%
> > > 40yahoogroups. com
> > > >
> > > > > Yahoo! Groups Links
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > __
> > > > Correo Yahoo!
> > > > Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
> > > > Regístrate ya - http://correo.yahoo.com.mx/
> > > >
> > >
> > >  
> > >
> >
> >
>




[flexcoders] TextInput Ignoring CursorManager.set()

2007-04-30 Thread Troy A. Binford
Is there a way to stop a TextInput control from displaying its I-bar
when I hover over it? I have previously set a custom cursor to display
and I would like it to stay the same when it moves over a TextInput
control.

Thanks,

Troy



[flexcoders] Re: TextInput Ignoring CursorManager.set()

2007-04-30 Thread Troy A. Binford
Setting mouseChildren to false gives me the desirable effect, and I
can have an event set and unset the boolean. But how about this same
issue for a TextField? It does not have a mouseChildren property. Any
advice?

Thanks,

Troy

--- In flexcoders@yahoogroups.com, "Troy A. Binford"
<[EMAIL PROTECTED]> wrote:
>
> Is there a way to stop a TextInput control from displaying its I-bar
> when I hover over it? I have previously set a custom cursor to display
> and I would like it to stay the same when it moves over a TextInput
> control.
> 
> Thanks,
> 
> Troy
>




[flexcoders] Re: TextInput Ignoring CursorManager.set()

2007-05-01 Thread Troy A. Binford
I got it working fine for a TextInput, but thanks for the advice. For
the TextField, it was a combination of selectable=false and
type="dynamic" that got rid of that pesky I-bar. What a load of work,
but thanks for naming to properties for me!

Thanks again for your help,

Troy

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Try setting selectable=false, and maybe editable=false and/or
> type="dynamic".  I'm not sure if you are directly talking to a TextField
> or a TextInput.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Troy A. Binford
> Sent: Monday, April 30, 2007 2:58 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: TextInput Ignoring CursorManager.set()
> 
>  
> 
> Setting mouseChildren to false gives me the desirable effect, and I
> can have an event set and unset the boolean. But how about this same
> issue for a TextField? It does not have a mouseChildren property. Any
> advice?
> 
> Thanks,
> 
> Troy
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Troy A. Binford"
>  wrote:
> >
> > Is there a way to stop a TextInput control from displaying its I-bar
> > when I hover over it? I have previously set a custom cursor to display
> > and I would like it to stay the same when it moves over a TextInput
> > control.
> > 
> > Thanks,
> > 
> > Troy
> >
>




[flexcoders] Unable to flush SharedObject

2007-05-15 Thread Troy A. Binford
Yesterday I cleared out all the shared objects in my Application Data
directory. Since then, I cannot write shared objects anymore. Did I
perhaps delete a permission setting for flash to write to my local
drive? I initially thought it may be a problem with a change in the
application I am writing, but then I wrote a simple app to store a
shared object and it returned error 2130 as well. I am using Eclipse
with the FlexBuilder plugin.

Oh, and I am obviously using local shared objects not remote ones, but
I thought I'd be clear just in case.

Thanks for any assistance.



[flexcoders] Re: Unable to flush SharedObject

2007-05-17 Thread Troy A. Binford
I cleared out the entire Flash Player directory. So that would be
...\Flash Player\*.* gone.

--- In flexcoders@yahoogroups.com, "Prayank" <[EMAIL PROTECTED]> wrote:
>
> Which OS are you on? 
> 
> Typically the shared objects are on: 
> C:\Documents and Settings\userxyz\Application Data\Macromedia\Flash
> Player\#SharedObjects\
> 
> Did you delete the  directory completely? 
> Or only the directories inside it?
> 
> Prayank
> 
> --- In flexcoders@yahoogroups.com, "Troy A. Binford"
>  wrote:
> >
> > Yesterday I cleared out all the shared objects in my Application Data
> > directory. Since then, I cannot write shared objects anymore. Did I
> > perhaps delete a permission setting for flash to write to my local
> > drive? I initially thought it may be a problem with a change in the
> > application I am writing, but then I wrote a simple app to store a
> > shared object and it returned error 2130 as well. I am using Eclipse
> > with the FlexBuilder plugin.
> > 
> > Oh, and I am obviously using local shared objects not remote ones, but
> > I thought I'd be clear just in case.
> > 
> > Thanks for any assistance.
> >
>




[flexcoders] Re: Unable to flush SharedObject

2007-05-17 Thread Troy A. Binford
After reinstalling flash, again. I still have the same problem. What
is weird is that any sites that store shared objects work just fine.
Apollo works fine too (because it's shared objects are stored in a
different place). It's just weird. It is like it lost permissions to
write to local even though any app ran locally has permission to by
default.

--- In flexcoders@yahoogroups.com, <[EMAIL PROTECTED]> wrote:
>
> You might try re-installing Flash ... that should re-create the
Shared Objects folder for you ...
> 
> -- Jake
> 
>  "Troy A. Binford" <[EMAIL PROTECTED]> wrote: 
> > I cleared out the entire Flash Player directory. So that would be
> > ...\Flash Player\*.* gone.
> > 
> > --- In flexcoders@yahoogroups.com, "Prayank"  wrote:
> > >
> > > Which OS are you on? 
> > > 
> > > Typically the shared objects are on: 
> > > C:\Documents and Settings\userxyz\Application Data\Macromedia\Flash
> > > Player\#SharedObjects\
> > > 
> > > Did you delete the  directory completely? 
> > > Or only the directories inside it?
> > > 
> > > Prayank
> > > 
> > > --- In flexcoders@yahoogroups.com, "Troy A. Binford"
> > >  wrote:
> > > >
> > > > Yesterday I cleared out all the shared objects in my
Application Data
> > > > directory. Since then, I cannot write shared objects anymore.
Did I
> > > > perhaps delete a permission setting for flash to write to my local
> > > > drive? I initially thought it may be a problem with a change
in the
> > > > application I am writing, but then I wrote a simple app to store a
> > > > shared object and it returned error 2130 as well. I am using
Eclipse
> > > > with the FlexBuilder plugin.
> > > > 
> > > > Oh, and I am obviously using local shared objects not remote
ones, but
> > > > I thought I'd be clear just in case.
> > > > 
> > > > Thanks for any assistance.
> > > >
> > >
> > 
> >
>




[flexcoders] Vertial Scroll Issue with Using Date Field ItemRenderer in a DataGrid

2007-05-18 Thread Troy A. Binford
Hi folks,

This is a weird bug and I hope someone can help me with it. In my
example code (DateRendererWTF.mxml being the main app and
OMGRenderer.mxml being the renderer), everything initially scrolls
fine. Then choose a date for any one of the datefields. Now move your
mouse down and up so that in travels through and out of the datagrid
on the top and bottom. As you can see the datagrid now scrolls
automatically. What is with this?

Sample mxml files:
http://www.speechlessrock.com/DateRendererWTF.mxml
http://www.speechlessrock.com/OMGRenderer.mxml

Thanks for any help,

Troy



[flexcoders] Re: Vertial Scroll Issue with Using Date Field ItemRenderer in a DataGrid

2007-05-23 Thread Troy A. Binford
I just got done installing the hotfix. While the hotfix fixes the
scrolling issue with combobox itemrenderers, I am still getting the
same scrolling issues with the datefield itemrenderer. Does anyone
have an idea on how to fix this?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Should be fixed in the latest hotfix.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Troy A. Binford
> Sent: Friday, May 18, 2007 10:15 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Vertial Scroll Issue with Using Date Field
> ItemRenderer in a DataGrid
> 
>  
> 
> Hi folks,
> 
> This is a weird bug and I hope someone can help me with it. In my
> example code (DateRendererWTF.mxml being the main app and
> OMGRenderer.mxml being the renderer), everything initially scrolls
> fine. Then choose a date for any one of the datefields. Now move your
> mouse down and up so that in travels through and out of the datagrid
> on the top and bottom. As you can see the datagrid now scrolls
> automatically. What is with this?
> 
> Sample mxml files:
> http://www.speechlessrock.com/DateRendererWTF.mxml
> <http://www.speechlessrock.com/DateRendererWTF.mxml> 
> http://www.speechlessrock.com/OMGRenderer.mxml
> <http://www.speechlessrock.com/OMGRenderer.mxml> 
> 
> Thanks for any help,
> 
> Troy
>




[flexcoders] Re: Vertial Scroll Issue with Using Date Field ItemRenderer in a DataGrid

2007-05-23 Thread Troy A. Binford
Yes, you are correct. I just had to refresh the app and my problem
went away. Thanks!

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> I was not able to reproduce the problem with the datefield in the latest
> hotfix.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Troy A. Binford
> Sent: Wednesday, May 23, 2007 11:11 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Vertial Scroll Issue with Using Date Field
> ItemRenderer in a DataGrid
> 
>  
> 
> I just got done installing the hotfix. While the hotfix fixes the
> scrolling issue with combobox itemrenderers, I am still getting the
> same scrolling issues with the datefield itemrenderer. Does anyone
> have an idea on how to fix this?
> 
> --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> , "Alex Harui"  wrote:
> >
> > Should be fixed in the latest hotfix.
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
> ] On
> > Behalf Of Troy A. Binford
> > Sent: Friday, May 18, 2007 10:15 AM
> > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> > Subject: [flexcoders] Vertial Scroll Issue with Using Date Field
> > ItemRenderer in a DataGrid
> > 
> > 
> > 
> > Hi folks,
> > 
> > This is a weird bug and I hope someone can help me with it. In my
> > example code (DateRendererWTF.mxml being the main app and
> > OMGRenderer.mxml being the renderer), everything initially scrolls
> > fine. Then choose a date for any one of the datefields. Now move your
> > mouse down and up so that in travels through and out of the datagrid
> > on the top and bottom. As you can see the datagrid now scrolls
> > automatically. What is with this?
> > 
> > Sample mxml files:
> > http://www.speechlessrock.com/DateRendererWTF.mxml
> <http://www.speechlessrock.com/DateRendererWTF.mxml> 
> > <http://www.speechlessrock.com/DateRendererWTF.mxml
> <http://www.speechlessrock.com/DateRendererWTF.mxml> > 
> > http://www.speechlessrock.com/OMGRenderer.mxml
> <http://www.speechlessrock.com/OMGRenderer.mxml> 
> > <http://www.speechlessrock.com/OMGRenderer.mxml
> <http://www.speechlessrock.com/OMGRenderer.mxml> > 
> > 
> > Thanks for any help,
> > 
> > Troy
> >
>




Re: [flexcoders] DataGrid - ItemRenderer BUG on scrolling.

2007-06-06 Thread Troy A. Binford

I had a similar problem like this. Before the if statement where you are
checking if the value is not null, set this.text to "". This has worked for
me in the past so give it a shot.

Regards,

Troy

On 6/6/07, alom17959 <[EMAIL PROTECTED]> wrote:


Hi, Im Aldo, and i appreciate ur help guys !.

First of all, im using a conventional datagrid, the info comes from a
webservice, weborb of php, the problem appears only if i create an
item renderer component and use it, if dont, nothing happens,
everything looks good and pretty, scrolling doesnt affect anything,
but as soon as I write and compile something like this:



when i scroll the screen goes bad. and like i said, if i dont use the
itemrenderer option, everything works fine.

So, i start to thinking that my itemrenderer was bad, and i checked
and double checked my code and seems to be fine.

Im sending part of my code, its really simple, and images of the
screen with the glitch... THank you , by the way, sorry for my
english, im from mexico, lol :P


LINKS: 
http://econtinua.cs.buap.mx/help/works_fine1.gif
http://econtinua.cs.buap.mx/help/works_fine2_at_bottom.gif
http://econtinua.cs.buap.mx/help/glitch.gif <=== ERROR

datagridCode: =


  
  
  
  
  
  




Codigo del Renderer: 

package components.mostrador.atencionClientes{

   import mx.controls.Label;
   import mx.formatters.CurrencyFormatter

   public class renderer_saldo extends Label
   {

   override public function set data(value:Object):void {
   super.data = value;
   if (value != null) {
   this.text = value.saldo;
   }
 super.invalidateDisplayList();
   }
   }








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






[flexcoders] setClipboard: Storing tabled data

2007-06-06 Thread Troy A. Binford
Greetings,

I have a DataGrid that I want to copy and paste into Word. I would
like Word to be able to display the DataGrid as a table not just
tab-separated data.

I know that you can copy tables off Internet and paste them into Word
(or even WordPad) and they will preserve their formatting.

I am just looking for a way to get this to work. I have tried HTML and
that did not work. I just got my HTML code back in the paste. I'm
pretty certain I have to use RTF, but when I paste, I once again I
just get my RTF code back.

Any assistance is greatly appreciated.

Regards,

Troy



[flexcoders] Bind ComboBox to returning XML (HOW TO)

2009-03-23 Thread Matthew A. Wilson
Need help with a combobox...

I have a combobox that I want to load from a database. The text will be a name, 
and the value will be an integer.

That's it - pretty straightforward. Just can't seem to figure it out. The xml 
will look like this:


  
  


Thanks so much in advance for your help!!!



[flexcoders] Debugger won't break on HTTP Service result function

2009-04-08 Thread Matthew A. Wilson
I have a component that I'm adding to my Flex project and it makes 3 HTTP 
Service calls. On the result="" I have listed a function and inside that 
function I have created a breakpoint.

When I go into debug, it won't stop at that breakpoint. It's like it's not 
calling the result function. I know that the app is making the calls and 
getting the resulting XML (using Firebug). I can set a breakpoint anywhere else 
in the app and it will stop...just not on the result or fault HTTP service 
functions.

Also, I only have this problem on this one component. This doesn't happen 
anywhere else in the application. I would paste some code in here for you to 
evaluate - but I doubt it will be useful. If I change the name of the function 
in the result="" then Flex warns me that I'm referencing a function that 
doesn't exist. So when I retype it to match the function below...the warning 
disappears.

The only other thing I can mention is that I "accidentally" installed Flash 10 
player, so I uninstalled and then installed Flash 9 Active-X Debugger. But 
again...I only have this issue on one component.

Any initial thoughts/ideas?

Thanks to all!



[flexcoders] Re: Debugger won't break on HTTP Service result function

2009-04-09 Thread Matthew A. Wilson
Well, I figured it out. I'm fairly new to Flex so please hold your laughter. 
What happened is that I was calling 3 HTTPService requests to the database and 
then calling an internal function to work with the data I had received. What I 
didn't realize was that Flex makes those calls asynchronously (I know, I know - 
stop laughing).

So, I was hitting an error in my internal function because it was trying to 
work with an XMLListCollection that hadn't been populated yet (it was null). I 
would put a breakpoint in my result function, but of course, the Flex app had 
already tripped up before the results were returned.

So now I'm "daisy-chaining" my HTTPServices so that the 2nd one is called from 
within the 1st calls result function. And the 3rd within the 2nd, and then 
finally calling my internal function from within the 3rd result function...if 
that makes any sense.

Anyway, thanks for everyone's help. Have a great day!

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Have you set up another event listener (using Actionscript) that is grabbing 
> that event?
> 
> 
> --- In flexcoders@yahoogroups.com, "Matthew A. Wilson"  wrote:
> >
> > I have a component that I'm adding to my Flex project and it makes 3 HTTP 
> > Service calls. On the result="" I have listed a function and inside that 
> > function I have created a breakpoint.
> > 
> > When I go into debug, it won't stop at that breakpoint. It's like it's not 
> > calling the result function. I know that the app is making the calls and 
> > getting the resulting XML (using Firebug). I can set a breakpoint anywhere 
> > else in the app and it will stop...just not on the result or fault HTTP 
> > service functions.
> > 
> > Also, I only have this problem on this one component. This doesn't happen 
> > anywhere else in the application. I would paste some code in here for you 
> > to evaluate - but I doubt it will be useful. If I change the name of the 
> > function in the result="" then Flex warns me that I'm referencing a 
> > function that doesn't exist. So when I retype it to match the function 
> > below...the warning disappears.
> > 
> > The only other thing I can mention is that I "accidentally" installed Flash 
> > 10 player, so I uninstalled and then installed Flash 9 Active-X Debugger. 
> > But again...I only have this issue on one component.
> > 
> > Any initial thoughts/ideas?
> > 
> > Thanks to all!
> >
>




[flexcoders] What's your favorite Tip/Trick ?

2009-04-10 Thread Matthew A. Wilson
I've been using .NET for years and recently started developing in Flex. One 
thing I've noticed (and maybe it's because I'm new) is that I have to write out 
just about everything. There were so many things in .NET that the IDE would 
handle for me. Like I could write a function, like DoThis(), and then 
right-click on DoThis() and the IDE would ask me if I wanted to generated a 
method stub. I know that's not earth-shattering, but there were a few things 
here...a few things there that shaved off some seconds and/or minutes and just 
generally speed up development.

I haven't run across anything like that in the FlexBuilder IDE - so my question 
is: What's your favorite tip/trick for speeding up development? Do you have 
some favorite text snippets that you keep handy? Or do you you know some trick 
in the IDE that will save me some repetition?

Or better yet, is there a site or list out there that covers this topic? Thanks 
to all! Have a great weekend!



[flexcoders] Tile control: Border style and Zoom

2009-04-12 Thread Matthew A. Wilson
I'm using a tile control to display an image with a short description to the 
right of it. Basically everything is contained with in an HBox and the I'm 
programmtically adding that to the tile: 

thisTile.addchild(myHBox)

I'd like to have some sort of visual indicator to let the user know which item 
they clicked on. Whether that be a red border, or a "glow" effect, or whatever.

My question is, how do I do that? I don't see an easy way of setting that in 
any sort of item clickevent. Also, I wanted to have some sort of Zoom or 
magnifier so that when they hovered over the image it would be bigger...but can 
I do that? If I set the width/height on my hbox to 300/100 and then add that as 
an item to my Tile...can I create some sort of zoom or magnify effect whereby 
that image would be larger than the confines of its parent?

Thanks in advance - you all are always so helpful!



[flexcoders] ASP.NET .ashx handler - POST variables not working

2009-05-08 Thread Matthew A. Wilson
I created a web handler (.ashx) in ASP.NET and it takes 4 post variables, all 
strings.

When I manually type in the URL with the variables 
(name=this&email=that&comments=this) it works fine, but when I try to POST 
those variables in an HTTPRequest in Flex, my web handler can't "see" the 
variables. It breaks on the first line and says, there is no "name" variable, 
i.e. - no instance of an object.

What am I doing wrong? Does the Flex Request have to be formatted differently 
for .NET? It works fine in PHP.



public void ProcessRequest (HttpContext context) {
string sName = context.Request.QueryString["name"].ToString();
string sEmail = context.Request.QueryString["email"].ToString();
string sType = context.Request.QueryString["type"].ToString();
string sComment = context.Request.QueryString["comment"].ToString();

...
...

}





[flexcoders] Re: Custom itemrenderer in datagrid

2008-11-27 Thread Troy A. Binford
Come on people. It is as simple as this - Seeing that the original 
question is quite old. I help this helps out anyone with a similar 
problem.

this.data[(this.listData as DataGridListData).dataField];

Problem solved.

--- In flexcoders@yahoogroups.com, "B.Brey" <[EMAIL PROTECTED]> wrote:
>
> I've been busy with creating an ItemRenderer for DataGrid cells.
> After reading the help i noticed that the "data" that is given to 
the
> ItemRenderer is the row data. I'm wondering how I could get the 
data for
> just the cell so i can have a generic ItemRenderer.
> 
> 
> with regards,
> 
> Bas J. Brey
> Multimedia Developer
>




[flexcoders] Re:NaN in CSS

2009-01-05 Thread Mark A. DeMichele
I figured it out.  You can do 

 

width: ClassReference(null)



[flexcoders] Flex 3.3 SDK and AdvancedDataGrid

2009-03-03 Thread Troy A. Binford
Hi,

I updated to 3.3 today and now AdvancedDataGrid is not found. Is there 
something I am missing?

Thanks.



[flexcoders] Re: What's up Adobe?

2010-02-03 Thread Mark A. DeMichele
I think the new name makes perfect sense.  The current FlexBuilder
doesn't only "build" "flex".  It builds "flash" as well.  When you think
of it, it is truly a "Flash" "Builder".  In fact, before they decided to
change them name, I wondered why they were associating the name with
"Flex" in the first place.  When I started, it was not obvious I could
use it to build a simple flash animations without the flex framework,
which I actually needed to do for a few projects.  I think of it as a
"programmers" tool for making flash "apps" as opposed to an artist's
tool for making pretty animations.



[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Mark A. DeMichele
Everybody is talking about "learning"  another language.  That's the
easy part.  It's porting an entire application that has several 100,000
lines of code.  That's that hard part.  Someone mentioned losing flash
support on all Macs.  Is that true?  I hope not.  I have over a million
users using my flash app and about 25% of them have macs.  That would be
bad.



Re: [flexcoders] Flash Builder project to HTML5

2013-05-14 Thread Shyam Sundar A


FalconJS is a project started by Alex Harui. The FalconJS compiler will take an 
MXML and AS project and output a valid HTML/JS application.

More info here:
https://cwiki.apache.org/confluence/display/FLEX/ASJS+-+From+Flash+Player+to+web+native
 

https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+Flash+Builder

Best Regards,
Shyam Sundar Ashok





 From: Slackware 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, 14 May 2013 10:01 PM
Subject: [flexcoders] Flash Builder project to HTML5
 


  
Hello everyone, I need to port an existing Flash Builder (4.7) project to 
HTML5. 

I'm wondering if there's anything like the Toolkit_for_CreateJS on Adobe Flash 
Pro but focused on Flash Builder. 
If not, could you also recommend some links with aspects to take into account 
for this kind of migrations, etc?

Thanks in advance.

Claudio M. E. Bastos Iorio


 

[flexcoders] Designing custom buttons [2 Attachments]

2013-09-23 Thread A. P. Damien
I'm designing a game. I want to model the user interaction after "Cream 
Babysitting Adventure" by Aval0nX.  So the menu at the start of the game 
will resemble CrStartMenu.png, and the choices and responses will 
resemble CrChoices.png.

So I'm talking about button-like things made out of a dark-gray (#888) 
horizontal bar with a black border around it and white text, with the 
whole thing at somewhere around 50% alpha.

Game responses will be white on a colored background with a light-gray 
border.  I don't think I can duplicate the peculiar shading effect that 
makes the edges of the response look slightly raised, like molding at 
the top and bottom of a wallboard wall, so I'll just use something that 
shades from light gray at the inner edge to a darker gray at the outer edge.

Now... I know how I'd build this in the Flash IDE: a button made of 
three images that I can put the text on.  But how to do it in Flex/AS3?

I looked at the AS3 documentation for SimpleButton, and it looks like I 
can give it any four DisplayObject (Off, On, Down, Test).  At first I 
thought of using a Shape, where I can simply draw the rectangle and 
specify the fill color (bgColor argument to beginFill) and line color 
(borderColor argument to linestyle).  But then... what about the text?

So now I'm thinking I need some sort of DisplayObjectContainer, right? 
Or maybe even a Sprite?  Then I can add the Shape first, and then a 
label or some such text object, right?

If I add successive DisplayObjects to a VGroup, they go from top to 
bottom, but if I add DisplayObjects to a Sprite they layer from back to 
front, right?

Or is there a simpler way to do this that I'm not seeing?


[flexcoders] Function from string?

2013-11-05 Thread A. P. Damien
I'm writing a game. Well, actually I guess it's more of a game engine. I 
want the game logic to be in a script.  The script will take the form of 
a series of rooms, each of which can contain:

   . doors to other rooms
   . characters the player can interact with
   . things the player can pick up and use

Any of these can have conditions on them. The condition can be expressed as:
   . Player must have (thing) in his inventory
   . Player must have at least X points
   . Player must have at least $Y money
   . Call function "f"

That last seems to be a problem. I would like to be able to take a 
function name I've read from the script and call the corresponding 
function. Or, alternatively, the script can contain the name of a class 
which must contain a method named (for example) conditionTest.

But I haven't figured out a way to convert a string to either a Function 
or a Class.  Is there a way of doing this?  If I were working in 
Javascript, I'd just call "eval", but that seems to be forbidden in AS3, 
right?

Can I do this? Or do I have to put all the functions I might want to 
call this way in an array, and look them up that way?  Or what?


Re: [flexcoders] Function from string?

2013-11-06 Thread A. P. Damien
On 11/6/2013 9:16 AM, Keith Reinfeld wrote:
> Perhaps the following syntax will help:
>
> var func:String = “yourFunctionName”;
>
> this[func]();

Thanks. I hadn't fully assimilated the fact that an object can also  be 
treated as an array.  Do I have to declare the class 'dynamic' for this 
trick to work? Or is it always legal to do this from inside the class?




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

<*> 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:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

<*> Your use of Yahoo Groups is subject to:
http://info.yahoo.com/legal/us/yahoo/utos/terms/



Re: [flexcoders] DragManager events as3

2006-01-23 Thread gunnar a reinseth



Work like a charm for me. What's the problem?On 1/23/06, Stacey Mulcahy <
[EMAIL PROTECTED]> wrote:















Alrighty, I'm creating everything
via as3 class and not using MXML persay in combo with script –

 

How can I tap into the DragManager class –
I thought it would be via adding listeners.

 

I thought this would work:

  Var dg:DataGrid=new DataGrid();

// populate the columns and such

  dg.multipleSelection=true;

       
dg.dragEnabled=true;

       
dg.dropEnabled=true;

       
dg.addEventListener(DragEvent.DRAG_OVER,onRemoteDragOver);

       
dg.addEventListener(DragEvent.DRAG_START,onStartDrag);

       
dg.addEventListener(DragEvent.DRAG_ENTER,onRemoteDragEnter);

       
dg.addEventListener(DragEvent.DRAG_DROP,onRemoteDragDrop);

       
dg.addEventListener(MouseEventType.DOUBLE_CLICK, onRemoteDoubleClick); 

 

 

// I thought it should be DragEventType
but its not, according to the screaming compiler.

 

 

 

 

 









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt


Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 


   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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] DragManager events as3

2006-01-24 Thread gunnar a reinseth



Could you provide the source code for the class?On 1/23/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:



The events fail to fire. I pared it down to just tracing and they don't
seem to be firing.

> Work like a charm for me. What's the problem?
>
> On 1/23/06, Stacey Mulcahy <[EMAIL PROTECTED]> wrote:
>>
>>  Alrighty, I'm creating everything via as3 class and not using MXML
>> persay
>> in combo with script –
>>
>>
>>
>> How can I tap into the DragManager class – I thought it would be via
>> adding listeners.
>>
>>
>>
>> I thought this would work:
>>
>>   Var dg:DataGrid=new DataGrid();
>>
>> // populate the columns and such
>>
>>   dg.multipleSelection=true;
>>
>> dg.dragEnabled=true;
>>
>> dg.dropEnabled=true;
>>
>> dg.addEventListener(DragEvent.DRAG_OVER
>> ,onRemoteDragOver);
>>
>> dg.addEventListener(DragEvent.DRAG_START,onStartDrag);
>>
>> dg.addEventListener(DragEvent.DRAG_ENTER
>> ,onRemoteDragEnter);
>>
>> dg.addEventListener(DragEvent.DRAG_DROP
>> ,onRemoteDragDrop);
>>
>> dg.addEventListener(MouseEventType.DOUBLE_CLICK,
>> onRemoteDoubleClick);
>>
>>
>>
>>
>>
>> // I thought it should be DragEventType but its not, according to the
>> screaming compiler.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>  --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.com
>>
>>
>>
>>  SPONSORED LINKS
>>   Web site design
>> development<
http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ
>
>>  Computer
>> software
>> development<
http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw
>
>>  Software design and
>> development<
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ
>
>>   Macromedia
>> flex<
http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZI36cYzBjw
>
>>  Software development best
>> practice<
http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&w1=Web+site+design+development&w2=Computer+software+development&w3=Software+design+and+development&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw
>
>>  --
>> YAHOO! GROUPS LINKS
>>
>>
>>    -  Visit your group
>> "flexcoders<http://groups.yahoo.com/group/flexcoders>" on the web.

>>
>>    -  To unsubscribe from this group, send an email to:
>>  [EMAIL PROTECTED]<
[EMAIL PROTECTED]>
>>
>>    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service <http://docs.yahoo.com/info/terms/> .
>>
>>
>>  --










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



   Visit your group "flexcoders" on the web. 
   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] Collections...

2006-01-24 Thread gunnar a reinseth



hi,For the first time i've tried out the collections api in ActionScript 3, more specifically the IList interface. And it struck me: Where is the remove() method? There's certainly a removeItemAt() and a getItemAt() method. Is remove() just forgotten?
--gunnar






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Stand-alone scrollbar possible?

2006-01-25 Thread gunnar a reinseth



You could use a container width scrollingpolicy set to "on", and have another box inside of that which is the same size as the actual content you wish to scroll.e.g.:

...On 1/25/06, 
Sreejith Unnikrishnan <[EMAIL PROTECTED]> wrote:









Rather strange requirement that I 
have.
 
Is it possible to have a stand-alone 
scrollbar?
Basically, I need to implement a scrollbar that 
controls the scroll in another UI component.
 
Any suggestion is welcome.
 
Regards
Sree





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



   Visit your group "flexcoders" on the web. 
   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] Collections...

2006-01-26 Thread gunnar a reinseth



Sorry, I of course meant getItemIndex - not getItemAt. It just puzzles me why there isn't a remove() method. It's a bit verbose to write array.removeItemAt( array.getItemIndex( item ) ) instead of array.remove(item). wouldn't you agree?
On 1/26/06, Matt Chotin <[EMAIL PROTECTED]> wrote:

















There's getItemIndex (may only be in
beta?) which you can use in conjunction with removeItemAt.

 

Matt

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of gunnar a reinseth
Sent: Tuesday, January 24, 2006
1:08 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Collections...



 

hi,

For the first time i've tried out the collections api in ActionScript 3, more
specifically the IList interface. And it struck me: Where is the remove()
method? There's certainly a removeItemAt() and a getItemAt() method. Is
remove() just forgotten? 

--
gunnar








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



   Visit your group "flexcoders" on the web. 

   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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Children of container aren't created/laid out (flex2)

2006-01-27 Thread gunnar a reinseth



I have a simple component written in AS3 which extends VBox and contains a single child (a Label). In my Application mxml-file I create an instance of my component in a creationComplete-handler, but i dont add the component to the application (using addChild() )  before the user clicks a button. When this happens, the component is added to the container just fine, but it's children isn't visible... On the other side, if i add the component directly after instantiation in the creationComplete handler, or if I don't instantiate the component until the button click event, everything is ok...
Anyways, this is a bit difficult to explain, so here's the source code:http://www.prepost.net/misc/App.mxml
http://www.prepost.net/misc/TestComponent.asIs this a known bug?






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Re: getting an image from java

2006-01-30 Thread gunnar a reinseth



A couple of useful resources the should help you get going:http://www.javaworld.com/javaworld/jw-05-2000/jw-0505-servlets.html
http://today.java.net/pub/a/today/2004/04/22/images.htmlOn 1/30/06, sdhfhdgs <
[EMAIL PROTECTED]> wrote:



thanks for that. 
I've never dealt with mime types before, can you give me a bit more 
feed back.
my function returns an Image "public java.awt.Image createImage( )", 
so if I was to do "return myImage;" where would I set the mime type so 
that the returning data is seen as being a jpg.

do I need to set some sort of config file, or would it be in the 
actual function that returns the image. 





--- In flexcoders@yahoogroups.com, Manish Jethani 
<[EMAIL PROTECTED]> wrote:
>
> On 1/27/06, sdhfhdgs <[EMAIL PROTECTED]> wrote:
> 
> > How do you get an Image from java to flex.
> 
> In your Java servlet, write the image data to the output stream with
> the mime type set correctly.  In Flex, just set the servlet URL as 
the
> "source" of a Image object.
>














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



   Visit your group "flexcoders" on the web. 
   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] Tree control in Flex 2 Beta 1

2006-02-01 Thread gunnar a reinseth



Although the changes/fixes to the Tree control are much appreciated (e.g. not selecting the node when expanding it, and percentage width issues), I'm left wondering how you're supposed to add/remove child nodes to a node in the tree... When I use the new 
tree.getNodeDisplayedAt() method - or tree.selectedNode property - what is returned is an XML representation of the node. How should i go about with the new api?--gunnar






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



   Visit your group "flexcoders" on the web. 
   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] Tree control in Flex 2.0 Beta 1

2006-02-01 Thread gunnar a reinseth



Although the changes/fixes to the Tree control are much appreciated
(e.g. not selecting the node when expanding it, and percentage width
issues), I'm left wondering how you're supposed to add/remove child
nodes to a node in the tree... When I use the new
tree.getNodeDisplayedAt() method - or tree.selectedNode property - what
is returned is an XML representation of the node. Is the TreeNode class deprecated?






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



   Visit your group "flexcoders" on the web. 
   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] Re: Tree control in Flex 2 Beta 1

2006-02-02 Thread gunnar a reinseth



That helps alot - thanks!On 2/1/06, Michael Montagna <[EMAIL PROTECTED]> wrote:



Hi Gunnar,The Tree control no longer provides fine grained access to the nodes and node attributes of the underlying data model, instead you can use your own contract with the data directly.  So if you want to read or change your data, you would do so on that data without going through the Tree control to do so. 
Here's a wordy example to add a leaf node:public function addTree() {                var collection:ICollectionView = ICollectionView(myTree.dataProvider);                var cursor:IViewCursor = collection.getCursor
();         cursor.seek(CursorBookmark.CURRENT, 2);                cursor.insert({label:"added item"});                 cursor.release(); }For the selectedNode you mentioned where you are returned your XML node data, you could use e4x or the XML methods. Something like [EMAIL PROTECTED] and [EMAIL PROTECTED] for attributes, or .children() to get the lower level nodes.   It would be the same thing with sealed classes or dynamic objects, but in those cases you'd use different accessors as defined by the data. 
Here's a selectedNode example:
http://www.macromedia.com/2005/mxml">                             labelField="@label" rootVisible="false"              change="treeChanged(event)">                
                                                              
                                                                
                                                                
                                           Hope this helps, -Michael--- In 
flexcoders@yahoogroups.com, gunnar a reinseth <[EMAIL PROTECTED]> wrote:>> Although the changes/fixes to the Tree control are much appreciated (e.g.> not selecting the node when expanding it, and percentage width issues), I'm
> left wondering how you're supposed to add/remove child nodes to a node in> the tree... When I use the new tree.getNodeDisplayedAt() method - or> tree.selectedNode property - what is returned is an XML representation of
> the node. How should i go about with the new api?> > --> gunnar>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



   Visit your group "flexcoders" on the web. 
   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] Using MX framework without MXML (pure AS3.0)

2006-02-02 Thread gunnar a reinseth



The manual has been updated, and should describe most of what you need to know:http://livedocs.macromedia.com/flex/20beta1/docs/1873.html
On 2/2/06, carlos.rovira <[EMAIL PROTECTED]> wrote:




Hi,

I'm investigating the way to create some UI controls without use any
MXML, only AS3 in the new Flex 2.0 Beta 1. I don't know if this is
possible since I read some post out there and it seems we need to
create a minimun MXML in order to get it work.

I already add the framework SWC to my test project:

${FRAMEWORKS}\framework.swc

and trying something like :

import mx.controls.Button;
...
var b1:Button = new Button();
b1.label = "My First Button";
addChild(b1);

when I compile I get an increment in my SWF of +-150k, so I guess the
framework is already there, but I can get the button to display










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



   Visit your group "flexcoders" on the web. 
   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] Flex 2 - Looking for feedback on Flex API doc

2006-02-03 Thread gunnar a reinseth



1. The docs should definately display both protected and public methods/properties - just the way it is! (and it's nice to see that the 'override' keyword is used as well)2. The MXML syntax summary is helpful to get a quick overview of the component - 
e.g. if i'm only looking for a style name. The MXML examples at the end, however, should be removed and replaced with AS-examples.3. No problems with the styling...4. I use the inheritance tables all the time - so, yes.
--gunnarOn 2/2/06, Stephen Gilson <[EMAIL PROTECTED]> wrote:




All,

We are looking for feedback on the Flex API documentation. This
documentation is titled "Macromedia Flex 2 ActionScript and MXML
Language Reference" and is available from Flex Builder Help, or in a
standalone form. 

We modeled this documentation on JavaDocs. So, if you are familiar with
JavaDocs, it should look pretty familiar. You can see it here:

http://livedocs.macromedia.com/labs/1/flex/langref/index.html

After the Alpha release, we made several changes to it based on user
feedback. One change was to move static properties and methods to their
own area of the output. 

Topics for discussion now are:

1. For each class, we mix both public and protected methods in the same
summary table. This is the way JavaDocs handles methods. We have a
request to split the public and protected methods into separate tables,
so that you do not see the protected methods if you are using the class,
but view them only when you are creating a subclass.

Is this a change you would like to see?


2. We include a summary of the MXML syntax for the Flex components at
the top of each class description. The syntax lists the MXML tag
attributes and default values for each component.

Is this helpful, or should we just remove it? Without it, you would have
to look at the tables of properties, events, effects, and styles to
determine the MXML syntax.


3. Is it styled well? Is it easy to read and does the use of color,
font, and layout make sense?


4. Are the inheritance tables usable? These are the tables that list the
inherited items from the superclasses.

One possibility is to replace these inheritance lists with actual
summary tables, like you see for the properties and methods defined in
the class. The summary table shows the item, and includes a one-line
summary.

Thanks,

Stephen 
Flex Doc Team







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



   Visit your group "flexcoders" on the web. 

   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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Slow ActionScript editor in Beta1?

2006-02-03 Thread gunnar a reinseth



I don't know if it's just my computer that has suddenly decided to become incredible slow, but when i'm coding AS3 files in the new Beta1 everything is so slow - especially with the autocomplete. All too often the editor just stops - i'm still typing, but the program halts for a few seconds before it blurts out what i've just typed. This makes me curse, and when i'm cursing alot, i'm not very productive
Has anyone else similiar experiences? Anyways, the Alpha release was much better in this aspect...--gunnar






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



   Visit your group "flexcoders" on the web. 
   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] Closable Panel? (flex2)

2006-02-03 Thread gunnar a reinseth



I know that mx.controls.Panel contains a 'closeButton' which is utilised in the subclass TitleWindow. I really would like to have this close button on panels as well, so i guess i have to subclass Panel to achieve this. However, I have no clue of how to make this button visible and position it in the title area. Could anybody please help with this?
--gunnar






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



   Visit your group "flexcoders" on the web. 
   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] Flex 2 addTreeNode

2006-02-06 Thread gunnar a reinseth



http://groups.yahoo.com/group/flexcoders/message/28320On 2/6/06, Brendan Meutzner <
[EMAIL PROTECTED]> wrote:



Hi,

Can someone provide me with an example of addTreeNode for Flex 2?  I
have a XML structure that is loaded into my Tree as the dataProvider.
 I would like to be able to click on a node within the tree, and then
add a sub node into that selected node.  When I get the selectedNode
from the tree, and attempt call addTreeNode on it, I get an error
"Call attempted on an object that is not a function"...

Unfortunately, not much documentation on these methods yet, so any
help offered would be very much appreciated.

Brendan











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

   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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Flex and CFC issues

2008-06-05 Thread Just give a guess...
All,

I am extremely new to Flex but I have been doing ColdFusion for a 
while now. I am having an issue with data from a CFC getting back to 
my Flex app. I have put code into my CFC to write to the log file if 
it gets hit. I can run a .cfm file against it and it works. However, 
the moment I try to hit it with Flex, I get nothing back. 

I have searched all over the web (over 30 hours) and it seems that I 
am not the only one getting this issue. It's quite common and I've 
tried everything they suggested and more.

This is the error that I am getting:

[RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend" 
faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: 
HTTP: Failed: url: 'http://localhost/flex2gateway/'"]
at 
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::fa
ultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at mx.messaging::ChannelSet/::faultPendingSends()
at mx.messaging::ChannelSet/channelFaultHandler()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv
entFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
at 
mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingCha
nnel::connectFailed()
at 
mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::st
atusHandler()

Also, someone suggested I use ServiceCapture and this is what I got 
as an error:

rootCause (null): null
destination (String): ColdFusion
headers (Object): 

correlationId (String):
A5DFBE78-9536-1CF0-23E5-59EBBA214D71
faultString (String):
coldfusion.runtime.AbortException
messageId (String):
5588792D-3119-89F1-9677-EED9F71D7018
faultCode (String): Server.Processing
timeToLive (Number): 0
extendedData (Object): 
  stacktrace (Array): 
0 (String):
coldfusion.tagext.net.LocationTag.doEndTag(LocationTag.java:161)
1 (String):
coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1916)
2 (String):
cfApplication2ecfm941020151.runPage
(E:\Inetpub\wwwroot_tmo\Application.cfm:92)
3 (String):
coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
4 (String):
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
5 (String):
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
6 (String):
coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
7 (String):
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:172)
8 (String):
coldfusion.flash.filter.CFCInvokeDebugFilter.invoke
(CFCInvokeDebugFilter.java:54)
9 (String):
coldfusion.flash.filter.CFCInvokePathFilter.invoke
(CFCInvokePathFilter.java:53)
10 (String):
coldfusion.filter.ClientScopePersistenceFilter.invoke
(ClientScopePersistenceFilter.java:28)
11 (String):
coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
12 (String):
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
13 (String):
coldfusion.flash.messaging.ColdFusionAdapter.invoke
(ColdFusionAdapter.java:197)
14 (String):
flex.messaging.services.RemotingService.serviceMessage
(RemotingService.java:115)
15 (String):
flex.messaging.MessageBroker.routeMessageToService
(MessageBroker.java:548)
16 (String):
flex.messaging.endpoints.AbstractEndpoint.serviceMessage
(AbstractEndpoint.java:301)
17 (String):
flex.messaging.endpoints.amf.MessageBrokerFilter.invoke
(MessageBrokerFilter.java:93)
18 (String):
flex.messaging.endpoints.amf.LegacyFilter.invoke
(LegacyFilter.java:156)
19 (String):
flex.messaging.endpoints.amf.SessionFilter.invoke
(SessionFilter.java:46)
20 (String):
flex.messaging.endpoints.amf.BatchProcessFilter.invoke
(BatchProcessFilter.java:67)
21 (String):
flex.messaging.endpoints.amf.SerializationFilter.invoke
(SerializationFilter.java:130)
22 (String):
flex.messaging.endpoints.AMFEndpoint.service(AMFEndpoint.java:164)
23 (String):
flex.messaging.MessageBrokerServlet.service
(MessageBrokerServlet.java:340)
24 (String):
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
25 (String):
coldfusion.bootstrap.BootstrapServlet.service
(BootstrapServlet.java:78)
26 (String):
jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
27 (String):
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
28 (String):
jrun.servlet.JRunRequestDispatcher.invoke
(JRunRequestDispatcher.java:257)
29 (String):
jrun.servlet.ServletEngineService.dispatch
(ServletEngineService.java:541)
30 (String):
jrun.servlet.jrpp.JRunProxyService.invokeRunnable
(JRunProxyService.java:204)
31 (String):
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable
(ThreadPool.java:318)
32 (String):
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable
(ThreadPool.java:426)
33 (String):
jrunx.s

[flexcoders] DataGrid selection to populate another datagrid

2008-06-10 Thread Just give a guess...
Has anyone here written code that would update the data in another 
datagrid based upon the selected value in the first datagrid. I'm new 
to Flex and just getting my hands around all of this.

For example, I have a list of tasks in the first datagrid. When a user 
selects a task, it populates another datagrid with all of the sub tasks 
that belong to that task by executing a SQL query. Any help in getting 
me started. I already have to code for the first datagrid. By the way, 
I am using Flash Remoting to assign my dynamic data into the datagrid.
Thanks...

Paul C.



[flexcoders] Read Items / Loop Through Datagrid Rows

2009-06-11 Thread A. Resa Jones (Resa)
Why not create a bindable class for your data, populate objects of that
class into your array collection and use that collection as the source for
your data grid? That way you don't have to loop through the datagrid to fill
your collection.





Quoting:

> Hi FlexCoders,
>
> I am dynamically creating a datagrid with 5 columns and 10 rows. Columns 2,
> 3, 4 and 5 are all rendered as textinput control where user can enter some
> information.
>
> How do I loop through all the datagrid rows and store the values entered in
> the datagrid into an array collection?
>
> Been trying to find some nice examples to achieve this but came up empty
> handed. Would appreciate your inputs.
>
> By the way, I'd also like to ensure that no rows would be skipped by the
> user when filling up the datagrid (i.e. He could only populate row 1 before
> he can populate row 2 and so forth). That way, when the array collection
> stores the values of the datagrid, there is no blank or null value. The
> remaining blank rows would simply be ignored in the loop.
>
> Thanks.
>
> Regards,
>
> Angelo


Re: [flexcoders] DataGrid - variableRowHeight="true" and wordWrap="true" not resizing properly

2009-02-09 Thread A. Resa Jones (Resa)
Try measureHeightOfItems?

DataGrid.height = DataGrid.measureHeightOfItems(0, gridrows) +
DataGrid.headerHeight;


I added this event to my data source and called measureHeightOfItems in the
listChanged function:

report.addEventListener(CollectionEvent.COLLECTION_CHANGE, listChanged);




On Mon, Feb 9, 2009 at 1:36 PM, patrickfkellogg
wrote:

>   I have a problem with  that uses dynamically generated
> columns. When the cell has many characters the row resizes its height
> properly with word wrap to show all the cell's contents. But the next
> time the  is shown when there is no data the row height
> remains at the previous tall size. It doesn't resize back down. I
> remember the fix for this before was to place the wordWrap="true" in
> the  tag not in the  tag, but this is not an
> option since I am creating my columns dynamically. anyone seen this?
> Any fix? thanks.
>
>  id="datagrid"
> width="100%"
> height="100%"
> dataProvider="{report}"
> variableRowHeight="true"
> wordWrap="true"
>
> columns="{DataGridColumnFactory.fromColumnGroupVOCollection(report.columns,
> model.session.timezoneInfo)}" />
>
>  
>


[flexcoders] i cant refresh datagrid

2009-09-10 Thread Carlos A. Diaz Alvarado
hello!, sorry but i cant refresh de datagrid in this code:
I use PHP to read de data from Mysql using HttpService.  The INSERT is ok, but 
i have to reload the app to view de result in datagrid.
The event is called from the buttom "grabar" using de function "actualiza" in 
the end of this code:
The funcion "actualiza" invoke the PHP file and reload de httpservice to the 
datagrid

Thank fro all


http://www.adobe.com/2006/mxml"; layout="absolute" 
width="100%" height="100%"
    creationComplete="llena_grilla.send()" >


    




http://localhost/flex_php_009/src/filtro.php";
      resultFormat="e4x">



http://localhost/flex_php_009/src/myxml.php";
      resultFormat="e4x">



http://localhost/flex_php_009/src/inserta.php";
     method="POST"
      resultFormat="e4x">
     
     {dni.text}
     {nombres.text}
     {descripcion.selectedIndex}
     



    
        
            
                
                
                
            
        
        
            
                
            
            
                
            
            
                
            
        
        
            
            
        
    
    




Carlos A. Diaz AlvaradoJefe de 
Informatica & Sistemas Instituto LIBERTADOR SAC
Jr. Martir Olaya 327 Chorrillos
995-262870, 4670643 Anexo 207cd...@isl.edu.pe



  

¡Obtén la mejor experiencia en la web!
Descarga gratis el nuevo Internet Explorer 8. 
http://downloads.yahoo.com/ieak8/?l=e1

Re: REPOST: [flexcoders] PrintJob cutting text on datagrid

2006-01-02 Thread whats in a name?
hey Manish,

I'm currently building an app. that needs to print and I've run into a
similar issue as what seems to be addressed here. I was wondering if
you happen to know if the reported bug is confined to DataGrids or if
it extends to all containers...I believe I'm having the same prob.
with a VBox I'm trying to print, any info you may be able to help me
with would be greatly appreciated.


-Steve

Dekayd Media Inc



--- In flexcoders@yahoogroups.com, Manish Jethani
<[EMAIL PROTECTED]> wrote:
>
> On 12/21/05, Mika Kiljunen <[EMAIL PROTECTED]> wrote:
> 
> > Here comes a small sample. It has a datagrid on a popup and it
needs to get printed. It seems to lose the bottom tails of g,y,p,q
letters.
> 
> Hi, Mika.  I just confirmed that this is a known problem and has been
> logged as a bug.  I am currently not aware of any workarounds.
> 
> Manish
>








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

<*> 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] ColorPicker in a cellRenderer

2005-08-11 Thread Burge David A (Contractor)
Title: ColorPicker in a cellRenderer







I'm trying to use the ColorPicker in a cell renderer of a DataGrid component.  I have no problem getting it to initially display except for the selected color.  When the component is first drawn all the ColorPickers are black, when I mouse over a row in the DataGrid the ColorPicker for that row is redrawn with the correct selected color.

Here's the cell renderer code:


http://www.macromedia.com/2003/mxml" >
    


  var getDataLabel:Function;


  function setValue(str:String, item:Object) {
    if (item == undefined)
    {
  visible = false;
  return;
    }
    visible = true;
    myCP.selectedColor = new Number(item[getDataLabel()]);
  }


    
    



Including it into the DataGrid with:


    


Any ideas?


Thanks,


David








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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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]

2009-02-27 Thread A chuva imóvel - Campos de Carvalho
HI everyone,

A trickly problem is tricking my head. That's about the DataPush feature of
BlazeDS, but I think the problem is in the Flex Side.

Below there's a little piece of code:

http://www.adobe.com/2006/mxml"; width="400"
height="314"
   showCloseButton="true" close="PopUpManager.removePopUp(this)"
title="Monitoramento Sintético de Workflow"
   creationComplete="init()">

   private function init():void{
   var message:AsyncMessage = new
AsyncMessage();
   message.body = "new";
   producer.send(message);
   consumer.subscribe();
   }

   private function onMsg(event:MessageEvent):void{
   synteticTileList.dataProvider =
event.message.body as ArrayCollection;
   }

   private function ack(event:MessageEvent):void{
   synteticTileList.dataProvider =
event.message.body as ArrayCollection;
   }


Another piece of code:

   
   

When I create that window I receive the following error:

Destination 'WorkflowServicePush' either does not exist or the
destination has no channels defined (and the application does not
define any default channels.)']

What's wrong?

Thanks!


Re: [flexcoders] Re: DB access in Apollo

2007-03-09 Thread . m a r c o s a u g u s t o

This should be on the TOP priority how I'm suppose to make my app
offline without a DB?

This is not a should have.. its a must have.

sqlite_count+=1;
xD


--
. m a r c o sa u g u s t o  ;

.eu vim para confundir e não para explicar!. . . - Chacrinha


Re: [flexcoders] Re: Styling in Flex is officially ridiculous

2006-11-30 Thread . m a r c o s a u g u s t o

hm,,,about easy ways to skinning... any ideas about the panel's header
horizontal line ?
how to get rid of it...
if you set values for , ie
headerColors: #ff, #ee;
you get the horizontal divider together
i want colors but no line



On 11/30/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:


  EDIT ::

> In a way, the Button does have a borderStyle, it's the button's name
property.

supposed to be

In a way, the ButtonSkin class does have a borderStyle, it's the button
skin's name property assigned in the Button class.

Peace, Mike


On 11/30/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
>
> > the border style
>
> In a way, the Button does have a borderStyle, it's the button's name
> property.
>
> Back in Flash, they used borderStyle in the Button but, in Flex2 to they
> changed it to switch on the buttons name.
>
> Anyway, I will write a skin class and put it on my blog. That will be my
> contribution to the 'new' devs that I 'wasn't' talking to. :)
>
> PS, I have heard plenty of people bitch about the HaloBorders class to
> but, hey unfortunately beginners in ALL of life do not have access to those
> things experience gives.
>
> Peace, Mike
>
> On 11/30/06, EECOLOR < [EMAIL PROTECTED]> wrote:
> >
> >   I have to agree with the dude, that its tough to say something like
> > that to a new person at flex. However, i was thinking the other comments
> > were correct, and that if you wanted the the button to look something else,
> > you'd have to use another skin. However, is you want to change the border
> > from color, you change the 'borderColor' style, if you want to change the
> > fill colors, you change 'fillColors'. At the top of updateDisplayList within
> > the ButtonSkin class you see this code:
> >
> >   // User-defined styles.
> >   var borderColor:uint = getStyle("borderColor");
> >   var cornerRadius:Number = getStyle("cornerRadius");
> >   var fillAlphas:Array = getStyle("fillAlphas");
> >   var fillColors:Array = getStyle("fillColors");
> >   StyleManager.getColorNames(fillColors);
> >   var highlightAlphas:Array = getStyle("highlightAlphas");
> >   var themeColor:uint = getStyle("themeColor");
> >
> > It would have been nice indeed to have the border style thingy in it.
> > Instead of bitching about the fact that Adobe did not put it in (we all
> > forget something eventually) i'd recommend you to write a class that has
> > that border style thingy in it and then share it with us so we can all use
> > that skin.
> >
> >
> > Greetz Erik
> >
> >
>
>
> --
> Teoti Graphix
> http://www.teotigraphix.com
>
> Blog - Flex2Components
> http://www.flex2components.com
>
> You can find more by solving the problem then by 'asking the question'.
>



--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.

 





--
. m a r c o sa u g u s t o  ;

.eu vim para confundir e não para explicar!. . . - Chacrinha


  1   2   >