Re: [flexcoders] Relative paths in IDE compiler args

2006-10-08 Thread Paul Spitzer
Hey Daniel,

I've definitely had the same problem. I found that for the -load-config 
flag I had to climb up a directory ../ to get to my project root... so I 
had something like... -load-config+="../build/project-config.xml". I'm 
not entirely sure but I think it was relative to my main source 
directory which was in an as3 directory. I still can't get the 
-link-report flag to work with a relative path however.



Daniel Wabyick wrote:
> How do relative paths work in the IDE compiler arguments? In particular, 
> what is the directory running from?
>
> For example, I would like to include a namespace manifest XML file that 
> is outside of my project path. I should be able to use "-namespace 
> http://www.mynamespace.com/ ../myotherproject/namespace_manifest.xml", 
> but I have to use an absolute path to get it to work.
>
> Additionally, I can't seem to include linked folders in as source paths. 
> I need to use absolute paths for those as well.
>
> Anyone had success with this?
>
> 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]

2006-10-08 Thread Olubunmi Falaki [ MTN - YelloDrome ]










HI All,

I am new to the concept of flex where do you think I should
start.?

 

Bum



NOTE: This e-mail message is subject to the MTN Nigeria disclaimer see http://www.mtnonline.com/contact/disclaimer.asp 
__._,_.___





--
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: image display, display certain portion of a image

2006-10-08 Thread Harish Sivaramakrishnan



Did you try using the scaleContent property of the image? I guess that should solve your problem directlyThanksHarishOn 10/7/06, Willy Ci <
[EMAIL PROTECTED]> wrote:












  



thanks, I will try your way over the long weekend!WillyOn 10/6/06, Tim Hoff
 <[EMAIL PROTECTED]> wrote:













  



Hi Willy,

If this was Flash, you would just place a mask over the image.  In 
Flex, you can emulate this by placing the image inside a container 
that uses absolute positioning.


verticalScrollPolicy="off" 
horizontalScrollPolicy="off">



-TH

--- In flexcoders@yahoogroups.com, "Willy Ci" <[EMAIL PROTECTED]> wrote:
>
> hi
> 
> is there a way to display certain portion of a image using the 
image control
> 
> let;s say my large_image.jpg is 400x400, but my image box is only 
100x100,
> 
> is there a way to display part of the image from 200 to 300?
> 
> thanks ahead
> 
> 
> 
> -- 
> Willy
> 
> --
---
> maybe today is a good day to write some code,
> hold on, late me take a nap first  ... Zzzz
> --
---
>


  













-- Willy--maybe today is a good day to write some code,hold on, late me take a nap first  ... Zzzz
--

  















__._,_.___





--
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] To Moderator

2006-10-08 Thread Dima Ulich


Hello Moderator,
    
    My name is Ulich Dmitriy. I have just noticed that some of my private messages were accedently sent public. They start with "READ THIS". Please remove them from the public list. 
 
Dmitriy
__._,_.___





--
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] update cellrenderer on dataprovider change

2006-10-08 Thread Harish Sivaramakrishnan



override public setter data in your itemRenderer, each time ur data changes the itemRenderers will be forced to redraw, if you dont, they wont redraw!you need to do something like this:override public set data(value:Object):void
{}ThanksHarishOn 10/5/06, rmlsystem <[EMAIL PROTECTED]> wrote:













  



I have a datagrid with a checkBox cellrenderer in a column, i can
select some checkboxes if i change the dataprovider, but if i manually
check one or more checkboxes they still checked.

Is there a way to select the checkboxes from outside de datagrid, or
refresh all cellrenderers?


  















__._,_.___





--
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: Missing the ControlBar on my panel...

2006-10-08 Thread Harish Sivaramakrishnan



Alternatively, you can call createComponentsFromDescriptors(); after adding the controlBar as the child, by doing this we do not need to bother about the order in which the children are added to the base container.
ThanksHarishOn 10/6/06, Mark <[EMAIL PROTECTED]> wrote:













  



Thanks Dan.

mark

--- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote:
>
> controlBar does not seem to be automatically added as a child within the
> Panel class.  You need to do it explicitly at the end of
createChildren().
> And as a preemptive reminded, make sure controlBar is the last child
added
> if you want it docked.
> 
> - Dan
> 
> On 10/6/06, Mark <[EMAIL PROTECTED]> wrote:
> >
> > I've extended Panel and based on numerous post here on FlexCoders I
> > believe I've added the ControlBar correctly, but it just doesn't
> > appear.  Here is my very simple example:
> >
> > package com.mh.controls
> > {
> > import mx.containers.Panel;
> > import mx.containers.ControlBar;
> > import mx.controls.Label;
> > import mx.controls.CheckBox;
> >
> > public class TestPanel extends Panel
> > {
> > public function TestPanel()
> > {
> > super();
> > title = "testing";
> > }
> >
> > protected override function createChildren():void
> > {
> > super.createChildren();
> >
> > controlBar = new ControlBar();
> >
> > var lbl:Label = new Label();
> > lbl.text = "testing ctrl bar";
> > ControlBar(controlBar).addChild(lbl);
> >
> > var chkBox:CheckBox = new CheckBox();
> > ControlBar(controlBar).addChild(chkBox);
> >
> > createComponentsFromDescriptors();
> > }
> >
> > }
> > }
> >
> > The end result is a panel, but with no control bar.  The interesting
> > thing is that if I didn't call createComponentsFromDescriptors at the
> > end, the bottom of the panel would have no padding.
> >
> > Thanks in advance for any help!
> >
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
>


  















