Re: [flexcoders] Continuous integration woes

2008-04-19 Thread cisnky
I've always had the source code related to the project in the src folder.
Then linked to any library source I may need on my project.

We use Ant and just add the source path to the mxmlc compile task.

Is there any reason why you can't get CruiseControl to launch Ant build
files for the Flex part of your project. It can be done and works from a
Windows and Unix box.

I get a warning from FlexBuilder that a source path is inside another
source path.

I've had that warning before. If you ignore, your project ends up getting
confused.


On Fri, Apr 18, 2008 at 10:37 PM, Richard Rodseth [EMAIL PROTECTED]
wrote:

   Are there any definitive examples of best practices for project layout
 of libraries and applications, that works well with Flexbuilder, as
 well as compc/mxmlc (example command-line arguments would help too).

 My latest struggle is with locales. I followed an Adobe example, and
 placed locales alongside src, and added

 -locale en_US -source-path=../locale/{locale}

 to the additional compiler options in FlexBuilder.

 My colleague (who is working on the CruiseControl builds, and is new
 to Flex) requested that the locales folder be inside the src folder,
 and I know that I have had problems in the past with assets outside
 the src folder.

 So I complied, and changed the options to:

 -locale en_US -source-path=locale/{locale}

 However, doing it this way, I get a warning from FlexBuilder that a
 source path is inside another source path. Removing the compiler
 option and checking the checkboxes in the Assets tab didn't work.

 Unfortunately, Ant or Maven are not options, as we are integrating with
 MSBuild.
  



[flexcoders] Flickr: Sandbox issue with unavaiable.gif

2007-11-14 Thread cisnky
SecurityError: Error #2122: Security sandbox violation

How do I get round the security violation for the unavaiable.gif, it
seems that server doesn't have a cross domain.

http://l.yimg.com/www.flickr.com/images/photo_unavailable.gif

I thought it would be a case of not making the call when the api
returned the url, but not the case because the server redirects to
that gif.

Cheers.


Re: [flexcoders] Block a LocalConnection call

2007-10-31 Thread cisnky
I would check the usual like Flash Player version.

Also your local connection name might be clashing with another
application the user might be running on there machine (Yahoo
Messenger has been known to cause problems).

Let us know how you get on.

