RE: [flexcoders] selectedIndex not updated upon column sort in custom dataGrid

2006-11-02 Thread Matt Chotin












I guess we need to see a sample, maybe we
have a bug?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Iko Knyphausen
Sent: Thursday, November 02, 2006
9:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
selectedIndex not updated upon column sort in custom dataGrid



 









Thanks Matt. Unfortunately no luck. Actually, I noticed that after
sorting, if you try to select the row that would correspond to the
selectedIndex it won’t let you (as if it “thinks” I am
already selected...leave me alone). To clarify, 







 I select row 5 =>
 selectedIndex shows as 4correct
 I sort by one column, the
 selected item is still selected=highlighted, selectedIndex should now
 be 2, but isn’t, it’s still 4.
 If I now try to select
 what’s in row 5 (would be selectedIndex 4), it will not let me.


 

validateNow() did not change this. I also tried different
dataProvider types, no difference. All the other stuff seems to be working
fine, like binding to the custom datagrid, editing cells, etc. 

 

More ideas? Thx









Try calling validateNow() on the DataGrid before requesting
the selectedIndex?  It might delay the calculation of the index for
performance reasons.

 

Matt

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of iko_knyphausen
Sent: Thursday, November 02, 2006
5:05 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders]
selectedIndex not updated upon column sort in custom dataGrid



 








For the life of itcan't figure it out... I have a dataGrid in a
custom component, and in order to delete rows I use the
dataGrid.selectedIndex (in the dataGrid.dataProvider.removeItemAt
(index) function). All works as expected until you sort the grid by one
column. The selectedItem is still the same, and shows in the grid as
selected, but the selectedIndex is not updated - it still returns the
same index as before the column sort. The selectedIndex gets updated
correctly whenever you select a row with a mouse click.

I tried the same with an original dataGrid (outside a custom component),
and there it works fine. So obviously I am doing something wrong - or
forgetting something that needs to be done inside complex
components...Help? Thanks






















__._,_.___





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

  




__,_._,___






RE: [flexcoders] RE: How to place multiple Flex 2 applications in one HTML page

2006-11-02 Thread Matt Chotin












Take a look at the hybridstore sample and
you’ll see how the JS functions can be used to write into various locations
(in that sample’s case inside a specific ).  You’ll just
want two copies of that function executing with different values.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of elevight
Sent: Thursday, November 02, 2006
3:28 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: How to
place multiple Flex 2 applications in one HTML page



 







My objective is to put multiple Flex applications
within one HTML 
page with each application residing in its own   cell.

Let's say my application's name is HelloWorld.mxml, which resides in 
HelloWorld.html.

When I look inside HelloWorld.html, I see a _javascript_ function call, 
but this won't work for me because it lacks the ability to interface 
with HTML for me to tell it which table cell to appear in.

I noticed in the  section, there is an  tag, but 
when I try to view a HTML page with just that  tag code 
block, I see the gradient background, but none of my visual 
components would appear. I was hoping this would work, then I could 
just copy/pasted the whole  code block and paste it within my 
 tags.

Could anyone help me on this please?

Thanks.






__._,_.___





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

  




__,_._,___






RE: [flexcoders] Issue while tring to filter an arrayCollection...

2006-11-02 Thread Matt Chotin












Why is the error in a textFilter function when
you’re writing arrayFilter?  Typo in your post?

 

Run this in the debugger so you get more
info including a line number in the error.  You’ll probably find the line
and it may be that the contactID isn’t an object with a search function
or something like that?  The debugger could be useful here too, put a
breakpoint in your filter function and you’ll see how things go.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of camlinaeizerous
Sent: Thursday, November 02, 2006
8:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issue while
tring to filter an arrayCollection...



 







my first attempt at this post got filtered out for
some reason and the
rich text editor just crashed on my when I attempted to submit so here
is attempt 3. 

myParticipants and arrayColleciton is populated by a cfquery that
pulls the entire contents of a sql table. There are 4 column one being
contactID int/int and the 3 others are strings/varhchars. I also have
searchBar a textInput that on change calls the filtering function so
it filters as you type. I recieve the following runtime error when i
attempt to filter comparing the contactID:

TypeError: Error #1006: value is not a function.
at views::viewParticipants_Contacts/::textFilter()
at mx.collections::ListCollectionView/::internalRefresh()
at mx.collections::ListCollectionView/refresh()
at views::viewParticipants_Contacts/::filterHandler()
at views::viewParticipants_Contacts/__searchBar_change()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.controls::TextInput/::textField_changeHandler()

the following snipet is the code I'm using as the filter where
(item.contactID.search(searchBar.text) >= 0) is causing the issue
but
when I replace contactId with any of the other 3 columns it works just
as intended. I attmepted changing seachBar.text as int and a few other
things but without success. 

private function filterHandler():void
{
this.myParticipants.filterFunction = arrayFilter;
this.myParticipants.refresh();
}
private function arrayFilter(item:Object):Boolean
{
if((searchBar.text == "") || 
(item.contactID.search(searchBar.text) >= 0))
{return true;}
else
{return false;}
}

Some help resolving this issue without changing the sql column to a
string would be greatly appreciated.






__._,_.___





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

  




__,_._,___






RE: [flexcoders] selectedIndex not updated upon column sort in custom dataGrid

2006-11-02 Thread Iko Knyphausen












Thanks Matt. Unfortunately no luck. Actually,
I noticed that after sorting, if you try to select the row that would
correspond to the selectedIndex it won’t let you (as if it “thinks”
I am already selected...leave me alone). To clarify, 




 I
 select row 5 => selectedIndex shows as 4correct
 I
 sort by one column, the selected item is still selected=highlighted,
 selectedIndex should now be 2, but isn’t, it’s still 4.
 If
 I now try to select what’s in row 5 (would be selectedIndex 4), it
 will not let me.


 

validateNow() did not change this. I
also tried different dataProvider types, no difference. All the other stuff
seems to be working fine, like binding to the custom datagrid, editing cells, etc.


 

More ideas? Thx









Try calling validateNow() on the DataGrid before requesting
the selectedIndex?  It might delay the calculation of the index for
performance reasons.

 

Matt

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of iko_knyphausen
Sent: Thursday, November 02, 2006
5:05 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders]
selectedIndex not updated upon column sort in custom dataGrid



 








For the life of itcan't figure it out... I have a dataGrid in a
custom component, and in order to delete rows I use the
dataGrid.selectedIndex (in the dataGrid.dataProvider.removeItemAt
(index) function). All works as expected until you sort the grid by one
column. The selectedItem is still the same, and shows in the grid as
selected, but the selectedIndex is not updated - it still returns the
same index as before the column sort. The selectedIndex gets updated
correctly whenever you select a row with a mouse click.

I tried the same with an original dataGrid (outside a custom component),
and there it works fine. So obviously I am doing something wrong - or
forgetting something that needs to be done inside complex
components...Help? Thanks














__._,_.___





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

  




__,_._,___






RE: [flexcoders] local SWF files cannot use the LoaderContext.securityDomain property

2006-11-02 Thread Matt Chotin












I think you probably need to get your
first app served over http as well so that it isn’t local.  The mix of
local and network will always be limited.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of twgonzalez01
Sent: Wednesday, November 01, 2006
6:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] local SWF
files cannot use the LoaderContext.securityDomain property



 







Use Case:
Debugging Flex app locally which uses the SWFLoader to load child
applications that reside on a remote server (in our data center).

Need to allow both the parent app (running locally in debug) and the
child app (resides on remote server) to play nicely together.

Expected Result: I can have both apps (parent & child) share the same
ApplicationDomain and SecurityDomain.

What Happens: I get the error message "local SWF files cannot use the
LoaderContext.securityDomain property" when trying to set the
LoaderContext.securityDomain of the SWFLoader object. If I omit this
setting the SWFLoader then barfs when it trys to load the remote resource.

I have both parent and child applications using
Security.allowDomain(["*"]); and I also have a cross-domain
policy
file on the remote server to allow ALL domains access.

Anyone have any suggestions?






__._,_.___





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

  




__,_._,___






RE: [flexcoders] view PDF in Flex App

2006-11-02 Thread Matt Chotin












I’m pretty sure we used an IFRAME to
place the PDF over the SWF.  This technique is shown in more detail on
Christophe’s blog, http://coenraets.org.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Parth Pandya
Sent: Thursday, November 02, 2006
4:40 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] view PDF in
Flex App



 









Hi Guys and Gals,

I'm just wondering whether Flex app can show PDF file or not...
basically i know that i can launch a new browser window from flex app
to show the PDF file which resides on a URL. But i saw a snapshot
somewhere which had pdf file shown in Flash/Flax UI so wondering
whether anyone can give me hint on how to do that or whether its
possible or not...?

Thanks a lot in advance...

Cheers,
Parth Pandya






__._,_.___





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

  




__,_._,___






Re: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-11-02 Thread Andrew D. Goodfellow



All the features everyone has mentioned are very exciting. However right now I am only excited about one single Apollo feature. IMHO It's the most important feature, for me at least, of Apollo bar none. What could that feature be? It's the Apollo Public Release Date feature! ;o)
You better cluster and load balance the web servers once you announce it's download location, because that address is gonna get buried with requests about 5 minutes later...-Andy
On 10/31/06, Gordon Smith <[EMAIL PROTECTED]> wrote:













  













Just wondering, 
since I'm working on 
it...
what features of Apollo are people most excited about?

 

- Gordon

 









From:
[EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Andrew D. Goodfellow
Sent: Tuesday, October 31, 2006
6:15 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Isn´t
there any release of Adobe Apollo yet? Alpha maybe



 







Yep, I know how you feel. The suspense is brutal. I
could have already built and sold like 8 products built on it.

There are probably too many holes in it still, or at least that's what I keep
telling myself. :o)

-Andy



On 10/31/06, arianrechia
<[EMAIL PROTECTED]>
wrote:










Hi people,
I´m very exciting about Adobe Apollo, and I´ve been looking for some
download to try the Apollo SDK, but with no success =(

anyone already have a apollo alpha realease??

thanxs











 












  















__._,_.___





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

  




__,_._,___



RE: [flexcoders] selectedIndex not updated upon column sort in custom dataGrid

2006-11-02 Thread Matt Chotin












Try calling validateNow() on the DataGrid
before requesting the selectedIndex?  It might delay the calculation of the
index for performance reasons.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of iko_knyphausen
Sent: Thursday, November 02, 2006
5:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
selectedIndex not updated upon column sort in custom dataGrid



 








For the life of itcan't figure it out... I have a dataGrid in a
custom component, and in order to delete rows I use the
dataGrid.selectedIndex (in the dataGrid.dataProvider.removeItemAt
(index) function). All works as expected until you sort the grid by one
column. The selectedItem is still the same, and shows in the grid as
selected, but the selectedIndex is not updated - it still returns the
same index as before the column sort. The selectedIndex gets updated
correctly whenever you select a row with a mouse click.

I tried the same with an original dataGrid (outside a custom component),
and there it works fine. So obviously I am doing something wrong - or
forgetting something that needs to be done inside complex
components...Help? Thanks






__._,_.___





--
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] Re: unable to load wsdl?? flex, you're pissing me off...

2006-11-02 Thread Jason
Thanks for your response Aran :-)

The reason I finally decided to swap the webservice provider was when
I tried to run the converter locally yesterday, it didn't work there
either!