__._,_.___





--
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] Variable Row Height?

2006-10-08 Thread Harish Sivaramakrishnan



By setting variableRowheight you can indeed have a list with multiple rowHeights. But there is a catch, this is done internally by the component by calculating the size of the child that is placed within a row of the List. That way you cannot directly set a different rowHeight to one of the rows of a List, unless you sublclass a list and override the variableRowHeight calculation with some new setters which would help you achieve what you want.
ThanksHarishOn 10/6/06, Steve Kellogg @ Project SOC <[EMAIL PROTECTED]> wrote:













  











Hello,

 

Perhaps I'm poorly understanding something in the
DOX.  Can anyone help me understand?

 

 

The docs mention that things like TileLists and Trees can
have VARIABLE ROW Height.

 

Do I correctly assume that this means that I can have MULTIPLE ROW HEIGHTS
in a single list at the same time?

 

If so, how do I set the height of a specific row in a Tile
List?

 

 

Best Regards,

 

 

Steve

 

 

Steve
Kellogg

Peak8
Solutions

1401 14th Street

Boulder, Colorado


80302, USA

Fax:
303.415.2597

E-Mail:
[EMAIL PROTECTED]

 







  















__._,_.___





--
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] Mouse Events in Flash with Yahoo Maps

2006-10-08 Thread John Kirby
Title: quote






I have created a SWF (flash 8) for a Yahoo map where so far when you
double click on the map it sets a marker and records the lat/long and
can pass that info to my flex app via local connection.

This double click trapping is done through a myMap.
which uses some getTimer() to calculate the times between clicks.

However trapping this event disables the ability for the other mouse
events... i.e., the ability to single click on the NavWidget or drag
the map.

I'm assuming I need to dispatch some events in my onPress function to
allow "normal functions" of the mouse in the event of a non-double
click event.

Not sure how this would work?

Any tips appreciated :-)

.j
-- 


Whether you think that you can, or that you
can't, you are usually right.
 - Henry Ford 



__._,_.___





--
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] Moving Panel's titleIcon programmatically

2006-10-08 Thread Harish Sivaramakrishnan



If you need to access an mx_internal variable in your subclass , add the following likes to your code:import mx.core.mx_internal;use namespace mx_internal;After doing this, you can access all variables marked mx_internal in  your subclass
Hope this helpsHarishOn 10/6/06, Ralph Hauwert <[EMAIL PROTECTED]> wrote:













  



Hi All,

We're kind of looking at the best practices in moving the titleIcon
outside of the boundaries of a panel, to the left. titleIconObject in
the Panel class is marked mx_internal.
Currently we are extending the panel object using the code behind
practice, and we think we'd move it there; this can't work, since we
can't touch the titleIconObject from a subclass.

Any suggestions ?

-- 
Ralph Hauwert
FlashCoder

  















__._,_.___





--
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] Dynamic DataGrid selectedItem

2006-10-08 Thread Harish Sivaramakrishnan



It is recommended that you query the underlying dataProvider. by doing mydatagrid.dataProvider.getItemAt(mydatagrid.selectedIndices[0]).colName;Generically dginstance.dataProvider.getItemAt(selectedIndex).colName;
In case of having only one selection make the selectedIndex as mydatagrid.selectedIndex;Hope this helpsHarishOn 10/9/06, Hari Kolasani
 <[EMAIL PROTECTED]> wrote:












  



Never Mind. I posted it too soon. I just figured a way to do this:

var:selectedRow = mydatagrid.selectedItems[0];

for (var colName:String in selectedRow ) {
   var colVal = selectedRow[colName]);
   }

Hari Kolasani wrote:
> 
> 
> Hello,
> 
> I have a Dynamic DataGrid (I create DataGrid columns dynamically based
> on the query Results from back-end.).
> 
> Once the datagrid is populated and a row is selected , I can get the
> selectedItem as an object and I can see the values of the columns (in
> FLex Builder debugger).
> 
> But, is there any to retrieve the column values using a dynamic column
> name.
> 
> For e.g something like
> 
> var colName:String = "Customer";
> 
> "mydatagrid.selectedItem.getColumnValue(colName)"
> 
> Insted of ""mydatagrid.selectedItem.Customer"
> 
> 

  















__._,_.___





--
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] Problem with "memory effect" on datagrid

2006-10-08 Thread Harish Sivaramakrishnan



In case of itemRenderers, when you scroll the renderers are recycled and they dont quite remember their states, one way to get over this problem is to override the public setter data in your itemRenderer codesomething like:
override public function set data( value:Object):void{}Hope this helpsHarishOn 10/9/06, Jesús Iglesias <
[EMAIL PROTECTED]> wrote:












  






I have a datagrid in which I have an itemRenderer 
(a canvas with a text field). Depend on certain value of data, I change the 
background color of the canvas and the text of textfild. The problem comes when 
I have many records and scrollbar appears on datagrid. When scrolling the values 
of this itemrenderer are not updated fine, so I have wrong values. I know Flex 
reuses the itemrenderes, so...How to avoid this 
"memory effect"?
 