On Oct 31, 2007 11:23 AM, Mark Ingram [EMAIL PROTECTED] wrote:









 Hi, is there anything that could stop a LocalConnection call from working,
 e.g. a firewall? I'm using a LocalConnection to send information between a
 Flex application and an embedded Flex application – it works fine here (and
 every where else we've tried) but for some reason our customer can't get it
 to work. I'm completely stumped on this one.



 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: [flexcoders] tab navigator componene

2007-09-12 Thread cisnky
yourTabNavigatorID.addEventListener(change, tabNavigatorChangeEvent);

tabNavigatorChangeEvent is your event method.



On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote:

 On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote:
  I'm trying to fire an event when a tab is changed within tab navigator
  component but I'm not having any luck.

 Have you looked at the LiveDocs for the component to see the events it
 supports ?

 --
 Tom Chiverton
 Helping to conveniently develop bricks-and-clicks IPOs
 on: http://thefalken.livejournal.com

 

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

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 CONFIDENTIALITY

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

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



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






[flexcoders] Apply filter to image bigger then 2880 px - Picnik

2007-09-11 Thread cisnky
Does anybody know how they have managed to achieve applying a filter 
to an image larger then 2880 px.

You can see by applying a filter say exposure then zooming in on the 
image.

Is the image broken up into smaller images? If that is the case; how 
is the filter, applied evenly across the smaller images and still keep 
perspective?



Re: [flexcoders] Best way to convert PNG to for usable in Flex

2007-05-28 Thread cisnky

How large are we talking in terms of the size of the PNG files?


On 5/28/07, David Lewis [EMAIL PROTECTED] wrote:



Hello,

We are working on a project where we need to be able to work with large
size
PNG files using transparency. What is the best way to convert these
transparent PNG files so that they can be properly displayed and worked
with
in Flash?

Thanks
David Lewis





Re: [flexcoders] How to clear video image from VideoDisplay?

2007-02-18 Thread cisnky

Use the close method.

.close();


On 2/18/07, ad9798 [EMAIL PROTECTED] wrote:


  Video class has method called 'clear()' to clear out the image from
displaying it, but I can't find similar function to clear out image
from VideoDisplay? Any ideas?





Re: [flexcoders] HTTP Service doesnt seem to connect to location when running from a server

2007-02-06 Thread cisnky

I think the service needs a cross domain.

You can use Tamper Data a Firefox plugin to see if you app makes a request
for the cross domain when running it on your server.

Let us know how you get on.

On 2/6/07, bnprrsh [EMAIL PROTECTED] wrote:


  I am currently trying to create a simple front end app which connects
to a 3rd party API made for some backup software. The API accepts HTTP
post data and generates its responses in XML.

I have built a simple app with a HTTP service which posts data to the
api and processes the responses.

The application runs fine from my local machine and I get a response
from the HTTPService (the status bar also gives the Transferring data
from... mesage. However when I upload the application to the live
server it doesn't seem to be connecting and I get no response or errors.

I have tested this on 3 servers all running IIS and windows 2003 these
servers are in 3 seperate datacentres.

Can anyone shed any light on this.

Thanks

 



Re: [flexcoders] What is the best Flex Message Board ( Other than this group Yahoo ) ?

2007-02-03 Thread cisnky

I don't think you get any better then here at the moment. But Ultrashock has
a forum that is up and coming.

On 2/3/07, Shannon Hicks [EMAIL PROTECTED] wrote:


  Probably the Adobe Flex forum.

Shan

helihobby wrote:

 What is the best Flex Message Board ( Other than this group Yahoo ) ?

Thanks for the help,

Sean.






Re: [flexcoders] Can Flex directly replace Flash????

2007-02-03 Thread cisnky

Sorry for the short answer. But have you looked at using AS3 with your
project? Some of the stuff you have mentioned can be handled with AS3
combining with the Flex part of your project.


On 2/3/07, Mike Anderson [EMAIL PROTECTED] wrote:


  Hello All,

As I dive into converting my commercial Flash Map Application, into a
Flex-based Application, I am quickly finding out that Flex may not be
able to perform some key functions.

This of course, may be attributed to my lack of understanding of Flex -
so my main goal of this post, is to get some clarifications from the
List Gurus regarding if/how I can do the same things in Flex, as I did
in Flash.

For a quick overview, I wrote a Commercial Flash Application for my
primary client, and it allows their user-base to load Vector-based Lake
Maps, from their 10,000+ Lake Map Database. Once the user browses to
the desired map, they can immediately start to customize it - by adding
Waypoint Icons, Points of Interest, Notes, etc. As they move their
mouse cursor around, they get real-time GPS Coordinates in any format
they like.

On the Flash programming side of things, I used the following
methodology:

I use CF / Remoting to handle all Database reads/writes. I use
the MovieClipLoader Component, to handle all the loading of SWF
Maps. I have an Icon Bar at the bottom of the screen, in which
the user can drag those Icons directly onto the Map. After they
release the Mouse Button, I use attachMovie() to attach a copy
of the Icon to the Map SWF File. At the same time, I make a
Remoting call, to record the x,y coordinates of the Icon in
relation to the Map. When the user wants to come back to their
custom map in the future, I simply make another Remoting Call
to the CF Server, get the Results, and then Loop through the
Result Set. Within the For/Next Loop, I again use
attachMovie()
to put the Icons back to their original locations when they were
first saved.

This pretty much covers the logic required, to make my Map Application
do it's thing.

Now how the heck would I duplicate this functionality inside of Flex???

So far, I've mastered the SWFLoader Component, and can Scale/Zoom the
SWF Files, in addition to Panning them around using startDrag() and
stopDrag(). This is where things pretty much stop, as I am not sure
what to do next. The Remoting stuff is a total no-brainer, and I am
well-versed in Cairngorm-based Flex Apps - so I have the Data
interaction aspects down cold.

What I need the most, is how to handle all the Drag/Drop logic with the
Icons, and attaching them to the Map SWF File (so that when I pan the
SWFLoader Component around, the Icons go right along with it).

Sorry for the lengthy post, but I needed to explain things as clearly as
possible to get my problems across.

Thanks in advance, for any help you can throw my way,

Mike




Re: [flexcoders] How I can to modify a xml with Flex and Php?

2007-02-02 Thread cisnky

Do you have anymore information. Maybe start with how would you go about
modifying xml with php and then look at the flex bit.

On 2/2/07, alphaclass525 [EMAIL PROTECTED] wrote:


  How I can to modify a xml with Flex and Php?

 



[flexcoders] Datagrid Custom Renderer and Embeded Images.

2007-01-31 Thread cisnky
I'm still having problems getting my icons to render in the datagrid.

I've uploaded the app with source to the following location.

http://www.tsuma.biz/flex/filebrowser/

Xml pulled in via the http request.

http://www.tsuma.biz/flex/filebrowser/file_directory_list.php

Does anybody know why my embed images are not being found.



Re: [flexcoders] Re: Datagrid Custom Renderer and Embeded Images.

2007-01-31 Thread cisnky

Doug,

Thanks for that. Problem solved. I tried calling a function from the
attribute source before, but didn't add the curly braces.




On 1/31/07, Doug Lowder [EMAIL PROTECTED] wrote:


   Try the following in the icons.mxml file:

mx:Image id=image_id x=20 height=20 source={
data.file_extension=='php'? php : folder} /

If that works, I'm sure it will get you on your way to a complete
solution.  Good luck!



Doug


--- In flexcoders@yahoogroups.com, cisnky [EMAIL PROTECTED] wrote:

 I'm still having problems getting my icons to render in the datagrid.

 I've uploaded the app with source to the following location.

 http://www.tsuma.biz/flex/filebrowser/

 Xml pulled in via the http request.

 http://www.tsuma.biz/flex/filebrowser/file_directory_list.php

 Does anybody know why my embed images are not being found.






Re: [flexcoders] Apollo features

2007-01-30 Thread cisnky

If MDM Zinc can do it, then I expect Apollo to be able.

On 1/30/07, Jerome Clarke a.k.a sinatosk [EMAIL PROTECTED] wrote:


  extending on that... will we be able to communicate with dynamic
libraries? ( like .DLL on windows, .SO on linux )

On 1/30/07, Tom Chiverton  [EMAIL PROTECTED] wrote:

   Does anyone or has read somewhere, if Apollo will allow you to launch
 native
 local applications ?
 --
 Tom Chiverton

 

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

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF. A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.

 CONFIDENTIALITY

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

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


 



[flexcoders] Re: DataGrid Custom Image Renderer - Random Cache Weirdness

2007-01-29 Thread cisnky
Anybody?

--- In flexcoders@yahoogroups.com, Anthony Onumonu [EMAIL PROTECTED] 
wrote:

 I seem to be having very weird results. The correct image from my 
 cell renderer does not always display. I'm not sure if it's some 
 sort of caching from previous requests.
 
 Is the problem with the way I'm setting the data on the cell 
 renderer. I've tried various methods all rendering weird results. 
 
 
 Sample node from XML returned from HTTP request
 
 file
   file_namefile_directory_list.php/file_name 
   file_size1.8/file_size 
   file_typefile/file_type 
   file_modified27th January, 2007/file_modified 
   file_extensionphp/file_extension 
 /file
 
 Cell Renderer
 
 ?xml version=1.0 encoding=utf-8?
 !-- itemRenderers\dataGrid\myComponents\RendererDGHeader.mxml --
 mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
   
 import mx.controls.dataGridClasses.DataGridColumn;
   
 [Embed(source=png/php.png)]
 [Bindable]
 public var php:Class;
 
 private function setCustomIcon(setValue:String):void
 {
   image_id.source = this[setValue];
 }   
 ]]
 /mx:Script
 mx:HBox horizontalAlign=center
 mx:Image id=image_id x=20 height=20 
 creationComplete=setCustomIcon(data.file_extension) /
 /mx:HBox
 /mx:HBox
 
 Datagrid
 
   mx:DataGrid id=dgUserRequest width=100% 
 height=100% dataProvider={userRequest.lastResult.files.file} 
 itemClick=itemClickEvent(event); borderStyle=solid
   mx:columns
   mx:DataGridColumn 
 width=120 headerText=  dataField=file_type 
 itemRenderer=renderer.icons/   
   mx:DataGridColumn 
 headerText=Name dataField=file_name/
   mx:DataGridColumn 
 headerText=Size dataField=file_size/
   mx:DataGridColumn 
 headerText=Date Modified dataField=file_modified/
   mx:DataGridColumn 
 headerText=Extension dataField=file_extension/
   /mx:columns
   /mx:DataGrid





Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky

Is the data from an xml document?

If so, can I see your xml doc?


On 1/29/07, Tony [EMAIL PROTECTED] wrote:


  hola peeps!

im a newbie, so please bear with me...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
layout=vertical
mx:WebService
id=myService
wsdl=http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl 

mx:operation name=getVehicleDataForCompany
resultFormat=object
mx:request
companyIdNumber1/companyIdNumber
/mx:request
/mx:operation
/mx:WebService
mx:DataGrid dataProvider={
myService.getVehicleDataForCompany.lastResult}
mx:columns
mx:DataGridColumn headerText=Vehicle Name
dataField=vehicleName/
mx:DataGridColumn headerText=Phone Number
dataField=phoneNumber/
mx:DataGridColumn headerText=Ip Address Number
dataField=ipAddressNumber/
/mx:columns
/mx:DataGrid
/mx:Application

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right?
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg
navtrak, inc.
[EMAIL PROTECTED]





Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky

Do you have time for another datagrid related question?

http://tech.groups.yahoo.com/group/flexcoders/message/62788



On 1/29/07, Andrew Trice [EMAIL PROTECTED] wrote:


   I talked to Tony on instant messenger about that… He was missing the
send() method for his web service.



_

*Andrew Trice*

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *cisnky
*Sent:* Monday, January 29, 2007 3:17 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Newbie question: Datagrid and a WS