That and the fact both of these sites
(http://www.flash-db.com/Currency/ &
http://www.flexauthority.com/Samples/currencyExchange/ce2.mxml)
utilise the xmethods webservice, and both no longer operate.

Why the webservice worked in IE and not Firefox prior to changing over
the webservice still remains a mystery however...

--- In flexcoders@yahoogroups.com, "Design Mr. Rhee"
<[EMAIL PROTECTED]> wrote:
>
> Jason.
> 
> Works for me in Firefox (2.0). Below is the http traffic from the
currency
> converter call. What error were you actually seeing?
> 
> Client request:
> 
> POST /CurrencyConvertor.asmx HTTP/1.1
> Host: www.webservicex.com
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1)
> Gecko/20061010 Firefox/2.0
> Accept:
>
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
> 0.8,image/png,*/*;q=0.5
> Accept-Language: en-us,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Referer:
>
http://blog.wrench.com.au/wp-content/uploads/Flex/converter2/Converter.swf
> Content-Type: text/xml; charset=utf-8
> SOAPAction: "http://www.webserviceX.NET/ConversionRate";
> Content-Length: 492
> 
> 
>  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>   http://www.webserviceX.NET/";>
>   xmlns:ns1="http://www.webserviceX.NET/";>AUD
>   xmlns:ns1="http://www.webserviceX.NET/";>CNY
>   
>
> 
> 
> 
> Server response:
> 
> http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>
>   http://www.webserviceX.NET/";>
>  6.0818
>   
>
>  
> 
> 
> 
> Aran
> 
> 





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Flex2 Framework design issue ?

2006-11-02 Thread Matt Chotin












I think that the upcoming module support
in 2.0.1 is going to address your issues.  Since Roger put all of this together
I feel confident that things will be OK J

 

Now if you use your own module system the
same may not be true, I’d recommend using ours.  If you’re actively
developing with modules right now let me know offlist.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of t_levieux
Sent: Thursday, November 02, 2006
11:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2
Framework design issue ?



 








You can find below a question posted two months ago at Abobe Flex Forum
but no one answered. Please, give me another chance !
Note that this question was raised with the development of modular
applications in mind...

In my opinion, there's a design issue within the Flex Framework.
Let's consider the following UIComponent's method :

public function getClassStyleDeclarations():Array
{
var myRoot:DisplayObject = SystemManager.getSWFRoot(this);
...
}

It means that the whole UIComponent architecture is tied with a sole
IFlexModuleFactory class: SystemManager.
So what happens if I decide to load another application using my own
module factory ? In that case UIComponent may not be able to retrieve
the SWF that contains its class definition.

I think one indirection level is missing (via a module repository or a
stuff like that)...

Does someone share my view ?

Rgds,
Thierry






__._,_.___





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

  




__,_._,___






RE: [flexcoders] Re: TextArea in Grid - too big

2006-11-02 Thread Matt Chotin












TextField supports bolding and word wrap,
use htmlText and the wordWrap property.  You’ll probably want to use a
UITextField though since we’ve put more in it.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of app.developer
Sent: Thursday, November 02, 2006
8:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: TextArea
in Grid - too big



 







I need it to be a textArea for 1) it allows control to
BOLD the text 
2) word wrap. 

Precia

--- In [EMAIL PROTECTED]ups.com,
"Michael Labriola" <[EMAIL PROTECTED].> 
wrote:
>
> 
> Precia,
> 
> Just need to ask the question, does it absolutely have to be a
> TextArea? The TextField class (and descendants) have an autoSize
> property and more control over some of these aspects. 
> 
> --Mike
> 
> --- In [EMAIL PROTECTED]ups.com,
"app.developer" >
> wrote:
> >
> > When creating a grid, I have textArea in the gridItems of the 
first 
> > row for "headers". If I don't give them a height they
default to 
> > 100%. I need the textArea to default to the size of the text 
within 
> > them or somehow get the text within the textArea to 
valign="bottom", 
> > which I haven't been able to produce. Anyone have any ideas?
> > 
> > I create a grid on the fly with AS. The following is part of the 
> > code creating the "headers" of the grid. 
> > 
> > //Create the Grid
> > grid1 = new Grid();
> > grid1.id = "griddy";
> > grid1.y=35;
> > grid1.percentWidth=100;
> > grid1.setStyle("backgroundColor","0xf1c616");
> > grid1.setStyle("verticalGap","1");
> > grid1.setStyle("horizontalGap","1");
> > addChild(grid1);
> > 
> > //Create the first Row with the Role labels
> > grid1row = new GridRow();
> > grid1row.id = "gRow";
> > grid1row.percentWidth=100;
> > grid1.addChild(grid1row);
> > 
> > //Create the first GridItem as a blank first cell
> > grid1Item = new GridItem();
> > grid1Item.id = "gItem0";
> > grid1Item.setStyle("horizontalAlign","center");
> > grid1row.addChild(grid1Item);
> > 
> > label1 = new TextArea();
> > label1.name = "gLabel0";
> > label1.width=90;
> > label1.text = " "
> > label1.alpha = 0;
> > grid1Item.addChild(label1);
> > 
> > 
> > //Loop through results,creating the headers to each column in the 
grid
> > for ( var i:Number=0;i > 
> > grid1Item = new GridItem();
> > grid1Item.id = "gItem"+i;
> > grid1Item.setStyle("horizontalAlign","center");
> > grid1Item.setStyle("verticalAlign","bottom");
> > grid1row.addChild(grid1Item);
> > 
> > label1 = new TextArea();
> > label1.name = "gLabel"+i;
> > label1.alpha = 0; 
> > label1.width = 90;
> > if (event.result.list.source[i].roleName.length <
20){
> > label1.height = 35;
> > }else{
> > label1.height = 70;
> > }
> > label1.text = event.result.list.source[i].roleName
> > grid1Item.addChild(label1);
> > 
> > }
> > 
> > 
> > 
> > Thanks,
> > Precia
> >
>






__._,_.___





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

  




__,_._,___






Re: [flexcoders] JUST SAY NO to creationPolicy="all" !

2006-11-02 Thread Peter Hall



If you build your app without creationPolicy="all", but you discover later that "all" is better for peformance then you can always switch it. But you can't always switch it the other way.creationPolicy is all about performance and nothing to do with data, and especially nothing  to do with whether your app works or not. Your app should be able to handle that attribute changing, just as well as it can handle a style change.
We typically use commands for switching views. The command can pass the view whatever data it needs or else first listen for its initialize() event if it is not ready yet.Here's a sketch of a base class you can extend:
public class LaunchViewCommand implements ICommand {    protected var stateParent:UIComponent;    protected var stateName:String;    protected var view:UIComponent;    public function LaunchViewCommand (
  stateParent:UIComponent,  stateName:String,  view:UIComponent)    {    this.stateParent = stateParent;    this.stateName = stateName;    this.view
 = view;    }    public function execute():void{
        stateParent.currentState = stateName;   if(view.initialized){   initView();   }else{   view.addEventListener(FlexEvent.INITIALIZE, onViewInit);   }    }
    protected function onViewInit(e:FlexEvent):void{    initView();    }    protected function initView():void{    // set params on the view here    }}Peter

__._,_.___





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

  




__,_._,___



RE: [flexcoders] mxml Application under a package

2006-11-02 Thread Matt Chotin












Unfortunately applications can’t be
packaged if they’re mxml, they’ll always be the root of a
classpath. 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Krueger
Sent: Thursday, November 02, 2006
5:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] mxml
Application under a package



 









Hello,





 





    I  have searched the list but can't really find
an answer to this.  I have a main app and in it, it has a loader. 
Then I have sub application that I load in at runtime.  This is done by
lots of people I know.  Problem I am having is if I put any of my
application file in a package they won't compile.  The import statements
don't seem to work.





 





So I have a application in package





com.me.app.myApplication





 





Then I have all my value object and stuff in





com.me.flex.vo.myVO.





 





If I try to import com.me.flex.vo.myVo in com.me.app.myApplication
it is unable to find it.  If I move the application to the root of the
project everything is fine.  Do I need to setup the classpath or
something.





 





Thanks





 





Jeff





 



  







Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone
call rates. 






__._,_.___





--
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] Draggable Panels

2006-11-02 Thread klethron
Hello All, 

I am just starting into Flex 2 and im loving it. Is there any way to
make my Flex Panels draggable?




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Waterfall chart

2006-11-02 Thread kb_karthi
Hi,
Can anybody post sample code in flex 2.0 for waterfall charts?
Any sample on this would be of great help.

Thanks
Karthik





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] DataGrid Overlapping header problem

2006-11-02 Thread workmichal
Fellow Flexers,

I have a simple data grid with three columns. When I start scrolling
down, datagrid items start overlapping my header. I have no idea why
this is happening. Did any of you had similar problem, or do you have
any suggestions on how I can approach this?
After stripping out columns and reproducing the same bug with just
one column containing just text, I officially am out of ideas.

Thank you,

Cheers,

Michal

Here is my DG.













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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] dreaded error 1009, app calling a web service

2006-11-02 Thread Kaylea Hascall

Hello all,

I'm working on a Flex app which calls a web service, and I'm getting this 
error:


RPC Fault faultString="Error #1009: Cannot access a property or method of 
a null object reference."

What I can't tell is which "object" is null -- and from what I can tell, 
this is purely a Flex error, i.e. it's before the web service is called, 
so it's not from the app server (am I diagnosing this right?). The stack 
trace looks like this:


file:/D:/Documents and Settings/3onyemaechi/My Documents/Flex Builder 
2/TestWS/bin/TestWS-debug.html
Main Thread (Suspended: [RPC Fault faultString="Error #1009: Cannot 
access a property or method of a null object reference." 
faultCode="EncodingError" faultDetail="null"])
mx.rpc.soap.mxml::WebService/dispatchEvent

mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent

mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall
mx.rpc.soap::Operation/send
Function/http://adobe.com/AS3/2006/builtin::apply [no source]
mx.rpc.soap.mxml::Operation/send
TestWS/TestWS::submitReservation
TestWS/___Button1_click


Your thoughts on this problem would be greatly appreciated -- or better 
yet, tips on techniques for using the debugger to find it myself next 
time, and then I won't have to bother you good people again. :) I've 
written other flex web service clients where the (non-required) arguments 
were null, with no problem, but this one is stumping me :(

-Kaylea



Here's my .mxml:


http://www.adobe.com/2006/mxml"; 
layout="absolute"  width="960">
https://parakeet.uchicago.edu:8443/ReservationsWebService/ReservationsWebService?wsdl";
 
useProxy="false">



666
666
some text
some date
{null}


109
Some Name
Some 
Description

{null}

{null}

{null}


some text

joebob














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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] view PDF in Flex App

2006-11-02 Thread Parth Pandya


Hi Guys and Gals,

I'm just wondering whether Flex app can show PDF file or not...
basically i know that i can launch a new browser window from flex app
to show the PDF file which resides on a URL. But i saw a snapshot
somewhere which had pdf file shown in Flash/Flax UI so wondering
whether anyone can give me hint on how to do that or whether its
possible or not...?


Thanks a lot in advance...

Cheers,
Parth Pandya





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Putting markers on chart

2006-11-02 Thread udntknwjak
I know this is a relatively old topic but could you post that code 
into the board so that the rest of us can see it?

Thanks!
Jenn
--- In flexcoders@yahoogroups.com, "Sachin Dharmapurikar" 
<[EMAIL PROTECTED]> wrote:
>
> Thanks very much. Ely, I understood now how to add such small 
extensions.
> 
> Thank you very much folks.
> 
> Sachin
> 
> On 4/3/06, Ely Greenfield <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> > I figure it's good to take a moment every once and a while and 
prove to
> > myself that what I'm saying is actually true ;)
> >
> > See attached.
> >
> > Ely.
> >
> >
> >  --
> > *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Jonathan Miranda
> >
> >   If you get time to do this Sachin, love to see what you produce
> > code-wise….don't got time to tinker with it at the moment myself 
J**
> >
> >
> >  --
> > 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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] RE: How to place multiple Flex 2 applications in one HTML page

2006-11-02 Thread elevight
My objective is to put multiple Flex applications within one HTML 
page with each application residing in its own   cell.

Let's say my application's name is HelloWorld.mxml, which resides in 
HelloWorld.html.

When I look inside HelloWorld.html, I see a javascript function call, 
but this won't work for me because it lacks the ability to interface 
with HTML for me to tell it which table cell to appear in.

I noticed in the  section, there is an  tag, but 
when I try to view a HTML page with just that  tag code 
block, I see the gradient background, but none of my visual 
components would appear. I was hoping this would work, then I could 
just copy/pasted the whole  code block and paste it within my 
 tags.

Could anyone help me on this please?

Thanks.






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Tree not updating with correct XML

2006-11-02 Thread meathead
Okay, I'm trying to figure this out.  Things look just like the help 
files, but I'm not working.  Here's what I got so far

HTTPService is this 

http://Path/To/XML.aspx"; 
useProxy="false" resultFormat="e4x" result="" />
***
I've tried both e4x and xml as resultFormat.

Script code looks like this

import mx.collections.*;
[Bindable]
public var myXLC:XMLListCollection;

public function init():void
   {
  myXLC = new XMLListCollection
(rstTree.lastResult.Root);
  
   }
*

I've got the init function being called at application 
creationComplete.

Here's my tree MXML


 


Lastly, here is my xml from the aspx page.
**
   

 
  



   
  



   
  



  
 

**
I know that I'm returning my xml from the HTTPService since I can 
show an alert box with data from it.  However, Nothing is showing in 
my tree.  Nothing.  

Can anyone help?

Thanks,
Aaron
--- In flexcoders@yahoogroups.com, "meathead" <[EMAIL PROTECTED]> wrote:
>
> You pretty much answered my question when you stated that the XML 
> tag gets set during compiled time.  I was thinking I might have to 
> use an HTTPService tag since the XML.aspx file will have different 
> results depending on the time of day per user.  Bummer we can't 
just 
> reset the XML tag.  Thanks for the prompt reply.  Off to go learn 
> how to send in data to a tree via HTTPService.
> 
> Aaron
> --- In flexcoders@yahoogroups.com, "Michael Labriola"  
> wrote:
> >
> > 
> > Aaron,
> > 
> > Need to clarify something:
> > 
> > When you say : The XML is changes, do you mean that the XML data
> > retrieved from http://Path/To/XML.aspx changes or that you 
change 
> the
> > XMl after loading at the client?
> > 
> > I don't want to answer the wrong question, but the 
> > mx:XML tag includes data at compile time, not runtime. So, the
> > application is going to grab a copy of this data when it 
compiles 
> and
> > build it in.
> > 
> > If you are looking to grab data at runtime, you need to look at
> > something like an HTTP service tag to go and grab the data on 
> command.
> > 
> > Let me know if this answers your question,
> > --Mike
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "meathead"  wrote:
> > >
> > > Hi all,
> > > 
> > > I'm at a loss here.  I've got a tree set up to retrieve XML 
> data.  
> > > It works fine until the data in the XML changes.  Then the 
tree 
> > > won't reflect the new data until my flex application is 
> recompiled.  
> > > I believe when the application is being recomplied it's 
grabbing 
> the 
> > > XML and setting it somehow.  Here is some code.  
> > > 
> > > CODE***
> > > 
> > > 
> > >   
> > >   
> > >   http://Path/To/XML.aspx"; id="TreeXML"/>
> > >   
> > >> > dataProvider="{myXLC}" labelField="@label" 
> itemClick="treeClickEvent
> > > (event);" y="10">
> > >
> > > END OF CODE***
> > > I've also tried the above without the XMLListCollection and 
just 
> > > putting the TreeXML straight into the Tree object 
dataProvider.  
> The 
> > > afterComp function is called in the application 
createCompletion 
> > > event.  I've also tried with and without invalidateList.  
> > > 
> > > Basically, How can I get the Tree control to grab the latest 
and 
> > > greatest from the XML?  
> > > 
> > > Thanks,
> > > Aaron
> > >
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] possible nested repeater bug??

2006-11-02 Thread Jaime Bermudez



Hi flexcoders,
 
I've come across a potential bug in an app I'm working on, but perhaps I'm doing something wrong.  I have an array of VOs where each VO has an array of children VOs.  I'm using a nested repeater to represent this structure.  The user can add parents and children - this is when some strange behavior occurs.  Some repeater rows in the nested repeater appear blank.  I tried the whole dummy UI object filler to no avail.  Here's a sample app that illustrates the problem.  Just add a few parents and then add children and you'll see a lot of repeated rows.  Any help would be appreciated:

 

 xmlns:mx="http://www.adobe.com/2006/mxml"  layout="absolute"
 width="100%" height="100%"    creationComplete="init()" >width="100%"  height="100%" title="Testing representing complex structure in nested repeater"
 >    dataProvider="{this.dpParent}">         width="100%"    paddingLeft="100"    text="{rpParents.currentItem.name}"    /> label="Add a child to this parent node" click="this.handleAddChildClick(event);" />    dataProvider="{
rpParents.currentItem.children}">       width="100%"    paddingLeft="200"    text="{
rpChildren.currentItem.name}"    />    width="100%"   horizontalAlign="right">
  label="Clear all parents"   click="this.dpParent = new ArrayCollection();"/>  label="Add a new parent node"   click="handleAddParentClick();"/>   
 
Thanks,
 
Jaime

__._,_.___





--
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] Detect scrollbar showing/not showing

2006-11-02 Thread Daniel Cascais
Is there any known event that is dispatched when the scrollbar is
showing/not showing in a container, when the scroll policy is set to
auto?

In other words: How can I know when a container's srollbar is showing
or not showing? (Apart from looking at the screen of course).

Thanks,
Daniel


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] selectedIndex not updated upon column sort in custom dataGrid

2006-11-02 Thread iko_knyphausen

For the life of itcan't figure it out... I have a dataGrid in a
custom component, and in order to delete rows I use the
dataGrid.selectedIndex (in the dataGrid.dataProvider.removeItemAt
(index) function). All works as expected until you sort the grid by one
column. The selectedItem is still the same, and shows in the grid as
selected, but the selectedIndex is not updated - it still returns the
same index as before the column sort. The selectedIndex gets updated
correctly whenever you select a row with a mouse click.

I tried the same with an original dataGrid (outside a custom component),
and there it works fine. So obviously I am doing something wrong - or
forgetting something that needs to be done inside complex
components...Help? Thanks





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] FDS-Hibernate Error: Error instantiating ... 'flex.data.assemblers.HibernateAssembler'

2006-11-02 Thread Douglas McCarroll
Thanks, Jeff!

That clarified it. I've fixed that error and am moving onto others.  :-)

I'll be back in touch if I can't resolve them myself.

My problem was that I wasn't familiar enough with the log files, and the 
order in which I should read them.  :-)

Douglas



Jeff Vroom wrote:
>
> Hi Douglas
>
> The HibernateAssembler source is in
> .../fds2/resources/ samples/assemblers/flex-messaging-dist-src.zip so you
> can see what is going on.
>
> In this case, I think the problem is that hibernate can't find your
> "entity class" - this is the part of the huge stack trace which is
> important:
>
> Caused by: java.lang.ClassNotF oundException:
> com.brightworks.apps.sakila_java.ActorInfoId
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1355)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1201)
> at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Unknown Source)
> at
> org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)
> at
> org.hibernate.mapping.Component.getComponentClass(Component.java:102)
> ... 51 more
>
> Jeff
>
> -Original Message-
> From: Douglas McCarroll
> [mailto:[EMAIL PROTECTED] 
> ]
> Sent: Thursday, November 02, 2006 2:53 PM
> To: flexcoders@yahoogroups.com ; 
> Jeff Vroom
> Subject: Re: [flexcoders] FDS-Hibernate Error: Error instantiating ...
> 'flex.data.assemble rs.HibernateAssembler'
>
> Hi Jeff,
>
> Thanks for your response. I'm sending this to both you and the list, as
> it may be helpful to get this thread into the archive...
>
> > Do you have the JOTM configured as part of tomcat?
> > FDMS requires a JTA based transaction manager.
>
> I have the JOTM .jars installed but didn't have the JOTM XML file for my
>
> app in tomcat-root/ conf/Catalina/localhost.
>
> But I don't think that that's the problem. Here's why (2 reasons):
> 1. When I try to do something like this I typically try to approach it
> in baby steps. In this case I first got a slightly modified version of
> Marcel Boucher's Hibernate example to work. It works. (Yay!) But I also
> didn't create a JOTM XML file for that project.
> 2. Just to be sure, I just created that file for my project and
> restarted Tomcat. Still doesn't work. :-(
>
> > Are you getting any other stack traces logged?
> > That stack trace is a chained exception... the
> > "root cause" is what we need to more fully
> > diagnose this case.
>
> I've posted the entire log file at:
>
> http://www.brightworks.com/localhost.2006-11-02.log 
> 
>
> It's much more readable online than than it is when pasted into an
> email. Obviously, there are other log files but this is the only one
> that indicates a problem.
>
> > We do ship the source to the hibernate assembler
> > so if necessary you could use that to help debug
> > the problem.
>
> Where would I find that? I've explored the WEB-INF folder of my project
> and it doesn't seem to be there...
>
> Finally, let me tell you a bit about what I'm doing. An overview may
> help you to help me. My goal is to create a sample
> Cairngorm/FDMS/ Hibernate app. This will help me learn, demonstrate my
> competency to future clients/employers, and hopefully help others. I've
> started with the MySQL sample Sakila database and used HibernateTools to
>
> auto-generate the Java and Hibernate files. Now I'm trying to graft the
> client-side code, and server side configs, from the Boucher example that
>
> I already have working onto it. He uses an "employee" table. Sakila is a
>
> DVD rental store DB and has an "actor" table that is quite similar. It
> should be fairly easy (or at least doable :-) to display data from this
> one table. Once I get that working I can renovate the client side into a
>
> Cairngorm architecture and start using other tables. Yum. :-)
>
> Thanks,
>
> Douglas
>
> h
>
> Jeff Vroom wrote:
> >
> > Do you have the JOTM configured as part of tomcat? FDMS requires a JTA
>
> > based transaction manager. See the Tomcat install instructions on this
>
> > page:
> >
> > http://www.adobe.com/support/documentation/en/flex/2/install.html 
> 
> >  >
> >
> > It looks like there is an exception occurring when the hibernate
> > assembler is being initialized. One possibility is that JOTM is
> > missing, but it could be also be a hibernate specific problem . Are
> > you getting any other stack traces logged? That stack trace is a
> > chained exception... the "root cause" is what we need to more fully
> > diagnose this case. I checked on jrun and I am getting all of the
> > exceptions logged but t

[flexcoders] Re: Adding a line series dynamically

2006-11-02 Thread Doug Lowder



Unfortunately, the series property must be an Array and won't take an ArrayCollection like dataProvider can.  With a little reorganization of objects, you can bind to an ArrayCollection's source and receive notification of changes when the ListCollectionView methods are used to update the array.  You still have to re-bind the chart to the array, however, so I'm not sure how well this stacks up to just resetting the series property.  Just an alternative approach.
http://www.adobe.com/2006/mxml">
                    yField="Profit" displayName="Profit" dataProvider="{expenses2}"/>                    
            creationComplete="mySeriesCollection.addEventListener('collectionChange', onSeriesChanged)">            categoryField="Month"/>        
--- In flexcoders@yahoogroups.com, "Alex" <[EMAIL PROTECTED]> wrote:>> > Hello flexcoders, > > Has someone managed to find a way to add new LineSeries dynamically?> Please see the code below. > Alert does show 4 which means the new line has been added but it is not> displayed in the chart?> > Maybe I need to call some kind of update method in order the changes to be> propagated?> > Thanks,> Alex> > > > > > > > > > categoryField="Month"/>> > > > yField="Profit" displayName="Profit" dataProvider="{expenses2}"/>> > > > > >

__._,_.___





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

  




__,_._,___



Re: [flexcoders] Two way data binding

2006-11-02 Thread Manuel Saint-Victor



Thanks- That sounds like it should do it.  I'm going to give it a try.On 11/2/06, Iko Knyphausen <[EMAIL PROTECTED]
> wrote:












  













I found the simplest way to be using
 If you search livedocs and the online
help in Flex Builder...you should find good examples. If you intend to bind
custom properties of your own components (for example) its a little more
involved... basically your setter function needs to dispatch an event so that
bound targets get notified and update their source...HTH







Good
evening Flex coders,

Can anyone recommend a good tutorial or instructions for two-way data
binding.  For example where a slider would show video progress but
adjusting the slider would move the video?

Thanks, 

Mani

-- 
Manuel Saint-Victor, MD
Jackson Healthcare System
Department of Psychiatry 










  













-- Manuel Saint-Victor, MDJackson Healthcare SystemDepartment of Psychiatry

__._,_.___





--
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] FilteredLineSeries and Printing - ChartMan Ely, we need you!

2006-11-02 Thread Jonathan Miranda
Alright, I've got it working - so for those following along, here's a
working filter at a LineSeries not LineChart levelbut hit another
framework show-stopper and need your expertise Ely (sorry for bugging
ya directly Ely, thought ya missed my reply earlier and getting
slammed with a deadline - I promise I'll share my Gantt when its
finished :).

Anyways, below is my FilteredLineSeries (which works) and my mxml file
I'm using to test it. My problem is the horizontalAxis/categoryAxis
isn't smart when it filters data - if you change the dataprovider of
the categoryAxis back between the hAxisData and the alteredData, you
will see what the problem is. In a nut shell, the categoryAxis is
filtering the data completely meaning that once it sees a value for
the x-axis, it clips/skips the other instances of it - aka, even
though I have a number:1 for blue and red, I only see blue. How do I
get around this? I need to show both lines for red/blue starting at 1.
If you uncomment the basic LineSeries addition, you can see it easier.

In pure basic terms:

If I have in my dataProvider:
name="1" amount="200" brand="blue"
name="1" amount="400" brand="red"

how do I get 2 lines starting at name="1" and not two entries for "1"
in the x-axis? I'm assuming this is a change on CategoryAxis, not the
FilteredLineSeries I'll need to mess with.

**Also**
Side note: Printing of Charts, usually with PrintJobs you have to
create a sprite and do an addChild - but a problem in the
FlexFramework, is that if I do an addChild of something I'm
displaying, I'll lose it because of parenting problems. Is there some
nice way to print charts ala cacheAsBitmap or something similar? I'd
rather not recreate charts via actionscript for each print job. I know
there's some way to say "take what I see and make it a bitmap" but I'm
not savy to that and I'm guessing Ely you know how to print charts :)
Some advice?

FilteredLineSeries
package com.NoTouchie.chart {

import mx.charts.series.LineSeries;
import mx.charts.ChartItem;
import mx.charts.series.items.LineSeriesSegment;
import mx.graphics.IStroke;
import mx.charts.series.renderData.LineSeriesRenderData;

public class FilteredLineSeries extends LineSeries{ 

public function FilteredLineSeries(customFilters:Array = null) {
super();
this._customFilters = customFilters;
}   

public function set customFilters(newFilterSet:Array):void {
_customFilters = newFilterSet;
invalidateData();
}

override protected function updateFilter():void {   

super.updateFilter();

// No customFilters, then don't run
if(_customFilters.length > 0) {
var validSegments   :Array  = new 
Array();
var validFrom   :int= 0;
var validTo :int
= -1;
var getLastValid:Boolean= false;

var newCache:Array  = new 
Array();

// For every point in the line...
for(var i:int = 0; i < 
renderData.filteredCache.length; i++) {
var currentItem:ChartItem = 
renderData.filteredCache[i];
// For every custom filter...
var currentItemPassed:Boolean = true;
for(var j:int = 0; j < 
_customFilters.length; j++) {
var customFieldName:String = 
_customFilters[j].name;
// Considered using 
FilterVO.equals, but wouldn't work with
dynamic name as is
// and wasn't sure if it is 
used elsewhere so I left it.
Possible Fix Needed

if(currentItem.item[customFieldName] != _customFilters[j].value) {
// Only add segments 
that are lines (*NOT* dots)
if(validFrom < validTo) 
{

validSegments.push({validF:validFrom,validT:validTo});
}
validFrom = i+1;
validTo = i;
  

[flexcoders] Re: Event Listener Help!!!

2006-11-02 Thread Doug Lowder



Here's a simple NumericStepper component based on the examples in the docs, with a change handler to actively  track the updated value.
http://www.adobe.com/2006/mxml" height="100%" width="100%">                
        editable="true" creationComplete="callLater(calculateTotal)" itemEditEnd="callLater(calculateTotal)">                rendererIsEditor="true" editorDataField="value">                                value="{value}" change="onValueChanged(event.currentTarget.value)"/>                         
        --- In flexcoders@yahoogroups.com, "s_hernandez01" <[EMAIL PROTECTED]> wrote:>> Thanks guys, I believe I would want the total to update itself as the> user is changing the quantity, and not when they finish editing, but> it's a temporary solution though. I didn't think about the editing> part since I was stressing on the change event. If anyone else knows> how I can code up the change event to my ArrayCollection in a datagrid> so that the total gets updated promptly, PLEASE PLEASE PLEASE HELP ME!!! > > -Sal> > > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ wrote:> >> > You can use the grid's itemEditEnd handler to update the total after > > the user has finished editing the item. Also, set the grid's > > editable property to true and each column's editable property as > > desired.> > > > If you want to actively track changes to the editor as the user > > makes them instead of after the user has finished editing the item, > > you may need to break the NumericStepper out as a component, and use > > the change event to trigger your function.> > > > > > textAlign="center"> > itemEditEnd="callLater(calculateTotal)">> > > > > > editable="false"/>> > > > dataField="qty" > > rendererIsEditor="true" > > itemRenderer="mx.controls.NumericStepper" editorDataField="value"/>> > > > editable="false"/>> > > > > > > > > > --- In flexcoders@yahoogroups.com, "s_hernandez01" > >  wrote:> > >> > > Can anyone tell me how I can get my event listener to update the > > total> > > when the quantity is changed using the numericStepper inside a > > datagrid? > > > > > > Thanks> > > > > > Sal> > > > > > > > > layout="absolute" xmlns="*" creationComplete="calculateTotal()">> > > > > > > > > [Bindable]> > > public var total:Number=0;> > > [Bindable]> > > public var numProducts:int=0;> > > [Bindable]> > > public var myDP:ArrayCollection = new ArrayCollection();> > > > > > public function calculateTotal():void{> > > var t:Number = 0;> > > var n:Number = 0;> > > for(var i:int = 0; i < myDP.length; i++){> > > n += myDP[i].qty;> > > t += myDP[i].price * myDP[i].qty;> > > }> > > total = t;> > > numProducts = n;> > > }> > > > > > public function qtyChangeListener():void{> > > qtyChanger.addEventListener("change", calculateTotal);> > > }> > > > > > > > > > > > > > > > > > rendererIsEditor="true" itemRenderer="mx.controls.NumericStepper"> > > editorDataField="value"/>> > > > > > > > > > > > > > > > > > > > > > > >> >>

__._,_.___





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

  




__,_._,___



RE: [flexcoders] FDS Method Fill and List of parameters

2006-11-02 Thread Cathy Reilly





Here's an example when using Hibernate Named 
Queries.
 
If I defined the following query in 
pet.hbm.xml,
  select 
pet.owner from Pet as pet where 
pet.name=?
Then my fill 
operation requires a single parameter to be supplied.  This is the value 
for the '?'.
 
petDataService.fill(petCollection, "owner.by.pet.name", 
["Buddy"]);
 
 
In you're case, the query also has a single 
parameter.  In this case, you should pass in a value for 'in (?)'.  
I'm not sure where the '*' comes in.
 
Perhaps the query should be select * From Task where idProject in (?, ?, 
?)
In which case, the fill would be 
taskDataService.fill(tasksArray, "tasksProjects", [1, 2, 
3]);
 
Which should resolve to 'select * From Task where idProject 
in (1, 2, 3)'
that is
  Query q2 =  
s.getNamedQuery("taskProjects");
  q2.setInt(0, 1);  // where the first 
parameter is the position of the ? and the second parameters it the value passed 
in
  q2.setInt(1, 2);
  q2.setInt(2, 3);
 
- Cathy


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
jonathan_mereySent: Thursday, November 02, 2006 11:53 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FDS 
Method Fill and List of parameters


Hi,I put this request in my mapping :From Task where idProject in 
(?)I want to know how put in this call method to replace * 
:taskDataService.fill(tasksArray, "tasksProjects", 
[*]);The request must be like that :select * From Task where 
idProject in (1, 2, 3)
__._,_.___





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

  




__,_._,___



RE: [flexcoders] AddChild() Exceptions

2006-11-02 Thread Jason Hawryluk
I'm having the exact same type of problem swapping containers in a
TabNavigator using this type of command

main.setChildIndex(main.getChildAt(2),1);

The behind code seems to choke on the getChildAt of the container.


I had the some index problems on other things with this component and for
that one found that using callLater solved part of it. Perhaps you could
give that a try, failing that if you find a simple answer to your problem I’
d be interested in hearing about your solution. I’ll do likewise if I find a
solution to the current index problem.

Anyway Frustrating to say the least.

jason





-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Ciarán
Envoyé : jeudi 2 novembre 2006 14:29
À : flexcoders@yahoogroups.com
Objet : [flexcoders] AddChild() Exceptions


Hi All,

I'm having a slight problem building a custom component. The basic
idea is a combination of a primary image container, and a Tile()
container providing a selection of images. When selected, each image
would appear as a primary image.

This sounds tediously simple. I'm implementing it upon the principle
that a change event is broadcast when a setter is called, which has a
registered listener that updates the component. It attempts to replace
the at index 0.

The annoying thing is that if I implement this from a vanilla
perspective (blank text file), it works fine (making things much
harder to debug since I can't reproduce the behaviour) - however in
the context of the application I'm developing, it throws an exception:

RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/getChildAt()
at
mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.
as:2384]
at
mx.core::UIComponent/notifyStyleChangeInChildren()[C:\dev\GMC\sdk\frameworks
\mx\core\UIComponent.as:7099]
at
mx.core::Container/mx.core:Container::commitProperties()[C:\dev\GMC\sdk\fram
eworks\mx\core\Container.as:2680]
at
mx.core::UIComponent/validateProperties()[C:\dev\GMC\sdk\frameworks\mx\core\
UIComponent.as:5218]
at
mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C
:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517]
at
mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation(
)[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:628]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\
sdk\frameworks\mx\core\UIComponent.as:7789]
at
mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\s
dk\frameworks\mx\core\UIComponent.as:7732]

This happens when the addChildAt() method gets called. Without
divulging context, is there any obvious reason why I'm getting this
exception? I've been battling this for hours now and it won't yield.
If I'm not doing something incredibly stupid that would cause this,
please let me know.

Intuitively, it seems like the addChild() is triggering something at
the wrong moment in time, giving something similar to an "Array out
of bounds" as it looks for stuff to render. I understand most of the
trace atomically speaking, but on the whole I have no idea how to
remedy it.

Also, I have an annoying problem with Flexbuilder. Breakpoints dont
seem to work for me at all. I can't find any setting that implies this
might've been turned off, so I'm not sure what to do about it. Perhaps
find the checkbox that says "Don't work properly" and untick it.

Any clues would be much appreciated =)

Kind Regards,

Ciarán






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Force redraw of component?

2006-11-02 Thread Michael Schmalle



Basically,What are you trying to do?There are things that you think you might be able to do but can't.Can you give solid examples of what 'skins' you are trying to change?styleName setter calls a complete styleChanged(null) call and will refresh all skins that are supposed to refresh. I doubt that this is a problem with what you are reskinning but it probably lies within what you are trying to skin with.
So, what does your selector look like that you are assigning to the styleName(of what component?)?I can help, just need more details.Peace, MikeOn 11/2/06, 
zzwi89 <[EMAIL PROTECTED]> wrote:












  



Hi,

I have been trying to get components to switch skins during runtime.
Although I can change the value of styleName, this has no visual
effect. However, if I create a new component that matches the type of
the old one, copy all its children and attributes that I care about
(x,y,width,height, etc.. at the moment), give it the new style, and
then add it back to the original parent, I essentially get what I'm
looking for. 

However, this is cumbersome and leads me to believe I could achieve
the reskinning effect if I could just force the component to redraw
itself. Does anyone know of a way to do this?

Thanks!


  













-- What goes up, does come down.

__._,_.___





--
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] Force redraw of component?

2006-11-02 Thread zzwi89
Hi,

I have been trying to get components to switch skins during runtime.
Although I can change the value of styleName, this has no visual
effect. However, if I create a new component that matches the type of
the old one, copy all its children and attributes that I care about
(x,y,width,height, etc.. at the moment), give it the new style, and
then add it back to the original parent, I essentially get what I'm
looking for. 

However, this is cumbersome and leads me to believe I could achieve
the reskinning effect if I could just force the component to redraw
itself. Does anyone know of a way to do this?

Thanks!




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] FDS-Hibernate Error: Error instantiating ... 'flex.data.assemblers.HibernateAssembler'

2006-11-02 Thread Jeff Vroom
Hi Douglas

The HibernateAssembler source is in
.../fds2/resources/samples/assemblers/flex-messaging-dist-src.zip so you
can see what is going on.  

In this case, I think the problem is that hibernate can't find your
"entity class" - this is the part of the huge stack trace which is
important:

Caused by: java.lang.ClassNotFoundException:
com.brightworks.apps.sakila_java.ActorInfoId
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1355)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.java:1201)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.hibernate.util.ReflectHelper.classForName(ReflectHelper.java:108)
at
org.hibernate.mapping.Component.getComponentClass(Component.java:102)
... 51 more

Jeff

-Original Message-
From: Douglas McCarroll
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 02, 2006 2:53 PM
To: flexcoders@yahoogroups.com; Jeff Vroom
Subject: Re: [flexcoders] FDS-Hibernate Error: Error instantiating ...
'flex.data.assemblers.HibernateAssembler'

Hi Jeff,


Thanks for your response. I'm sending this to both you and the list, as 
it may be helpful to get this thread into the archive...


 > Do you have the JOTM configured as part of tomcat?
 > FDMS requires a JTA based transaction manager.

I have the JOTM .jars installed but didn't have the JOTM XML file for my

app in tomcat-root/conf/Catalina/localhost.

But I don't think that that's the problem. Here's why (2 reasons):
1. When I try to do something like this I typically try to approach it 
in baby steps. In this case I first got a slightly modified version of 
Marcel Boucher's Hibernate example to work. It works. (Yay!) But I also 
didn't create a JOTM XML file for that project.
2. Just to be sure, I just created that file for my project and 
restarted Tomcat. Still doesn't work. :-(


 > Are you getting any other stack traces logged?
 > That stack trace is a chained exception... the
 > "root cause" is what we need to more fully
 > diagnose this case.

I've posted the entire log file at:

http://www.brightworks.com/localhost.2006-11-02.log

It's much more readable online than than it is when pasted into an 
email. Obviously, there are other log files but this is the only one 
that indicates a problem.


 > We do ship the source to the hibernate assembler
 > so if necessary you could use that to help debug
 > the problem.

Where would I find that? I've explored the WEB-INF folder of my project 
and it doesn't seem to be there...


Finally, let me tell you a bit about what I'm doing. An overview may 
help you to help me. My goal is to create a sample 
Cairngorm/FDMS/Hibernate app. This will help me learn, demonstrate my 
competency to future clients/employers, and hopefully help others. I've 
started with the MySQL sample Sakila database and used HibernateTools to

auto-generate the Java and Hibernate files. Now I'm trying to graft the 
client-side code, and server side configs, from the Boucher example that

I already have working onto it. He uses an "employee" table. Sakila is a

DVD rental store DB and has an "actor" table that is quite similar. It 
should be fairly easy (or at least doable :-) to display data from this 
one table. Once I get that working I can renovate the client side into a

Cairngorm architecture and start using other tables. Yum. :-)

Thanks,

Douglas


h

Jeff Vroom wrote:
>
> Do you have the JOTM configured as part of tomcat? FDMS requires a JTA

> based transaction manager. See the Tomcat install instructions on this

> page:
>
> http://www.adobe.com/support/documentation/en/flex/2/install.html 
> 
>
> It looks like there is an exception occurring when the hibernate 
> assembler is being initialized. One possibility is that JOTM is 
> missing, but it could be also be a hibernate specific problem . Are 
> you getting any other stack traces logged? That stack trace is a 
> chained exception... the "root cause" is what we need to more fully 
> diagnose this case. I checked on jrun and I am getting all of the 
> exceptions logged but this could be dependent on some jrun specific 
> code logs all of the stack traces when a servlet throws an exception 
> during startup.
>
> We do ship the source to the hibernate assembler so if necessary you 
> could use that to help debug the problem.
>
> Jeff
>
>

>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]

> *On Behalf Of *Douglas McCarroll
> *Sent:* Wednesday, November 01, 2006 1:39 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] FDS-Hibernate Error: Error instantiating ... 
> 'flex.data.assemblers.HibernateAssembler'
>
> Hi All,
>
> Here's a more complete error message (from

RE: [flexcoders] Re: LinearGradient outside charts

2006-11-02 Thread Brian Deitte





Hi Cristian, I had to override measuredWidth and 
measuredHeight to get my gradient fill to display correctly.  It's 
interested to me though that your first example works correctly, which seems to 
indicate that there's something else going on here.  
-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Cristian 
PopSent: Thursday, November 02, 2006 1:40 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: LinearGradient 
outside charts


Thanks Ely,I'm happy to learn from the masters :-) I'm absolutely in 
love withwhat you do at quietlyscheming.com.I'm a beginner with 
extending components in AS and I admit that Idon't yet fully understand the 
display hierarchy and the componentlive cycle.I wanted to extend the 
canvas to allow gradient, using the fillCollorand fillAlpha 
styles.So I did something like this, based on an example from the docs. 
(Iskip the style management code and give you onli the update 
method)package{[...]// Define the variable to hold the 
current gradient fill colors.private var fillColorsData:Array;// 
Define the flag that indicates a change to fillColors.private var 
bFillColorsChanged:Boolean = true;// Define variables for 
additional controls on the fill.// You can create style properties for these 
as well.private var alphas:Array = [0.8, 0.2];private var ratios:Array = 
[0x00, 0xFF];// Constructor public function MyCanvas() 
{super(); } [...]override public function 
styleChanged(styleProp:String):void 
{super.styleChanged(styleProp);// Check to see if style 
changed. if (styleProp=="fillColors" || 
styleProp=="fillAlphas") {//bFillColorsChanged=true; 
invalidateDisplayList();return;}}// Override 
updateDisplayList() to update the component // based on the style 
setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
// Check to see if style changed. if 
(bFillColorsChanged==true) {// Redraw gradient fill only if style 
changed.fillColorsData = getStyle("fillColors");alphas = 
getStyle("fillAlphas");var m:Matrix = new 
Matrix();m.createGradientBox(unscaledWidth,unscaledHeight,-1.57,0,0);graphics.clear();graphics.beginGradientFill(GradientType.LINEAR,fillColorsData, 
alphas,ratios,m); graphics.drawRoundRect(0, 
0,unscaledWidth,unscaledHeight,Number(getStyle("cornerRadius"))); 
It works great, but I wanted to be able to 
specifi the colors,alphasand ratios easier. Then I've found LinearGradient 
and IFill, that wereused in charts to easily pass those values.I 
went a bit though the docs and the code and I tried this:package 
{public class MyCanvas2 extends Canvas{[Bindable]public var 
fill:IFill;// Constructor public function MyCanvas2() {super(); 
} // Override updateDisplayList() to update the component 
// based on the style setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
var rect: RoundedRectangle = new 
RoundedRectangle(0,0,unscaledWidth, 
unscaledHeight,Number(getStyle("cornerRadius")));if 
(fill) {graphics.clear(); fill.begin(graphics, 
rect);fill.end(graphics);graphics.drawRoundRect(rect.left, 
rect.top, 
rect.width,rect.height,rect.cornerRadius);But 
it's not working. Nothing is drawn. I guess I'm missing somemethod that 
needs override.Thanks,Cristian Pop--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" <[EMAIL PROTECTED].> wrote:>> > 
> Post away, Cristian. I wrote the gradient classes in the charts, 
and> can probably help.> > Ely.> > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of Cristian Pop> Sent: Thursday, November 02, 2006 1:57 
AM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] LinearGradient outside charts> > > 
> Hi,> > some time ago I've played a bit with creating 
components in AS and> I've extended the canvas to allow gradient using 
fillColors. > Back then I did not implement more than 2 colors.> 
In the meantime I've noticed the LinearGradient class and I thought> that 
I could use it to pass easier the parameters required by a> gradient. 
angle, fill colors, alphas and ratios.> > So I've triend to extend 
the Canvas adding a fill property (IFill) and> then in updateDisplayList 
to use the begin method of the Linear> Gradient to fill the graphics of 
the Canvas.> > I'm not sure what I'm doing wrong but it's not 
working. If anyone> knows how LinearGradient works and it can be used 
outside the scope> shown in the documentation please let me know.> 
> I will try to post the code later.> > Thanks,> 
> Cristian Pop>
__._,_.___





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

Re: [flexcoders] FDS-Hibernate Error: Error instantiating ... 'flex.data.assemblers.HibernateAssembler'

2006-11-02 Thread Douglas McCarroll
Hi Jeff,


Thanks for your response. I'm sending this to both you and the list, as 
it may be helpful to get this thread into the archive...


 > Do you have the JOTM configured as part of tomcat?
 > FDMS requires a JTA based transaction manager.

I have the JOTM .jars installed but didn't have the JOTM XML file for my 
app in tomcat-root/conf/Catalina/localhost.

But I don't think that that's the problem. Here's why (2 reasons):
1. When I try to do something like this I typically try to approach it 
in baby steps. In this case I first got a slightly modified version of 
Marcel Boucher's Hibernate example to work. It works. (Yay!) But I also 
didn't create a JOTM XML file for that project.
2. Just to be sure, I just created that file for my project and 
restarted Tomcat. Still doesn't work. :-(


 > Are you getting any other stack traces logged?
 > That stack trace is a chained exception… the
 > “root cause” is what we need to more fully
 > diagnose this case.

I've posted the entire log file at:

http://www.brightworks.com/localhost.2006-11-02.log

It's much more readable online than than it is when pasted into an 
email. Obviously, there are other log files but this is the only one 
that indicates a problem.


 > We do ship the source to the hibernate assembler
 > so if necessary you could use that to help debug
 > the problem.

Where would I find that? I've explored the WEB-INF folder of my project 
and it doesn't seem to be there...


Finally, let me tell you a bit about what I'm doing. An overview may 
help you to help me. My goal is to create a sample 
Cairngorm/FDMS/Hibernate app. This will help me learn, demonstrate my 
competency to future clients/employers, and hopefully help others. I've 
started with the MySQL sample Sakila database and used HibernateTools to 
auto-generate the Java and Hibernate files. Now I'm trying to graft the 
client-side code, and server side configs, from the Boucher example that 
I already have working onto it. He uses an "employee" table. Sakila is a 
DVD rental store DB and has an "actor" table that is quite similar. It 
should be fairly easy (or at least doable :-) to display data from this 
one table. Once I get that working I can renovate the client side into a 
Cairngorm architecture and start using other tables. Yum. :-)

Thanks,

Douglas




Jeff Vroom wrote:
>
> Do you have the JOTM configured as part of tomcat? FDMS requires a JTA 
> based transaction manager. See the Tomcat install instructions on this 
> page:
>
> http://www.adobe.com/support/documentation/en/flex/2/install.html 
> 
>
> It looks like there is an exception occurring when the hibernate 
> assembler is being initialized. One possibility is that JOTM is 
> missing, but it could be also be a hibernate specific problem . Are 
> you getting any other stack traces logged? That stack trace is a 
> chained exception… the “root cause” is what we need to more fully 
> diagnose this case. I checked on jrun and I am getting all of the 
> exceptions logged but this could be dependent on some jrun specific 
> code logs all of the stack traces when a servlet throws an exception 
> during startup.
>
> We do ship the source to the hibernate assembler so if necessary you 
> could use that to help debug the problem.
>
> Jeff
>
> 
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *Douglas McCarroll
> *Sent:* Wednesday, November 01, 2006 1:39 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] FDS-Hibernate Error: Error instantiating ... 
> 'flex.data.assemblers.HibernateAssembler'
>
> Hi All,
>
> Here's a more complete error message (from Tomcat's localhost log file):
>

>
>
>
>  



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] FDS Method Fill and List of parameters

2006-11-02 Thread Jeff Vroom












I don’t know for sure if this will
work with the current version of the hibernate assembler but it looks like it
might.  I’ll explain how it ought to work at least.  Your AS
code would look like:

 

taskDataService.fill(tasksArray, “tasksProjects”,
[[1, 2, 3]]);

 

Since you are using positional parameters
(not named parameters), you’d want to pass an array of parameters.  In
this case, the first value in the array is itself an array of integers.  In
Java, this array of integers should get turned into an Object[] containing Integer
objects.  

 

We provide the source code to the
hibernate assembler, so you can see that in the “fill” method of
that class, we are calling:

 


query.setParameter(position, paramValue);

 

In this case, paramValue ought to be the
Object[] above.  I am hoping that hibernate is smart enough to detect the
array type and deal with it properly.  If not, you might need to modify
the code… it looks like in the hibernate api they have
query.setParameterList(“name”, Object[]) which might be a better
variant to use to tell hibernate to expect the array parameter.   That
seems to only exist for named parameters so you’d have to change your
query to use “:name” instead of ? for your parameter.   

 

Jeff

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jonathan_merey
Sent: Thursday, November 02, 2006
8:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS Method
Fill and List of parameters



 







Hi,

I put this request in my mapping :

From Task where idProject in
(?)

I want to know how put in this call method to replace * :

taskDataService.fill(tasksArray, "tasksProjects", [*]);

The request must be like that :

select * From Task where idProject in (1, 2, 3)






__._,_.___





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

  




__,_._,___






Re: [flexcoders] Flex 2 - Extended Tree, now events aren't working : (

2006-11-02 Thread Michael Schmalle



Hi,Sounds like there is something messed up with the XML setting branches etc.When you subclass a Tree, everything will work as expected. Have you tried using the same XML source in a non subclassed Tree component?
When you say you are accessing it through a descriptor, did your write a custom data descriptor? If you did and did not implement IDataDescriptor and IMenuDataDescriptor that is your problem.Any more info would be great, I have a very good understanding of the tree and just don't have enough info from your post.
Peace, MikeOn 11/2/06, Roscoe P Coltrane <[EMAIL PROTECTED]> wrote:













  



I just want to make sure that this is supposed to work this way:
If you extend the Tree control, it should still open and close the 
nodes when you click on them, unless you override the click or change 
functions, right? Or do you have to implement them youself?

I extended the Tree control and set the dataProvider to a valid XML 
source. It displays the root node but will not expand when I click on 
it. If I manually expand them using the descriptor it works, but I 
don't want to rewrite Adobe's fine methods.

I know I have missed something simple somewhere...if someone could 
give me a little nudge in the right direction.

Thanks, R


  













-- What goes up, does come down.

__._,_.___





--
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] Re: Cairngorm 2 with Data Management

2006-11-02 Thread laidezmon
Thanks for the reply. 

Basically I already understand how to declare a result and a fault on
the dataService object when I declare it on the view .mxml file that
is instantiating it. But using Cairngorm 2.0 or 2.1 the services are
not actually called on the view that is accessing the data. The view
calls an actionscript function that creates an event, then the event
is fired, sent to the controller, the controller sends the event to
the command, a command calls a delegate which grabs an instance of
your services declaration, where you actually declare the DataManaged
service. So the problem is, if I call the DataManaged service through
that model, the actual service will have no idea how to pass back to
the command, the fault or result event. 


Jeremy.

--- In flexcoders@yahoogroups.com, Douglas McCarroll
<[EMAIL PROTECTED]> wrote:
>
> Laidezmon,
> 
> I'm working on the same thing but am not much (any?) further along than 
> you are.
> 
> But hope to be making progress in the coming days and weeks!
> 
> I'm taking the approach of getting the server-side connection set up 
> first. I'm using Data Management Services and Hibernate. I've
downloaded 
> the MySQL Sakila sample database, and used HibernateTools in Eclipse to 
> generate a bunch of Java files, Hibernate mapping files, and the 
> Hibernate config file. Now I'm trying to adapt Marcel Boucher's 
> Flex/Hibernate example to connect to one table in it. I haven't 
> succeeded yet, but hope to do so soon. Once I do I'd be happy to zip up 
> the entire webApp and send it to you. Note that the client side isn't 
> Cairngorm-based yet - that will be my next step - to renovate the
client 
> to a Cairngorm architecture...
> 
> Douglas
> 
> 
> 
> 
> laidezmon wrote:
> >
> > Anyone? Anyone at all?
> >
> > --- In flexcoders@yahoogroups.com 
> > , "laidezmon" 
wrote:
> > >
> > > Are there any examples out there on using Cairngorm and cairngorm
> > > events with the MVC and such, and using Data Manager. I heard at
max,
> > > that using Cairngorm with DMS is possible, but there dont seem to be
> > > any examples of its use out there.
> > >
> > > The reason I ask is because I understand with pointing grids and
such
> > > at the model, as the dataprovider, how that works, and I understand
> > > calling an event which calls the data service indirectly, but where
> > > would the model come into play logically, when DMS is handling
so much
> > > of the work directly from the grid?
> > >
> > > So any help would be appreciated.
> > >
> >
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Using effects in a tree

2006-11-02 Thread Wendy Espinoza



Not, it is rather the effect that it is possible to see in the list when an element is selected. The selected element appears in a gray color that is appearing from the center. A similar effect that this is the one that I would like.Joan Lafferty <[EMAIL PROTECTED]> escribió:   I don’t see a tree in that example. Do you mean when you select
 something in the list, you want the effect of that text at the bottom fading in and out?     Joan     From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of wespinozab Sent: Thursday, November 02, 2006 12:33 PM To: [EMAIL PROTECTED]ups.com Subject: [flexcoders] Using effects in a tree Hi, I want to use effects in a tree, specially when I select an element of the tree. An example is in this link http://www.5etdemi.com/uploads/movies.html, but it is in flash and since I am in flex. Has someone placed effects in trees?  Thank you for everything! wen  
  __Correo Yahoo!Espacio para todos tus mensajes, antivirus y antispam ¡gratis! Regístrate ya - http://correo.espanol.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
  
  
  

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] Re: Anyone know how this is accomplished?

2006-11-02 Thread jnewport
So if the panel is a custom component and that panelcomponent is in
another component how do you set the initial size without it pushing
out of the viewable area?

So what I have is this:

Mainapp
  - customCanvas
 - regPanel
 - customBubblepanel(panel I need to resize)

When I don't use height or width on the customCanvas, my regPanel &
customBubblepanel end up extemely long (causing scrolling).

Is there a way to tell all the components to only take up the correct
amount of space?

J 



--- In flexcoders@yahoogroups.com, "Rich Tretola" <[EMAIL PROTECTED]> wrote:
>
> You can just set the height property of an internal container to 0.
> 
> Here is a sample:
> 
> 
> http://www.adobe.com/2006/mxml";>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> Rich
> 
> 
> 
> 
> On 10/27/06, jnewport <[EMAIL PROTECTED]> wrote:
> > I found this link on dashboardSPY.
> >
> >
http://adb.crowecs.com/flex/activeDashboard/dashBoard.mxml?versionChecked=true
> >
> >
> > Does anyone know how they collapse the panels?  I am assuming it is by
> > removing the contents of the panel, thus allowing the panel to
> > collapse because its empty?  Does anyone know of an example?
> >
> > If you remove the child components from the panel does that kill it
> > for good, meaning when you bring it back do you have to call an
> > function to repopulate the child components of panel?  Or will they
> > repopulate on their own when brought back?
> >
> > Thanks in advance?
> >
> > J
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> 
> 
> -- 
> Rich Tretola
> 
> http://www.EverythingFlex.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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] How to set skin style to null in CSS?

2006-11-02 Thread Gordon Smith












someSelector { skin: ClassReference(null)
}

 

- Gordon

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Sergey Kovalyov
Sent: Thursday, November 02, 2006
4:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to set
skin style to null in CSS?



 







Hi All!

How to set skin style to null in CSS?

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
  
  
  

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 
   
 

  




__,_._,___






RE: [flexcoders] Two way data binding

2006-11-02 Thread Iko Knyphausen












I found the simplest way to be using
 If you search livedocs and the online
help in Flex Builder...you should find good examples. If you intend to bind
custom properties of your own components (for example) its a little more
involved... basically your setter function needs to dispatch an event so that
bound targets get notified and update their source...HTH







Good
evening Flex coders,

Can anyone recommend a good tutorial or instructions for two-way data
binding.  For example where a slider would show video progress but
adjusting the slider would move the video?

Thanks, 

Mani

-- 
Manuel Saint-Victor, MD
Jackson Healthcare System
Department of Psychiatry 






__._,_.___





--
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] Re: Event Listener Help!!!

2006-11-02 Thread s_hernandez01
Thanks guys, I believe I would want the total to update itself as the
user is changing the quantity, and not when they finish editing, but
it's a temporary solution though.  I didn't think about the editing
part since I was stressing on the change event. If anyone else knows
how I can code up the change event to my ArrayCollection in a datagrid
so that the total gets updated promptly, PLEASE PLEASE PLEASE HELP ME!!! 

-Sal


--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> You can use the grid's itemEditEnd handler to update the total after 
> the user has finished editing the item.  Also, set the grid's 
> editable property to true and each column's editable property as 
> desired.
> 
> If you want to actively track changes to the editor as the user 
> makes them instead of after the user has finished editing the item, 
> you may need to break the NumericStepper out as a component, and use 
> the change event to trigger your function.
> 
>  textAlign="center"
> itemEditEnd="callLater(calculateTotal)">
> 
>  editable="false"/>
>  dataField="qty" 
> rendererIsEditor="true" 
> itemRenderer="mx.controls.NumericStepper" editorDataField="value"/>
>  editable="false"/>
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "s_hernandez01" 
>  wrote:
> >
> > Can anyone tell me how I can get my event listener to update the 
> total
> > when the quantity is changed using the numericStepper inside a 
> datagrid?  
> > 
> > Thanks
> > 
> > Sal
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute" xmlns="*" creationComplete="calculateTotal()">
> > 
> > 
> > [Bindable]
> > public var total:Number=0;
> > [Bindable]
> > public var numProducts:int=0;
> > [Bindable]
> > public var myDP:ArrayCollection = new ArrayCollection();
> > 
> > public function calculateTotal():void{
> > var t:Number = 0;
> > var n:Number = 0;
> > for(var i:int = 0; i < myDP.length; i++){
> > n += myDP[i].qty;
> > t += myDP[i].price * myDP[i].qty;
> > }
> > total = t;
> > numProducts = n;
> > }
> > 
> > public function qtyChangeListener():void{
> > qtyChanger.addEventListener("change", calculateTotal);
> > }
> > 
> > 
> > 
> > 
> >  > rendererIsEditor="true" itemRenderer="mx.controls.NumericStepper"
> > editorDataField="value"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-11-02 Thread Brian Deitte





Hi Gordon, to add one more message to the long list, I'm 
excited about:
 

1. File system access
2. Offline access
3. No browser chrome
 
I hope for:
 

1. Associating a file extension with a specific Apollo 
application
2. Dragging files onto an application (and getting the 
filename or something else as an event in the 
application)
 
-Brian


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon 
SmithSent: Tuesday, October 31, 2006 3:41 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Just wondering, since 
I'm working on it... what features of Apollo are people most excited 
about?

- 
Gordon





From: 
[EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Andrew D. 
GoodfellowSent: Tuesday, 
October 31, 2006 6:15 AMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Isn´t there any 
release of Adobe Apollo yet? Alpha maybe




Yep, I know 
how you feel. The suspense is brutal. I could have already built and sold like 8 
products built on it.There are probably too many holes in it still, or 
at least that's what I keep telling myself. 
:o)-Andy

On 10/31/06, arianrechia  
wrote:




Hi people,I´m very exciting about Adobe Apollo, and 
I´ve been looking for somedownload to try the Apollo SDK, but with no 
success =(anyone already have a apollo alpha 
realease??thanxs



__._,_.___





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

  




__,_._,___



RE: [flexcoders] Using effects in a tree

2006-11-02 Thread Joan Lafferty












I don’t see a tree in that example.
Do you mean when you select something in the list, you want the effect of that
text at the bottom fading in and out?

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of wespinozab
Sent: Thursday, November 02, 2006
12:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using
effects in a tree



 







Hi, I want to use effects in a tree, specially when I
select an
element of the tree. An example is in this link
http://www.5etdemi.com/uploads/movies.html,
but it is in flash and
since I am in flex. Has someone placed effects in trees?

Thank you for everything!
wen






__._,_.___





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

  




__,_._,___






RE: [flexcoders] Multi-select not happening! - bug?

2006-11-02 Thread Joan Lafferty












For that link, multiple selection in the
list works for me in Firefox 2 on player 9.0.16. Are you on Mac or Linux. Can
you please verify your player number?

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sreejith Unnikrishnan
Sent: Thursday, November 02, 2006
8:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Multi-select not happening! - bug?



 









Hi Joan,





 





I put a sample that can be accessed at http://indesg.com/flexBugs/ListExample.swf





 





+++





 





The code is below:





?>
http://www.adobe.com/2006/mxml"
width="100%"
height="100%" creationComplete="initApp();"
viewSourceURL="srcview/index.html">
 
  
 
 
    
    
    
   
/>
   

   
/>
   

    
   

   
/>
   

    />
    />
        
     
 
 
  
   
   
allowMultipleSelection="true"
dragEnabled="true" 
change="popSelectItems(event)"/>
  
  
   
   
  
 
 
  "#ff">
   
   "true" />
  
  
   
   
dropEnabled="true"
dragDrop="doDragDrop(event)" dragEnabled="true"
labelField="@label"
showRoot="false" dataProvider="{treeData}"/>   
  
 






 





+++





 





Thanks





Sree





 





 







- Original Message - 





From: Joan Lafferty 





To: [EMAIL PROTECTED]ups.com






Sent: Thursday, November
02, 2006 4:06 AM





Subject: RE: [flexcoders]
Multi-select not happening! - bug?





 









Sreejith,

I ran your bugfile and it seems to run fine for me in
Firefox 2.0. Do you want to send the swf and mxml file to me offline? Also,
please confirm whether you are using a Mac, Windows or Linux machine.

Thanks,

Joan











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Sreejith Unnikrishnan
Sent: Wednesday, November 01, 2006
1:50 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders]
Multi-select not happening! - bug?













Well, I just
noticed that the multiSelect does not happen in Firefox 2.0.





It
works in IE though.





Is
this a bug?







-
Original Message - 





From: Sreejith Unnikrishnan






To: [EMAIL PROTECTED]ups.com 





Sent: Thursday, November 02, 2006 12:27 AM





Subject: **SL-JUNK** [flexcoders] Multi-select not happening!









The
multiSelect does not seem to be working. Any help?





Thanks





=





?>
http://www.adobe.com/2006/mxml"
width="500"
height="200" borderStyle="solid" creationComplete="initApp();">
 
  
 

 
  
  ion="true"
  dragEnabled="true"/>
 
 
  
  "true"/>
 


























__._,_.___





--
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] Two way data binding

2006-11-02 Thread Manuel Saint-Victor



Good evening Flex coders,Can anyone recommend a good tutorial or instructions for two-way data binding.  For example where a slider would show video progress but adjusting the slider would move the video?Thanks,
Mani-- Manuel Saint-Victor, MDJackson Healthcare SystemDepartment of Psychiatry

__._,_.___





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

  




__,_._,___



RE: [flexcoders] Adding a line series dynamically

2006-11-02 Thread Alex
Thanks Sam, I'll give it a try, although I suspect it will force to re-draw
the whole grid which I'd like to avoid. 

My client wants to have a lot of curves (say up to 300 curves, each curve
has at least  60-70 points) so I'm looking for the way to add them
dynamically one by one to avoid performance penalties related to parsing a
lot of XML.

Alex

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Samuel R. Neff
Sent: Thursday, November 02, 2006 7:15 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Adding a line series dynamically


You can force an update by calling

myChart.series = myChart.series;

which of course looks funny but invalidateSeries() is protected so you can't
call it directly.

HTH,

Sam

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alex
Sent: Thursday, November 02, 2006 10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding a line series dynamically


Hello flexcoders, 

Has someone managed to find a way to add new LineSeries dynamically?



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: Event Listener Help!!!

2006-11-02 Thread Doug Lowder
You can use the grid's itemEditEnd handler to update the total after 
the user has finished editing the item.  Also, set the grid's 
editable property to true and each column's editable property as 
desired.

If you want to actively track changes to the editor as the user 
makes them instead of after the user has finished editing the item, 
you may need to break the NumericStepper out as a component, and use 
the change event to trigger your function.










--- In flexcoders@yahoogroups.com, "s_hernandez01" 
<[EMAIL PROTECTED]> wrote:
>
> Can anyone tell me how I can get my event listener to update the 
total
> when the quantity is changed using the numericStepper inside a 
datagrid?  
> 
> Thanks
> 
> Sal
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute" xmlns="*" creationComplete="calculateTotal()">
> 
> 
> [Bindable]
> public var total:Number=0;
> [Bindable]
> public var numProducts:int=0;
> [Bindable]
> public var myDP:ArrayCollection = new ArrayCollection();
>   
> public function calculateTotal():void{
>   var t:Number = 0;
>   var n:Number = 0;
>   for(var i:int = 0; i < myDP.length; i++){
>   n += myDP[i].qty;
>   t += myDP[i].price * myDP[i].qty;
>   }
>   total = t;
>   numProducts = n;
> }
> 
> public function qtyChangeListener():void{
> qtyChanger.addEventListener("change", calculateTotal);
> }
> 
> 
> 
> 
>  rendererIsEditor="true" itemRenderer="mx.controls.NumericStepper"
> editorDataField="value"/>
> 
> 
> 
> 
> 
> 
> 
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Using effects in a tree

2006-11-02 Thread wespinozab
Hi, I want to use effects in a tree, specially when I select an
element of the tree. An example is in this link
http://www.5etdemi.com/uploads/movies.html, but it is in flash and
since I am in flex. Has someone placed effects in trees?

Thank you for everything!
wen




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Flex 2 - Extended Tree, now events aren't working : (

2006-11-02 Thread Roscoe P Coltrane
I just want to make sure that this is supposed to work this way:
If you extend the Tree control, it should still open and close the 
nodes when you click on them, unless you override the click or change 
functions, right? Or do you have to implement them youself?

I extended the Tree control and set the dataProvider to a valid XML 
source. It displays the root node but will not expand when I click on 
it. If I manually expand them using the descriptor it works, but I 
don't want to rewrite Adobe's fine methods.

I know I have missed something simple somewhere...if someone could 
give me a little nudge in the right direction.

Thanks, R




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-02 Thread Iko Knyphausen




















I think you can check the event Object’s
target and currentTarget properties in your change event handler of the grid. If
the event originated from the checkbox, you can ignore it... HTH

 

Hi again, 





 





I have a datagrid with a checkbox as itemrenderer. Datagrid
has a "change" event  and checkbox has a click event. 





If I click on checkbox, I want to execute checkbox click
event but NOT datagrid change event, but I don't know how to stop event
propagation.





 





Does anybody know?





 





Thanks again.








__._,_.___





--
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] specifying measuredWidth/measuredHeight in a skin

2006-11-02 Thread Brian Deitte
Ah, my first flexcoders post as a Flex developer.  I feel like I should
be getting my cloak and learning a secret handshake right now.

Is there a way to not specify the measuredWidth and measuredHeight in a
skin?  I don't like having to hardcode a width and height there, as I
currently have to do.

For more details, this is an application that is using absolute
positioning, and the skins are on Canvases.  If I don't specify the
measured width and height in the skin, then the drawRoundRect() doesn't
draw from the correct position, and the passed-in width and height from
updateDisplayList() doesn't seem to help with this fact.  Am I missing
something here?

Thanks for any pointers, Brian


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-02 Thread Jesús Iglesias





Hi again, 
 
I have a datagrid with a checkbox as itemrenderer. 
Datagrid has a "change" event  and checkbox has a click event. 

If I click on checkbox, I want to execute checkbox 
click event but NOT datagrid change event, but I don't know how to stop event 
propagation.
 
Does anybody know?
 
Thanks again.
__._,_.___





--
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] x, y, width, and height in CSS

2006-11-02 Thread Brian Deitte
Is there any thoughts on having x, y, width, and height in CSS?  I find
it painful to not have the values there when working with a designer and
using absolute positioning.  My life would be much easier if I could
simply set up the Flex application on the designer's machine, point him
to the CSS, and let him make design changes himself.

I've read Manish's posts on this
(http://mannu.livejournal.com/359634.html,
http://mannu.livejournal.com/299285.html) as well as Gordon's flexcoders
post where he says this is by design.  I assume this is by design for
performance reasons, and that the framework would be slowed down by
having to look up the values continuously to check for runtime changes.
So how about special-casing these four values in CSS, and allowing them
to continue to be properties?

-Brian


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] FDS Method Fill and List of parameters

2006-11-02 Thread jonathan_merey
Hi,

I put this request in my mapping :

From Task where idProject in (?)

I want to know how put in this call method to replace * :

taskDataService.fill(tasksArray, "tasksProjects", [*]);

The request must be like that :

select * From Task where idProject in (1, 2, 3)





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Flex2 Framework design issue ?

2006-11-02 Thread t_levieux

You can find below a question posted two months ago at Abobe Flex Forum
but no one answered. Please, give me another chance !
Note that this question was raised with the development of modular
applications in mind...





In my opinion, there's a design issue within the Flex Framework.
Let's consider the following UIComponent's method :

public function getClassStyleDeclarations():Array
{
var myRoot:DisplayObject = SystemManager.getSWFRoot(this);
...
}

It means that the whole UIComponent architecture is tied with a sole
IFlexModuleFactory class: SystemManager.
So what happens if I decide to load another application using my own
module factory ? In that case UIComponent may not be able to retrieve
the SWF that contains its class definition.

I think one indirection level is missing (via a module repository or a
stuff like that)...

Does someone share my view ?

Rgds,
Thierry








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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Checkbox in Datagrid - checks disappear when scrolling

2006-11-02 Thread Tracy Spratt












Yes, I think “data.isSelected=cb.selected”
is the key.

 

You absolutely must update the
dataProvider for the checkboxes to work correctly.  The list controls re-use
the visual elements when you scroll.

 

Perhaps modifying your original code to
the below might work.



 

Tracy

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John Zhao
Sent: Thursday, November 02, 2006
11:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Checkbox
in Datagrid - checks disappear when scrolling



 







Try this as
the ItemRenderer instead.

 


  
   "center"
backgroundAlpha="100"  >
  

  
 
  
  
   
  

  
   
  
   



 





-John











From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of app.developer
Sent: Thursday, November 02, 2006
10:53 AM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Checkbox in
Datagrid - checks disappear when scrolling



If I use

> 

 




horizontalCenter="0" verticalCenter="0"/>
"value"/>
 



for the DataGridColumn

"true"

editorDataField="value" textAlign="center" 
itemRenderer="{inlineEditor}"/>

the selected checkboxes are not selected if a scroll through the 
dataGrid. Has anyone had this problem and solved it?

Precia










__._,_.___





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

  




__,_._,___






Re: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something - solved

2006-11-02 Thread Paul Evans
Thanks to all responders.

On 2 Nov 2006, at 18:03, Igor Costa wrote:
> myMC.doubleClickEnabled = true;

Yep that did it.

doubleClickEnabled being a property of InteractiveObject, from which  
MovieClip inherits.

I guess it would have helped if this special case had been mentioned  
in the docs relating to mouse events - as none of the other events  
need this kind of property to be active.

Thanks again

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] set one tab on tabnavigator without complete first

2006-11-02 Thread Jesús Iglesias





Hi, 
Ia have a tabNabigator with many tabs. I need some 
users to first open tabNavigator on one concrete tab, not the first, and in this 
case I don't want creationComplete event on this first tab to be executed. I can 
change the default tab to see, but first tab is always "created" completely. 

 
¿Can this be done?
 
Thanks.
__._,_.___





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

  




__,_._,___



RE: [flexcoders] Disabling mouse/keyboard interaction while BusyCursor is set

2006-11-02 Thread Thomas W. Gonzalez












You might try popping up a model status
panel or something, this would disable the other elements AND give a better
visual indication that the user should not be interacting with the App. 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of lokesh2084
Sent: Thursday, November 02, 2006
8:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Disabling
mouse/keyboard interaction while BusyCursor is set



 







When fetching large sets of data to populate some of
our screens, the
user gets a little time to watch the busy cursor spin around.
Temptation to click buttons and other interface elements exists and
this can cause unwanted results. Just curious on how others have
handled this.

Disabled all keyboard, mouse interaction? Hid problem UI elements till
data has been fetched? Loaded everything up front and used a progress
bar? any comments are appreciated.

--Lokesh






__._,_.___





--
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] Re: how to reach application variables from itemRenderer component of a datagrid

2006-11-02 Thread Doug Lowder



I think you'd need to use outerDocument in this case.  More info here:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0843.html
--- In flexcoders@yahoogroups.com, "flexcoders" <[EMAIL PROTECTED]> wrote:>> Hi all,> > I have a problem with custom itemRenderer in datagrid.> > My application needs a complex itemRenderer for a column in a dataGrid.> > The user can choose value of this cell from a Window with two List.> > My idea was that i put a button to that cell, and when user press it, the> chooser window shows up with the cell specific parameters, select something> and ok.> > The problem is that i cannot reach the application functions and variables> from the custom itemrenderer component.> > I tried to use a caller property (i found an example in the Flex help), but> i couldnt use it in an itemRenderer.> > Please tell me what do i wrong! Maybe the answer is very simple, but i am> newbe in flex :- )> > Thanx> > Horváth Balázs> > Technoart, Debrecen> > Hungary>

__._,_.___





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

  




__,_._,___



RE: [flexcoders] how to reach application variables from itemRenderer component of a datagrid

2006-11-02 Thread Iko Knyphausen












There are several keywords you can use to
access data outside the scope of your custom component. You can use the outerDocument
prefix if you want to reach custom data in the scope of the datagridcolumn, or
you can use parentDocument if you want to reach application level data. HTH
-Iko









Hi all,

I have a
problem with custom itemRenderer in datagrid.

My
application needs a complex itemRenderer for a column in a dataGrid.

The user can
choose value of this cell from a Window with two List.

My idea was
that i put a button to that cell, and when user press it, the chooser window
shows up with the cell specific parameters, select something and ok.

The problem
is that i cannot reach the application functions and variables from the custom
itemrenderer component.

I tried to
use a caller property (i found an example in the Flex help), but i couldnt use
it in an itemRenderer.

Please tell
me what do i wrong! Maybe the answer is very simple, but i am newbe in flex :- )

Thanx

Horváth
Balázs

Technoart, Debrecen

Hungary

 

 








__._,_.___





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

  




__,_._,___






RE: [flexcoders] Re: LinearGradient outside charts

2006-11-02 Thread Ely Greenfield





 
 
 
Ah, you're using the primitive graphics API, not the 
mx.graphics.LinearGradient class.  Good, that's probably the right way to 
go.
 
 
A couple of questions for you:
 
1) Have you tried writing a simpler version that just uses 
a solid color?  That might make show you whether the problem is with the 
gradient code, or rendering in particular.
 
2) when flex containers show borders, they're actually 
creating a border object and adding it as a child.  In flash, the graphics 
of a Displayobject get rendered behind the children of the display object. Which 
means if your component is showing a border or background ( i.e., a 
background as rendererd by the base class), it will obscure any drawing you do 
in the component itself.
 
3) often, when people are writing custom components, they 
reasonably assume that Canvas is the right starting point, when really they 
should be using UIComponent as their base class.  What kind of a component 
are you writing? Are you just creating a Canvas with better  background 
capabilities? Or are you creating something else?  If it's something else, 
what's your reasoning for using Canvas as the base?
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Cristian 
PopSent: Thursday, November 02, 2006 10:40 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: LinearGradient 
outside charts


Thanks Ely,I'm happy to learn from the masters :-) I'm absolutely in 
love withwhat you do at quietlyscheming.com.I'm a beginner with 
extending components in AS and I admit that Idon't yet fully understand the 
display hierarchy and the componentlive cycle.I wanted to extend the 
canvas to allow gradient, using the fillCollorand fillAlpha 
styles.So I did something like this, based on an example from the docs. 
(Iskip the style management code and give you onli the update 
method)package{[...]// Define the variable to hold the 
current gradient fill colors.private var fillColorsData:Array;// 
Define the flag that indicates a change to fillColors.private var 
bFillColorsChanged:Boolean = true;// Define variables for 
additional controls on the fill.// You can create style properties for these 
as well.private var alphas:Array = [0.8, 0.2];private var ratios:Array = 
[0x00, 0xFF];// Constructor public function MyCanvas() 
{super(); } [...]override public function 
styleChanged(styleProp:String):void 
{super.styleChanged(styleProp);// Check to see if style 
changed. if (styleProp=="fillColors" || 
styleProp=="fillAlphas") {//bFillColorsChanged=true; 
invalidateDisplayList();return;}}// Override 
updateDisplayList() to update the component // based on the style 
setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
// Check to see if style changed. if 
(bFillColorsChanged==true) {// Redraw gradient fill only if style 
changed.fillColorsData = getStyle("fillColors");alphas = 
getStyle("fillAlphas");var m:Matrix = new 
Matrix();m.createGradientBox(unscaledWidth,unscaledHeight,-1.57,0,0);graphics.clear();graphics.beginGradientFill(GradientType.LINEAR,fillColorsData, 
alphas,ratios,m); graphics.drawRoundRect(0, 
0,unscaledWidth,unscaledHeight,Number(getStyle("cornerRadius"))); 
It works great, but I wanted to be able to 
specifi the colors,alphasand ratios easier. Then I've found LinearGradient 
and IFill, that wereused in charts to easily pass those values.I 
went a bit though the docs and the code and I tried this:package 
{public class MyCanvas2 extends Canvas{[Bindable]public var 
fill:IFill;// Constructor public function MyCanvas2() {super(); 
} // Override updateDisplayList() to update the component 
// based on the style setting.override protected 
functionupdateDisplayList(unscaledWidth:Number, 
unscaledHeight:Number):void 
{super.updateDisplayList(unscaledWidth, unscaledHeight); 
var rect: RoundedRectangle = new 
RoundedRectangle(0,0,unscaledWidth, 
unscaledHeight,Number(getStyle("cornerRadius")));if 
(fill) {graphics.clear(); fill.begin(graphics, 
rect);fill.end(graphics);graphics.drawRoundRect(rect.left, 
rect.top, 
rect.width,rect.height,rect.cornerRadius);But 
it's not working. Nothing is drawn. I guess I'm missing somemethod that 
needs override.Thanks,Cristian Pop--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" <[EMAIL PROTECTED].> wrote:>> > 
> Post away, Cristian. I wrote the gradient classes in the charts, 
and> can probably help.> > Ely.> > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of Cristian Pop> Sent: Thursday, November 02, 2006 1:57 
AM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] LinearGradient outside charts> > > 
> Hi,> > some time ago I've played a bit with creating 
components in AS and> I've extended the canvas to allow gradient using 
fillColors. > Back then I did not implement more than 2 colors.> 
In the meantime I'v

RE: [flexcoders] How to initialize an editable combobox to an empty string?

2006-11-02 Thread Iko Knyphausen












Try combobox.selectedIndex = -1 (not
selectedItem)







I have a requirement for a combobox with several
choices in it, but it 
is editable and I want the text field to start empty, i.e. not have any 
of the choices in it.

I have tried the following:
1. combobox.selectedItem = -1
2. combobox.text = "";

Neither one works -- the combo box still starts with the textinput area 
containing the text of the first choice of the dataprovider.

I suppose I could hack this by adding an initial choice to the 
dataprovider of an empty string, but is there some other way?

Thanks in advance,

Jeremy






__._,_.___





--
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] How to initialize an editable combobox to an empty string?

2006-11-02 Thread jeremyrichman
I have a requirement for a combobox with several choices in it, but it 
is editable and I want the text field to start empty, i.e. not have any 
of the choices in it.

I have tried the following:
1. combobox.selectedItem = -1
2. combobox.text = "";

Neither one works -- the combo box still starts with the textinput area 
containing the text of the first choice of the dataprovider.

I suppose I could hack this by adding an initial choice to the 
dataprovider of an empty string, but is there some other way?

Thanks in advance,

Jeremy




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] DataGridColumn height being set too short ...

2006-11-02 Thread Paul Dale

A Datagrid that was automatically setting the height to the actual height of
the contents has started displaying the columns too short. If you click on
the column you can scroll down, but I haven't been able to get it to set
them automatically again.

Has anyone else seen this? Any suggestions on how to fix this?

Thanks!

Paul



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Flex Development, San Diego

2006-11-02 Thread Bryan Wirth



I’m hoping that someone in the San Diego Flex community could be of assistance to me.  Please contact me and let me know.     My client, located in San Diego, a leader in their industry, is in the midst of a major re-architecting of their Corporate Management system using many cutting edge technologies, but as it relates to this, they are using Flex as their UI.  The project, and the organization, is extremely exciting. I am currently looking for a Senior Flex Developer who is interested in a 6 month consulting opportunity.   
    As a brief introduction, my company, Surrex Solutions is a national I.T. Consulting firm with 25 offices nationally and is one of the fasting growing consulting firms in Southern California.       http://www.surrex.com     Thank you for your time and consideration.     Best regards,     Bryan Wirth  Senior Consulting Services Manager  Surrex Solutions Corporation  office: (310) 426-2306   fax (866) 302-4209  [EMAIL PROTECTED]  www.surrex.com  "Excellence in fulfilling the promise" 

Access over 1 million songs - Yahoo! Music Unlimited Try it today.

__._,_.___





--
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] Re: LinearGradient outside charts

2006-11-02 Thread Cristian Pop
Thanks Ely,

I'm happy to learn from the masters :-) I'm absolutely in love with
what you do at quietlyscheming.com.

I'm a beginner with extending components in AS and I admit that I
don't yet fully understand the display hierarchy and the component
live cycle.
I wanted to extend the canvas to allow gradient, using the fillCollor
and fillAlpha styles.

So I did something like this, based on an example from the docs. (I
skip the style management code and give you onli the update method
)

package
{
[...]
// Define the variable to hold the current gradient fill colors.
private var fillColorsData:Array;
// Define the flag that indicates a change to fillColors.
private var bFillColorsChanged:Boolean = true;

// Define variables for additional controls on the fill.
// You can create style properties for these as well.
private var alphas:Array = [0.8, 0.2];
private var ratios:Array = [0x00, 0xFF];
   

// Constructor
public function MyCanvas() {
super();
}
[...]
override public function styleChanged(styleProp:String):void {

super.styleChanged(styleProp);
// Check to see if style changed. 
if (styleProp=="fillColors" || styleProp=="fillAlphas") 
{
//bFillColorsChanged=true; 
invalidateDisplayList();
return;
}
}
// Override updateDisplayList() to update the component 
// based on the style setting.
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

super.updateDisplayList(unscaledWidth, unscaledHeight);   

// Check to see if style changed. 

if (bFillColorsChanged==true) 
{
// Redraw gradient fill only if style changed.
fillColorsData = getStyle("fillColors");
alphas = getStyle("fillAlphas");
var m:Matrix = new Matrix();
m.createGradientBox(
  unscaledWidth,
  unscaledHeight,
  -1.57,
  0,
  0
);
graphics.clear();
graphics.beginGradientFill(
  GradientType.LINEAR,
  fillColorsData, 
  alphas,
  ratios,
  m
);  
graphics.drawRoundRect(
 0, 
 0,
 unscaledWidth,
 unscaledHeight,
 Number(getStyle("cornerRadius"))
);   
}

}
}
}

It works great, but I wanted to be able to specifi the colors,alphas
and ratios easier. Then I've found LinearGradient and IFill, that were
used in charts to easily pass those values.

I went a bit though the docs and the code and I tried this:

package 
{
public class MyCanvas2  extends Canvas
{
[Bindable]
public var fill:IFill;
  
// Constructor
public function MyCanvas2() {
super();
}


// Override updateDisplayList() to update the component 
// based on the style setting.
override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void {

super.updateDisplayList(unscaledWidth, unscaledHeight);   
var rect: RoundedRectangle = 
  new RoundedRectangle(
0,
0,
unscaledWidth, 
unscaledHeight,
Number(getStyle("cornerRadius"))
  );

if (fill) {
graphics.clear();   
fill.begin(graphics, rect);
fill.end(graphics);
graphics.drawRoundRect(
  rect.left, 
  rect.top, 
  rect.width,
  rect.height,
  rect.cornerRadius);

}
}
}
}

But it's not working. Nothing is drawn. I guess I'm missing some
method that needs override.

Thanks,

Cristian Pop

--- In flexcoders@yahoogroups.com, "Ely Greenfield" <[EMAIL PROTECTED]> wrote:
>
>  
>  
> Post away, Cristian.  I wrote the gradient classes in the charts, and
> can probably help.
>  
> Ely.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Cristian Pop
> Sent: Thursday, November 02, 2006 1:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] LinearGradient outside charts
> 
> 
> 
> Hi,
> 
> some time ago I've played a bit with creating components in AS and
> I've extended the canvas to allow grad

[flexcoders] how to reach application variables from itemRenderer component of a datagrid

2006-11-02 Thread flexcoders










Hi all,

I have a problem with custom itemRenderer in datagrid.

My application needs a complex itemRenderer for a column in
a dataGrid.

The user can choose value of this cell from a Window with
two List.

My idea was that i put a button to that cell, and when user
press it, the chooser window shows up with the cell specific parameters, select
something and ok.

The problem is that i cannot reach the application functions
and variables from the custom itemrenderer component.

I tried to use a caller property (i found an example in the
Flex help), but i couldnt use it in an itemRenderer.

Please tell me what do i wrong! Maybe the answer is very
simple, but i am newbe in flex :- )

Thanx

Horváth Balázs

Technoart, Debrecen

Hungary

 

 




__._,_.___





--
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] Re: Checkbox in Datagrid - checks disappear when scrolling

2006-11-02 Thread app.developer
Based on your exampleit works

   




  






Thank you, 

Precia




--- In flexcoders@yahoogroups.com, "John Zhao" <[EMAIL PROTECTED]> wrote:
>
> Try this as the ItemRenderer instead.
>  
> 
>backgroundAlpha="100"  >
>
> 
>  
> click="selected=data.isSelected=cb.selected;"  />
>   
>   
>  
> -John
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of app.developer
>   Sent: Thursday, November 02, 2006 10:53 AM
>   To: flexcoders@yahoogroups.com
>   Subject: [flexcoders] Checkbox in Datagrid - checks disappear
> when scrolling
>   
>   
> 
>   If I use
>   
>
>   
>
>   
>   
>   
>
>   horizontalCenter="0" verticalCenter="0"/>
>   
>
>   
>   
>   
>   for the DataGridColumn
>   
>rendererIsEditor="true" 
>   editorDataField="value" textAlign="center" 
>   itemRenderer="{inlineEditor}"/>
>   
>   the selected checkboxes are not selected if a scroll 
through
> the 
>   dataGrid. Has anyone had this problem and solved it?
>   
>   Precia
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Thomas W. Gonzalez














I believe certain display objects have a
property called something like “doubleClickEnabled” that you need
to set to receive/fire those events.

 

- Tom

 



 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Evans
Sent: Thursday, November 02, 2006
8:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
MouseEvent.DOUBLE_CLICK am I missing something



 







In my first week of ActionScript 3 development.
Working on Mac OS X 
with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Just tried listening for MouseEvent.DOUBLE_CLICK on a MovieClip using 
Flash 9 preview and found that the event never seems to fire.

I also compiled MouseEventExample from the Adobe docs and found that 
all the mouse events fire except DOUBLE_CLICK and MOUSE_WHEEL. 
(Though MOUSE_WHEEL does work on a pc)

( MouseEventExample is at the foot of this page http:// 
livedocs.macromedia.com/flex/2/langref/index.html?flash/events/

MouseEvent.html&flash/events/class-list.html )

All my reference sources simply present the code as though it should 
work. Am I missing something? Any pointers much appreciated.

Thanks

Paul
-- 
[ http://www.creative-cognition.co.uk/
]
[ http://creacog.wordpress.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
  
  
  

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] input type="reset"

2006-11-02 Thread DJ Lift
Hey there,
Is there something in flex that's similar to the input  type="reset" in html? 
So that all the form  
fields will reset to the values they were created with? Or do you have to 
program this 
yourself?
Thanks,
mark





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [Junk E-Mail - LOW] Re: [flexcoders] Unsupported File Type error

2006-11-02 Thread Igor Costa



try to create a new file .mxml than copy the code from your last application and paste inside this new one.Than, delete the at least the main.mxml of you created and set this new one to be default application.
After that, do the same thing with .css file, copy the code in the current one than create a new one file .css and paste the code.RegardsOn 11/2/06, 
Shannon Hicks <[EMAIL PROTECTED]> wrote:













  






Followed your steps, didn't fix the 
problem.
 
Shan


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Igor 
CostaSent: Thursday, November 02, 2006 12:03 PMTo: 
[EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] Re: 
[flexcoders] Unsupported File Type error


Just click on the right proper Application.mxml that you have and set as 
default Application, than click on Build Automatly and disable this option than, 
just go again in the project menu and clean the project.So, just enable 
again the build Auto and test your app. will stop your error. 
Regards.
On 11/2/06, Shannon 
Hicks <[EMAIL PROTECTED]> 
wrote:

  
  
  
  
  
  I accidentally right-clicked the wrong file (styles.css) in my project 
  and told FB2 to make it the default application. I set the correct file to the 
  default application file, but now I can't get rid of the error "Unsupported 
  file type: c:\blahblahblah\styles.css"I've done cleans, 
  closed/opened the project and eclipse to no avail. How can I fix this? I can't 
  build my project till the error goes away, of course. 
   
  Shan
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.5.430 / Virus Database: 268.13.23/513 - 
  Release Date: 11/2/2006 7:40 AM
  -- 
Igor Costawww.igorcosta.com 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.5.430 / Virus Database: 268.13.23/513 - Release 
Date: 11/2/2006 7:40 AM


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM
 

  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



RE: [flexcoders] Experience with the Adobe Developer Support Program

2006-11-02 Thread Iko Knyphausen












Thanks Stace. That’s encouraging. I
will give them a call and ask for the specifics. It sounds that top level
support was a little more pricy than 1500$ ;-) Thanks for sharing...









I’ve only joined Adobe recently so perhaps my opinion is not as biased. ;-)

 

As a customer I’ve had great experiences with Flex support.
Although I should note my previous employer had top level support so keep in
mind your mileage may vary depending on the support program.

 

Essentially any time we were “stuck” on a project,
whether it be configuring RTMPS, clustering FDS or trying to figure out
FileReference limitations …a simple phone call to support got the ball
rolling on a solution. If first level support can’t supply an answer they
pursue the matter up the chain until they find someone that can. Every issue
was solved within a few hours.

 

For larger installations I’d highly recommend support
…at least for the first year as your company learns and adopts the
technology as there are always growing pains. I believe you can ask what
specific services are included with each level of support.

 

HTH,

Stace

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Iko Knyphausen
Sent: Thursday, November 02, 2006
2:17 AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders]
Experience with the Adobe Developer Support Program



 











Ok, will send
money tomorrow ;-)

Seriously, I think
Flex is a winner, just requires hard work from you guys on an ongoing basis.
Quite frankly, Flex is the only truly integrated RIA platform –
everything else pieced together and it shows.







From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Matt Chotin
Sent: Wednesday, November 01, 2006
10:54 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders]
Experience with the Adobe Developer Support Program



 









I think we’re an important share.  Lots of existing and
new products are using Flex for various pieces, it’s been exciting to see
so many folks internally using Flex, not just on the outside J



 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Iko Knyphausen
Sent: Wednesday, November 01, 2006
10:33 PM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders]
Experience with the Adobe Developer Support Program



 









Thanks for your answer. One of the reasons why I am considering the
dev support program is that I have been on the flexcoder list for a while now
and many of my posts remained unanswered. I am not blaming the list –
it’s just the nature of the biest: some problems are complex and require
work to reproduce – you cannot expect your peers to invest that kind of
time. Unless someone has already been there and experienced the same issue or
challenge, chances you get an answer are slim...understandably. Speaking
of “shareholder” – I was considering investing into your
company’s stock. I think that Flex has all the right ingredients for a
disruptive technology (=revolution) and I like the grassroots approach –
that’s how good things are made – but I am wondering how important
a share this has in the overall Adobe portfolio. If “Flex Inc.” was
traded on NASDAQ I would bet on it big time. ;-)









I believe that the enterprise developer support is not going to
provide coaching.  It should provide bug support though (the turnaround is
approximately 1 business day).  I think it could be a good thing, but you
may want to keep an eye on flexcoders and the Adobe forums for a while and see
how you’re doing after a week or two and if this might be
sufficient.  Of course as an Adobe shareholder/employee I of course
recommend you buying support J 



 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of iko_knyphausen
Sent: Monday, October 30, 2006
11:16 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Experience
with the Adobe Developer Support Program



 







I am
considering signing up for the Adobe Developer Support program. I think it's
about 1500$ per year, if I remember correctly. Before I do spend that kind of
money though,  I want to know whether it will do for me what I hope it
does. Does anyone on this list have experience with the program? Of
course, Adobe people are more than invited to answer my questions below too ...
;-)

I have a
big project ahead of me, and I can already tell, there will be 


 Issues relating to bugs - for
 which I would need confirmation that they are in fact bugs so I can
 stop wondering and get busy with work-arounds
 Issues with proficiency - meaning: my own
 lack of experience with Flex, AS, and Flash. Does the support program
 provide "coaching" ? In other words, can I send
 in  descriptions of specific problems and expect some kind
 of "how-to" response? Not necessarily code, but steps to understake?


Maybe, I
should also ask the other way around: What will I not get from the Dev Support

RE: [flexcoders] Re: Adding rows to dataGrid programatically

2006-11-02 Thread Iko Knyphausen












Thanks Mike. I thought about cloning, but then
I would have to know about the children to be able and change them. Basically I
am trying to insert a blank record. Probably I will end up reading the tokens
of the dataProvider name, the last token corresponds to the root tag of each
row... I was just hoping for a simpler “trick”...   








I am not sure this is going to answer your question, but you could
clone one of the other rows and just change the contents. That way you
would not need to know specifically what the root tag of the
particular node is..

--Mike

--- In [EMAIL PROTECTED]ups.com,
"iko_knyphausen" <[EMAIL PROTECTED]> wrote:
>
> 
> Trying to add rows to a datagrid programmatically. Works ok using the
> dataProvider.addItem function, however it requires a named
"row-node" -
> see below. I would like to make this more generic. Is there a way to do
> this without knowing each rows element name?
> 
> private function addRow() : void
> {
> this.dg.dataProvider.addItem(XML(""));
> }
> 
> 
> Thanks.
>






__._,_.___





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

  




__,_._,___






Re: [flexcoders] AddChild() Exceptions

2006-11-02 Thread Igor Costa



Ciaarán where do you add your child? what container?This error that happens seems that out of bounds it's because you're trying to attach a new child in the not supported container.Regards
On 11/2/06, Ciarán <[EMAIL PROTECTED]> wrote:













  



Hi All,

I'm having a slight problem building a custom component. The basic
idea is a combination of a primary image container, and a Tile()
container providing a selection of images. When selected, each image
would appear as a primary image.

This sounds tediously simple. I'm implementing it upon the principle
that a change event is broadcast when a setter is called, which has a
registered listener that updates the component. It attempts to replace
the at index 0.

The annoying thing is that if I implement this from a vanilla
perspective (blank text file), it works fine (making things much
harder to debug since I can't reproduce the behaviour) - however in
the context of the application I'm developing, it throws an exception:

RangeError: Error #2006: The supplied index is out of bounds.
	at flash.display::DisplayObjectContainer/getChildAt()
	at mx.core::Container/getChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2384]
	at mx.core::UIComponent/notifyStyleChangeInChildren()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7099]
	at mx.core::Container/mx.core:Container::commitProperties()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2680]
	at mx.core::UIComponent/validateProperties()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5218]
	at mx.managers::LayoutManager/mx.managers:LayoutManager::validateProperties()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:517]
	at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:628]
	at Function/http://adobe.com/AS3/2006/builtin::apply()
	at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789
]
	at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732
]

This happens when the addChildAt() method gets called. Without
divulging context, is there any obvious reason why I'm getting this
exception? I've been battling this for hours now and it won't yield.
If I'm not doing something incredibly stupid that would cause this,
please let me know.

Intuitively, it seems like the addChild() is triggering something at
the wrong moment in time,  giving something similar to an "Array out
of bounds" as it looks for stuff to render. I understand most of the
trace atomically speaking, but on the whole I have no idea how to
remedy it.

Also, I have an annoying problem with Flexbuilder. Breakpoints dont
seem to work for me at all. I can't find any setting that implies this
might've been turned off, so I'm not sure what to do about it. Perhaps
find the checkbox that says "Don't work properly" and untick it.

Any clues would be much appreciated =)

Kind Regards,

Ciarán

  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



Re: [flexcoders] 2 questions

2006-11-02 Thread Igor Costa



better uses of viewStackOn 11/2/06, DJ Lift <[EMAIL PROTECTED]> wrote:













  



Hi there,

Have some questions about the best practice way of designing apps.

I'm building a simple email server preferences application. And I've created two 
components. One for handling the login (which hits amfphp and ldap on the backend) and 
one for loading and changing/saving the user prefs (which also hits amfphp and ldap on 
the backend).

There are really only two "states", login handilng, and prefs changing.

Question 1: Is it best to use States or ViewStacks to deal with changing "app states"?

on to my second question...

The login component is sorta self sufficient. It can handle good logins and bad ones. and 
if it's a good login can switch the current state to the preferences state (as viewstates are 
what i'm currently working with.) But when i get to the email preferences state, it wants to 
know things from the login component, like email and password. 

Question 2: Is it good practice to have components be able to talk and share information 
with one another? And if so, how do you keep them around and reference them if you're 
using viewstates?

Thanks,
mark


  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



RE: [Junk E-Mail - LOW] Re: [flexcoders] Unsupported File Type error

2006-11-02 Thread Shannon Hicks





Followed your steps, didn't fix the 
problem.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Igor 
CostaSent: Thursday, November 02, 2006 12:03 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: 
[flexcoders] Unsupported File Type error


Just click on the right proper Application.mxml that you have and set as 
default Application, than click on Build Automatly and disable this option than, 
just go again in the project menu and clean the project.So, just enable 
again the build Auto and test your app. will stop your error. 
Regards.
On 11/2/06, Shannon 
Hicks <[EMAIL PROTECTED]com> 
wrote:

  
  
  
  
  
  I accidentally right-clicked the wrong file (styles.css) in my project 
  and told FB2 to make it the default application. I set the correct file to the 
  default application file, but now I can't get rid of the error "Unsupported 
  file type: c:\blahblahblah\styles.css"I've done cleans, 
  closed/opened the project and eclipse to no avail. How can I fix this? I can't 
  build my project till the error goes away, of course. 
   
  Shan
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.5.430 / Virus Database: 268.13.23/513 - 
  Release Date: 11/2/2006 7:40 AM
  -- 
Igor Costawww.igorcosta.com 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.5.430 / Virus Database: 268.13.23/513 - Release 
Date: 11/2/2006 7:40 AM
__._,_.___





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

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM
 


Re: [flexcoders] using JMS with Flex

2006-11-02 Thread Igor Costa



Yes you can find more information right here.http://www.flex-flex.net/blog/article.asp?id=22Regards.On 11/2/06, 
fuad_kamal <[EMAIL PROTECTED]> wrote:













  



Answered my own question...

btw I meant JMS (Java Message Service), not JSM (Java Service Manager,
also there is a 'Java Soccer Manager' app out there... ;P).

FDS installs samples by default, including JMS.  See "Collaborative
Dashboard" sample...

--- In flexcoders@yahoogroups.com, "fuad_kamal" <[EMAIL PROTECTED]> wrote:
>
> Couple unrelated questions:
> 
> first, regarding Cairngorm:
> 
> Generally we use one front controller instance to capture user
> gestures, and yet another front controller instance to capture 'server
> gestures' - to capture events sent from the server and respond to
> them.  Is this an appropriate model or is my thinking flawed?
> 
> Mind you, I'm not talking about initiating a remote call via a
> delegate - we have an open socket with the server and the server will
> initiate an event based on whatever is happening on 'the other side'.
> 
> Secondly,
> 
> Can someone point me towards any good references to using JSM from
> Flex / FDS?  I haven't really seen any substantial examples; I've read
> the related articles from the  farata systems folks and wasn't really
> satisfied.  Also I need to understand this from the AS developer's
> standpoint, not the Java developer's viewpoint.
>


  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



Re: [flexcoders] Event Listener Help!!!

2006-11-02 Thread Igor Costa



you need to tell the getter and setter to change that.try to catch up with change="event"regards.On 11/2/06, s_hernandez01 <
[EMAIL PROTECTED]> wrote:












  



Can anyone tell me how I can get my event listener to update the total
when the quantity is changed using the numericStepper inside a datagrid?  

Thanks

Sal

http://www.adobe.com/2006/mxml"
layout="absolute" xmlns="*" creationComplete="calculateTotal()">

[Bindable]
public var total:Number=0;
[Bindable]
public var numProducts:int=0;
[Bindable]
public var myDP:ArrayCollection = new ArrayCollection();
			
public function calculateTotal():void{
	var t:Number = 0;
	var n:Number = 0;
	for(var i:int = 0; i < myDP.length; i++){
		n += myDP[i].qty;
		t += myDP[i].price * myDP[i].qty;
	}
	total = t;
	numProducts = n;
}

public function qtyChangeListener():void{
qtyChanger.addEventListener("change", calculateTotal);
}





rendererIsEditor="true" itemRenderer="mx.controls.NumericStepper"
editorDataField="value"/>









  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



Re: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Igor Costa



just do thatmyMC.doubleClickEnabled = true;Try that.On 11/2/06, Paul Evans <[EMAIL PROTECTED]
> wrote:












  



In my first week of ActionScript 3 development. Working on Mac OS X  
with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Just tried listening for MouseEvent.DOUBLE_CLICK on a MovieClip using  
Flash 9 preview and found that the event never seems to fire.

I also compiled MouseEventExample from the Adobe docs and found that  
all the mouse events fire except DOUBLE_CLICK and MOUSE_WHEEL.  
(Though MOUSE_WHEEL does work on a pc)

( MouseEventExample is at the foot of this page http:// 
livedocs.macromedia.com/flex/2/langref/index.html?flash/events/ 
MouseEvent.html&flash/events/class-list.html )

All my reference sources simply present the code as though it should  
work. Am I missing something? Any pointers much appreciated.

Thanks

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]


  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



Re: [flexcoders] Unsupported File Type error

2006-11-02 Thread Igor Costa



Just click on the right proper Application.mxml that you have and set as default Application, than click on Build Automatly and disable this option than, just go again in the project menu and clean the project.So, just enable again the build Auto and test your app. will stop your error.
Regards.On 11/2/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:













  






I accidentally right-clicked the wrong file (styles.css) in my project and 
told FB2 to make it the default application. I set the correct file to the 
default application file, but now I can't get rid of the error "Unsupported file 
type: c:\blahblahblah\styles.css"I've done cleans, closed/opened the 
project and eclipse to no avail. How can I fix this? I can't build my project 
till the error goes away, of course. 
 
Shan


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM
 

  













-- Igor Costawww.igorcosta.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
  
  
  

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 
   
 

  




__,_._,___



Re: [flexcoders] Change skin during runtime?

2006-11-02 Thread Igor Costa



Maybe could help youhttp://www.adobe.com/devnet/flex/articles/flex_skins.htmlOn 11/2/06, 
zzwi89 <[EMAIL PROTECTED]> wrote:












  



Hi,

I would like to give the user the option to choose one of several
skins for my application. I am providing these via CSS and external
.swf file (as per Adobe's tutorial.) However, when I run something
like Panel.styleName = "newStyle", there is no change. 

Is there any way to accomplish this or is the skin set at runtime?


  













-- Igor Costawww.igorcosta.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
  
  
  

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] Re: Checkbox in Datagrid - checks disappear when scrolling

2006-11-02 Thread ben.clinkinbeard
http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-primer-for-predictable-behavior/

HTH,
Ben


--- In flexcoders@yahoogroups.com, "app.developer" <[EMAIL PROTECTED]>
wrote:
>
> If I use
> 
>  
> 
>  
> 
> 
> 
>  horizontalCenter="0" verticalCenter="0"/>
> 
>  
> 
> 
> 
> for the DataGridColumn
> 
>  editorDataField="value" textAlign="center" 
> itemRenderer="{inlineEditor}"/>
> 
> the selected checkboxes are not selected if a scroll through the 
> dataGrid.  Has anyone had this problem and solved it?
> 
> Precia
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



RE: [flexcoders] Is it possible to setup polling amf over HTTPS?

2006-11-02 Thread Cathy Reilly




> 
What's the channel type and endpoint for a HTTPS polling amf channel???
 
The differences in the definition between the AMF channels 
and the polling AMF channels are the 'polling-enabled' and 
'polling-interval-seconds' properties.
 
Here's an example that should get you started 
-
 
    
https://{server.name}:9100/myapp/messagebroker/amfpollingsecure">>    
    
true    
2    
    

 
- 
Cathy



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
TothSent: Wednesday, November 01, 2006 10:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Is it possible to 
setup polling amf over HTTPS?


I'm using a SecureAMFChannel for Remoting, but also need to use a 
DataService. I have a RTMPChannel that I'm going to switch over to 
SecureRTMPChannel, but have some users behind proxies. I want to setup a 
polling amf channel over HTTPS as a secondary channel. I haven't been able 
to find any documentation on whather it can be done, and if so, hwo to do 
it? I know the polling amf over HTTP uses the AMFChannel with the amfpolling 
endpoint. What's the channel type and endpoint for a HTTPS polling amf 
channel??? Thanks.-Steven
__._,_.___





--
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] Change skin during runtime?

2006-11-02 Thread zzwi89
Hi,

I would like to give the user the option to choose one of several
skins for my application. I am providing these via CSS and external
.swf file (as per Adobe's tutorial.) However, when I run something
like Panel.styleName = "newStyle", there is no change. 

Is there any way to accomplish this or is the skin set at runtime?




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Re: How do I expand a tree through Action Scripts

2006-11-02 Thread app.developer
Here's something I do when I get the result from a dataProvider for 
the tree
"this.treeMailBox.expandItem(this.treeMailBox.selectedItem, true);"

In following is when I use it.

private function getTreeFolders_result(event:ResultEvent):void
{
//Alert.show(ObjectUtil.toString(event.result));
this.treeMailBox.dataProvider = event.result;
this.treeMailBox.validateNow();
this.treeMailBox.selectedIndex=0;
this.treeMailBox.expandItem(this.treeMailBox.selectedItem, true);
}



--- In flexcoders@yahoogroups.com, "Michael Labriola" <[EMAIL PROTECTED]> 
wrote:
>
> 
> Hara,
> 
> Take a look at the expandChildrenOf () method of the tree class.
> 
> public function expandChildrenOf(item:Object, open:Boolean):void
> Opens or closes all the tree items below the specified item. 
> 
> Parameters  item:Object — the starting item  
>   
>  open:Boolean — toggles an open or close operation  
> 
> --Mike
> 
> --- In flexcoders@yahoogroups.com, "haravallabhan" 
> wrote:
> >
> > Hi,
> > 
> > How can I expand a tree dynamically r atleast when the 
application has 
> > loaded.
> > 
> > Thanks
> > Hara
> >
>





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] Re: Cairngorm 2 with Data Management

2006-11-02 Thread Douglas McCarroll
Laidezmon,

I'm working on the same thing but am not much (any?) further along than 
you are.

But hope to be making progress in the coming days and weeks!

I'm taking the approach of getting the server-side connection set up 
first. I'm using Data Management Services and Hibernate. I've downloaded 
the MySQL Sakila sample database, and used HibernateTools in Eclipse to 
generate a bunch of Java files, Hibernate mapping files, and the 
Hibernate config file. Now I'm trying to adapt Marcel Boucher's 
Flex/Hibernate example to connect to one table in it. I haven't 
succeeded yet, but hope to do so soon. Once I do I'd be happy to zip up 
the entire webApp and send it to you. Note that the client side isn't 
Cairngorm-based yet - that will be my next step - to renovate the client 
to a Cairngorm architecture...

Douglas




laidezmon wrote:
>
> Anyone? Anyone at all?
>
> --- In flexcoders@yahoogroups.com 
> , "laidezmon" <[EMAIL PROTECTED] ..> 
> wrote:
> >
> > Are there any examples out there on using Cairngorm and cairngorm
> > events with the MVC and such, and using Data Manager. I heard at max,
> > that using Cairngorm with DMS is possible, but there dont seem to be
> > any examples of its use out there.
> >
> > The reason I ask is because I understand with pointing grids and such
> > at the model, as the dataprovider, how that works, and I understand
> > calling an event which calls the data service indirectly, but where
> > would the model come into play logically, when DMS is handling so much
> > of the work directly from the grid?
> >
> > So any help would be appreciated.
> >
>
>  



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Event Listener Help!!!

2006-11-02 Thread s_hernandez01
Can anyone tell me how I can get my event listener to update the total
when the quantity is changed using the numericStepper inside a datagrid?  

Thanks

Sal

http://www.adobe.com/2006/mxml";
layout="absolute" xmlns="*" creationComplete="calculateTotal()">


[Bindable]
public var total:Number=0;
[Bindable]
public var numProducts:int=0;
[Bindable]
public var myDP:ArrayCollection = new ArrayCollection();

public function calculateTotal():void{
var t:Number = 0;
var n:Number = 0;
for(var i:int = 0; i < myDP.length; i++){
n += myDP[i].qty;
t += myDP[i].price * myDP[i].qty;
}
total = t;
numProducts = n;
}

public function qtyChangeListener():void{
qtyChanger.addEventListener("change", calculateTotal);
}
















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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] Unsupported File Type error

2006-11-02 Thread Shannon Hicks





I accidentally right-clicked the wrong file (styles.css) in my project and 
told FB2 to make it the default application. I set the correct file to the 
default application file, but now I can't get rid of the error "Unsupported file 
type: c:\blahblahblah\styles.css"I've done cleans, closed/opened the 
project and eclipse to no avail. How can I fix this? I can't build my project 
till the error goes away, of course. 
 
Shan
__._,_.___





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

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.430 / Virus Database: 268.13.23/513 - Release Date: 11/2/2006 7:40 AM
 


[flexcoders] Re: Isn´t there any release of Adobe Apollo yet? Alpha maybe....

2006-11-02 Thread app.developer
Can I second that request.  As much as a use my Google Spreadsheets 
to pass data quickly...this would be a great advantage.

Precia

--- In flexcoders@yahoogroups.com, Mike Chambers <[EMAIL PROTECTED]> wrote:
>
> Yes. That should be possible.
> 
> mike chambers
> 
> [EMAIL PROTECTED]
> 
> On Nov 2, 2006, at 7:31 AM, Dimitrios Gianninas wrote:
> 
> >
> > Well you know how finance users love their Excel :) Basically to  
> > copy and paste excell data to and from a datagrid, I remember 
other  
> > people asking this as well.
> >
> > Dimitrios Gianninas
> > RIA Developer
> > Optimal Payments Inc.
> >
> >
> > From: flexcoders@yahoogroups.com  
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
> > Sent: Wednesday, November 01, 2006 4:00 PM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] Isn´t there any release of Adobe 
Apollo  
> > yet? Alpha maybe
> >
> >
> > > interaction between a flex app and other apps (ex.: excel)
> >
> > What kind of interaction are you hoping will be possible?
> >
> > - Gordon
> >
> > From: flexcoders@yahoogroups.com  
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
Gianninas
> > Sent: Wednesday, November 01, 2006 6:02 AM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] Isn´t there any release of Adobe 
Apollo  
> > yet? Alpha maybe
> >
> > 1) Since no more browser, I can know exactly when the app is 
being  
> > terminated
> >
> > 2) file IO
> >
> > ** below are the things I hope it can do ***
> >
> > 3) interaction between a flex app and other apps (ex.: excel)
> >
> > 4) ability to make system tray notification, to let the user 
know  
> > that data changes have occured in the flex app
> >
> > Dimitrios Gianninas
> >
> > RIA Developer
> >
> > Optimal Payments Inc.
> >
> > From: flexcoders@yahoogroups.com  
> > [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
> > Sent: Tuesday, October 31, 2006 3:41 PM
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] Isn´t there any release of Adobe 
Apollo  
> > yet? Alpha maybe
> >
> > Just wondering, since I'm working on it... what features of 
Apollo  
> > are people most excited about?
> >
> > - Gordon
> >
> > From: flexcoders@yahoogroups.com  
> > [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. 
Goodfellow
> > Sent: Tuesday, October 31, 2006 6:15 AM
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Isn´t there any release of Adobe 
Apollo  
> > yet? Alpha maybe
> >
> > Yep, I know how you feel. The suspense is brutal. I could have  
> > already built and sold like 8 products built on it.
> >
> > There are probably too many holes in it still, or at least 
that's  
> > what I keep telling myself. :o)
> >
> > -Andy
> >
> > On 10/31/06, arianrechia <[EMAIL PROTECTED]> wrote:
> >
> > Hi people,
> > I´m very exciting about Adobe Apollo, and I´ve been looking for 
some
> > download to try the Apollo SDK, but with no success =(
> >
> > anyone already have a apollo alpha realease??
> >
> > thanxs
> >
> > AVIS IMPORTANT
> >
> > WARNING
> >
> > Ce message électronique et ses pièces jointes peuvent contenir 
des  
> > renseignements confidentiels, exclusifs ou légalement 
privilégiés  
> > destinés au seul usage du destinataire visé. L'expéditeur 
original  
> > ne renonce à aucun privilège ou à aucun autre droit si le 
présent  
> > message a été transmis involontairement ou s'il est retransmis 
sans  
> > son autorisation. Si vous n'êtes pas le destinataire visé du  
> > présent message ou si vous l'avez reçu par erreur, veuillez 
cesser  
> > immédiatement de le lire et le supprimer, ainsi que toutes ses  
> > pièces jointes, de votre système. La lecture, la distribution, 
la  
> > copie ou tout autre usage du présent message ou de ses pièces  
> > jointes par des personnes autres que le destinataire visé ne 
sont  
> > pas autorisés et pourraient être illégaux. Si vous avez reçu ce  
> > courrier électronique par erreur, veuillez en aviser l'expéditeur.
> >
> > This electronic message and its attachments may contain  
> > confidential, proprietary or legally privileged information, 
which  
> > is solely for the use of the intended recipient. No privilege or  
> > other rights are waived by any unintended transmission or  
> > unauthorized retransmission of this message. If you are not the  
> > intended recipient of this message, or if you have received it 
in  
> > error, you should immediately stop reading this message and 
delete  
> > it and all attachments from your system. The reading, 
distribution,  
> > copying or other use of this message or its attachments by  
> > unintended recipients is unauthorized and may be unlawful. If 
you  
> > have received this e-mail in error, please notify the sender.
> >
> >
> >
> >
> >
>





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

RE: [flexcoders] LinearGradient outside charts

2006-11-02 Thread Ely Greenfield





 
 
Post away, Cristian.  I wrote the gradient classes in 
the charts, and can probably help.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Cristian 
PopSent: Thursday, November 02, 2006 1:57 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] LinearGradient 
outside charts


Hi,some time ago I've played a bit with creating components in AS 
andI've extended the canvas to allow gradient using fillColors. Back 
then I did not implement more than 2 colors.In the meantime I've noticed the 
LinearGradient class and I thoughtthat I could use it to pass easier the 
parameters required by agradient. angle, fill colors, alphas and 
ratios.So I've triend to extend the Canvas adding a fill property 
(IFill) andthen in updateDisplayList to use the begin method of the 
LinearGradient to fill the graphics of the Canvas.I'm not sure what 
I'm doing wrong but it's not working. If anyoneknows how LinearGradient 
works and it can be used outside the scopeshown in the documentation please 
let me know.I will try to post the code 
later.Thanks,Cristian Pop
__._,_.___





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

  




__,_._,___



Re: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Michael Schmalle



Hi,Did you set the property doubleClickEnabled to true ?Peace, MikeOn 11/2/06, Paul Evans <
[EMAIL PROTECTED]> wrote:












  



In my first week of ActionScript 3 development. Working on Mac OS X  
with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Just tried listening for MouseEvent.DOUBLE_CLICK on a MovieClip using  
Flash 9 preview and found that the event never seems to fire.

I also compiled MouseEventExample from the Adobe docs and found that  
all the mouse events fire except DOUBLE_CLICK and MOUSE_WHEEL.  
(Though MOUSE_WHEEL does work on a pc)

( MouseEventExample is at the foot of this page http:// 
livedocs.macromedia.com/flex/2/langref/index.html?flash/events/ 
MouseEvent.html&flash/events/class-list.html )

All my reference sources simply present the code as though it should  
work. Am I missing something? Any pointers much appreciated.

Thanks

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.com/ ]


  













-- What goes up, does come down.

__._,_.___





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

  




__,_._,___



RE: [flexcoders] Re: XML charting troubles

2006-11-02 Thread Ely Greenfield





 
 
Well, that narrows the problem down to your data and not 
the charts. The charts can't find the field you specify on the dataProvider 
items, which means somehow you're passing in the wrong data.
 
I would add an event handler for when your HTTPSerivce 
returns, and use the debugger to investigate the structure of the data returned. 
That should help you figure out what your binding _expression_ needs to be to get 
the data you want.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
dataknifeSent: Wednesday, November 01, 2006 2:11 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: XML charting 
troubles


Runtime... Here's the Stack:Error: Unknown Property: 
'lag'.atmx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()atmx.utils::ObjectProxy/http://www.adobe.com/2006/actionscript/flash/proxy::getProperty()atmx.charts.chartClasses::Series/mx.charts.chartClasses:Series::cacheDefaultValues()at 
mx.charts.series::LineSeries/mx.charts.series:LineSeries::updateData()atmx.charts.chartClasses::Series/mx.charts.chartClasses:Series::validateData()at 
mx.charts.series::LineSeries/describeData()at 
mx.charts.chartClasses::DataTransform/describeData()atmx.charts.chartClasses::AxisBase/mx.charts.chartClasses:AxisBase::describeData()at 
mx.charts.chartClasses::NumericAxis/getmx.charts.chartClasses:NumericAxis::dataDescriptions()at 
mx.charts.chartClasses::NumericAxis/::autoGenerate()at 
mx.charts.chartClasses::NumericAxis/::updateCache()at 
mx.charts.chartClasses::NumericAxis/update()at 
mx.charts.chartClasses::NumericAxis/getLabelEstimate()at 
mx.charts::AxisRenderer/::measureLabels()at 
mx.charts::AxisRenderer/::calcRotationAndSpacing()at 
mx.charts::AxisRenderer/adjustGutters()at 
mx.charts.chartClasses::CartesianChart/::updateAxisLayout()atmx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList()at 
mx.core::UIComponent/validateDisplayList()at 
mx.managers::LayoutManager/::validateDisplayList()at 
mx.managers::LayoutManager/::doPhasedInstantiation()at 
Function/http://adobe.com/AS3/2006/builtin::apply()at 
mx.core::UIComponent/::callLaterDispatcher2()at 
mx.core::UIComponent/::callLaterDispatcher()--- In [EMAIL PROTECTED]ups.com, 
"Ely Greenfield" <[EMAIL PROTECTED].> wrote:>> > 
> THis is a compiletime error, or runtime error?> > 
Ely.> > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of dataknife> Sent: Wednesday, November 01, 2006 12:39 
PM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] XML charting troubles> > > > 
All, I'm a Flex Newbie - coming from the Java world (nice to not have> to 
use JSP's any more!).. I'm having a problem with of a basic XML to> Chart 
nature: I can't get it to work! I've followed the example in the> help- I 
just seem to be missing a detail.. > > The XML output from my 
server looks like this:> 8"?>> > > 
10-24-2006 
19:0013.860> 
10-25-2006 
12:0012.110> 
10-25-2006 
19:0015.800> 
> > > The MXML looks 
like this:> 8"?>> 
http://www.adobe.com/2006/mxml> 
 
"> layout="absolute" 
creationComplete="feedRequest.send()">> > 
> id="feedRequest" > > url=""http://localhost:8080/HealthCheckServer/xmlOutput.do?site=SLFTEST">http://localhost:8080/HealthCheckServer/xmlOutput.do?site=SLFTEST> 
 
"> useProxy="false"> showBusyCursor="true"/>> 
> > 
{feedRequest.result.healthcheck.lagdataset.lagdata}> 
> > >> > visible="true" 
styleName="myTabs">> > height="100%">> > >> > 
"{data}" width="316"> 
height="154" showDataTips="true">> 
Transaction Lag is the difference between the> 
Creation and Processing times for a Transaction> 
> "{data}"> categoryField="date"/>> 
>> > 
"Lag" yField="lag" />> > 
> > > 
> > 
> > > > 
height="100%">> > 
> > > 
> > When I run the MXML, it complains about 
a missing element lag... > > Can someone spare some time to help 
me?> > SF>
__._,_.___





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

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-02 Thread Brian Holmes





Hi Dimitrios,
 Thanks for the reply. I have a list of configurable 
panels that I'm displaying in a TileList. The user needs to be able to choose 
which ones he/she would like to see. Based off this gesture I need a way to look 
up the appropriate panel and render it on thier screen. That's really what 
I'm trying to do.
 
Thanks,
Brian..
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios 
GianninasSent: Thursday, November 02, 2006 7:49 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?

We dont really advocate the use of the 
ViewHelper/ViewLocator any more, only in extreme cases. If you want to see an 
example, I believe if you download the Cairngorm 1.5 distribution it will 
contain it. But the real question is, why are you thinking of using 
it?
 
Dimitrios 
Gianninas
RIA 
Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Brian 
HolmesSent: Wednesday, November 01, 2006 12:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm 
ViewHelper\ViewLocater Example?



Can someone point me 
to an implementation of a cairngorm view helper \ view locator 
example?
 
Thanks,
brian..



***The information in this e-mail is confidential and intended solely for 
the individual or entity to whom it is addressed. If you have received this 
e-mail in error please notify the sender by return e-mail delete this e-mail and 
refrain from any disclosure or action based on the information.*** 



  
  

  AVIS 
  IMPORTANT

  WARNING
  

  Ce message 
  électronique et ses pièces jointes peuvent contenir des renseignements 
  confidentiels, exclusifs ou légalement privilégiés destinés au seul usage 
  du destinataire visé. L'expéditeur original ne renonce à aucun privilège 
  ou à aucun autre droit si le présent message a été transmis 
  involontairement ou s'il est retransmis sans son autorisation. Si vous 
  n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu 
  par erreur, veuillez cesser immédiatement de le lire et le supprimer, 
  ainsi que toutes ses pièces jointes, de votre système. La lecture, la 
  distribution, la copie ou tout autre usage du présent message ou de ses 
  pièces jointes par des personnes autres que le destinataire visé ne sont 
  pas autorisés et pourraient être illégaux. Si vous avez reçu ce courrier 
  électronique par erreur, veuillez en aviser 
l'expéditeur.

  This 
  electronic message and its attachments may contain confidential, 
  proprietary or legally privileged information, which is solely for the use 
  of the intended recipient. No privilege or other rights are waived by any 
  unintended transmission or unauthorized retransmission of this message. If 
  you are not the intended recipient of this message, or if you have 
  received it in error, you should immediately stop reading this message and 
  delete it and all attachments from your system. The reading, distribution, 
  copying or other use of this message or its attachments by unintended 
  recipients is unauthorized and may be unlawful. If you have received this 
  e-mail in error, please notify the 
sender. 

***
The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed.  If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information.
***


__._,_.___





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

  




__,_._,___



RE: [flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Joan Lafferty












You might need to set the doubleClickEnabled
property on the component that you are listening to events on. This property
sometimes defaults to false.

 

Joan 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Evans
Sent: Thursday, November 02, 2006
8:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
MouseEvent.DOUBLE_CLICK am I missing something



 







In my first week of ActionScript 3 development.
Working on Mac OS X 
with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Just tried listening for MouseEvent.DOUBLE_CLICK on a MovieClip using 
Flash 9 preview and found that the event never seems to fire.

I also compiled MouseEventExample from the Adobe docs and found that 
all the mouse events fire except DOUBLE_CLICK and MOUSE_WHEEL. 
(Though MOUSE_WHEEL does work on a pc)

( MouseEventExample is at the foot of this page http:// 
livedocs.macromedia.com/flex/2/langref/index.html?flash/events/

MouseEvent.html&flash/events/class-list.html )

All my reference sources simply present the code as though it should 
work. Am I missing something? Any pointers much appreciated.

Thanks

Paul
-- 
[ http://www.creative-cognition.co.uk/
]
[ http://creacog.wordpress.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
  
  
  

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 
   
 

  




__,_._,___






Re: [flexcoders] Isn´t there any release of Ado be Apollo yet? Alpha maybe....

2006-11-02 Thread Mike Chambers
Yes. That should be possible.

mike chambers

[EMAIL PROTECTED]

On Nov 2, 2006, at 7:31 AM, Dimitrios Gianninas wrote:

>
> Well you know how finance users love their Excel :) Basically to  
> copy and paste excell data to and from a datagrid, I remember other  
> people asking this as well.
>
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>
>
> From: flexcoders@yahoogroups.com  
> [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
> Sent: Wednesday, November 01, 2006 4:00 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo  
> yet? Alpha maybe
>
>
> > interaction between a flex app and other apps (ex.: excel)
>
> What kind of interaction are you hoping will be possible?
>
> - Gordon
>
> From: flexcoders@yahoogroups.com  
> [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas
> Sent: Wednesday, November 01, 2006 6:02 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo  
> yet? Alpha maybe
>
> 1) Since no more browser, I can know exactly when the app is being  
> terminated
>
> 2) file IO
>
> ** below are the things I hope it can do ***
>
> 3) interaction between a flex app and other apps (ex.: excel)
>
> 4) ability to make system tray notification, to let the user know  
> that data changes have occured in the flex app
>
> Dimitrios Gianninas
>
> RIA Developer
>
> Optimal Payments Inc.
>
> From: flexcoders@yahoogroups.com  
> [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith
> Sent: Tuesday, October 31, 2006 3:41 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Isn´t there any release of Adobe Apollo  
> yet? Alpha maybe
>
> Just wondering, since I'm working on it... what features of Apollo  
> are people most excited about?
>
> - Gordon
>
> From: flexcoders@yahoogroups.com  
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew D. Goodfellow
> Sent: Tuesday, October 31, 2006 6:15 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Isn´t there any release of Adobe Apollo  
> yet? Alpha maybe
>
> Yep, I know how you feel. The suspense is brutal. I could have  
> already built and sold like 8 products built on it.
>
> There are probably too many holes in it still, or at least that's  
> what I keep telling myself. :o)
>
> -Andy
>
> On 10/31/06, arianrechia <[EMAIL PROTECTED]> wrote:
>
> Hi people,
> I´m very exciting about Adobe Apollo, and I´ve been looking for some
> download to try the Apollo SDK, but with no success =(
>
> anyone already have a apollo alpha realease??
>
> thanxs
>
> AVIS IMPORTANT
>
> WARNING
>
> Ce message électronique et ses pièces jointes peuvent contenir des  
> renseignements confidentiels, exclusifs ou légalement privilégiés  
> destinés au seul usage du destinataire visé. L'expéditeur original  
> ne renonce à aucun privilège ou à aucun autre droit si le présent  
> message a été transmis involontairement ou s'il est retransmis sans  
> son autorisation. Si vous n'êtes pas le destinataire visé du  
> présent message ou si vous l'avez reçu par erreur, veuillez cesser  
> immédiatement de le lire et le supprimer, ainsi que toutes ses  
> pièces jointes, de votre système. La lecture, la distribution, la  
> copie ou tout autre usage du présent message ou de ses pièces  
> jointes par des personnes autres que le destinataire visé ne sont  
> pas autorisés et pourraient être illégaux. Si vous avez reçu ce  
> courrier électronique par erreur, veuillez en aviser l'expéditeur.
>
> This electronic message and its attachments may contain  
> confidential, proprietary or legally privileged information, which  
> is solely for the use of the intended recipient. No privilege or  
> other rights are waived by any unintended transmission or  
> unauthorized retransmission of this message. If you are not the  
> intended recipient of this message, or if you have received it in  
> error, you should immediately stop reading this message and delete  
> it and all attachments from your system. The reading, distribution,  
> copying or other use of this message or its attachments by  
> unintended recipients is unauthorized and may be unlawful. If you  
> have received this e-mail in error, please notify the sender.
>
>
>
>
> 



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



[flexcoders] MouseEvent.DOUBLE_CLICK am I missing something

2006-11-02 Thread Paul Evans
In my first week of ActionScript 3 development. Working on Mac OS X  
with Flex 2 Builder Beta and Flash 9 Alpha Preview, Player: 9,0,18,60.

Just tried listening for MouseEvent.DOUBLE_CLICK on a MovieClip using  
Flash 9 preview and found that the event never seems to fire.

I also compiled MouseEventExample from the Adobe docs and found that  
all the mouse events fire except DOUBLE_CLICK and MOUSE_WHEEL.  
(Though MOUSE_WHEEL does work on a pc)

( MouseEventExample is at the foot of this page http:// 
livedocs.macromedia.com/flex/2/langref/index.html?flash/events/ 
MouseEvent.html&flash/events/class-list.html )

All my reference sources simply present the code as though it should  
work. Am I missing something? Any pointers much appreciated.

Thanks

Paul
-- 
[ http://www.creative-cognition.co.uk/ ]
[ http://creacog.wordpress.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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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



  1   2   >