Thanks, 
Jesus

  















__._,_.___





--
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] Relative paths in IDE compiler args

2006-10-08 Thread Daniel Wabyick

How do relative paths work in the IDE compiler arguments? In particular, 
what is the directory running from?

For example, I would like to include a namespace manifest XML file that 
is outside of my project path. I should be able to use "-namespace 
http://www.mynamespace.com/ ../myotherproject/namespace_manifest.xml", 
but I have to use an absolute path to get it to work.

Additionally, I can't seem to include linked folders in as source paths. 
I need to use absolute paths for those as well.

Anyone had success with this?

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] Tell DataGrid in AS to use custom DataGridColumn

2006-10-08 Thread Louie Penaflor










I have a custom DataGrid class and a custom DataGridColumn
class.

 

I extended DataGridColumn to have additional properties that
I pass using listData to the itemRenderer.  I have this working in the mxml
hardcoded style

 



 

    

    

    

 



 

What I’m trying to accomplish is to populate the
datagrid dynamically and place custom DataGridColumns/itemRenderers where
needed.  I have it working, but I need to tell the Datagrid to use
MyExtendedDataGridColumn when needed so it can pass values to the itemRenderer
component.

 

I’ve been trying to find examples of this in pure
ActionScript and haven’t had any luck yet.  Thanks in advance.

 

 

 

Louie Penaflor

Web Software Developer

World Council of Credit Unions, Inc.

Ph: (608)231-7932

 

This
is a transmission from World Council of Credit Unions, Inc. and
contains information that is confidential. If you are not the intended
addressee or authorized to receive for the addressee, then any disclosure,
copying, distribution, or use of the contents of this message is prohibited. If
you have received this transmission in error, please destroy it and notify the
sender immediately at the transmitting e-mail address. If you are the intended
recipient, please be advised that this e-mail transmission is not encrypted or
otherwise protected from potential misappropriation or misuse. World
Council of Credit Unions, Inc. expressly disclaims any and all liability
for harm resulting from the misappropriation, interception or misuse of the
information contained in this transmission.

 




__._,_.___





--
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] Gradient Fill from LEFT to RIGHT

2006-10-08 Thread dorkie dork from dorktown
I would like to apply a gradient fill from left to right on the
application or hbox component. Something assigned through css styles
or tag attributes. TIA

Judah


--
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: cornerRadius only for specific corners

2006-10-08 Thread wayne_badu_johnson

Hi

You may also just be looking for the 
roundedBottomCorners="false" property.

Cheers
Wayne


--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Hello,
> 
> In order to round specific corners you are going to have to use a 
custom
> borderSkin class.  Here is an example:
> 
> borderSkin Sample
>  elID=1>
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "shemeshkale"  
wrote:
> 
> > hello,
> > using FLEX 2.
> > i have an HBox with solid border on top+right+left only (no 
bottom)
> > i also gave it cornerRadius=5 and backgroundColor=#ff
> > what happens is that on bottom left+right corners the background 
color
> > is rounded but the border is not, and that looks not good !
> >
> > how do i determine which corners gets rounded and which not?
> >
>







--
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: Tinting an image in Flex

2006-10-08 Thread wayne_badu_johnson
Hi Max

Have a look at the flash.geom.ColorTransform class.

Example:
var rOffset:Number = transform.colorTransform.redOffset + 100;
var bOffset:Number = transform.colorTransform.redOffset - 100;
transform.colorTransform = new ColorTransform(1, 1, 1, 1, rOffset, 
0, bOffset, 0);

Cheers
Wayne


--- In flexcoders@yahoogroups.com, "Igor Costa" <[EMAIL PROTECTED]> 
wrote:
>
> Color had you tried?
> 
> Or are you just wondering how to do that using both mxml or just 
AS?
> 
> I guess you could get a quick read at Image Class.
> 
> Regards
> 
> On 10/7/06, maxadim99 <[EMAIL PROTECTED]> wrote:
> >
> >   The title says it all really. I'm trying to tint an image in 
flex
> > using actionscript. I've been able to do it in Flash using the 
Color
> > property, but when I use the same code, I get an error (undefined
> > property color).
> >
> > Thanks in advance,
> >
> > Max
> >
> >  
> >
> 
> 
> 
> -- 
> 
> Igor Costa
> www.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 
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] Where is FlexTagLib in Flex 2.0

2006-10-08 Thread Matt Chotin












We didn’t ship the JSP taglib in
Flex 2.  We’re hoping to get it out in a later release.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jfournet
Sent: Friday, October 06, 2006
2:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Where is
FlexTagLib in Flex 2.0



 







When I run my jsp using the FlexTagLib I get the
following error:

org.apache.jasper.JasperException: Unable to read TLD "META-
INF/taglib.tld" from JAR 
file "file:/P:/p4client/environment/jboss/4.0.3SP1/server/txm_presentati
on/./deploy/trex.war/WEB-INF/lib/flex-bootstrap.jar": 
java.lang.NullPointerException






__._,_.___





--
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] Databinding will not be able to detect assignments to ....

2006-10-08 Thread Matt Chotin