Is the data from an xml document?



If so, can I see your xml doc?



On 1/29/07, *Tony* [EMAIL PROTECTED] wrote:

hola peeps!

im a newbie, so please bear with me...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml 
layout=vertical
mx:WebService
id=myService
wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl 

mx:operation name=getVehicleDataForCompany
resultFormat=object
mx:request
companyIdNumber1/companyIdNumber
/mx:request
/mx:operation
/mx:WebService
mx:DataGrid dataProvider={
myService.getVehicleDataForCompany.lastResult}
mx:columns
mx:DataGridColumn headerText=Vehicle Name
dataField=vehicleName/
mx:DataGridColumn headerText=Phone Number
dataField=phoneNumber/
mx:DataGridColumn headerText=Ip Address Number
dataField=ipAddressNumber/
/mx:columns
/mx:DataGrid
/mx:Application

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right?
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg
navtrak, inc.
[EMAIL PROTECTED]







Re: [flexcoders] Newbie question: Datagrid and a WS

2007-01-29 Thread cisnky

I tried the first method originally, but I ended up with an icon for a
broken image.

I'm not sure if this because of the datatype?


On 1/29/07, Andrew Trice [EMAIL PROTECTED] wrote:


   In your case, you need to fire the event that sets the source of the
image whenever the data to the cellrenderer is changed.  Not on creation
complete.  You can do this two ways:



1)   bind the source of the image tag to the data :

mx:Image source={  data.file_name } /



2)   Override the set data function to update the image source
whenever the data has been updated.



I would go with #1 first.



-Andy



_

*Andrew Trice*

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *cisnky
*Sent:* Monday, January 29, 2007 3:47 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Newbie question: Datagrid and a WS



Do you have time for another datagrid related question?



http://tech.groups.yahoo.com/group/flexcoders/message/62788





On 1/29/07, *Andrew Trice* [EMAIL PROTECTED] wrote:

I talked to Tony on instant messenger about that… He was missing the
send() method for his web service.



_

*Andrew Trice*

Cynergy Systems, Inc.

http://www.cynergysystems.com



Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY


 --

*From:* [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] *On
Behalf Of *cisnky
*Sent:* Monday, January 29, 2007 3:17 PM
*To:* [EMAIL PROTECTED] ups.com
*Subject:* Re: [flexcoders] Newbie question: Datagrid and a WS



Is the data from an xml document?



If so, can I see your xml doc?



On 1/29/07, *Tony*  [EMAIL PROTECTED] wrote:

hola peeps!

im a newbie, so please bear with me...

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx= http://www.adobe.com/2006/mxml 
layout=vertical
mx:WebService
id=myService
wsdl= http://dev.navtrak.net/intranet/crm_cfc.cfc?wsdl 

mx:operation name=getVehicleDataForCompany
resultFormat=object
mx:request
companyIdNumber1/companyIdNumber
/mx:request
/mx:operation
/mx:WebService
mx:DataGrid dataProvider={
myService.getVehicleDataForCompany.lastResult}
mx:columns
mx:DataGridColumn headerText=Vehicle Name
dataField=vehicleName/
mx:DataGridColumn headerText=Phone Number
dataField=phoneNumber/
mx:DataGridColumn headerText=Ip Address Number
dataField=ipAddressNumber/
/mx:columns
/mx:DataGrid
/mx:Application

is my webservice tag, and the resulting dataProvider param of the
mx:datagrid tag, right?
im close on getting data into a datagrid from a WS, i just want to make
sure...
im getting the datagrid with no data in it??

thanks for all your help!
and hello, im a newbie, but learning fast :)

tony weeg
navtrak, inc.
[EMAIL PROTECTED]