Is subTotals a typed property of
ModelLocator?

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of boy_trike
Sent: Friday, October 06, 2006
9:45 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Databinding
will not be able to detect assignments to 



 







I am not sure why I am getting this error

[Bindable]
public class ModelLocator extends EventDispatcher{

public function ModelLocator(){
//
}




[flexcoders] Problem with "memory effect" on datagrid

2006-10-08 Thread Jesús Iglesias





I have a datagrid in which I have an itemRenderer 
(a canvas with a text field). Depend on certain value of data, I change the 
background color of the canvas and the text of textfild. The problem comes when 
I have many records and scrollbar appears on datagrid. When scrolling the values 
of this itemrenderer are not updated fine, so I have wrong values. I know Flex 
reuses the itemrenderes, so...How to avoid this 
"memory effect"?
 
Thanks, 
Jesus
__._,_.___





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

2006-10-08 Thread Matt Chotin












Hey guys, I’m trying to get a better
statement of our marketing plans and what we’re doing currently so you
can see that we’re not exactly sitting idle here.  In the meantime,
I hear you guys say that none of your friends tend to hear of Flex, but they
know other technologies.  So where do they hear about other
technologies?  Are they reading certain publications?  Blogs?  When
they talk about other technologies do they actually know what they’re
talking about or is it just repeating the buzz?

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tariq Ahmed
Sent: Wednesday, October 04, 2006
1:58 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex
Marketing



 







I'd agree
to that. The marketing effort seems to heavily rely on the development
community doing that job for them. Things like labs and DevNet are KEY to
maximizing technology adoption - but people need to know about it in the first
place.

To Restate Adobe's Goal: 1 000 000 Flex Developers by 2010. 

Some HEAVY DUTY marketing is needed. It definitely made sense to capture those
who are most amiable to Flex (CF and Flash developers) first and grow from
there. I think someone blogged about this before; in that of course Adobe
related blogs are going to be heavy proponents for Adobe technologies. But now
it's time to penetrate into the rest of the world.

In polling my heavy duty tech friends in other industries, they BARELY know
what Flex is. Many haven't heard of it. And some have heard of it, just because
they heard me mention it.

Awareness of the brand and technology needs to be more prevalent.

Gimme a cool Flex decal and I'll put it on my car! :)



Clint Modien wrote: 





I
mentioned this @ the Silicon Valley Flex User Group meeting the
other day but I wanted to reiterate it here and see if I could invoke
a response from Adobe.

Mr. Mendels?

Where is the marketing for Flex? Why keep the most beautiful
framework in the world for creating applications a secret? Where are
the Visual Studio style banner adds everywhere. Where is the buzz for
it on Slashdot. Why arn't other developers in the world standing up
and saying is creating applications really this easy!?!

I've seen the lights go on in a developers eyes when they get it.
When they see what 5 lines of code can acomplish with Flex. They get
excited. Excitement sells licenses.

(Gets off his soapbox and points to it...) ... Thoughts?





 








__._,_.___





--
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] Dynamic DataGrid selectedItem

2006-10-08 Thread Hari Kolasani
Never Mind. I posted it too soon. I just figured a way to do this:

  var:selectedRow = mydatagrid.selectedItems[0];

  for (var colName:String in selectedRow ) {
   var colVal = selectedRow[colName]);
   }


Hari Kolasani wrote:
> 
> 
> Hello,
> 
> I have a Dynamic DataGrid (I create DataGrid columns dynamically based
> on the query Results from back-end.).
> 
> Once the datagrid is populated and a row is selected , I can get the
> selectedItem as an object and I can see the values of the columns (in
> FLex Builder debugger).
> 
> But, is there any to retrieve the column values using a dynamic column
> name.
> 
> For e.g something like
> 
> var colName:String = "Customer";
> 
> "mydatagrid.selectedItem.getColumnValue(colName)"
> 
> Insted of ""mydatagrid.selectedItem.Customer"
> 
> 


--
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: Dynamic DataGrid selectedItem

2006-10-08 Thread iviivi_us
Hari,

You can use

mydatagrid.selectedItem["Customer"];

or

var str:String = "Customer";

mydatagrid.selectedItem[str];

Irina

--- In flexcoders@yahoogroups.com, Hari Kolasani <[EMAIL PROTECTED]> 
wrote:
>
> Hello,
> 
> I have a Dynamic DataGrid (I create DataGrid columns dynamically 
based 
> on the query Results from back-end.).
> 
> Once the datagrid is populated and a row is selected , I can get 
the 
> selectedItem as an object and I can see the values of the columns 
(in 
> FLex Builder debugger).
> 
> But, is there any  to retrieve the column values using a dynamic 
column 
> name.
> 
> For e.g something like
> 
>   var colName:String = "Customer";
> 
>   "mydatagrid.selectedItem.getColumnValue(colName)"
> 
> Insted of ""mydatagrid.selectedItem.Customer"
>







--
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] Some Tutorials...

2006-10-08 Thread Dave Carabetta



Definitely look at Aral Balkan's excellent Flex 2 Quick Start series on Adobe.com:http://www.adobe.com/devnet/flex/index.html?tab:quickstart=1
In particular, his tutorials on data binding should help you out immensely.Regards,Dave.On 10/8/06, Ben Lucyk <
[EMAIL PROTECTED]> wrote:





















Hi Christopher,

 

The easiest way to accomplish what you
want in your simple example is to use databinding.

 

    :TextInput id="input1" text="5" />


    :TextInput id="input2" text="6" />


    :TextInput id="input3" text="{
Number(input1.text) + Number(input2.text) }" />

 


http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href="">


 

 

Regards,




 
  
  Ben Lucyk

  http://esria.com

   
  p 1.877.TRY.ESRIA ext 718
  c 1.408.489.3913
  f  1.877.828.4436
  [EMAIL PROTECTED]

  
  
  
  
 


 

 

 

 

 

 



 









From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Christopher
Sent: Sunday, October 08, 2006
11:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Some
Tutorials...



 







I'm looking to find some fairly simple tutorials that
focus on taking
information from form elements and putting them into variables,
maniplating them and then bring them manipluated new variable out to a
datagrid. I'm having a hard time finding the
documentation that talks
about moving data from form elements into variables and then back out
again. Can anybody point me in the right direction?

Thanks

ps.

ex/

input 1 - 5
input 2 - 6

var  1
var two = input 2
var three = (one + two)

show var three (which would = 11)














__._,_.___





--
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] Some Tutorials...

2006-10-08 Thread Christopher
I'm looking to find some fairly simple tutorials that focus on taking
information from form elements and putting them into variables,
maniplating them and then bring them manipluated new variable out to a
datagrid. I'm having a hard time finding the documentation that talks
about moving data from form elements into variables and then back out
again.  Can anybody point me in the right direction?

Thanks

ps.

ex/

input 1 - 5
input 2 - 6

var one = input 1
var two = input 2
var three = (one + two)

show var three (which would = 11)








--
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: Map Tile Library

2006-10-08 Thread atlasalive
Thanks for the feedback.

Would you say the Yahoo approach is the best approach?  Are there
other ways to skin this cat?

I didn't realize it, but after seeing Kelly's reference
(http://www.flashearth.com/) I would really like to implement a
rotating canvas.  How easy would that be to implement?

The tile libraries are actually already taken care of.  We will not
necessarily be doing the whole earth.  We'll mostly be dealing with
small geographies and custom-generated tile sets.


--- In flexcoders@yahoogroups.com, "Igor Costa" <[EMAIL PROTECTED]> wrote:
>
> Man,
> 
> just take  a look at the Flash Developer center of Yahoo!
> 
> regards
> 
> On 10/7/06, atlasalive <[EMAIL PROTECTED]> wrote:
> >
> >   I'm prototyping a map viewer application similar to Google or Yahoo
> > maps. I will be connecting to image tile libraries that I create with
> > another GIS application. So the one thing I know is that there will
> > be a library of image tiles at different zoom levels and XML documents
> > that communicate the metadata. These may be accessed directly or
> > through a .Net web service. The server side will be .Net. All the
> > tiles will be the same size.
> >
> > I'll need to implement standard map functions like zoom, pan, etc. I
> > also want to do things like drawing polylines onto the map, overlaying
> > icons, and the like.
> >
> > I'm new to Adobe Flex and I was hoping to get suggestions on an
> > architecture. Basically
> > 1) I need a high-performing system that retrieves the tiles and
> > presents a seamless map to the user.
> > 2) I would like to cache the edge tiles so the seamless effect
> > continues when panning.
> > 3) I'd like to be able to configure the application's number of tiles
> > and tile size.
> > 4) I'd like to make it flexible enough to draw tiles from a web
> > service if necessary.
> > 5) I'd like to deliver image tiles to the desktop separately and have
> > the user 'point' to the local cache if possible. Apollo? Zinc?
> >
> > What visual components/techniques would best implement the seamless
> > pannable tiled map? How does Yahoo do it? Any gotchas I should be
> > aware of?
> >
> > What techniques /components will provide the optimal performance for
> > accessing the tile libraries, either if they are files or web service
> > calls?
> >
> > Are there existing bodies of work that I could use as a template?
> >
> > Are there mentors available who can help me up front? Anybody in the
> > Seattle, USA area?
> >
> >  
> >
> 
> 
> 
> -- 
> 
> Igor Costa
> www.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 
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] Dynamic DataGrid selectedItem

2006-10-08 Thread Hari Kolasani
Hello,

I have a Dynamic DataGrid (I create DataGrid columns dynamically based 
on the query Results from back-end.).

Once the datagrid is populated and a row is selected , I can get the 
selectedItem as an object and I can see the values of the columns (in 
FLex Builder debugger).

But, is there any  to retrieve the column values using a dynamic column 
name.

For e.g something like

var colName:String = "Customer";

"mydatagrid.selectedItem.getColumnValue(colName)"

Insted of ""mydatagrid.selectedItem.Customer"



--
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] Still erro Error #2032r

2006-10-08 Thread Giorgio Natili





Hi Igor,
 
Thank you for the suggestion but it still not 
wok...
 