[flexcoders] Re: DataGrid Custom Image Renderer - Random Cache Weirdness

2007-01-28 Thread cisnky
Anybody?

--- In flexcoders@yahoogroups.com, Anthony Onumonu [EMAIL PROTECTED] 
wrote:

 I seem to be having very weird results. The correct image from my 
 cell renderer does not always display. I'm not sure if it's some 
 sort of caching from previous requests.
 
 Is the problem with the way I'm setting the data on the cell 
 renderer. I've tried various methods all rendering weird results. 
 
 
 Sample node from XML returned from HTTP request
 
 file
   file_namefile_directory_list.php/file_name 
   file_size1.8/file_size 
   file_typefile/file_type 
   file_modified27th January, 2007/file_modified 
   file_extensionphp/file_extension 
 /file
 
 Cell Renderer
 
 ?xml version=1.0 encoding=utf-8?
 !-- itemRenderers\dataGrid\myComponents\RendererDGHeader.mxml --
 mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
   
 import mx.controls.dataGridClasses.DataGridColumn;
   
 [Embed(source=png/php.png)]
 [Bindable]
 public var php:Class;
 
 private function setCustomIcon(setValue:String):void
 {
   image_id.source = this[setValue];
 }   
 ]]
 /mx:Script
 mx:HBox horizontalAlign=center
 mx:Image id=image_id x=20 height=20 
 creationComplete=setCustomIcon(data.file_extension) /
 /mx:HBox
 /mx:HBox
 
 Datagrid
 
   mx:DataGrid id=dgUserRequest width=100% 
 height=100% dataProvider={userRequest.lastResult.files.file} 
 itemClick=itemClickEvent(event); borderStyle=solid
   mx:columns
   mx:DataGridColumn 
 width=120 headerText=  dataField=file_type 
 itemRenderer=renderer.icons/   
   mx:DataGridColumn 
 headerText=Name dataField=file_name/
   mx:DataGridColumn 
 headerText=Size dataField=file_size/
   mx:DataGridColumn 
 headerText=Date Modified dataField=file_modified/
   mx:DataGridColumn 
 headerText=Extension dataField=file_extension/
   /mx:columns
   /mx:DataGrid





[flexcoders] Re: DataGrid Custom Image Renderer - Random Cache Weirdness

2007-01-28 Thread cisnky
Or does anybody know where there's an example of a datagrid that has 
a custom renderer populated with images that have been embed into 
the application? 

--- In flexcoders@yahoogroups.com, Anthony Onumonu [EMAIL PROTECTED] 
wrote:

 I seem to be having very weird results. The correct image from my 
 cell renderer does not always display. I'm not sure if it's some 
 sort of caching from previous requests.
 
 Is the problem with the way I'm setting the data on the cell 
 renderer. I've tried various methods all rendering weird results. 
 
 
 Sample node from XML returned from HTTP request
 
 file
   file_namefile_directory_list.php/file_name 
   file_size1.8/file_size 
   file_typefile/file_type 
   file_modified27th January, 2007/file_modified 
   file_extensionphp/file_extension 
 /file
 
 Cell Renderer
 
 ?xml version=1.0 encoding=utf-8?
 !-- itemRenderers\dataGrid\myComponents\RendererDGHeader.mxml --
 mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
 mx:Script
 ![CDATA[
   
 import mx.controls.dataGridClasses.DataGridColumn;
   
 [Embed(source=png/php.png)]
 [Bindable]
 public var php:Class;
 
 private function setCustomIcon(setValue:String):void
 {
   image_id.source = this[setValue];
 }   
 ]]
 /mx:Script
 mx:HBox horizontalAlign=center
 mx:Image id=image_id x=20 height=20 
 creationComplete=setCustomIcon(data.file_extension) /
 /mx:HBox
 /mx:HBox
 
 Datagrid
 
   mx:DataGrid id=dgUserRequest width=100% 
 height=100% dataProvider={userRequest.lastResult.files.file} 
 itemClick=itemClickEvent(event); borderStyle=solid
   mx:columns
   mx:DataGridColumn 
 width=120 headerText=  dataField=file_type 
 itemRenderer=renderer.icons/   
   mx:DataGridColumn 
 headerText=Name dataField=file_name/
   mx:DataGridColumn 
 headerText=Size dataField=file_size/
   mx:DataGridColumn 
 headerText=Date Modified dataField=file_modified/
   mx:DataGridColumn 
 headerText=Extension dataField=file_extension/
   /mx:columns
   /mx:DataGrid