I get this messag 
ioErrorHandler: [IOErrorEvent type="ioError" bubbles=false cancelable=false 
eventPhase=2 text="Error #2032: Streaming Error.
Giorgio

  - Original Message - 
  From: 
  Igor Costa 
  
  To: flexcoders@yahoogroups.com 
  Sent: 08 October, 2006 06.56
  Subject: Re: [flexcoders] Still erro 
  Error #2032r
  
  
  This is a Known Issue http://livedocs.macromedia.com/flex/2/langref/runtimeErrors.htmlIt's 
  saying that he couldn't not find the file for that, Solution 
  is:Just import to your Flex Project the File in this case .xml and 
  than try to compile again. and it will works.Good luck 
  there.
  On 10/7/06, Giorgio 
  Natili <[EMAIL PROTECTED]com> 
  wrote:
  




Hi All,
 
I have made a wide search in the list, but I 
didn't find the solution to the Error #2032.
I get this message when I try to load an xml 
file from an AS3 class also if I set correctly the compiler in order to work 
locally.
 
Any suggestion is welcome...
 
Giorgio
-- 
  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: how to: cornerRadius only for specific corners

2006-10-08 Thread Tim Hoff



Hello,
In order to round specific corners you are going to have to use a custom borderSkin class.  Here is an example:
borderSkin Sample 
-TH--- In flexcoders@yahoogroups.com, "shemeshkale" <[EMAIL PROTECTED]> wrote:> hello,> using FLEX 2.> i have an HBox with solid border on top+right+left only (no bottom)> i also gave it cornerRadius=5 and backgroundColor=#ff> what happens is that on bottom left+right corners the background color> is rounded but the border is not, and that looks not good !> > how do i determine which corners gets rounded and which not?>

__._,_.___





--
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] XML as a dataprovider

2006-10-08 Thread Peter Farland





First up, Flex is doing more work for you than you realize 
- the lastResult attribute has been marked with [Bindable] metadata which asks 
the mxmlc compiler to generate some code to ensure that change events are 
propagated to interested listeners. For a simplified explanation of what happens 
in your particular case - when the asynchronous result event comes back 
from the HTTPService it updates its lastResult property which in turn dispatches 
a change event which, thanks to some code generated by the mxmlc compiler, 
propagates this update to the dataProvider property of the 
AreaChart.
 
Note the clues from the previous paragraph - results from 
things like HTTPService or URLLoader are asynchronous so they too rely on you 
dealing with events (specifically RPC result or fault events). You must 
understand events and listeners if you want to achieve the same effect 
manually.
 
You can use the ActionScript API for HTTPService yourself - 
just import mx.rpc.http.HTTPService and instantiate an instance of the class 
yourself and call send() just as you did on the equivalent MXML 
component.
 
Alternatively, if you really do want to use URLLoader 
directly then you'll have to add your own event listeners (see 
flash.net.URLLoader.addEventListener) to listen for the "complete" event and 
then set the AreaChart's data provider with the value of the URLLoader.data 
property manually.
 
Finally, if you find something that could be improved 
in the documentation the best way to help is to leave constructive criticism on 
the live docs for the online version of Flex 2 manual.
 
Pete
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of SamSent: 
Sunday, October 08, 2006 12:26 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] XML as a 
dataprovider


Hi,I'm trying to use XML as a dataprovider to charts and the 
shortuseless blurb in the flex 2 manual isn't helping. If I 
use>...dataProvider="{getXML.lastResult.xport.data.row}">...Where 
the xml is in the form 
of:...But 
if I try to assign the dataprovider dynamicly in actionscriptusing a 
urlloader/urlrequest then doing a :myXML = 
XML(myLoader.data);as the docs suggest I can't just 
go:myChart.dataProvider = myXMLOr any part of myXML like 
myXML.xport.data.rowIs there a way to stick myXML into the 
dataprovider or is the correctway to go through all this MXML (I'd rather 
use AS)?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] Using Remoting on Flex 2.0

2006-10-08 Thread Varun Shetty

Thank you, Daniel, Julian and Hank. 

The links provided was of great help, I could finally make a Flex-OpenAMF 
connection and use the flex charts to generate a chart too. 

This link was the best. 
http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html

Now next lemmie try Flex with FDS to get the same result.. not really sure how 
to go about it, but will give it a shot first.. :) 

Thank you,
Regards,
VARUN SHETTY  
 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
Wabyick
Sent: Friday, October 06, 2006 8:33 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Using Remoting on Flex 2.0


Here is a link to another article describing how to connect Flex 2 to an 
AMF0 back-end implementation. I found it particularly helpful. You can 
ignore the back-end AMFPHP part of the article, and just use your 
OpenAMF backend, which I have used succesfully as well.

http://www.adobe.com/devnet/flex/articles/flex2_amfphp_03.html

Also, I highly recommend getting yourself a robust Flash remoting 
debugging tool. This will allow you to easily see what Remoting calls 
(and all other HTTP traffic) that are going over the wires.

http://www.xk72.com/charles/

Cheers,
-Daniel

p.s. to clarify, FDS does provide Flash Remoting capabilities as well. I 
prefer it to OpenAMF as its better documented and more cleanly 
implemented. The issue with it is that it is not free if you are 
creating a multi-CPU application.

hank williams wrote:
>
> I found the link to renaun's website with the remoteObjectAMF0 tool:
>
> http://renaun.com/blog/?p=31 
>
> Hope this helps,
>
> Regards
> Hank
>
> On 10/6/06, Varun Shetty <[EMAIL PROTECTED] 
> > wrote:
> > Thank you Hank,
> >
> > The link provided by greg was too confusing and didn't see it 
> solving my concern.
> >
> > I will try FDS and AMF to generate the chart. I am not really relied 
> or hooked upon only using flex and openamf directly. didn't find 
> anything specific by renaun... but I'll keep searching..
> > Thanks for the lead.
> >
> >
> > Thank you,
> > Regards,
> > VARUNSHETTY
> >
> > 
> > From: flexcoders@yahoogroups.com 
>  
> [mailto:flexcoders@yahoogroups.com 
> ] On Behalf Of hank williams
> > Sent: Friday, October 06, 2006 3:20 AM
> > To: flexcoders@yahoogroups.com 
> > Subject: Re: [flexcoders] Using Remoting on Flex 2.0
> >
> > I dont think the referenced article here is really on point to the 
> question for a variety of reasons, the most important of which is that 
> it is based on using FDS which he explicitly stated he doesnt want to 
> use. Also the article is for constructing Data Acess Objects, but 
> presumably, since he was already doing this in flash 8, he has remote 
> functions already written which he just wants to use with his new flex 
> code.
> >
> > The issue is a simple question of AMF0 remoting in flex.
> >
> > I gave up on using AMF0 and am currently using FDSExpress and AMF3 
> to do remoting. But there are some tools and articles about how to do 
> this. There is, I believe, an article on this somewhere on the adobe 
> website. There was also some code written by renaun (I hope I have 
> that spelling right) that will, as I understand it, help you to do 
> this, though, I have not yet gotten it working. That doesnt mean it 
> doesnt work, but just that I have not focused on that part of my app 
> recently. I think if you search the archives for renaun, AMF0 and 
> amfphp and remoting, you will find references to discussions about 
> this that will be helpful.
> >
> > Hank
> > On 10/5/06, greg h <[EMAIL PROTECTED] 
> > wrote:
> > Varun,
> >
> > Congratulations on getting your remoting configuration working with 
> Flash 8. Getting it working Flex 2 likely will be pretty 
> straightforward from here.
> >
> > I currently am not using Java as backend on my Flex 2 apps. But I do 
> think the following article might walk you through the remaining steps:
> > Automatically generating code for Flex 2 data access
> > http://www.adobe.com/devnet/flex/articles/daoflex.html 
> 
> >
> > The article focuses on using Flex 2 with RemoteObject against Java 
> backends. The article is very tightly written and includes 
> downloadable code.
> >
> > And best of all, the article is a how-to for using DAOFlex, an 
> open-source tool that generates Flex and Java code for you :-)
> >
> > hth,
> >
> > g
> >
> > On 10/5/06, Varun Shetty <[EMAIL PROTECTED] 
>  > wrote:
> > Hi,
> >
> > I do not have a CF server, I have installed OpenAMF on Tomcat server.
> > With flash 8 I have been able to connect to the server and get the data.
> >
> > Data is coming from 

Re: [flexcoders] how to use multiple symbols from same swf

2006-10-08 Thread Muzak
search the docs for 'embed'

http://livedocs.macromedia.com/flex/2/docs/0975.html


- Original Message - 
From: "shemeshkale" <[EMAIL PROTECTED]>
To: 
Sent: Sunday, October 08, 2006 3:43 PM
Subject: [flexcoders] how to use multiple symbols from same swf


i have seen people using this : @Embed(source='/assets/rasta.swf#hello')

what does the #hello mean?
that i can use multiple sympols from one swf?
like rasta.swf#hello __ rasta.swf#ganjah __ rasta.swf#whatever ???

how do i do this?







--
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] load SWF into FLEX APPLICATION

2006-10-08 Thread Jose L Martinez Ventura
How i do to load flash swf movie, into flex applicacion and work with them;

for example:

I have a map made with macromedia flash 8.0 i want to load this map  
into my flex application and show information in flex when the user  
click over the map.

Some sample files please send to [EMAIL PROTECTED]

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: flex2 on a mac - compile

2006-10-08 Thread michaelrohner
Thanks for reply

I'm pretty new to the command line in the terminal.

How can I check if jvs 1.5.2 is installed. I thought, installing of
J2SE50Release4 would do it. Please confirm.

Could you please give me exactly the code in the command line. 

Thanks again for responding.
I'm looking very much forward to my first flex project!!!
Michael





--
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] XML as a dataprovider

2006-10-08 Thread Sam
Hi,
I'm trying to use XML as a dataprovider to charts and the short
useless blurb in the flex 2 manual isn't helping.  If I use

...

...

Where the xml is in the form of:




...



But if I try to assign the dataprovider dynamicly in actionscript
using a urlloader/urlrequest then doing a :

myXML = XML(myLoader.data);

as the docs suggest I can't just go:

myChart.dataProvider = myXML

Or any part of myXML like myXML.xport.data.row

Is there a way to stick myXML into the dataprovider or is the correct
way to go through all this MXML (I'd rather use AS)?

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] how to use multiple symbols from same swf

2006-10-08 Thread shemeshkale
i have seen people using this : @Embed(source='/assets/rasta.swf#hello')

what does the #hello mean?
that i can use multiple sympols from one swf?
like rasta.swf#hello __ rasta.swf#ganjah __ rasta.swf#whatever ???

how do i do this?





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




[flexcoders] how to: cornerRadius only for specific corners

2006-10-08 Thread shemeshkale
hello,
using FLEX 2.
i have an HBox with solid border on top+right+left only (no bottom)
i also gave it cornerRadius=5 and backgroundColor=#ff
what happens is that on bottom left+right corners the background color
is rounded but the border is not, and that looks not good !

how do i determine which corners gets rounded and which not?





--
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] Map Tile Library

2006-10-08 Thread Kelly












I tend to agree.

 

If the images and levels of detail
available in yahoo maps suite your needs then using their component is by far
easier then creating your own.

 

I am told they are currently working on a
Flex 2 version of the map component.

 

 

--Kelly

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Igor Costa
Sent: Saturday, October 07, 2006
9:43 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Map Tile
Library



 







Man,

just take  a look at the Flash Developer center of Yahoo!

regards



On 10/7/06, atlasalive
<[EMAIL PROTECTED]com >
wrote:









I'm prototyping a map
viewer application similar to Google or Yahoo
maps. I will be connecting to image tile libraries that I create with
another GIS application. So the one thing I know is that there will
be a library of image tiles at different zoom levels and XML documents
that communicate the metadata. These may be accessed directly or
through a .Net web service. The server side will be .Net. All the
tiles will be the same size.

I'll need to implement standard map functions like zoom, pan, etc. I
also want to do things like drawing polylines onto the map, overlaying
icons, and the like.

I'm new to Adobe Flex and I was hoping to get suggestions on an
architecture. Basically 
1) I need a high-performing system that retrieves the tiles and
presents a seamless map to the user. 
2) I would like to cache the edge tiles so the seamless effect
continues when panning.
3) I'd like to be able to configure the application's number of tiles
and tile size.
4) I'd like to make it flexible enough to draw tiles from a web
service if necessary.
5) I'd like to deliver image tiles to the desktop separately and have
the user 'point' to the local cache if possible. Apollo? Zinc?

What visual components/techniques would best implement the seamless
pannable tiled map? How does Yahoo do it? Any gotchas I should be
aware of?

What techniques /components will provide the optimal performance for
accessing the tile libraries, either if they are files or web service
calls?

Are there existing bodies of work that I could use as a template?

Are there mentors available who can help me up front? Anybody in the
Seattle, USA area?














-- 

Igor Costa
www.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] Map Tile Library

2006-10-08 Thread Kelly












I just completed something like this for www.pikeo.com

 

They were using mapquest to provide maps
but they didn’t like the way it worked so they had me rebuild the
Microsoft Virtual Earth control ( http://local.live
) in Flex.

 

The tiles are all loaded from Microsoft’s
Virtual Earth servers. (We got a licensing agreement with Microsoft)

 

The tiles are all loaded directly. The URL’s
to retrieve the images are constructed using lat and lon coordinates and zoom
level. The trigonometry involved in this is sort of complex.

 

I would not have been able to do this
without the help of Paul Neave who provided me the source code for his
FlashEarth application. (http://www.flashearth.com/
)

 

Flash Earth was written in Flash 5 and didn’t
translate well to Flex but without his formulas for calculating the tile urls I
would never have been able to do it.

 

As far as drawing tiles from GIS data, I
know nothing about that. 

 

In Virtual Earth there are 19 levels of
zoom. There are probably well over 300,000 tiles total.

 

I am not sure you realize how much work it
would be to set this up when you are building both sides of it.

 

I only built the map viewer. I had nothing
to do with creating the tiles themselves or the platform for serving them and I
imagine it was an incredible amount of work.

 

 

If you need assistance contact me off
list: [EMAIL PROTECTED]

 

 

--Kelly

 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of atlasalive
Sent: Saturday, October 07, 2006
5:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Map Tile
Library



 







I'm prototyping a map viewer application similar to
Google or Yahoo
maps. I will be connecting to image tile libraries that I create with
another GIS application. So the one thing I know is that there will
be a library of image tiles at different zoom levels and XML documents
that communicate the metadata. These may be accessed directly or
through a .Net web service. The server side will be .Net. All the
tiles will be the same size.

I'll need to implement standard map functions like zoom, pan, etc. I
also want to do things like drawing polylines onto the map, overlaying
icons, and the like.

I'm new to Adobe Flex and I was hoping to get suggestions on an
architecture. Basically 
1) I need a high-performing system that retrieves the tiles and
presents a seamless map to the user. 
2) I would like to cache the edge tiles so the seamless effect
continues when panning.
3) I'd like to be able to configure the application's number of tiles
and tile size.
4) I'd like to make it flexible enough to draw tiles from a web
service if necessary.
5) I'd like to deliver image tiles to the desktop separately and have
the user 'point' to the local cache if possible. Apollo? Zinc?

What visual components/techniques would best implement the seamless
pannable tiled map? How does Yahoo do it? Any gotchas I should be
aware of?

What techniques /components will provide the optimal performance for
accessing the tile libraries, either if they are files or web service
calls?

Are there existing bodies of work that I could use as a template?

Are there mentors available who can help me up front? Anybody in the
Seattle, USA area?






__._,_.___





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

  




__,_._,___