[flexcoders] Re: To change font weight in renderer class

2006-09-27 Thread nischalpathania
Hi:

I have fixed this issue by creating menu item renderer class and
overriding updateDisplayList function. 


override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void{
  super.updateDisplayList(unscaledWidth, unscaledHeight);
  label.x=4;
  label.width = unscaledWidth - 10;
  label.setActualSize(unscaledWidth, label.getExplicitOrMeasuredHeight());
}


Now I want to change the format of some of the menu items, say the
item those have "null" data.. I tried following code but it is not
working.


override protected function commitProperties():void{
  super.commitProperties();
  if(this.data.data == "null"){
label.setStyle("fontWeight", "bold");
  }
}


Let me know the correct way to handle this issue.

Thanks in advance
Nischal 


--- In flexcoders@yahoogroups.com, "nischalpathania"
<[EMAIL PROTECTED]> wrote:
>
> I haven't receive any reply on this...so I decided to create a link
> button and on mouse over I'm creating a menu object. But here the text
> start after a empty space on each menubarItem. How can I reduce this
> gap? I tried to use paddingLeft or paddingRight style but not working..
> 
> Thanks
> Nischal
> 
> 
> --- In flexcoders@yahoogroups.com, "nischalpathania"
>  wrote:
> >
> > I'm facing some issues with MenuBar tag. Let me know the workaround to
> > fix following issues.
> > 
> > 1. How can I reduce the gap between root level menu items?
> > 
> > 2. How can I customize separator? Again the width of the separator is
> > too much and it is selectable just like others menuitem. I want to put
> > small vertical line of 2px width in place of this.
> > 
> > 3. I want sub menu to activate when mouse is over the root menu item
> > and goes off when mouse move out of the menus. Currectly I have to
> > click on the menuitem to get the popup and one more click to close.
> > 
> > 
> > Here is the code
> > 
> > 
> > http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >
>






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




Re: [flexcoders] Re: Architecting a large, modular Flex application (with Cairngorm)

2006-09-27 Thread Carlos Rovira



Hi to all,I was following this thread with interest since there is very useful info.One thing that you are not talking about at the moment is about Modular Cairngorm Apps. Cairngorm is a great framework for monolithic flex apps, but if you try to modularize it you don't have the necesary artifacts to accomplish the task (or maybe I can't find those).
if you make a module, you should have a way to add commands and add services on the fly. And the same as you remove a module you should have a way to unregister commands and services. Maybe the shell application should build the main MVC structure and let modules contribute its own commands, services and so on as soon as are loaded. But it seems that nothing of this are taked into account in the microarchitecture. Maybe that would be a topic of interest for many people and a subject fot Steven, Ali and others next article.
Maybe someone has invest time in this subject?Best,C.On 9/28/06, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:












  



Paul, 
>>
Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.<<
   I think browser cache should recognise new RSL. You can use any HTTP tracer to verify that every application startup causes appropriate HTTP request and get 304 and 200 codes. I am not aware of any problems so far.
>>
Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.<<
I would like to confirm that there is a problem first. Also, please refer to initialize method for Preloader object - by subclassing it you can mangle URLs  any way you like.
 
Sincerely,
Anatole
 
On 9/27/06, Paul Spitzer <[EMAIL PROTECTED]> wrote:






Anatole Tartakovsky wrote:> Paul,> Could you please clarify your question - it seems that there are > number of issues that are mixed up here. First, there is no issue of > RSL caching in the browser unless you specifically enable some 
> expiration scheme.Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.Does that make sense?> > I have seen people loading multiple applications side by side - using 
> the same RSLs - that is essentially the question if you want to > isolate your runtime libraries in case of versioning in the future - > that would essentially hurt performance> > Finally, there is an issue of loading RSLs in the root appDomain - 
> essentially you do not have a chance to do reloading of the classes > till the application startup. Also, there is obvious problem with > versioning.> > Seems we are done with the client - now the question is how to build 
> RSLs so it is the smallest, most recent, and up to date one.> > That's were it breaks in the beginning. Essentially, if you are using > dynamic instantiation of any class in the RSL, the main application 
> would not know whic objects to initialize/which dependent classes to > include. One solution we are using is to build self initializing > modules and use them instead of RSLs that would of been extracted out 
> of SWCs by the build process.I was just discussing a similar option with a coworker here. The idea is that instead of using RSLs we'd simply build libs of code (packaged in a SWF) and write our own loading scheme. Going this route, while more 
work, would also allow us to control caching by appending a version to the URL when loading corelib.swf?v=1.Thanks for taking the time to reply.> > HTH,> Anatole Tartakovsky

> > >>> > On 9/26/06, *Paul Spitzer* <[EMAIL PROTECTED] 

[EMAIL PROTECTED]>> 
> wrote:>> >some concerns about potential RSL caching and how to overcome that> >(I think it can be easily overcome with a proper rollout strategy)
>> I'm curious to hear what your plan is to deal with the caching of> RSL(s). Or how others deal with it. Any suggestions?>> derrickgrigg wrote:> > I actually was concerned about the HOW and the WHY. I wanted to find
> > out why doing it that way was a good solution or why someone else's> > solution would be better or more viable. And if the proposed> > solution was good, was how I intended to implement that solution the
> > right way.> >> > I completely agree that having Abstract and Interface classes just> > to accomplish modularity is basically creating a code management> > problem. The only reason it was seriously being considered was to
> > allow the development of seperate module swfs,

Re: [flexcoders] Creating calculated columns inside of DataGrid

2006-09-27 Thread Anatole Tartakovsky



Douglas,
 
If you send XML down and up - it needs to be parsed and processed on both sides - you need to typecast price and quantity to numbers from strings - so you would pay on the client, and then on the server processing the update.

 
Here comes another plug... watch the first part of the presentations mentioned. Your SQL statements wrapped in CF can be migrated to native JEE in minutes while giving you better control.
 
If you are using CF on Java platform you can go native with DaoFlex - top performance, and complete transparency of the generated code to be used in DataServices and RemoteObject mode.
 
Best part for CF fans : you would have very little exposure to Java - can even pretend it is actionscript.
 
Regards,
Anatole
 
 
On 9/28/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:






On 9/27/06, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote: 


OK, can't pass...  here it goes
 
In training sessions we usually recommend to stay away from labelFunction as it is being used for formatting and other functionality. Instead on your ActionScript row record you define getter for formula like this:

 
public function get extendedPrice(data:Object) {
   return data.price * data.quantity;
}
 
That allows you to be able to do ANYTHING with the extendedPrice you can do with regular columns - filter/sort/total/apply labelFunction, use in other expressions like calculations of discounts.

Now that sounds good!  If you are using a AS object for each row.  Not very performant after > say 100 rows and using ColdFusion in the middle.  Creating instances of CFCs is costly in CF land.  In these cases I use XML to populate a grid...mucho faster. 
DK 



As far as reporting - here is a list of references you can explore on some of our open source free and commercial Flex 2 products 
RealWorld Flex video - http://www2.sys-con.com/webinararchive.cfm?pid=wc_rwf6_s02fain®istered=on 

The last 10 minutes is reportwriter and language extensions for computed expressions in dataGrid
 
For whatever screen capture video is out of sync, so here are slides and video http://www.faratasystems.com/?page_id=70 
 . You will need codec listed on the page in order to see video of the running system. 
Of course, you can see it live - either @ max'06 or by contacting the presenters.
 
 
Regards,
Anatole Tartakovsky
www.faratasystems.com
 
 
 
On 9/27/06, Mike Anderson <[EMAIL PROTECTED] 
> wrote: 






Thanks Dustin - I was looking at that too -
 
I just got hung up on Flex doing it in a different way, and was looking elsewhere for the answer.
 
Not sure if you remember the FireFly Controls (from Cybersage Software) that Macromedia steamrolled over a few years back, but they dipped into a large chunk of their functionality when they released the V2 Controls for Flash.  In the Column definitions, you could literally flag certain columns to be "Subtotal" and "Running Total" type containers.  It really was a work of art, until they got absorbed... 

 
Again, thanks for your help -
 
Mike



From: [EMAIL PROTECTED]ups.com [mailto:
 flexcoders@yahoogroups.com] On Behalf Of Dustin MercerSent: Wednesday, September 27, 2006 6:39 PM 
To: [EMAIL PROTECTED] ups.comSubject: RE: [flexcoders] Creating calculated columns inside of DataGrid
 



The labelFunction on the DataGridColumn should do what you are asking.  Here is an exerpt from the docs @ 
http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridColumn.html
 




labelFunction

property

 
labelFunction:
 Function  [read-write] 
A function that determines the text to display in this column. By default the column displays the text for the field in the data that matches the column name. However, sometimes you want to display text based on more than one field in the data, or display something that does not have the format that you want. In such a case you specify a callback function using 
labelFunction. 
For the DataGrid control, the method signature has the following form:
labelFunction(item:Object, column:DataGridColumn):String
Where item contains the DataGrid item object, and 
column specifies the DataGrid column.
A callback function might concatenate the firstName and lastName fields in the data, or do some custom formatting on a Date, or convert a number for the month into the string for the month. 

This property can be used as the source for data binding.
Implementation public function get labelFunction():
 Function public function set labelFunction(value:
 Function):void 
 
 
 




From: [EMAIL PROTECTED]
 ups.com [mailto:flexcoders@ 
yahoogroups.com] On Behalf Of Mike Anderson 
Sent: Wednesday, September 27, 2006 4:24 PM To: [EMAIL PROTECTED]
ups.comSubject: [flexcoders] Creating calculated columns inside of DataGrid


 



Hello All,Are there any tutorials or examples, that demonstrate Grid Columns whichpossess the ability to take the contents of other Grid Columns, and 
perform calculations?The clearest example of this, would be an order form - w

[flexcoders] Re: setStyle weirdness

2006-09-27 Thread David Harris
ok
to answer my own question...

It's because I am using a "tile".
It wasn't scaling the other images, just padding them out like a good
mx:Tile should!

...time to press tho "duh" key...

On 9/28/06, David Harris <[EMAIL PROTECTED]> wrote:
> I am in the process of making some form of Image Gallery.
>
> I get the information from the server, then loop over the results and
> add them to a display panel using "addChild"
>
> As I am creating each image, I assign the "showEffect" so that when it
> show it look nice.
>
> Then I am also assigning the mouseUpEffect and rolloutEffect, with the
> idea when the image is clicked it grows (using a Zoom effect) and when
> the mouse leaves the image it returns back to thumb nail size.
>
> Here is my example code from the data retrived handler function :
> 
> [SOME STUFF HERE]
>
> _aFiles = event.result as ArrayCollection;
>
> for(var i:Number = 0; i < _aFiles.length ; i ++)
> {
> var imgNewImage:Image   = new mx.controls.Image();
>
> imgNewImage.id  = "albumImage" + i.toString();
>
> imgNewImage.addEventListener("complete",imageCompleteHandler);
>
> var sSource:String  = "[URL TO FILE]" + _aFiles[i].PATH;
>
> imgNewImage.source  = sSource;
>
> imgNewImage.height  = 150;
> imgNewImage.width   = 150;
> imgNewImage.cacheAsBitmap   = true;
>
> imgNewImage.visible = false;
>
> imgNewImage.setStyle("showEffect",myShowEffect);
> imgNewImage.setStyle("mouseUpEffect",myMouseUpZoomEffect);
> imgNewImage.setStyle("rollOutEffect",myMakeitAThumbNailAgainEffect);
>
> //add to display tile
> imageDisplayTile.addChild(imgNewImage);
>
> }
>
> [ETC ETC]
> =
>
> the problem is this:
>
> When an image is clicked EVERY image runs the "mouseUpEffect".
> Since I am declaring a new image every iteration, I was expecting the
> styles to be separate too. I thoght maybe assigning an ID would fix
> it, but this didn't help.
>
> Am I missing something, or is this expected behaviour, or is it a bug?
>
> Any ideas?
>


--
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] New Autocomplete component (free)...feedback?

2006-09-27 Thread Mike Anderson





I was gonna say, somebody as well versed as yourself, not 
spotting the word-wrap and fixing it on your own, sounded really weird to 
me...
 
I am very excited to try this component - as I've been 
slaving away writing my own version of this, so in the meantime, I can use this 
one - and learn from it.
 
Mike


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Wednesday, September 27, 2006 11:24 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] New Autocomplete 
component (free)...feedback?
It must have been down for a bit. I did fix the word wrap and tried 
also just the core domain like weblogs.macromedia.com. But now its 
working.Hank
On 9/28/06, Douglas 
Knudsen <[EMAIL PROTECTED]> 
wrote:

  always be wary of wordwrap and URLs.http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.cfm 
  DK
  
  On 9/28/06, hank 
  williams <[EMAIL PROTECTED] > 
  wrote:
  Are 
you sure this is the right url? nothing at weblogs.macromedia.comseems to respond at all. I also 
tried at weblogs.adobe.com.HankOn 9/27/06, David 
Mendels <[EMAIL PROTECTED]> 
wrote:> Hi all,>> FYI:> http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.> 
cfm>> We'd be interested in feedback.>> 
Thanks,> David> Adobe>>> --> 
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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links<*> To visit your group on the web, go 
to: 
http://groups.yahoo.com/group/flexcoders/ <*> Your email 
settings:Individual Email | 
Traditional<*> To change settings online go 
to: 
http://groups.yahoo.com/group/flexcoders/join 
(Yahoo! ID required)<*> To 
change settings via email: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/-- Douglas Knudsen http://www.cubicleman.comthis is my signature, like it? 
   
__._,_.___





--
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] New Autocomplete component (free)...feedback?

2006-09-27 Thread David Mendels
Hi,

It works for me.  Here is a shorter URL (no wordwrap) that might work
better:

http://snipurl.com/autocomplete

-David

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Thursday, September 28, 2006 12:05 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] New Autocomplete component (free)...feedback?

Are you sure this is the right url? nothing at weblogs.macromedia.com
seems to respond at all. I also tried at weblogs.adobe.com.

Hank

On 9/27/06, David Mendels <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> FYI:
>
http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.
cfm
>
> We'd be interested in feedback.
>
> Thanks,
> David
> Adobe
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>


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






 





--
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] Creating calculated columns inside of DataGrid

2006-09-27 Thread Mike Anderson





Thanks Anatole (and others that chimed 
in),
 
You truly ARE an amazing programmer - I wish I had just a 
fraction of your talent.
 
I know you don't hear too much from me on this list, but 
I've been using Flex since Version 1, and have been following it very closely 
ever since.  I've been following your projects as well - and all I can say 
is "Amazing Work" - your talents and depth of 
understanding of this technology is spectacular.
 
Just thought I'd add this little tidbit - as it's important 
to acknowledge people for their time and efforts, helping 
others.
 
Thanks and take care :)
 
Mike


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Anatole 
TartakovskySent: Wednesday, September 27, 2006 10:40 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Creating 
calculated columns inside of DataGrid

OK, can't pass...  here it goes
 
In training sessions we usually recommend to stay away from 
labelFunction as it is being used for formatting and other functionality. 
Instead on your ActionScript row record you define getter for formula like 
this:
 
public function get extendedPrice(data:Object) {
   return data.price * data.quantity;
}
 
That allows you to be able to do ANYTHING with the extendedPrice you can do 
with regular columns - filter/sort/total/apply labelFunction, use in other 
expressions like calculations of discounts.
 
As far as reporting - here is a list of references you can explore on some 
of our open source free and commercial Flex 2 products
RealWorld Flex video - http://www2.sys-con.com/webinararchive.cfm?pid=wc_rwf6_s02fain®istered=on
The last 10 minutes is reportwriter and language extensions for computed 
expressions in dataGrid
 
For whatever screen capture video is out of sync, so here are slides 
and video http://www.faratasystems.com/?page_id=70 . 
You will need codec listed on the page in order to see video of the running 
system. 
Of course, you can see it live - either @ max'06 or by contacting the 
presenters.
 
 
Regards,
Anatole Tartakovsky
www.faratasystems.com
 
 
 
On 9/27/06, Mike 
Anderson <[EMAIL PROTECTED]> 
wrote: 

  
  
  
  
  
  Thanks 
  Dustin - I was looking at that too -
   
  I just got 
  hung up on Flex doing it in a different way, and was looking elsewhere for the 
  answer.
   
  Not sure 
  if you remember the FireFly Controls (from Cybersage Software) that Macromedia 
  steamrolled over a few years back, but they dipped into a large chunk of their 
  functionality when they released the V2 Controls for Flash.  In the 
  Column definitions, you could literally flag certain columns to be "Subtotal" 
  and "Running Total" type containers.  It really was a work of art, until 
  they got absorbed... 
   
  Again, 
  thanks for your help -
   
  Mike
  
  
  From: [EMAIL PROTECTED]ups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Dustin 
  MercerSent: Wednesday, September 27, 2006 6:39 PMTo: 
  [EMAIL PROTECTED] ups.comSubject: RE: 
  [flexcoders] Creating calculated columns inside of 
  DataGrid 
  
  
  
  The labelFunction on 
  the DataGridColumn should do what you are asking.  Here is an exerpt from 
  the docs @ http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridColumn.html
   
  


  
labelFunction
  
property
  
 
  labelFunction: Function  [read-write] 
  A 
  function that determines the text to display in this column. By default the 
  column displays the text for the field in the data that matches the column 
  name. However, sometimes you want to display text based on more than one field 
  in the data, or display something that does not have the format that you want. 
  In such a case you specify a callback function using labelFunction. 
  For the 
  DataGrid control, the method signature has the following 
  form:
  labelFunction(item:Object, 
  column:DataGridColumn):String
  Where 
  item contains the DataGrid item object, 
  and column specifies the DataGrid 
column.
  A 
  callback function might concatenate the firstName and lastName fields in the 
  data, or do some custom formatting on a Date, or convert a number for the 
  month into the string for the month. 
  This 
  property can be used as the source for data binding.
  Implementation public function get 
  labelFunction(): Function public function 
  set labelFunction(value: Function):void 
   
   
   
  
  
  
  
  From: 
  [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.com] On Behalf Of Mike AndersonSent: Wednesday, September 27, 2006 4:24 
  PM To: [EMAIL PROTECTED]ups.comSubject: 
  [flexcoders] Creating calculated columns inside of 
  DataGrid
   
  
  
  
  Hello 
  All,Are there any tutorials or examples, that demonstrate Grid Columns 
  whichpossess the ability to take the contents of other Grid Columns, and 
  perform calculations?The clearest example of this, would be an 
  order form - where there wouldbe a Product and it's 

Re: [flexcoders] New Autocomplete component (free)...feedback?

2006-09-27 Thread hank williams



It must have been down for a bit. I did fix the word wrap and tried also just the core domain like weblogs.macromedia.com. But now its working.Hank
On 9/28/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:



always be wary of wordwrap and URLs.http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.cfm
DK
On 9/28/06, hank williams <[EMAIL PROTECTED]
> wrote:
Are you sure this is the right url? nothing at weblogs.macromedia.comseems to respond at all. I also tried at 
weblogs.adobe.com.
HankOn 9/27/06, David Mendels <[EMAIL PROTECTED]> wrote:> Hi all,>> FYI:
> 
http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.> cfm>> We'd be interested in feedback.>> Thanks,> David> Adobe>>> --> 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.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)<*> To change settings via email: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/
-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?






__._,_.___





--
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] New Autocomplete component (free)...feedback?

2006-09-27 Thread Douglas Knudsen



always be wary of wordwrap and URLs.http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.cfmDK
On 9/28/06, hank williams <[EMAIL PROTECTED]> wrote:
Are you sure this is the right url? nothing at weblogs.macromedia.comseems to respond at all. I also tried at weblogs.adobe.com.
HankOn 9/27/06, David Mendels <[EMAIL PROTECTED]> wrote:> Hi all,>> FYI:> 
http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.> cfm>> We'd be interested in feedback.>> Thanks,> David> Adobe>>> --> 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.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)<*> To change settings via email: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/-- Douglas Knudsen
http://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
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] Creating calculated columns inside of DataGrid

2006-09-27 Thread Douglas Knudsen



On 9/27/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:



OK, can't pass...  here it goes
 
In training sessions we usually recommend to stay away from labelFunction as it is being used for formatting and other functionality. Instead on your ActionScript row record you define getter for formula like this:


 
public function get extendedPrice(data:Object) {
   return data.price * data.quantity;
}
 
That allows you to be able to do ANYTHING with the extendedPrice you can do with regular columns - filter/sort/total/apply labelFunction, use in other expressions like calculations of discounts.
Now that sounds good!  If you are using a AS object for each row.  Not very performant after > say 100 rows and using ColdFusion in the middle.  Creating instances of CFCs is costly in CF land.  In these cases I use XML to populate a grid...mucho faster.
DKAs far as reporting - here is a list of references you can explore on some of our open source free and commercial Flex 2 products

RealWorld Flex video - http://www2.sys-con.com/webinararchive.cfm?pid=wc_rwf6_s02fain®istered=on

The last 10 minutes is reportwriter and language extensions for computed expressions in dataGrid
 
For whatever screen capture video is out of sync, so here are slides and video http://www.faratasystems.com/?page_id=70
 . You will need codec listed on the page in order to see video of the running system.

Of course, you can see it live - either @ max'06 or by contacting the presenters.
 
 
Regards,
Anatole Tartakovsky
www.faratasystems.com
 
 
 
On 9/27/06, Mike Anderson <[EMAIL PROTECTED]
> wrote:






Thanks Dustin - I was looking at that too -
 
I just got hung up on Flex doing it in a different way, and was looking elsewhere for the answer.
 
Not sure if you remember the FireFly Controls (from Cybersage Software) that Macromedia steamrolled over a few years back, but they dipped into a large chunk of their functionality when they released the V2 Controls for Flash.  In the Column definitions, you could literally flag certain columns to be "Subtotal" and "Running Total" type containers.  It really was a work of art, until they got absorbed...

 
Again, thanks for your help -
 
Mike


From: [EMAIL PROTECTED]ups.com [mailto:

flexcoders@yahoogroups.com] On Behalf Of Dustin MercerSent: Wednesday, September 27, 2006 6:39 PM
To: [EMAIL PROTECTED]
ups.comSubject: RE: [flexcoders] Creating calculated columns inside of DataGrid 



The labelFunction on the DataGridColumn should do what you are asking.  Here is an exerpt from the docs @ 

http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridColumn.html
 




labelFunction

property

 
labelFunction:

Function  [read-write] 
A function that determines the text to display in this column. By default the column displays the text for the field in the data that matches the column name. However, sometimes you want to display text based on more than one field in the data, or display something that does not have the format that you want. In such a case you specify a callback function using 
labelFunction. 
For the DataGrid control, the method signature has the following form:
labelFunction(item:Object, column:DataGridColumn):String
Where item contains the DataGrid item object, and 

column specifies the DataGrid column.
A callback function might concatenate the firstName and lastName fields in the data, or do some custom formatting on a Date, or convert a number for the month into the string for the month.

This property can be used as the source for data binding.
Implementation public function get labelFunction():

Function public function set labelFunction(value:

Function):void 
 
 
 




From: [EMAIL PROTECTED]

ups.com [mailto:flexcoders@
yahoogroups.com] On Behalf Of Mike Anderson
Sent: Wednesday, September 27, 2006 4:24 PM
To: [EMAIL PROTECTED]ups.com
Subject:
 [flexcoders] Creating calculated columns inside of DataGrid
 



Hello All,Are there any tutorials or examples, that demonstrate Grid Columns whichpossess the ability to take the contents of other Grid Columns, and
perform calculations?The clearest example of this, would be an order form - where there wouldbe a Product and it's related price, and then a blank for Quantity -then finally, the Total blank - which shows the result of the multiplied
values.Could any of you point me in the right direction, as how to do this?Thanks in advance,Mike

 




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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


Re: [flexcoders] New Autocomplete component (free)...feedback?

2006-09-27 Thread hank williams
Are you sure this is the right url? nothing at weblogs.macromedia.com
seems to respond at all. I also tried at weblogs.adobe.com.

Hank

On 9/27/06, David Mendels <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> FYI:
> http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.
> cfm
>
> We'd be interested in feedback.
>
> Thanks,
> David
> Adobe
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Creating calculated columns inside of DataGrid

2006-09-27 Thread Anatole Tartakovsky



OK, can't pass...  here it goes
 
In training sessions we usually recommend to stay away from labelFunction as it is being used for formatting and other functionality. Instead on your ActionScript row record you define getter for formula like this:

 
public function get extendedPrice(data:Object) {
   return data.price * data.quantity;
}
 
That allows you to be able to do ANYTHING with the extendedPrice you can do with regular columns - filter/sort/total/apply labelFunction, use in other expressions like calculations of discounts.
 
As far as reporting - here is a list of references you can explore on some of our open source free and commercial Flex 2 products
RealWorld Flex video - http://www2.sys-con.com/webinararchive.cfm?pid=wc_rwf6_s02fain®istered=on
The last 10 minutes is reportwriter and language extensions for computed expressions in dataGrid
 
For whatever screen capture video is out of sync, so here are slides and video http://www.faratasystems.com/?page_id=70 . You will need codec listed on the page in order to see video of the running system.

Of course, you can see it live - either @ max'06 or by contacting the presenters.
 
 
Regards,
Anatole Tartakovsky
www.faratasystems.com
 
 
 
On 9/27/06, Mike Anderson <[EMAIL PROTECTED]> wrote:






Thanks Dustin - I was looking at that too -
 
I just got hung up on Flex doing it in a different way, and was looking elsewhere for the answer.
 
Not sure if you remember the FireFly Controls (from Cybersage Software) that Macromedia steamrolled over a few years back, but they dipped into a large chunk of their functionality when they released the V2 Controls for Flash.  In the Column definitions, you could literally flag certain columns to be "Subtotal" and "Running Total" type containers.  It really was a work of art, until they got absorbed...

 
Again, thanks for your help -
 
Mike


From: [EMAIL PROTECTED]ups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Dustin MercerSent: Wednesday, September 27, 2006 6:39 PMTo: [EMAIL PROTECTED]
ups.comSubject: RE: [flexcoders] Creating calculated columns inside of DataGrid 



The labelFunction on the DataGridColumn should do what you are asking.  Here is an exerpt from the docs @ 
http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridColumn.html
 




labelFunction

property

 
labelFunction:
Function  [read-write] 
A function that determines the text to display in this column. By default the column displays the text for the field in the data that matches the column name. However, sometimes you want to display text based on more than one field in the data, or display something that does not have the format that you want. In such a case you specify a callback function using 
labelFunction. 
For the DataGrid control, the method signature has the following form:
labelFunction(item:Object, column:DataGridColumn):String
Where item contains the DataGrid item object, and 
column specifies the DataGrid column.
A callback function might concatenate the firstName and lastName fields in the data, or do some custom formatting on a Date, or convert a number for the month into the string for the month.

This property can be used as the source for data binding.
Implementation public function get labelFunction():
Function public function set labelFunction(value:
Function):void 
 
 
 




From: [EMAIL PROTECTED]
ups.com [mailto:flexcoders@
yahoogroups.com] On Behalf Of Mike AndersonSent: Wednesday, September 27, 2006 4:24 PM
To: [EMAIL PROTECTED]ups.comSubject:
 [flexcoders] Creating calculated columns inside of DataGrid
 



Hello All,Are there any tutorials or examples, that demonstrate Grid Columns whichpossess the ability to take the contents of other Grid Columns, and
perform calculations?The clearest example of this, would be an order form - where there wouldbe a Product and it's related price, and then a blank for Quantity -then finally, the Total blank - which shows the result of the multiplied
values.Could any of you point me in the right direction, as how to do this?Thanks in advance,Mike

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

RE: [flexcoders] Add an object via DataService.createItem() to a DataGrid

2006-09-27 Thread Jeff Vroom
When the createItem result is returned to the client, it should be
updating the id property and updating the data grid.  You are saying
that you don't see the id property updated after you commit the
createItem? 

Your suggestion of an extra attribute to the id property definition is I
think the right way to handle this.  It was part of our original plan
but just did not make it into 2.0.

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Benno Kittelmann
Sent: Wednesday, September 27, 2006 1:43 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Add an object via DataService.createItem() to
a DataGrid

On 27/09/06, Jeff Vroom <[EMAIL PROTECTED]> wrote:
>
> But with integer ids if you call createItem twice in a row before
committing you'll end up with two objects that have 0 as their id and
that is considered an error.

What I don't understand is why a single managed object instantiated
via createItem() does not update its id value before showing up in the
DataGrid. What I initially expected is that the object gets sent to
the server, it gets persisted there and the changes propagate back to
the client, where the new values will update the managed object. Once
that object finished receiving the new values, it will passed to any
elements it is bound to (the datagrid).

Currently it seems as if a new ID value, which is getting created
server-side, is not reflected in the single-managed object, which led
to the condition I described. Which seems to odd to me, because other
newly calculated values seem appear in the object. Do I describe the
mechanism properly, and if so, what was the reason for not changing
the IDs?

I'm still a relative newbie at Flex though not in programming in
general, and this is my first FDMS project, so please bear with me if
I haven't absorbed every documentation detail yet. Will be happy if
there for any pointers regarding my particular issue.

> We should have a way to indicate that "0" is a null id

Just from the top of my head, maybe wrap the id attribute in a
seperate object like

package myPackage
{
   [Managed]
   [RemoteClass(alias="myPackage.Item")]
   public class Item {
   public var id:Identifier = new IntegerIdentifier(0);
   public var name:String = "";

   public function setId(id:int):void {
   id.value = int;
   }

   public function getId():int {
  return id.value;
   }
   }
}

The IntegerIdentifier would be a subclass of an Identifier abstract
class, and the parameter used during construction would stand for the
default value if the object has not got an ID yet. With the setter and
getter pair interaction with other code would still be possible if it
passes around standard int types.

I haven't thought deeply about possible implications of this approach,
as an alternative an annotation mechnism or some mapping files a la
Hibernate come to my mind.

> In any case, I have worked around this in the past by using an
> ascending sequence of negative numbers for the ids of newly created
items.
> You just some need some integer which gets decremented each time you
> call createItem and use that value as your "id" before you call
createItem.
> That way the ids are unique before the commit call is made as well as
after.

As a workaround I used something similar, creating large random
integers to be used as IDs. The actual result set from the database is
quite small so it wasn't a problem yet, though a potential clash of
IDs is of course possible. Your suggestion to use negative IDs is
better and easier to understand, so I will implement that instead.

> Of course that could cause problems if your server allocates negative
> id values as well but hopefully that is not the case.

That won't be the case indeed. :)

Thanks for the enlightenment and best regards,
Benno Kittelmann




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






 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] New Autocomplete component (free)...feedback?

2006-09-27 Thread David Mendels
Hi all,

FYI:
http://weblogs.macromedia.com/flexteam/archives/2006/09/component_autoc.
cfm

We'd be interested in feedback.

Thanks,
David
Adobe


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





RE: [flexcoders] Re: Auto-expand Treenodes

2006-09-27 Thread Sascha

Thanks Wayne! I will keep your suggestion in mind in case problems occur
with the XML loading/init process.

Sascha


> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of wayneposner
> Sent: Wednesday, 27 September, 2006 22:25
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Auto-expand Treenodes
> 
> Depending on how you are calling that code, you may need to add a
> try catch block around it.  I originally had my app loading XML data
> during the initialize process.  It then fed that data directly into
> a tree.  Since the tree had data right away, that line of code
> worked fine.
> 
> I've recently changed things a bit so that the app loads with no XML
> data loaded.  I was also getting the same eror you were until I put
> a try catch block around it.  The auto expand code was getting
> called, but since there was no data in my tree, the try catch
> prevented any errors.
> 
> You can also use:
> assemblyTree.expandChildrenOf(assemblyTree.selectedItem, true);
> 
> to expand a specific node in the tree.
> 
> Wayne




--
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] [Flex 2] Strange behaviour when using RSLs

2006-09-27 Thread Paul Spitzer
I had this issue too... see my post "External Libs - Debug SWFs". Not 
sure what happened but somewhere along the line the issue worked itself 
out. Might have been cached SWFs or a stale properties file or something.


EECOLOR wrote:
> Hello,
>  
> i had the same problem with some of my libraries. In the properties of 
> my project at the compiler page i added the debug=false thingy. 
> Sometimes a browser restart and a clean can help as well. If you find 
> anything concrete, please share :)
>  
>  
> Greetz Erik
>  



--
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] FileReference and ByteArray

2006-09-27 Thread Rogerio Gonzalez



I did some work using mx:image source="file:///c:/image.jpg" but when I try to get the byteArray of the mx:image, the security sandbox error shows up :(I am thinking use something with _javascript_. Anybody did this?
regardsRogerioOn 9/27/06, EECOLOR <[EMAIL PROTECTED]> wrote:













  



Yeah i think apollo will most likely cover this section aswell. It will act like a 'normal' program shell, allowing you to interact with the file system and do all kinds of fancy shizzle with it :)

 
Let hope :)
 
 
Greetz Erik

  















__._,_.___





--
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: Mapping Fails, CFCs

2006-09-27 Thread Paul Hastings
On 9/28/06, lostinrecursion <[EMAIL PROTECTED]> wrote:

> I appreciate this and will explore it should I not find another
>  method. It is my feeling that a workaround is not needed for this
>  because CF and Flex 2 play nice with eachother by default.

FB pointing at the right config file on your cf server? i also see
use-mappings config in 2 files in the flex dir on my cf server,
services-config.xml & flex-enterprise-services.xml.


--
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] Mapping Fails, CFCs

2006-09-27 Thread Douglas Knudsen



On 9/27/06, lostinrecursion <[EMAIL PROTECTED]> wrote:
Hi all,I have a problem with a mapping I have setup in CF 7.0.2 and couldreally use some help. My hair is at "pull out" status. ;)First of all, the mapping DOES work when called from a normal
Coldfusion Template, so I know this is FLEX specific.I have also set the  tag in services-config.xml to trueas directed.However, I still get "Could not find the Coldfusion component..."
What is throwing this error?  Is it thrown in a RemoteObject call?  Please post the code.  DK 
When going from the webroot with no mapping, all works fine.I need to use mappings though or going from development machine to myproduction server on the host will be a nightmare as I test.Thank you so much.
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)<*> To change settings via email: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/
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





--
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: Mapping Fails, CFCs

2006-09-27 Thread lostinrecursion
I appreciate this and will explore it should I not find another
method. It is my feeling that a workaround is not needed for this
because CF and Flex 2 play nice with eachother by default.

--- In flexcoders@yahoogroups.com, EECOLOR <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> i have no experience with mappings. You could however put the files in a
> directory and point a Custom Tag Root to that directory. In ColdFusion
> Custom tag roots act as classpaths.
> 
> 
> Greetz Erik
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




RE: [flexcoders] Re: ItemRenderer question for DataGrid

2006-09-27 Thread Mike Anderson
Wow Tim, I am such an idiot!

That property you mentioned, doesn't get more self-explanatory than that
:)

Sorry for the basic question, although you did help me quite a bit (and
I guess that's the bottom line, with this type of list).

Many Thanks!

Mike 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tim Hoff
Sent: Wednesday, September 27, 2006 7:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ItemRenderer question for DataGrid

Hi Mike,

Instead of using states in your itemRenderer, you can use an itemEditor.
Just set the itemEditor property for the DataGrid column to a
NumericStepper control instead of text.

-TH

--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> I am trying to figure out how to tackle the problem of how to
create
> multiple states of an ItemRenderer for a DataGrid.
> 
> Imagine an editable DataGrid fully populated with data, and then
the
> Quantity Column being a Numeric Stepper type control.  In the
Grid's
> normal display mode, I just need all the data to be visible in it's 
> native view (unless the Cell is active, once the user clicks
inside it).
> What I mean by that, is I don't want the Numeric Stepper to be
repeated
> for each and every record displayed in the Grid.
> 
> Only after the user clicks a specific cell (or Row, in some
instances)
> do I want the actual ItemRenderer to be visible - thus indicating
to the
> data-entry person, that there is an alternate way to enter their
data
> into the Grid cell.
> 
> Is the trick here, to make the ItemRenderer have multiple states 
> (visible - true/false) or any other "modes" it needs to be in,
based on
> which portion of the Grid is active?
> 
> I apologize if this topic has been covered before, my initial
search
> didn't bring back a whole lot.
> 
> Thanks in advance,
> 
> Mike
>







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






 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: ItemRenderer question for DataGrid

2006-09-27 Thread Tim Hoff
Hi Mike,

Instead of using states in your itemRenderer, you can use an 
itemEditor.  Just set the itemEditor property for the DataGrid 
column to a NumericStepper control instead of text.

-TH

--- In flexcoders@yahoogroups.com, "Mike Anderson" <[EMAIL PROTECTED]> wrote:
>
> Hello All,
> 
> I am trying to figure out how to tackle the problem of how to 
create
> multiple states of an ItemRenderer for a DataGrid.
> 
> Imagine an editable DataGrid fully populated with data, and then 
the
> Quantity Column being a Numeric Stepper type control.  In the 
Grid's
> normal display mode, I just need all the data to be visible in it's
> native view (unless the Cell is active, once the user clicks 
inside it).
> What I mean by that, is I don't want the Numeric Stepper to be 
repeated
> for each and every record displayed in the Grid.
> 
> Only after the user clicks a specific cell (or Row, in some 
instances)
> do I want the actual ItemRenderer to be visible - thus indicating 
to the
> data-entry person, that there is an alternate way to enter their 
data
> into the Grid cell.
> 
> Is the trick here, to make the ItemRenderer have multiple states
> (visible - true/false) or any other "modes" it needs to be in, 
based on
> which portion of the Grid is active?
> 
> I apologize if this topic has been covered before, my initial 
search
> didn't bring back a whole lot.
> 
> Thanks in advance,
> 
> Mike
>







--
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] ItemRenderer question for DataGrid

2006-09-27 Thread Mike Anderson
Hello All,

I am trying to figure out how to tackle the problem of how to create
multiple states of an ItemRenderer for a DataGrid.

Imagine an editable DataGrid fully populated with data, and then the
Quantity Column being a Numeric Stepper type control.  In the Grid's
normal display mode, I just need all the data to be visible in it's
native view (unless the Cell is active, once the user clicks inside it).
What I mean by that, is I don't want the Numeric Stepper to be repeated
for each and every record displayed in the Grid.

Only after the user clicks a specific cell (or Row, in some instances)
do I want the actual ItemRenderer to be visible - thus indicating to the
data-entry person, that there is an alternate way to enter their data
into the Grid cell.

Is the trick here, to make the ItemRenderer have multiple states
(visible - true/false) or any other "modes" it needs to be in, based on
which portion of the Grid is active?

I apologize if this topic has been covered before, my initial search
didn't bring back a whole lot.

Thanks in advance,

Mike


--
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: Item Renderer -- Sorting in Data Grid...

2006-09-27 Thread Tim Hoff



Hi Larry,
I've noticed similar problems using an itemRenderer for this kind of thing.  If you're just formatting the numbers, you can use a lableFunction.  This method doesn't seem to affect sorting.  Here's a sample:
View Sample 
-TH--- In flexcoders@yahoogroups.com, "lrlarsonny" <[EMAIL PROTECTED]> wrote:>> > I have a dataGrid in which there is a column of numbers. Unformatted,> these sort well.> > However, when I use the CurrencyFormatter function the format changes> perfectly, but I can no longer sort.> > It must be possible to sort currency formatted data?> > I appreciate your patience with a low-level question -- but I;ve spent> the day on it.> > Larry Larson> NYC>

__._,_.___





--
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] Item Renderer -- Sorting in Data Grid...

2006-09-27 Thread lrlarsonny

I have a dataGrid in which there is a column of numbers. Unformatted,
these sort well.

However, when I use the CurrencyFormatter function the format changes
perfectly, but I can no longer sort.

It must be possible to sort currency formatted data?

I appreciate your patience with a low-level question -- but I;ve spent
the day on it.

Larry Larson
NYC





--
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] Creating calculated columns inside of DataGrid

2006-09-27 Thread Dustin Mercer












The labelFunction on the DataGridColumn
should do what you are asking.  Here is an exerpt from the docs @ http://livedocs.macromedia.com/flex/2/langref/mx/controls/dataGridClasses/DataGridColumn.html

 


 
  
  labelFunction
  
  
  property
  
  
   
  
 


labelFunction:Function  [read-write]


A function that
determines the text to display in this column. By default the column displays
the text for the field in the data that matches the column name. However,
sometimes you want to display text based on more than one field in the data, or
display something that does not have the format that you want. In such a case
you specify a callback function using labelFunction.


For the DataGrid
control, the method signature has the following form:

labelFunction(item:Object,
column:DataGridColumn):String

Where item
contains the DataGrid item object, and column
specifies the DataGrid column.

A callback
function might concatenate the firstName and lastName fields in the data, or do
some custom formatting on a Date, or convert a number for the month into the
string for the month.

This property can
be used as the source for data binding.

Implementation 
public function get
labelFunction():Function

public
function set labelFunction(value:Function):void


 

 

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson
Sent: Wednesday, September 27,
2006 4:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Creating
calculated columns inside of DataGrid



 







Hello All,

Are there any tutorials or examples, that demonstrate Grid Columns which
possess the ability to take the contents of other Grid Columns, and
perform calculations?

The clearest example of this, would be an order form - where there would
be a Product and it's related price, and then a blank for Quantity -
then finally, the Total blank - which shows the result of the multiplied
values.

Could any of you point me in the right direction, as how to do this?

Thanks in advance,

Mike






__._,_.___





--
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] Object references within XML

2006-09-27 Thread Dustin Mercer












I agree, a hashtable or a Dictionary would
be better suited for this depending on your need… I don’t know how
your performance on the XML would scale compared to those associative classes. 
Are you trying to persist the XML back to the file system?  As Erik said, maybe
understanding the need for XML can help us help you.  If not, maybe try the
dictionary class: http://livedocs.macromedia.com/flex/2/langref/flash/utils/Dictionary.html

 

Dustin Mercer

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, September 27,
2006 4:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Object
references within XML



 









Eww, as I recall, the IE browser DOM permitted stuff like that, but
I do not know if the e4x XML class will.

 

If it was me, I’d use an associative array (hashtable).

 

Tracy



 









From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of EECOLOR
Sent: Wednesday, September 27,
2006 5:31 PM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Object
references within XML



 









Hello,





 





may i ask why you
want to keep references to objects in an xml? I cant think of any use. It may
help awnsering your question maybe.





 





 





Greetz Erik


















__._,_.___





--
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] Creating calculated columns inside of DataGrid

2006-09-27 Thread Mike Anderson
Hello All,

Are there any tutorials or examples, that demonstrate Grid Columns which
possess the ability to take the contents of other Grid Columns, and
perform calculations?

The clearest example of this, would be an order form - where there would
be a Product and it's related price, and then a blank for Quantity -
then finally, the Total blank - which shows the result of the multiplied
values.

Could any of you point me in the right direction, as how to do this?

Thanks in advance,

Mike



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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





RE: [flexcoders] Re: Cairngorm Best Practices.

2006-09-27 Thread Bjorn Schultheiss





You dont necessarily need to subclass CairngormEvent, 
but you always need to specify an event type.
The cairngormEvent.data property is handy for passing 
objects to your commands.
 
List all event types on the 
controller.
Subclass only when CairngormEvent doesn't suit your 
requirements.
 
Regards,
 
Bjorn 
Schultheiss




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
ben.clinkinbeardSent: Thursday, 28 September 2006 3:55 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
Cairngorm Best Practices.


This is off the top of my head so if someone out there knows or 
canexplain better feel free to correct me...I've not looked at the 
actual code but from your snippet it appearsthat they are in fact still 
using constants, just not ones that aredefined in the ShopController. When 
you have an event that needs tocarry data with it, you have to subclass 
Event. In that case you wouldalso define the event type in that subclass, 
which is what they seemto be doing. If you had an event that didn't require 
a data payload tobe sent with it, you'd define the constant in the 
controller. Make sense?HTH,Ben--- In [EMAIL PROTECTED]ups.com, 
"laidezmon" <[EMAIL PROTECTED]..> wrote:>> Here is a question 
about Cairngorm best practices. > > In the documentation this is 
in part four feature driven development,> page 3 for cairngorm .99 it 
says this:> > "First recognize the best practice appraoch of 
naming all events as> constants on the FrontController instance 
ShopController."> > Later down it says:> > "The 
compiler catches any mistyped events noisily at compile time> rather than 
failing silently at run time. While Cairngorm does not> require this, its 
a best practice we highly recommend."> > I downloaded the latest 
Cairngorm store for 2.0 however, and thier> shopController instance is 
not written in the same format. I was> wondering why? In the 2.0 version 
they do NOT declare constants, but> in the .99 version they do. What is 
the best practice? > > Below are the two different ShopController 
code samples. The .99 uses> static vars, while the 2 version does not. In 
fact the entire method> for calling the associated commands from events 
are different. So> which is the actual best practice?> > 
Help!> JS.> > > Here is the .99 ShopController 
example:> > class 
org.nevis.cairngorm.samples.store.control.ShopController 
extends> FrontController> {> public function 
ShopController()> {> initialiseCommands();> 
}> > 
>//--> 
> public function initialiseCommands()> {> addCommand( 
ShopController.EVENT_GET_PRODUCTS, new> 
GetProductsCommand() );> addCommand( 
ShopController.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,> 
new AddProductToShoppingCartCommand() );> addCommand(> 
ShopController.EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART, 
new> DeleteProductFromShoppingCartCommand() ); > 
addCommand( ShopController.EVENT_FILTER_PRODUCTS, new> 
FilterProductsCommand() ); > addCommand( 
ShopController.EVENT_SORT_PRODUCTS, new> 
SortProductsCommand() ); > addCommand( 
ShopController.EVENT_VALIDATE_ORDER, new> 
ValidateOrderCommand() );> addCommand( 
ShopController.EVENT_VALIDATE_CREDIT_CARD, new> 
ValidateCreditCardCommand() ); > addCommand( 
ShopController.EVENT_COMPLETE_PURCHASE, new> 
CompletePurchaseCommand() ); > }> > 
>//--> 
> public static var EVENT_GET_PRODUCTS = "getProducts";> 
public static var EVENT_ADD_PRODUCT_TO_SHOPPING_CART => 
"addProductToShoppingCart";> public static var 
EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART => 
"deleteProductFromShoppingCart"; > public static var 
EVENT_FILTER_PRODUCTS = "filterProducts";> public static var 
EVENT_SORT_PRODUCTS = "sortProducts";> public static var 
EVENT_VALIDATE_ORDER = "validateOrder";> public static var 
EVENT_VALIDATE_CREDIT_CARD = "validateCreditCard";> public 
static var EVENT_COMPLETE_PURCHASE = "completePurchase"; > 
> > }> > > Here is the version 2.0 
ShopController Example:> > package 
com.adobe.cairngorm.samples.store.control> {> import 
com.adobe.cairngorm.control.FrontController;> import 
com.adobe.cairngorm.samples.store.command.*> import 
com.adobe.cairngorm.samples.store.event.UpdateShoppingCartEvent;> 
import 
com.adobe.cairngorm.samples.store.event.FilterProductsEvent;> 
import 
com.adobe.cairngorm.samples.store.event.GetProductsEvent;;> 
import 
com.adobe.cairngorm.samples.store.event.SortProductsEvent;> 
import 
com.adobe.cairngorm.samples.store.event.ValidateOrderEvent;> 
import 
com.adobe.cairngorm.samples.store.event.ValidateCreditCardEvent;> 
import 
com.adobe.cairngorm.samples.store.event.PurchaseCompleteEvent;> 
> /**> * @version $Revision: $> */> public class 
ShopController extends FrontController> {> public function 
ShopController()> {> initialiseCommands();> 
}> > public function initialiseCommands() : void> 
{> addCommand( GetProductsEvent.EVENT_GET_PRODUCTS,> 
GetProductsCommand ); > addCommand(>

RE: [flexcoders] Object references within XML

2006-09-27 Thread Tracy Spratt












Eww, as I recall, the IE browser DOM
permitted stuff like that, but I do not know if the e4x XML class will.

 

If it was me, I’d use an associative
array (hashtable).

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of EECOLOR
Sent: Wednesday, September 27,
2006 5:31 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Object
references within XML



 









Hello,





 





may i ask why you want to keep references to objects in an xml? I cant
think of any use. It may help awnsering your question maybe.





 





 





Greetz Erik








__._,_.___





--
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: Strategies for adworks in Flex2 apps?

2006-09-27 Thread Tom Bray



Hank,If you're willing to work with a different ad vendor, you can check out www.clicksor.com, www.kanoodle.com, and 
www.admedian.com.  All three will cooperate with crossdomain policy files so you can load text ads via XML and display them in Flex however you want.The scraping solution described below will violate the Adwords TOS, even if you're willing to go through all that trouble.
HTH,TomOn 9/26/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:













  



Isn't there an API for Adwords? I don't know, but I would check Google's site.

If not, you could add a hidden frame to your html wrapper for the  
Adwords script, (or put it in a display:none div) then write a small  
HTML scraper to get the adwords text and link.  Use External Interface  
to both pass text out of your FLex app to the adwords script to figure  
out what to show and to pass the resulting text/links to Flex so you  
can display them however you want.  I've given this a little thought  
for my own projects (not much though) but haven't actually tried  
anything yet.

Rick
-Original Message-
From: hank williams [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 26, 2006 7:48 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Strategies for adworks in Flex2 apps?

>
> > All you need to do is add the code to the HTML wrapper, no ?
> >
>
> Presuming that you dont mind having an html strip that is totally out
> of context with the style of the rest of your application.
>

Oh, and of course presuming that you dont need the ad words to
actually look at any of the text in your flash to figure out what to
show.

Hank


  















__._,_.___





--
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] DataGrid with Custom ComboBox ItemRenderer...values disappear

2006-09-27 Thread livinginswitzerland
I have a datagrid, one of the columns is a combo box which is 
editable.  If I add or delete rows to the datagrid, the combobox item 
renderer may display incorrect values, and occasionally, the underlying 
column of the datagrid containing the itemRenderer is getting set to 
null.  Has anyone seen anything like this?

Thanks,

rick





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Anatole Tartakovsky



Paul, 
>>
Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.<<
   I think browser cache should recognise new RSL. You can use any HTTP tracer to verify that every application startup causes appropriate HTTP request and get 304 and 200 codes. I am not aware of any problems so far.
>>
Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.<<
I would like to confirm that there is a problem first. Also, please refer to initialize method for Preloader object - by subclassing it you can mangle URLs  any way you like.
 
Sincerely,
Anatole
 
On 9/27/06, Paul Spitzer <[EMAIL PROTECTED]> wrote:





Anatole Tartakovsky wrote:> Paul,> Could you please clarify your question - it seems that there are > number of issues that are mixed up here. First, there is no issue of > RSL caching in the browser unless you specifically enable some 
> expiration scheme.Certainly. The caching issue I'm referring to is when a new RSL SWF is published and pushed to a server the end user may not immediately see the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from the server.Does that make sense?> > I have seen people loading multiple applications side by side - using 
> the same RSLs - that is essentially the question if you want to > isolate your runtime libraries in case of versioning in the future - > that would essentially hurt performance> > Finally, there is an issue of loading RSLs in the root appDomain - 
> essentially you do not have a chance to do reloading of the classes > till the application startup. Also, there is obvious problem with > versioning.> > Seems we are done with the client - now the question is how to build 
> RSLs so it is the smallest, most recent, and up to date one.> > That's were it breaks in the beginning. Essentially, if you are using > dynamic instantiation of any class in the RSL, the main application 
> would not know whic objects to initialize/which dependent classes to > include. One solution we are using is to build self initializing > modules and use them instead of RSLs that would of been extracted out 
> of SWCs by the build process.I was just discussing a similar option with a coworker here. The idea is that instead of using RSLs we'd simply build libs of code (packaged in a SWF) and write our own loading scheme. Going this route, while more 
work, would also allow us to control caching by appending a version to the URL when loading corelib.swf?v=1.Thanks for taking the time to reply.> > HTH,> Anatole Tartakovsky
> > >>> > On 9/26/06, *Paul Spitzer* <[EMAIL PROTECTED] 
[EMAIL PROTECTED]>> 
> wrote:>> >some concerns about potential RSL caching and how to overcome that> >(I think it can be easily overcome with a proper rollout strategy)
>> I'm curious to hear what your plan is to deal with the caching of> RSL(s). Or how others deal with it. Any suggestions?>> derrickgrigg wrote:> > I actually was concerned about the HOW and the WHY. I wanted to find
> > out why doing it that way was a good solution or why someone else's> > solution would be better or more viable. And if the proposed> > solution was good, was how I intended to implement that solution the
> > right way.> >> > I completely agree that having Abstract and Interface classes just> > to accomplish modularity is basically creating a code management> > problem. The only reason it was seriously being considered was to
> > allow the development of seperate module swfs, that need to use the> > same base classes (ie models, command and value objects), without> > having to worry about code duplication and errors/conflicts when
> > module swf are being loaded in the main shell application.> >> > I've had problems in the past with Flash and RSLs plus I still have> > some concerns about potential RSL caching and how to overcome that
> > (I think it can be easily overcome with a proper rollout strategy),> > so I was a little hestitant to pursue that idea. However, from your> > post and Erik's (plus my own nagging suspicion), I think having the
> > base code in an external SWC and using that as an RSL is the right> > was to go.> >> > Derrick> >> >> >> >> >>>
> 
 

__._,_.___





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

Re: [flexcoders] FileReference and ByteArray

2006-09-27 Thread EECOLOR



Yeah i think apollo will most likely cover this section aswell. It will act like a 'normal' program shell, allowing you to interact with the file system and do all kinds of fancy shizzle with it :)
 
Let hope :)
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] [Flex 2] Strange behaviour when using RSLs

2006-09-27 Thread EECOLOR



Hello,
 
i had the same problem with some of my libraries. In the properties of my project at the compiler page i added the debug=false thingy. Sometimes a browser restart and a clean can help as well. If you find anything concrete, please share :)

 
 
Greetz Erik

__._,_.___





--
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] Expression for an array object name?

2006-09-27 Thread EECOLOR



Hello,
 
maybe something like this:
 
monthlysVO = new Array()
 
var children:XMLList = xmldpAddress.month;
var child:XML;
var obj:Object;
var j:int;
var length_int:int = chilren.length();
 
for  (j = 0; j < length; j++){
    child = children[j];
 
    obj = new Object();
    [EMAIL PROTECTED] = [EMAIL PROTECTED];
    monthlysVO.push(obj);}
 
 
Greetz Erik

__._,_.___





--
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] FileReference and ByteArray

2006-09-27 Thread Dustin Mercer












That’s Correct.  This was something
I was very vocal about, but here is the response I received: “The Flex
team does not consider file uploads part of the Flex data tier.”  I still
think that files are just data as well, but I am not going to beat that horse
anymore (Although I just kicked it).  I don’t think this will be the case
with Apollo though.  Maybe adobe can respond on this and let us know if we will
be able to accomplish this with Apollo.  Thanks!

 

Dustin Mercer

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of EECOLOR
Sent: Wednesday, September 27,
2006 2:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
FileReference and ByteArray



 









Hello,





 





if i remember well this is not possible because of security reasons.





 





 





Greetz Erik








__._,_.___





--
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: Resizable components

2006-09-27 Thread Michael Schmalle



>ResizeManagerFX | Designed to be a rectangular mouse resizer | teotigraphics / Michael Schmalle |By the way,I have a transform manager that is coming out within a week that rotates and snaps. It does everything you would expect a Q(transform) key to do in a graphics program. looks exactly like Fireworks resize and rotate with the default skin(anchor points)
BTW, The resize manager, can be skinned anyway you like, so if you want anchor points as the skin instead of the full lines as shown in the explorer, that can be easily accomplished. I was going to make that skin as an example anyway. I will do that tomorrow and post it so you can see the resize manager with anchor points, you will also be able to enable-disable component moving to.
You might want to check out my ASDoc's, you will see there are a lot of hooks to subclass aspects, any questions, you can post on the forum about specific requirements.Peace, Mike I am going to blog about the transform manager tomorrow.
On 9/27/06, dirtmediaworld <[EMAIL PROTECTED]> wrote:













  



Check these out, no anchor points on them, but definitely resizable:ResizeManager | Enable any UIComponent to resize | Flex-Flex / Jove |
http://www.flex-flex.net/blog/article.asp?id=11 ResizeWindow | A TitleWindow with Resize Enabled and Max, Min, Close Button | Flex-Flex / Jove |
http://www.flex-flex.net/blog/article.asp?id=9 ResizeManagerFX | Designed to be a rectangular mouse resizer | teotigraphics / Michael Schmalle |
http://www.teotigraphix.com/flex2/components/managers/resizemanagerfx Blueone Component 2.0 | BlueMDI & BluePanel have small resize triangle at bottom right | bluemind |
http://www.bluemind.co.kr:8700/flex/blueone/bin/ -Dustin--- In [EMAIL PROTECTED]ups.com
, "Simon Barber" <[EMAIL PROTECTED]> wrote:>> Has anyone been able to implement a rectangular border with anchor> points on each corner which resizes. I am trying to create custom> components that can be resized visually at runtime using the bounding box.
>

  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-27 Thread EECOLOR



Yes, they are compiled into the swf, however, as far as i know they are only used as soon as the style manager is ready, which is (again as far as i know) after the application has been loaded. This means that your preloader is allready gone.

 
Greetz Erik

__._,_.___





--
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] FileReference and ByteArray

2006-09-27 Thread EECOLOR



Hello,
 
if i remember well this is not possible because of security reasons.
 
 
Greetz Erik

__._,_.___





--
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] Mapping Fails, CFCs

2006-09-27 Thread EECOLOR



Hello,
 
i have no experience with mappings. You could however put the files in a directory and point a Custom Tag Root to that directory. In ColdFusion Custom tag roots act as classpaths.
 
 
Greetz Erik

__._,_.___





--
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: Bug?: Array not populating List.

2006-09-27 Thread EECOLOR



The syntax you are using is a bit odd:
 
   NumberOfDistricts = new Number(xmldpAddress.month[0].child("*").length());                       tempDistricts = new Array(NumberOfDistricts);                       for (var i:Number = 0; i < NumberOfDistricts; i++){
                               tempDistricts[i] = ([EMAIL PROTECTED]);                       }                       districts = tempDistricts;                       trace(districts);

 
I would write it (in your code style) as:
 
   NumberOfDistricts = xmldpAddress.month[0].region.length();
 
   tempDistricts = new Array();
   var i:int = 0;   for (i = 0; i < NumberOfDistricts; i++)
   {   tempDistricts[i] = [EMAIL PROTECTED]();   } 
   districts = tempDistricts;
 
 
However its probably easier to do something like this (didnt test):
 
   districts = new XMLListCollection(xmldpAddress.month[0].region);
 
with
 
  
districts should be desclared as a XMLListCollection.
 
Greetz Erik 

__._,_.___





--
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: MXML Constructor

2006-09-27 Thread Gordon Smith
Putting code into a creationComplete handler is close to the opposite of 
putting it into a constructor; the former runs as late as possible while the 
latter runs as early as possible. Using a preinitialize handler would be a 
better choice.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom 
Chiverton
Sent: Wednesday, September 27, 2006 1:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: MXML Constructor

On Tuesday 26 September 2006 16:57, tobiaspatton wrote:
> MyComp.mxml
>
> 
>  
> 

ITYM:

 

...

-- 
Tom Chiverton
Helping to professionally optimize best-of-breed systems



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 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: Resizable components

2006-09-27 Thread dirtmediaworld



Check these out, no anchor points on them, but definitely resizable:ResizeManager | Enable any UIComponent to resize | Flex-Flex / Jove |http://www.flex-flex.net/blog/article.asp?id=11 ResizeWindow | A TitleWindow with Resize Enabled and Max, Min, Close Button | Flex-Flex / Jove |http://www.flex-flex.net/blog/article.asp?id=9 ResizeManagerFX | Designed to be a rectangular mouse resizer | teotigraphics / Michael Schmalle |http://www.teotigraphix.com/flex2/components/managers/resizemanagerfx Blueone Component 2.0 | BlueMDI & BluePanel have small resize triangle at bottom right | bluemind |http://www.bluemind.co.kr:8700/flex/blueone/bin/ -Dustin--- In flexcoders@yahoogroups.com, "Simon Barber" <[EMAIL PROTECTED]> wrote:>> Has anyone been able to implement a rectangular border with anchor> points on each corner which resizes. I am trying to create custom> components that can be resized visually at runtime using the bounding box.>

__._,_.___





--
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] Object references within XML

2006-09-27 Thread EECOLOR



Hello,
 
may i ask why you want to keep references to objects in an xml? I cant think of any use. It may help awnsering your question maybe.
 
 
Greetz Erik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



RE: [flexcoders] adding effects in action script

2006-09-27 Thread Gordon Smith












> Do you know of any metrics round this?

 

Sorry, I don't have any. But calling setStyle() on a single control
shouldn't be particularly expensive. Calling setStyle() on a class selector or
the global selector would be, though, because it affects multiple components.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Harris
Sent: Tuesday, September 26, 2006
5:03 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] adding
effects in action script



 







Thanks guys!

Both ways work! (Slight syntax error in John's example, but was easy to work
out)

@Gordon: the docs on setStyle say "Calling the setStyle() method can
result in decreased performance. Use it only when necessary."
Do you know of any metrics round this?






On 9/27/06, Gordon
Smith < [EMAIL PROTECTED]com>
wrote:











A showEffect is actually
a style whose value is an Effect, so you'd do

 

   
imgNewImage.setStyle("showEffect", fadeIn);

 

- Gordon

 









From:
[EMAIL PROTECTED] ups.com
[mailto:[EMAIL PROTECTED] ups.com] On Behalf Of David Harris
Sent: Monday, September 25, 2006
5:30 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] adding
effects in action script



 









Hi

I am creating an Image in Script and then adding it to a tile.
I have added an event listner to the "complete" event of the image
that switches visible to "true"

I would like to add a showEffect to the image, but can't see how to do it...

Here is a snippet of code:
=
var imgNewImage:Image = new mx.controls.Image();

imgNewImage.addEventListener("complete",imageCompleteHandler);

imgNewImage.source = "[Source URL of Image]";

imgNewImage.height = 75;
imgNewImage.width = 75;

imgNewImage.visible = false;

//add it to the tile
imageDisplayTile.addChild(imgNewImage);
=
I looked in the docs and see that an image has a showEffect value,
which you call in the tag like this:

and you declare the effect like this (as per docs example):


How do I assign my "fadeIn" fade effect to my imgNewImage in script?
imgNewImage.showEffect doesn't work.

Any ideas anyone?





















 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






[flexcoders] Re: Cairngorm / Tree Control

2006-09-27 Thread Tim Hoff
Hi,

It sounds like a render timing issue.  When the user opens a node, 
with hardcoded values, the data reaches the tree before the node is 
rendered.  With the service call delay, it's possible that the data 
is coliding with the tree render.  Have you tried putting 
tvModuleView.invalidateDisplayList(); in the 
treeModelViewHelper.addNodes() function?  Ideally, you would do this 
in the onResult() function of the Command.  But, you might be able 
to get it to work this way.  If not, try using a callLater() 
function to invalidate the displayList.  This is just a stab in the 
dark, but it's worth a try.

-TH

--- In flexcoders@yahoogroups.com, "ssohl2001" <[EMAIL PROTECTED]> wrote:
>
> I'm using the Cairngorm framework to dynamically add nodes to my 
> tree. I use a custom object I created that has public properties: 
> nodeid, nodename, and children.
> 
> Everything works fine when adding hard coded object nodes in 
> the "execute" function of my Command class. ex.
> 
> var _node:TreeNodeVO = new TreeNodeVO();  
> _node.nodeid = 1
> _node.nodename = "Root";
> 
> _tree.addItem(_node);
> 
> 
> The issue comes in where I make dynamic call to the server when 
the 
> user clicks on the "Root" node and the results come back into 
> the "result" function of my Command class. While debugging I 
noticed 
> that the "Root" node on the treeview must of fired its expand 
event 
> because the "Open" icon was shown. Once I added the new children 
> they did not up under the parent. I tried to call force an expand 
> call again like this
> trData.expandItem(_treeNodeVO,_expand,false,true,null);
> but that still didnt work. Once I closed the main parent node and 
> clicked on it again the children nodes "did" show.
> 
> So I have concluded that somewhere between the "execute" function 
> and server call the node expand event is fired before the "result" 
> function. My main question is what can I do so the children will 
be 
> seen? force and event to be fired? Call a method off the tree 
> itself? etc
> 
>   height="100%" showRoot="false"
  
>
>
> itemOpen="treeModelViewHelper.addNodes(TreeNodeVO
> (event.item),true)"   
>   
>
> dataProvider="{ModelLocator.getInstance().treeViewModuleList}" 
>
> folderOpenIcon="@Embed
> (source='/assets/images/treeicons/dsChild.gif')"
>
> folderClosedIcon="@Embed
> (source='/assets/images/treeicons/dsParent.gif')"
>
> defaultLeafIcon="@Embed
> (source='/assets/images/treeicons/dsRoot.gif')" />
> 
> 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] Object references within XML

2006-09-27 Thread Daniel Freiman



It's a simple question with a simple solution, I just can't seem to find the solution.  I want to be able to keep an XML object that will contain references to instances of Objects within the flex movie.  My guess is that I actually have to keep the string form of some sort of uinque id for the object within the XML and then do a lookup when I want the object.  I've been looking through the documentation and the utils api and haven't found a way to do it.  Anyone have any ideas?
Thanks,- Dan


__._,_.___





--
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] setStyle weirdness

2006-09-27 Thread David Harris
I am in the process of making some form of Image Gallery.

I get the information from the server, then loop over the results and
add them to a display panel using "addChild"

As I am creating each image, I assign the "showEffect" so that when it
show it look nice.

Then I am also assigning the mouseUpEffect and rolloutEffect, with the
idea when the image is clicked it grows (using a Zoom effect) and when
the mouse leaves the image it returns back to thumb nail size.

Here is my example code from the data retrived handler function :

[SOME STUFF HERE]

_aFiles = event.result as ArrayCollection;

for(var i:Number = 0; i < _aFiles.length ; i ++)
{
var imgNewImage:Image   = new mx.controls.Image();

imgNewImage.id  = "albumImage" + i.toString();

imgNewImage.addEventListener("complete",imageCompleteHandler);

var sSource:String  = "[URL TO FILE]" + _aFiles[i].PATH;

imgNewImage.source  = sSource;

imgNewImage.height  = 150;
imgNewImage.width   = 150;
imgNewImage.cacheAsBitmap   = true;


imgNewImage.visible = false;

imgNewImage.setStyle("showEffect",myShowEffect);
imgNewImage.setStyle("mouseUpEffect",myMouseUpZoomEffect);  
imgNewImage.setStyle("rollOutEffect",myMakeitAThumbNailAgainEffect);

//add to display tile   
imageDisplayTile.addChild(imgNewImage);

}

[ETC ETC]
=

the problem is this:

When an image is clicked EVERY image runs the "mouseUpEffect".
Since I am declaring a new image every iteration, I was expecting the
styles to be separate too. I thoght maybe assigning an ID would fix
it, but this didn't help.

Am I missing something, or is this expected behaviour, or is it a bug?

Any ideas?


--
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] [Flex 2] Strange behaviour when using RSLs

2006-09-27 Thread Carlos Rovira



Anatole, that's exactly my config :)But...don't you think that's strange? If I use debug button in FB2 I get it work in FF, but If I run application (not debug mode) I get that dialog. I don't understand why this happen when using RSLs and not when using an app without RSLs.
Maybe I should compile RSLs with -debug=false but I think that's imposible in FB2 dialogsMaybe I'm wrong?Thanks for your response Anatole.C.On 9/27/06, 
Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:













  



looks like you are using debugging plugin in firefox and production release of player in IE
 
Regards,
Anatole
 
On 9/27/06, Carlos Rovira <[EMAIL PROTECTED]
> wrote:





Hi,I spend a few ours trying to find the cause of a weird behaviour. I was trying to use RSLs in a project and when I test it in my default browser (Firefox lastest version), a debug dialog comes. I found that launching the app in IE does not have this problem, so I asume that is a Firefox problem...someone knows how to avoid it? 
Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.com

::| http://www.madeinflex.com  


  













-- ::| Carlos Rovira::| http://www.carlosrovira.com::| http://www.madeinflex.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] HBox inside a vbox - inside an Accordion (possible bug)

2006-09-27 Thread Tracy Spratt












Perhaps the problem is the default
deferred instanition behavior of the accordion.

 

“v2” and its children do not
exist until that view is displayed by the user.

 

For testing purposes only, try setting the
accordion creationPolicy=”all”.

 

If that solves the problem, search this
archive for the correct ways to handle this issue.

 

“Setting creationPolicy=”all”
is almost never the correct thing to do in Flex” paraphrasing Gordon.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dj
Sent: Wednesday, September 27,
2006 1:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HBox inside
a vbox - inside an Accordion (possible bug)



 







I was having the damnest time adding a little
thumbnail component to the 
inside of a HBox -> inside a VBox -> inside an Accordion...

I had no problem as the code demonstrates inside the first vbox in my 
accordion:


resizeToContent="true">


backgroundColor="#c0c0c0" width="100%"
verticalScrollPolicy="off">

id="stack" verticalScrollPolicy="off" />
 

height="100%" verticalScrollPolicy="off"
horizontalScrollPolicy="off">



htmlText="{about_person}" x="0" y="0"
width="100%" height="100%" 
wordWrap="true" editable="false" fontSize="12"
fontWeight="bold" 
fontFamily="tres"/>


>




But below when i try to do my method "stack" to create my component 
inside my vbox ="v2", it says undefined object or refrence... null...
i 
*think* know i am doing this right, however flex can't find my component 
ID or something -- why would this be?


resizeToContent="true">


backgroundColor="#c0c0c0" width="100%"
verticalScrollPolicy="off">


htmlText="{about_person}" x="0" y="0"
width="100%" height="100%" 
wordWrap="true" editable="false" fontSize="12"
fontWeight="bold" 
fontFamily="tres"/>

 

height="100%" verticalScrollPolicy="off"
horizontalScrollPolicy="off">

id="stack" verticalScrollPolicy="off" />


>




Thanks,
Patrick






__._,_.___





--
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] Bug RegExp.exec

2006-09-27 Thread maka3d
The follow tests should result 1 for every one.
trace( (/@/g).exec("A@").index); //1
trace( (/@/g).exec("Á@").index); //2
trace( (/@/g).exec("´@").index); //2
trace( (/@/g).exec("¨@").index); //2

But some special chars like "acute;" (accents in Brazilian words)  are
considered as two chars, not one.

I test with  RegExp.test and String.search and all works as expected.

Why that? A Flash Player Bug?






--
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] Flex 1.5 createClassObject() adding a label error "need help"

2006-09-27 Thread Tracy Spratt












createClassObject returns a reference to
the object, so try:

var oNew:mx.controls.Label= tabNav.createClassObject(mx.controls.Label,"lb",getNextHighestDepth(),{_x:680,
_y:0,text:"Ask Us",styleName:"asktext"});

oNew. addEventListener("click",call);

 

And beware of scope issues.  You might need to use Delegate.

 

Tracy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of shawnb457
Sent: Wednesday, September 27,
2006 10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5
createClassObject() adding a label error "need help"



 







I'm tring to and a label using the createClassObject();

function createAskUs(){
tabNav.createClassObject
(mx.controls.Label,"lb",getNextHighestDepth(),{_x:680,
_y:0,text:"Ask 
Us",styleName:"asktext"});

lb.addEventListener("click",call);

//Dumper.dump(lb);

}

But the instance name "lb" is always undefined.

Thsnk you
Shawn Brinkman






__._,_.___





--
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] Handling uncaught errors

2006-09-27 Thread sonicmarkf
Hello,

I am looking for the best approach to trap, at the application level, 
any system/application uncaught errors. 

We have a fairly robust error/exception handling implementation to 
communicate to our user's errors that might arise in the 
communication and processing of application's data etc 

However, we would also like to provide in our application user 
feedback on any potential uncaught errors.  Nothing fancy but just 
enough to let them know a problem has occurred and also - most 
importantly - to allow us the ability to log the error so we can 
address it.

Has anyone tackled this problem? I searched the list and could not 
find any threads on the subject.

Thanks for any ideas.

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] custom RichTextEditor - SOLVED

2006-09-27 Thread greg h



John,
Thanks!  In this thread you have added more helpful insights into working with the Flex 2 RichTextEditor.

For others who may reference this thread, following are a few other sources ...
 



The Flex 2 Developer's Guide includes a section on the RichTextEditor control. 

Also in response 
to a post on FlexAussie
Hilary Bridel subclassed the RTE adding 7 accessor methods for more
easily removing RTE subcontrols.  For samples and source of Hilary's subclass see Hilary's
post here:



http://www.bridel.org/?p=18




g
On 9/26/06, John Mazzocchi <[EMAIL PROTECTED]> wrote:
Finally solved it ...public function crippleMe():void {myRTE.toolbar.removeChild(myRTE.colorPicker);myRTE.toolbar.removeChild(myRTE.linkTextInput);
myRTE.toolbar.removeChild(myRTE.bulletButton);myRTE.alignButtons.removeChildAt(3);myRTE.toolbar.removeChild(myRTE.fontSizeCombo);//  myRTE.fontFamilyCombo.dataProvider
 = ["Large", "Small", "Fixed"];    this is an alternative to the line immediately below//  myRTE.fontFamilyArray
= ["Large", "Small", "Fixed"];  .
it doesn't work heremyRTE.fontFamilyCombo.width
= 100;myRTE.fontFamilyCombo.selectedIndex = 0;}public function crippleMeMore():void{myRTE.fontFamilyArray
= ["Large", "Small", "Fixed"];//  
 but it does here}initialize="crippleMe()" creationComplete="crippleMeMore()" />
CheersJohn


__._,_.___





--
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: datgrid fills but content is invisible

2006-09-27 Thread Tracy Spratt












Probably the structure of the result
object is not exactly what you expect.

 

I don’t know what a “queryset”
is.  It is certainly not a Flex data structure.

 

By default, the operation’s
resultFormat=”object”.  Flex converts the actual result into
an mx:Object. You need to debug this object to find out exactly what the
structure is.

 

I personally prefer resultFormat=”e4x”,
as that results in an XML object, which, among other benefits, can be displayed
using toXMLString()

 

For the DataColumn to be able to find the data
for dataField, that data must be in a first-level property of the item object. 
If it is nested in some other object or node, then you will need to use a
labelFunction to display it.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of bghoward3
Sent: Wednesday, September 27,
2006 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: datgrid
fills but content is invisible



 







here is code i am using
it is returning a queryset not an xml string

8"?>
http://www.adobe.com/2006/mxml"

layout="absolute" creationComplete="wsUserTeams.getAllTeams.send()">






wsdl="http://sitename/model/cfc_UserTeams.cfc?wsdl"
useProxy="false">
>

ProjMan




dataProvider="{wsUserTeams.getAllTeams.lastResult}"
name="dgTeam">


headerText="TeamID" width="75"/>

dataField="strProjTeamName" headerText="Team"/>



labelField="strProjTeamName" 
dataProvider="{wsUserTeams.getAllTeams.lastResult}"
id="dgTeam2" 
close="selectedItem=ComboBox(event.target).selectedItem"/>



 



--- In [EMAIL PROTECTED]ups.com,
"passive_thoughts" 
...> wrote:
>
> can you post the code for your datagrid and the webservice?
> 
> 
> --- In [EMAIL PROTECTED]ups.com,
"bghoward3" > wrote:
> >
> > i am populating a datagrid via a web service, i am succesfully 
making 
> > the connection and pulling in data however when the datagrid 
populates 
> > no text appears in the grid. i know it is filling it with data 
because 
> > the correct number of lines are added to the grid when the 
connection 
> > is made, it just does not seem to display the content
> > 
> > any thoughts?
> > 
> > thank you
> >
>






__._,_.___





--
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] Cairngorm / Tree Control

2006-09-27 Thread ssohl2001
I'm using the Cairngorm framework to dynamically add nodes to my 
tree. I use a custom object I created that has public properties: 
nodeid, nodename, and children.

Everything works fine when adding hard coded object nodes in 
the "execute" function of my Command class. ex.

var _node:TreeNodeVO = new TreeNodeVO();
_node.nodeid = 1
_node.nodename = "Root";

_tree.addItem(_node);


The issue comes in where I make dynamic call to the server when the 
user clicks on the "Root" node and the results come back into 
the "result" function of my Command class. While debugging I noticed 
that the "Root" node on the treeview must of fired its expand event 
because the "Open" icon was shown. Once I added the new children 
they did not up under the parent. I tried to call force an expand 
call again like this
trData.expandItem(_treeNodeVO,_expand,false,true,null);
but that still didnt work. Once I closed the main parent node and 
clicked on it again the children nodes "did" show.

So I have concluded that somewhere between the "execute" function 
and server call the node expand event is fired before the "result" 
function. My main question is what can I do so the children will be 
seen? force and event to be fired? Call a method off the tree 
itself? etc

 

Thanks







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Problem with IFrame

2006-09-27 Thread Paul Andrews
- Original Message - 
From: "Ali Mills" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, September 27, 2006 9:14 PM
Subject: Re: [flexcoders] Problem with IFrame


> Tim,
>
> IFrame isn't an MXML element.  It's HTML.  So, the "type not found
> error" MXMLC is throwing makes sense.

Actually it's both an HTML element and a custom mxml component (a subclass 
of canvas)..

Paul


>The Coenraets example you using
> as a guide works by using JavaScript to overlay an IFrame in HTML over
> the SWF's OBJECT/EMBED location in HTML.  The example's been updated
> by Brian Deitte for Flex 2, and the updated version can be found at
> http://www.deitte.com/archives/2006/08/finally_updated.htm.
>
> This is a tricky feature to get just right.  Good luck with it!
>
>
> Ali
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> 




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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Re: Flash 9 for PDAs and mobile cell phones

2006-09-27 Thread mvbaffa
Thanks you all
--- In flexcoders@yahoogroups.com, "mvbaffa" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> Is there a version of Flash 9 for PDAS and cell phones minibrowsers
> 
> Thanks in advance
>







--
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] Manually building the WS-Security envelope... how to?

2006-09-27 Thread christoofar
I was wondering if anybody has already dealt with talking to .NET web
services that are using the WSE 3 extensions installed.

Specifically, I need to sed over the authentication token.  The
SOAPHeader looks like this (below).  I've seen the corelibs wrapper,
and it solves the problem of writing the contents of the token, but I
am not clear on how to add the appropriate namespaces to the SOAP
call, short of writing XML by hand and pushing it out of FLEX as a
workaround---something I'd like to avoid.

The example below shows a .NET client sending a standard call to a
WSE3 web service that is just checking for the presence of a token. 
It is not authenticating it and no special body encryption is performed.

If anybody has any ideas or sample code they've already done to
accomplish this I'd appreciate very much!

---

POST /MVC/ViewSoapService.ashx HTTP/1.1
User-Agent: Microsoft WSE 3.0
Content-Type: text/xml; charset=utf-8
SOAPAction: "uri:isos-online-irc-controller-1.0/GetView"
Host: phlws2366
Content-Length: 1527
Expect: 100-continue
Proxy-Connection: Keep-Alive



http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>


uri:isos-online-irc-controller-1.0/GetView
urn:uuid:f3accba1-5b29-4a1a-9710-e7f292f3a2d4

http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
http://phlws2366/MVC/ViewSoapService.ashx




2006-09-27T19:53:21Z
2006-09-27T19:58:21Z






http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; ViewName="Regional
Alerts" ViewID="RegionalAlertsView">INTLSOS1accb176-4962-4aad-b610-1dc22a3379e7ENGACTIVE7









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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Re: Using mxmlc.jar w/ ANT - SOLVED

2006-09-27 Thread Paul Spitzer
I am using a build XML file w/ ANT

Constantiner wrote:
> You can use more elegant and crossplatform example of build.xml in
> this preloader example:
>
> http://mxdj.sys-con.com/read/274849.htm
>
>   



--
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: Problem with IFrame

2006-09-27 Thread Tim Hoff
Not too many other Tim's here.  How did I get involved in this 
discussion?  No worries. :-)

-TH

--- In flexcoders@yahoogroups.com, "Ali Mills" <[EMAIL PROTECTED]> wrote:
>
> Tim,
> 
> IFrame isn't an MXML element.  It's HTML.  So, the "type not found
> error" MXMLC is throwing makes sense.  The Coenraets example you 
using
> as a guide works by using JavaScript to overlay an IFrame in HTML 
over
> the SWF's OBJECT/EMBED location in HTML.  The example's been 
updated
> by Brian Deitte for Flex 2, and the updated version can be found at
> http://www.deitte.com/archives/2006/08/finally_updated.htm.
> 
> This is a tricky feature to get just right.  Good luck with it!
> 
> 
> Ali
>






--
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] Problem with IFrame

2006-09-27 Thread Andrew Trice












OK… I see what you are saying.   The
real problem is the namespace.  If you are trying to access  in
mxml, you need to identify the namespace containing the Iframe.mxml component.  If
you look at Christophe’s example, he sets the namespace on the root as: xmlns="*" 

 

 



_

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:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Wednesday, September 27,
2006 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Problem
with IFrame



 









- Original Message - 







From: Andrew Trice 





To: [EMAIL PROTECTED]ups.com






Sent: Wednesday,
September 27, 2006 8:58 PM





Subject: RE: [flexcoders]
Problem with IFrame





 





The IFrame does not actually get embedded within the Flex
application.  It sits on top of it and appears seamless.  In reality,
they are only tied together by the HTML that contains the flex application.

 

-Andy

 





As I understand it there's an MXML iframe too..



 



_



Andrew Trice



Cynergy Systems, Inc.



http://www.cynergysystems.com



 

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



Email: andrew.trice@cynergysystems.com



Office: 866-CYNERGY 



 











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem with
IFrame



 







I'm
following one of the examples for displaying HTML in a flex 
application. It uses an IFrame. When I add this to my code:


paddingBottom="1" paddingLeft="1" paddingRight="1">

urlSource="http://www.yahoo.com"
initialCount="20"/>


click="iFrame.visible=cbVisible.selected"/>



The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95














__._,_.___





--
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: FDS+COLDFUSION CFCRM dataservice error

2006-09-27 Thread flexdesigners
Re,

It works now, but i don't understand why it previously failed..
I've just reinstalled fds and made all the change directly to the 
server without any ftp upload .. and it works
Is it possible that xml updated files or ftp transfert were the 
source error ?
Is the installation order (CFMX , FDS, Flex Builder + CF extension) 
important ?

regards 

--- In flexcoders@yahoogroups.com, "Francois Dejardin" <[EMAIL PROTECTED]> 
wrote:
>
> Hi,
> 
> I'm trying to make the CFCRM tutorial works, but i had a lot of 
issues to make it work.
> 
> I have CFMX7.2 installed on IIS (port 80) and FDS Express installed 
on the same server (port 8700).
> I've successfully installed and tested the CRM version, but when i 
try to make the Coldufion version,
> i get always the "send failed" message when compiling the mxml 
application.
> When i check the Flex Server Log, i have the following error 
message displaying in loop : Unable to create 
service 'flex.data.DataService' for 'data-service' due to the 
following error ; Error instantiating application scoped instance of 
type 'flex.data.assemblers.HibernateAssembler'.
> I've read a lot on forums, blogs and other related topics, but not 
able to fix this issue 
> Any help would be appreciated !
> 
> regards
>







--
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] Problem with IFrame

2006-09-27 Thread Andrew Trice












The IFrame component in the example just
contains the _javascript_ that is used to control the HTML-based IFrame that sits
on top of the flex application…

 

 



 



    resize="doLater(this,
'moveIFrame')"

    move="doLater(this,
'moveIFrame')">

 

    

 

    private var __source: String;

 

    function moveIFrame(): Void {

    var pt={x:0, y:0};

    this.localToGlobal(pt);

   
getURL("_javascript_:moveIFrame("+pt.x+","+pt.y+","+this.width+","+this.height+")");

    //fscommand("moveIFrame",
pt.x+","+pt.y+","+this.width+","+this.height);

    }

 

    function set source(source:
String): Void {

    if (source) {

    __source = source;

    getURL(source,
"myFrame");

    }

    }

 

    function get source(): String {

    return __source;

    }

 

    function set visible(visible:
Boolean): Void {

    super.visible=visible;

    if (visible)

   
getURL("_javascript_:showIFrame()");

    //fscommand("showIFrame");

    else

   
getURL("_javascript_:hideIFrame()");

   
//fscommand("hideIFrame");

    }

 

    

 



 



_

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:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews
Sent: Wednesday, September 27,
2006 4:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Problem
with IFrame



 









- Original Message - 







From: Andrew Trice 





To: [EMAIL PROTECTED]ups.com






Sent: Wednesday,
September 27, 2006 8:58 PM





Subject: RE: [flexcoders]
Problem with IFrame





 





The IFrame does not actually get embedded within the Flex
application.  It sits on top of it and appears seamless.  In reality,
they are only tied together by the HTML that contains the flex application.

 

-Andy

 





As I understand it there's an MXML iframe too..



 



_



Andrew Trice



Cynergy Systems, Inc.



http://www.cynergysystems.com



 

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



Email: andrew.trice@cynergysystems.com



Office: 866-CYNERGY 



 











From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Problem with
IFrame



 







I'm
following one of the examples for displaying HTML in a flex 
application. It uses an IFrame. When I add this to my code:


paddingBottom="1" paddingLeft="1" paddingRight="1">

urlSource="http://www.yahoo.com"
initialCount="20"/>


click="iFrame.visible=cbVisible.selected"/>



The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95














__._,_.___





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

2006-09-27 Thread Ali Mills
Tim,

IFrame isn't an MXML element.  It's HTML.  So, the "type not found
error" MXMLC is throwing makes sense.  The Coenraets example you using
as a guide works by using JavaScript to overlay an IFrame in HTML over
the SWF's OBJECT/EMBED location in HTML.  The example's been updated
by Brian Deitte for Flex 2, and the updated version can be found at
http://www.deitte.com/archives/2006/08/finally_updated.htm.

This is a tricky feature to get just right.  Good luck with it!


Ali


--
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] Problem with IFrame

2006-09-27 Thread Ali Mills





As I understand it 
there's an MXML iframe too..It looks like you're right Andrew.  I just pulled down the following MXML from http://www.deitte.com/IFrameDemo3/srcview/IFrame.zip
:[CODE]http://www.adobe.com/2006/mxml"    resize="callLater(moveIFrame)"
    move="callLater(moveIFrame)">            
[/CODE] Someone wrote a component to communicate with the hosting HTML...Ali

__._,_.___





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

2006-09-27 Thread Paul Andrews





- Original Message - 

  From: 
  Andrew Trice 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, September 27, 2006 8:58 
  PM
  Subject: RE: [flexcoders] Problem with 
  IFrame
  
  
  The IFrame does not 
  actually get embedded within the Flex application.  It sits on top of it 
  and appears seamless.  In reality, they are only tied together by the 
  HTML that contains the flex application.
   
  -Andy
   
As I understand it 
there's an MXML iframe too..

   
  
  _
  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:flexcoders@yahoogroups.com] 
  On Behalf Of 
  cheftimbobSent: 
  Wednesday, September 27, 2006 3:46 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Problem with 
  IFrame
   
  
  
  
  I'm following one of the examples for displaying HTML 
  in a flex application. It uses an IFrame. When I add this to my 
  code:paddingBottom="1" paddingLeft="1" 
  paddingRight="1">urlSource="http://www.yahoo.com" 
  initialCount="20"/>click="iFrame.visible=cbVisible.selected"/>The 
  IFrame line throws and error 'type was not found or was not a compile time 
  constant'. The example came from:http://coenraets.com/viewarticle.jsp?articleId=95
   
  
__._,_.___





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

2006-09-27 Thread Paul Andrews
- Original Message - 
From: "cheftimbob" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, September 27, 2006 8:46 PM
Subject: [flexcoders] Problem with IFrame


> I'm following one of the examples for displaying HTML in a flex
> application. It uses an IFrame. When I add this to my code:
>
>  paddingBottom="1"  paddingLeft="1" paddingRight="1">
> urlSource="http://www.yahoo.com";  initialCount="20"/>
>
>  click="iFrame.visible=cbVisible.selected"/>
>
> 
>
> The IFrame line throws and error 'type was not found or was not a
> compile time constant'.
>
> The example came from:
> http://coenraets.com/viewarticle.jsp?articleId=95

I can't read the source of the example, but I believe that a new mxml iframe 
component was created, so to use it you must also have that component. There 
isn't a native iframe component.

Paul



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




--
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] Array question

2006-09-27 Thread Ali Mills
> Is there a way I can retrieve several objects from the array at one
> time?
> For example, I want to know whats on myPets[1], myPets[3] and myPets
> [5] at one time.
> Is there anithing like
> trace (myPets[1,3,5]) ??
>
> ...
> I want to retrieve
> things in a non-linear way...
>

There isn't.  If you want to retrieve objects in a non-linear way,
consider using a different data structure.  You could try an Object
(as an associative array) or a Dictionary
(http://livedocs.macromedia.com/flex/2/langref/flash/utils/Dictionary.html).

Ali


--
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] Problem with IFrame

2006-09-27 Thread Andrew Trice












The IFrame does not actually get embedded
within the Flex application.  It sits on top of it and appears seamless.  In
reality, they are only tied together by the HTML that contains the flex
application.

 

-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:flexcoders@yahoogroups.com] On Behalf Of cheftimbob
Sent: Wednesday, September 27,
2006 3:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with
IFrame



 







I'm following one of the examples for displaying HTML
in a flex 
application. It uses an IFrame. When I add this to my code:


paddingBottom="1" paddingLeft="1" paddingRight="1">

urlSource="http://www.yahoo.com"
initialCount="20"/>


click="iFrame.visible=cbVisible.selected"/>



The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95






__._,_.___





--
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] Bugs in the Remoting adapter which comes with ColdFusion

2006-09-27 Thread EECOLOR



Hello,
 
im writing this email for a few reasons:
 
1. To save some ppl from debugging for hours just to find out that its a bug in the code that comes with ColdFusion.
2. In hope to get some pointers on how to work around these bugs.
3. In hope to reach the ppl from adobe that made this product and push em to get the new code (or the source so i can fix it myself) out.
 
(btw, english is not my native language so sorry for bad grammar and stuff)
 
 
Bug #1 CFASSerializer does not check super classes
 
Those of you that use value objects most likely encountered this problem. When you send back an instance of a value object (a cfc with cfproperty tags, getters and setters) it does not get serialized correctly. Only properties defined in the cfc itself are serialized, properties defined in super classes are not included.

 
For the ppl at adobe: 
 
the method which handles this has the followin signature: "ASObject translate(TemplateProxy result) throws NeoException" and is located in the 
coldfusion.flash.messaging.io.amf.Translator.CFASSerializer class (flashremoting_update.jar). A bit down in the function the metadata of the component is requested and its properties are gathered. I would have expected code that checks the "extends" property of the metadata to repeat the properties gathering process. I could fix the problem myself if i had the source code of the class (and the code for the invoke method of the 
coldfusion.flash.messaging class which uses the CFCASSerializer class).
 
Work around:
 
Add cfproperty tags of each available property in sub-cfc', getters and setters can remain in super cfc's.
 
 
Bug #2: Application.cfc looses context if called from different domains.
 
This problem is only testen on a machine that has ColdFusion running under JRun on Windows XP with Apache as a webservice. In apache I have defined 2 virual hosts (app1 and app2). In my hosts file (in xp located at  C:\WINDOWS\system32\drivers\etc) i added two entries: 

 
127.0.0.1    app1
127.0.0.1    app2
 
In both directories i have the following files:
 
index.cfm - serves an swf file which does a RemoteObject call to the "ColdFusion" destination
app1.swf/app2.swf - the swf that actually does the call
App.cfc   - the cfc that is called from the swf
Application.cfc   - Gets accessed for each request
 
index.cfm is just app1.html (or app2.html depending on the directory) renamed to index.cfm
 
appX.mxml (replace X with the application number) contains a start method which does the remoting call.
 
App.cfc contains a remotely accessable method which returns a simple string.
 
Application.cfc contains the following code:
 

   
  
 
 
 [EMAIL PROTECTED]" from="
[EMAIL PROTECTED]" subject="#cgi.SCRIPT_NAME#" type="html">

   #replace(cfcatch.stacktrace, chr(13), "", "all")#
 
 
  
   
   
   

 
After you have called either http://app1 or http://app2 you will receive two emails with stack traces in it. A copy of a portion of those is included bellow. Depending on which application you called first after a restart of your coldfusion server, the 
Application.cfc that gets called first will be stuck in cache. 
 
In this case app1 was called. First the entry which is caused by calling index.cfm:
 
at cfApplication2ecfc1765161969.runPage(C:\wwwroot\App1\Application.cfc:13)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
This one is caused by the remoting call:
 
at cfApplication2ecfc1765161969.runPage(C:\wwwroot\App2\Application.cfc:13)at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java
:152)
 
As you can see in the remoting call, the context is wrong, we are calling app1 while we get the Application.cfc of app2. This causes alot of problems cause i am using the location of Application.cfc to get the absolute path to the application root (using getCurrentTemplatePath()). 

 
I have not yet found a way to work around this problem yet...
 
 
Bug #3: String contents of structs get converted to instances of coldfusion.sql.QueryColumn
 
I did not have the time to research this phenomenon. When i send a struct through some functions, somewhere along the way the string contents of my struct elements are converted to instances of coldfusion.sql.QueryColumn
. Till i have the time to check the bug out i build a small little function that converts the values in the struct back to a string.
 
 
I will keep you updated of anything i find. If you have problems reproducing bug #1 or #2 please contact me. If you have any suggestions, please reply. And if you have any comment, please feel free to let out. Thnx for reading.

 
 
Greetz Erik
 
 
 
 
 
 

__._,_.___





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

[flexcoders] Problem with IFrame

2006-09-27 Thread cheftimbob
I'm following one of the examples for displaying HTML in a flex 
application. It uses an IFrame. When I add this to my code:


http://www.yahoo.com";  initialCount="20"/>





The IFrame line throws and error 'type was not found or was not a 
compile time constant'. 

The example came from:
http://coenraets.com/viewarticle.jsp?articleId=95






--
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] Array question

2006-09-27 Thread g_vaccarezza
Hi!
Suppose I have the following array:

var myPets_array:Array = new 
Array "cat", "dog", "fish", "canary", "parrot");

Is there a way I can retrieve several objects from the array at one 
time?
For example, I want to know whats on myPets[1], myPets[3] and myPets
[5] at one time.
Is there anithing like 
trace (myPets[1,3,5]) ??

With slice I can retrieve a range of elements, but I want to retrieve 
things in a non-linear way...
Thanks!
-g






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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




Re: [flexcoders] Re: Bug?: Array not populating List.

2006-09-27 Thread Ali Mills
Jason,

The following code works fine for me:

[CODE]

http://www.adobe.com/2006/mxml";
layout="absolute" initialize="init()">










 

[/CODE]

Perhaps the problem your having has to do with the data returned from
your HTTPService call?


Ali


--
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] passing an instance of a component to a titlewindow

2006-09-27 Thread bghoward3
can somone provide some direction , i am trying to populate a title 
window dynamically through an argument, the contents of the title 
window will be in the form  of a component

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] submission with multiple selec

2006-09-27 Thread g_vaccarezza
suppose I have this


Wallet
Belt
Hat


If the user selects wallet and hat, the following will be submitted to
the form's action page:

?items=Wallet&items=Hat

Quetion: How do I emulate this when calling an action page via a Flex
HTTPService object?

This is what I've tried so far:

1. Create a Flex List object with allowMultipleSelection = true
2. In the ActionScript that invokes the HTTPService, I put something
like the following:

var params:Object = new Object();
params.items = listControlInstance.selectedItems;
httpServiceInstance.send(params);

What Flex submits to the action page is the following:

?items=Wallet,Hat

...which breaks the action page.
What is the correct way of doing 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] Re: why isn't the model's data being updated.

2006-09-27 Thread passive_thoughts


--- In flexcoders@yahoogroups.com, "boy_trike" <[EMAIL PROTECTED]> wrote:
>
> the model variable is bound and in the following snippet
> 
>  y="99"  />
> 
> 
> whenever I type something into the manager field the model is NOT
updated unless I add the 
> following change event:
>   change="{model.currentProspect.manager = manager.text;}"
> 
> 
> Thanks
> 
> Bruce
>






--
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] HTTPService outside of MXML

2006-09-27 Thread Ali Mills
Is it possible to use HTTPService outside of MXML in an ActionScript
class?  I have a very simple ActionScript project with the code:

[CODE]
package {
import flash.display.Sprite;
import mx.rpc.http.HTTPService;

public class HTTPServiceExample extends Sprite {
public function HTTPServiceExample() {
var service:HTTPService = new HTTPService();
}
}
}
[/CODE]

that I can't get to compile.  Flex Builder reports the problem, "An
internal build error has occurred.  Please check the Error Log.", and
when I check the log, I see:

[LOGGED_ERROR]
!ENTRY com.adobe.flexbuilder.project 4 43 2006-09-27 12:11:49.97
!MESSAGE Uncaught exception in compiler
!STACK 0
java.lang.NullPointerException
at 
macromedia.asc.semantics.InterfaceWalker.processQueue(InterfaceWalker.java:75)
at 
macromedia.asc.semantics.InterfaceWalker.(InterfaceWalker.java:27)
at 
macromedia.asc.semantics.InterfaceWalker.(InterfaceWalker.java:17)
at 
macromedia.asc.semantics.FlowAnalyzer.scanInterfaceMethods(FlowAnalyzer.java:5972)
at 
macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:4833)
at 
macromedia.asc.parser.BinaryClassDefNode.evaluate(BinaryClassDefNode.java:22)
at 
macromedia.asc.semantics.FlowAnalyzer.evaluate(FlowAnalyzer.java:2559)
at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:63)
at flex2.compiler.abc.Compiler.analyze2(Compiler.java:280)
at flex2.compiler.API.analyze(API.java:2118)
at flex2.compiler.API.analyze(API.java:2041)
at flex2.compiler.API.batch2(API.java:296)
at flex2.compiler.API.batch(API.java:901)
at flex2.compiler.API.compile(API.java:1110)
at flex2.compiler.API.compile(API.java:1022)
at com.adobe.flexbuilder.project.compiler.Compiler.compile(Unknown 
Source)
at 
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.buildApplication(Unknown
Source)
at 
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(Unknown
Source)
at 
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:593)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202)
at 
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:231)
at 
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at 
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234)
at 
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253)
at 
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282)
at 
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139)
at 
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)
[/LOGGED_ERROR]

Am I doing something wrong, or is Flex Builder?  I see from
http://kuwamoto.org/2006/08/04/flex-tags-and-as-class-the-exceptions/
that HTTPService is a faceless component and "can only go at the root
level of a document", but I can't imagine you must use HTTPService in
the context of MXML.  Any ideas on how to use an HTTPService from
ActionScript?

Also, I am including the "libs/rpc.swc" library.

Thanks.


Ali


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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Paul Spitzer
Anatole Tartakovsky wrote:
> Paul,
>   Could you please clarify your question - it seems that there are 
> number of issues that are mixed up here. First, there is no issue of 
> RSL caching in the browser unless you specifically enable some 
> expiration scheme.

Certainly. The caching issue I'm referring to is when a new RSL SWF is 
published and pushed to a server the end user may not immediately see 
the new SWF. Or, more accurately the users browser may load the old 
version of the SWF from the browser cache and not the more recent from 
the server.

Does that make sense?

>  
> I have seen people loading multiple applications side by side - using 
> the same RSLs - that is essentially the question if you want to 
> isolate your runtime libraries in case of versioning in the future - 
> that would essentially hurt performance
>  
> Finally, there is an issue of loading RSLs in the root appDomain - 
> essentially you do not have a chance to do reloading of the classes 
> till the application startup. Also, there is obvious problem with 
> versioning.
>  
> Seems we are done with the client - now the question is how to build 
> RSLs so it is the smallest, most recent, and up to date one.
>  
> That's were it breaks in the beginning. Essentially, if you are using 
> dynamic instantiation of any class in the RSL, the main application 
> would not know whic objects to initialize/which dependent classes to 
> include. One solution we are using is to build self initializing 
> modules and use them instead of RSLs that would of been extracted out 
> of SWCs by the build process.

I was just discussing a similar option with a coworker here. The idea is 
that instead of using RSLs we'd simply build libs of code (packaged in a 
SWF) and write our own loading scheme. Going this route, while more 
work, would also allow us to control caching by appending a version to 
the URL when loading corelib.swf?v=1.

Thanks for taking the time to reply.


>  
> HTH,
> Anatole Tartakovsky
>  
>  
>
>
>  
> On 9/26/06, *Paul Spitzer* <[EMAIL PROTECTED] > 
> wrote:
>
> >some concerns about potential RSL caching and how to overcome that
> >(I think it can be easily overcome with a proper rollout strategy)
>
> I'm curious to hear what your plan is to deal with the caching of
> RSL(s). Or how others deal with it. Any suggestions?
>
> derrickgrigg wrote:
> > I actually was concerned about the HOW and the WHY. I wanted to find
> > out why doing it that way was a good solution or why someone else's
> > solution would be better or more viable. And if the proposed
> > solution was good, was how I intended to implement that solution the
> > right way.
> >
> > I completely agree that having Abstract and Interface classes just
> > to accomplish modularity is basically creating a code management
> > problem. The only reason it was seriously being considered was to
> > allow the development of seperate module swfs, that need to use the
> > same base classes (ie models, command and value objects), without
> > having to worry about code duplication and errors/conflicts when
> > module swf are being loaded in the main shell application.
> >
> > I've had problems in the past with Flash and RSLs plus I still have
> > some concerns about potential RSL caching and how to overcome that
> > (I think it can be easily overcome with a proper rollout strategy),
> > so I was a little hestitant to pursue that idea. However, from your
> > post and Erik's (plus my own nagging suspicion), I think having the
> > base code in an external SWC and using that as an RSL is the right
> > was to go.
> >
> > Derrick
> >
> >
> >
> >
> >
>
>
>  



--
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] Flex 2.0 unkown issue

2006-09-27 Thread Stacy Young












One option you could do is set the style
inside your custom component. That way wherever it’s used afterwards that style
will apply.

Alternatively you *can* do the following as well …and should
work:

 



xmlns:mx="http://www.adobe.com/2006/mxml"


xmlns:custom="*" 

layout="absolute">





MyButton {
font-size: 30; }











 

Cheers,

Stace

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Kevin Newman
Sent: Wednesday, September 27,
2006 2:08 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2.0
unkown issue



 







It sounds like you are looking for a CSS Selector that
will not apply to 
every Button instance, but only vanilla ones. Is there a selector that 
does that?

Alternatively, can you make your own custom Button Element (MyButton), 
by extending (inheriting from) the base Button class, then apply the CSS 
rule to your own custom Button?

I'm actually very interested in the answers to these questions, since I 
haven't had the time to play much with Flex 2.0 yet :-)

Example of what I'm saying:

MyButton {
icon:Embed(source="icon.png");
}



or is something like this possible to set up?


MyNS|Button {
icon:Embed(source="icon.png");
}



Thanks,

Kevin N.

Igor Costa wrote:
> Hi Guys
>
>
> I was trying to apply some CSS on application at my development cycle 
> and discovered a new unknown issue for Flex 2.0
>
> Here we go.
>
> When I create a new Style tag at the root of my Application.mxml here

> we have
>
> 
> .MyCostumButton { 
> icon:Embed(source="icon.png");
> }
> 
>
> So applying directly to my button by attribute 
> styleName="MyCostumButton" does properly works.
>
> 
>
> But in when we try to apply directly to a Button tag in CSS tag style 
> doesn't really work perfectly due to If I add a new component like 
> RichTextEditor every single button or any one who also has an costum 
> Button wrote by Actionscript our even MXML will appear the Icon in 
> each of them.
>
> Here we have, take a try
>
> 
> Button {
> icon:Embed(source="icon.png");
> 
>
> 
>
> 
> >
> 
> 
> 
>
>
> So, please Adobe Flex team fix this dude.
>
>
> Regards
>
>
> -- 
> 
> Igor Costa
> www.igorcosta.com 

>






 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L’expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s’il est retransmis sans son autorisation.  Si vous n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l’expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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








   






  
  
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
   |
  
   

[flexcoders] Re: Unable to access UserTransaction in DataService.

2006-09-27 Thread jonathan_merey
I had the same problem with Tomcat and when I installed the JOTM I
hadn't the problem. Good luck.





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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




RE: [flexcoders] Re: Loading External XML error

2006-09-27 Thread Matt Horn
The info is correct, but the audience is different. You have to
"flex-ify" code samples from the Programming ActionScript book because
they are written to generally be usable independent of the tool that you
use to compile them. One such flexification is that all statements in a
script block must be inside a function. 

hth,

matt horn
flex docs

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of g_vaccarezza
> Sent: Wednesday, September 27, 2006 1:41 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Loading External XML error
> 
> Thank you! That worked!
> How come the livedoc provides buggy info? Seems that the 
> loader has to be inside a function to work...
> 
> --- In flexcoders@yahoogroups.com 
>  , "Bela Hajzer" 
> <[EMAIL PROTECTED]>
> wrote:
> >
> > --- In flexcoders@yahoogroups.com 
>  , "grand_master_flash_x" 
> >  wrote:
> > >
> > > try this...
> > > 
> > > 
> > > 
> > > 
> > >  >
> > > 
> > > 
> > > >  tag:
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > I get a compiling time error at lines 4 and 5. It says:
> > > > 
> > > > Access to undefined property loader Acces to undefined property 
> > > > request Access to undefined property onComplete
> > > > 
> > > > :O Any ideas what this could be and how to solve it!?
> > > > 
> > > > Thanks!
> > > > Guille
> > > >
> > >Hi Guille,put
> > import flash.net.URLRequest
> > import flash.net.URLLoader
> > that should be fine
> > Bye Bela
> >
> 
> 
> 
>  
> 


--
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] Flex 2.0 unkown issue

2006-09-27 Thread Kevin Newman
It sounds like you are looking for a CSS Selector that will not apply to 
every Button instance, but only vanilla ones. Is there a selector that 
does that?

Alternatively, can you make your own custom Button Element (MyButton), 
by extending (inheriting from) the base Button class, then apply the CSS 
rule to your own custom Button?

I'm actually very interested in the answers to these questions, since I 
haven't had the time to play much with Flex 2.0 yet :-)

Example of what I'm saying:

MyButton {
icon:Embed(source="icon.png");
}



or is something like this possible to set up?


MyNS|Button {
icon:Embed(source="icon.png");
}





Thanks,

Kevin N.



Igor Costa wrote:
> Hi Guys
>
>
> I was trying to apply some CSS on application at my development cycle 
> and discovered a new unknown issue for Flex 2.0
>
> Here we go.
>
> When I create a new Style tag at the root of my Application.mxml here 
> we have
>
> 
>   .MyCostumButton { 
>icon:Embed(source="icon.png");
> }
> 
>
> So applying directly to my button by attribute 
> styleName="MyCostumButton" does properly works.
>
> 
>
> But in when we try to apply directly to a Button tag in CSS tag style 
> doesn't really work perfectly due to If I add a new component like 
> RichTextEditor every single button or any one who also has an costum 
> Button wrote by Actionscript our even MXML will appear the Icon in 
> each of them.
>
> Here we have, take a try
>
> 
> Button {
>icon:Embed(source="icon.png");
> 
>
> 
>
> 
> 
> 
> 
> 
>
>
> So, please Adobe Flex team fix this dude.
>
>
> Regards
>
>
> -- 
> 
> 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] why isn't the model's data being updated.

2006-09-27 Thread boy_trike
the model variable is bound and in the following snippet




whenever I type something into the manager field the model is NOT updated 
unless I add the 
following change event:
change="{model.currentProspect.manager = manager.text;}"


Thanks

Bruce






--
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: Loading External XML error

2006-09-27 Thread g_vaccarezza
Thank you! That worked!
How come the livedoc provides buggy info? Seems that the loader has 
to be inside a function to work...



--- In flexcoders@yahoogroups.com, "Bela Hajzer" <[EMAIL PROTECTED]> 
wrote:
>
> --- In flexcoders@yahoogroups.com, "grand_master_flash_x" 
>  wrote:
> >
> > try this...
> > 
> > 
> >  
> > 
> > 
> > >
> > 
> > 
> > >  tag:
> > > 
> > > 
> > > 
> > > 
> > > 
> > > I get a compiling time error at lines 4 and 5. It says:
> > > 
> > > Access to undefined property loader
> > > Acces to undefined property request
> > > Access to undefined property onComplete
> > > 
> > > :O Any ideas what this could be and how to solve it!?
> > > 
> > > Thanks!
> > > Guille
> > >
> >Hi Guille,put
> import flash.net.URLRequest
> import flash.net.URLLoader
> that should be fine
> Bye Bela
>







--
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: Cairngorm Best Practices.

2006-09-27 Thread ben.clinkinbeard
This is off the top of my head so if someone out there knows or can
explain better feel free to correct me...

I've not looked at the actual code but from your snippet it appears
that they are in fact still using constants, just not ones that are
defined in the ShopController. When you have an event that needs to
carry data with it, you have to subclass Event. In that case you would
also define the event type in that subclass, which is what they seem
to be doing. If you had an event that didn't require a data payload to
be sent with it, you'd define the constant in the controller. Make sense?

HTH,
Ben

--- In flexcoders@yahoogroups.com, "laidezmon" <[EMAIL PROTECTED]> wrote:
>
> Here is a question about Cairngorm best practices. 
> 
> In the documentation this is in part four feature driven development,
> page 3 for cairngorm .99 it says this:
> 
> "First recognize the best practice appraoch of naming all events as
> constants on the FrontController instance ShopController."
> 
> Later down it says:
> 
> "The compiler catches any mistyped events noisily at compile time
> rather than failing silently at run time. While Cairngorm does not
> require this, its a best practice we highly recommend."
> 
> I downloaded the latest Cairngorm store for 2.0 however, and thier
> shopController instance is not written in the same format. I was
> wondering why? In the 2.0 version they do NOT declare constants, but
> in the .99 version they do. What is the best practice? 
> 
> Below are the two different ShopController code samples. The .99 uses
> static vars, while the 2 version does not. In fact the entire method
> for calling the associated commands from events are different. So
> which is the actual best practice?
> 
> Help!
> JS.
> 
> 
> Here is the .99 ShopController example:
> 
> class org.nevis.cairngorm.samples.store.control.ShopController extends
> FrontController
> {
> public function ShopController()
>{
>initialiseCommands();
>}
> 
>
>
//
> 
> public function initialiseCommands()
> {
>   addCommand( ShopController.EVENT_GET_PRODUCTS, new
> GetProductsCommand() );
>   addCommand( ShopController.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,
> new AddProductToShoppingCartCommand() );
>   addCommand(
> ShopController.EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART, new
> DeleteProductFromShoppingCartCommand() );  
>   addCommand( ShopController.EVENT_FILTER_PRODUCTS, new
> FilterProductsCommand() ); 
>   addCommand( ShopController.EVENT_SORT_PRODUCTS, new
> SortProductsCommand() ); 
>   addCommand( ShopController.EVENT_VALIDATE_ORDER, new
> ValidateOrderCommand() );
>   addCommand( ShopController.EVENT_VALIDATE_CREDIT_CARD, new
> ValidateCreditCardCommand() ); 
>   addCommand( ShopController.EVENT_COMPLETE_PURCHASE, new
> CompletePurchaseCommand() ); 
> }
> 
>
>
//-
> 
> public static var EVENT_GET_PRODUCTS = "getProducts";
> public static var EVENT_ADD_PRODUCT_TO_SHOPPING_CART =
> "addProductToShoppingCart";
> public static var EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART =
> "deleteProductFromShoppingCart";  
> public static var EVENT_FILTER_PRODUCTS = "filterProducts";
> public static var EVENT_SORT_PRODUCTS = "sortProducts";
> public static var EVENT_VALIDATE_ORDER = "validateOrder";
> public static var EVENT_VALIDATE_CREDIT_CARD = "validateCreditCard";
> public static var EVENT_COMPLETE_PURCHASE = "completePurchase";  
>  
> 
> }
> 
> 
> Here is the version 2.0 ShopController Example:
> 
> package com.adobe.cairngorm.samples.store.control
> {
>   import com.adobe.cairngorm.control.FrontController;
>   import com.adobe.cairngorm.samples.store.command.*
>   import com.adobe.cairngorm.samples.store.event.UpdateShoppingCartEvent;
>   import com.adobe.cairngorm.samples.store.event.FilterProductsEvent;
>   import com.adobe.cairngorm.samples.store.event.GetProductsEvent;;
>   import com.adobe.cairngorm.samples.store.event.SortProductsEvent;
>   import com.adobe.cairngorm.samples.store.event.ValidateOrderEvent;
>   import com.adobe.cairngorm.samples.store.event.ValidateCreditCardEvent;
>   import com.adobe.cairngorm.samples.store.event.PurchaseCompleteEvent;
>   
>   /**
>* @version $Revision: $
>*/
>   public class ShopController extends FrontController
>   {
>   public function ShopController()
>   {
>   initialiseCommands();
>   }
>   
>   public function initialiseCommands() : void
>   {
>   addCommand( GetProductsEvent.EVENT_GET_PRODUCTS,
> GetProductsCommand );   
>   addCommand(
> UpdateShoppingCartEvent.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,
> Add

[flexcoders] Re: datgrid fills but content is invisible

2006-09-27 Thread ben.clinkinbeard
Not sure what you mean exactly. Web services always return xml (that's
how they work), and Flex parses the results into either objects, e4x
structure or xml text, depending on what you set the resultFormat
attribute of your mx:operation tag to. The default is object, so your
ws should be returning an object structure to you. I probably can't
help much beyond that because I always set resultFormat = "e4x", but
make sure you understand what is actually being returned to your Flex app.

Ben

--- In flexcoders@yahoogroups.com, "bghoward3" <[EMAIL PROTECTED]> wrote:
>
> not using xml,this is a query set
> 
> --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
>  wrote:
> >
> > I had this issue a while back and I am pretty sure it was a 
> namespace
> > issue. Does the data returned from the WS contain a default 
> namespace?
> > 
> > As in xmlns="http://yoursite.com/someUrl";. If so, you'll need to 
> use a
> > labelFunction. I posted about this a while back:
> > http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-
> namespaces/
> > 
> > HTH,
> > Ben
> > 
> > --- In flexcoders@yahoogroups.com, "bghoward3"  wrote:
> > >
> > > i am populating a datagrid via a web service, i am succesfully 
> making 
> > > the connection and pulling in data however when the datagrid 
> populates 
> > > no text appears in the grid. i know it is filling it with data 
> because 
> > > the correct number of lines are added to the grid when the 
> connection 
> > > is made, it just does not seem to display the content
> > > 
> > > any thoughts?
> > > 
> > > thank you
> > >
> >
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] FDS+COLDFUSION CFCRM dataservice error

2006-09-27 Thread Francois Dejardin




Hi,I'm trying to make the CFCRM tutorial works, 
but i had a lot of issues to make it work.I have CFMX7.2 installed on 
IIS (port 80) and FDS Express installed on the same server (port 8700).I've 
successfully installed and tested the CRM version, but when i try to make the 
Coldufion version,i get always the "send failed" message when compiling the 
mxml application.When i check the Flex Server Log, i have the following 
error message displaying in loop : Unable to create service 
'flex.data.DataService' for 'data-service' due to the following error ; Error 
instantiating application scoped instance of type 
'flex.data.assemblers.HibernateAssembler'.I've read a lot on forums, blogs 
and other related topics, but not able to fix this issue Any help would be 
appreciated !regards
 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: Cairngorm Best Practices.

2006-09-27 Thread Tim Hoff



Hi JS,
Below is a sample Cairngorm2 FrontController.  It's very similar to the .99 version.  The store example is using custom events.  These are usually created if you need to pass data (VO) with the event to a Command.  This isn't necessary if the command doesn't require parameters or data.   However, in the store example, the constants are defined in the individual custom event classes.  Either method is consistant with best practice.  It just depends on the use case and your personal coding preferences.  Also, the signature of dispatching Cairngorm events changed between .99 and 2.
package code.control { import com.adobe.cairngorm.control.FrontController; import code.commands.ResizeViewStatesCommand; import code.commands.ShowAlertCommand;   public class ApplicationController extends FrontController {  public function ApplicationController()  {   addCommand( ApplicationController.EVENT_RESIZE_VIEW_STATES, ResizeViewStatesCommand );   addCommand( ApplicationController.EVENT_SHOW_ALERT, ShowAlertCommand );  }//-   public static const EVENT_RESIZE_VIEW_STATES : String = "resizeViewStates";  public static const EVENT_SHOW_ALERT : String = "showAlert"; } }
-TH--- In flexcoders@yahoogroups.com, "laidezmon" <[EMAIL PROTECTED]> wrote:>> Here is a question about Cairngorm best practices. > > In the documentation this is in part four feature driven development,> page 3 for cairngorm .99 it says this:> > "First recognize the best practice appraoch of naming all events as> constants on the FrontController instance ShopController."> > Later down it says:> > "The compiler catches any mistyped events noisily at compile time> rather than failing silently at run time. While Cairngorm does not> require this, its a best practice we highly recommend."> > I downloaded the latest Cairngorm store for 2.0 however, and thier> shopController instance is not written in the same format. I was> wondering why? In the 2.0 version they do NOT declare constants, but> in the .99 version they do. What is the best practice? > > Below are the two different ShopController code samples. The .99 uses> static vars, while the 2 version does not. In fact the entire method> for calling the associated commands from events are different. So> which is the actual best practice?> > Help!> JS.> > > Here is the .99 ShopController example:> > class org.nevis.cairngorm.samples.store.control.ShopController extends> FrontController> {> public function ShopController()> {> initialiseCommands();> }> > > //> > public function initialiseCommands()> {> addCommand( ShopController.EVENT_GET_PRODUCTS, new> GetProductsCommand() );> addCommand( ShopController.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,> new AddProductToShoppingCartCommand() );> addCommand(> ShopController.EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART, new> DeleteProductFromShoppingCartCommand() ); > addCommand( ShopController.EVENT_FILTER_PRODUCTS, new> FilterProductsCommand() ); > addCommand( ShopController.EVENT_SORT_PRODUCTS, new> SortProductsCommand() ); > addCommand( ShopController.EVENT_VALIDATE_ORDER, new> ValidateOrderCommand() );> addCommand( ShopController.EVENT_VALIDATE_CREDIT_CARD, new> ValidateCreditCardCommand() ); > addCommand( ShopController.EVENT_COMPLETE_PURCHASE, new> CompletePurchaseCommand() ); > }> > > //-> > public static var EVENT_GET_PRODUCTS = "getProducts";> public static var EVENT_ADD_PRODUCT_TO_SHOPPING_CART => "addProductToShoppingCart";> public static var EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART => "deleteProductFromShoppingCart"; > public static var EVENT_FILTER_PRODUCTS = "filterProducts";> public static var EVENT_SORT_PRODUCTS = "sortProducts";> public static var EVENT_VALIDATE_ORDER = "validateOrder";> public static var EVENT_VALIDATE_CREDIT_CARD = "validateCreditCard";> public static var EVENT_COMPLETE_PURCHASE = "completePurchase"; > > > }> > > Here is the version 2.0 ShopController Example:> > package com.adobe.cairngorm.samples.store.control> {> import com.adobe.cairngorm.control.FrontController;> import com.adobe.cairngorm.samples.store.command.*> import com.adobe.cairngorm.samples.store.event.UpdateShoppingCartEvent;> import com.adobe.cairngorm.samples.store.event.FilterProductsEvent;> import com.adobe.cairngorm.samples.store.event.GetProductsEvent;;> import com.adobe.cairngorm.samples.store.event.SortProductsEvent;> import com.adobe.cairngorm.samples.store.event.ValidateOrderEvent;> import com.adobe.cairngorm.samples.store.event.ValidateCreditCardEvent;> import com.adobe.cairngorm.samples.store.event.PurchaseCompleteEvent;> > /**> * @version $Revision: $> */> public class ShopController extends FrontController> {> public function ShopController()> {> initialiseCommands();> }> > public function initialiseCommands() : void> {> addCommand( GetProductsEve

[flexcoders] Re: Bug?: Array not populating List.

2006-09-27 Thread jnewport
On the result of my httpService call(see below).


private function LoadXML(event:ResultEvent):void{
xmldpAddress = new XML(event.target.lastResult);


NumberOfDistricts = new Number(xmldpAddress.month[0].child("*").length());

tempDistricts = new Array(NumberOfDistricts);
for (var i:Number = 0; i < NumberOfDistricts; i++){
tempDistricts[i] = ([EMAIL PROTECTED]);
} 

districts = tempDistricts;


trace(districts);


}



--- In flexcoders@yahoogroups.com, "Oscar" <[EMAIL PROTECTED]> wrote:
>
> 
>   When and where are you calling the function that 
> populates "districts"
> 
>This is a working example I put together based on you code below.
> 
> 
> http://www.adobe.com/2006/mxml"; 
> layout="absolute"
>   creationComplete="init()">
> 
>   
> 
> 
> 
>  width="100" height="100%" resize="false" 
> allowMultipleSelection="true"
>   dragEnabled="true"/>
> 
> 
> 
>   
> 
> 
> --- In flexcoders@yahoogroups.com, "jnewport"  
> wrote:
> >
> > Yes, districts is set to 
> > 
> > [Bindable]
> > public var districts:Array;
> > 
> > j :)
> > 
> > --- In flexcoders@yahoogroups.com, "Oscar"  wrote:
> > >
> > >  
> > >   Did you declare districts as  [Bindable]? 
> > > 
> > >   
> > > 
> > > --- In flexcoders@yahoogroups.com, "jnewport"  
> > > wrote:
> > > >
> > > > Why is my list not being populated with the data in my array? 
> My 
> > > trace
> > > > statement shows that the Array "districts" (and I have tried
> > > > "districts" as ArrayCollection) contains the data, but with my
> > > >  it shows the list as empty?
> > > > 
> > > > Is this a bug in flex?
> > > > 
> > > > 
> > > > 
> > > > NumberOfDistricts = new
> > > > Number(xmldpAddress.month[0].child("*").length());
> > > > 
> > > > tempDistricts = new Array
> (NumberOfDistricts);
> > > > for (var i:Number = 0; i < 
> NumberOfDistricts; 
> > > i++){
> > > > tempDistricts[i] = 
> (xmldpAddress.month
> > > [EMAIL PROTECTED]);
> > > > } 
> > > > 
> > > > districts = tempDistricts;
> > > > 
> > > > 
> > > > trace(districts);   
> > > > 
> > > > 
> > > > partial mxml code//
> > > > 
> > > > 
> > > >  > > > width="100" height="100%" resize="false" 
> > > allowMultipleSelection="true"
> > > > dragEnabled="true"/>
> > > > 
> > > >
> > >
> >
>





--
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] extensions to graphics drawing methods

2006-09-27 Thread dradivoj
Does anybody know any libraries for more advance vector graphics 
drawings, like support for drawing of arrows, splines etc.. 
The Graphics class has the basic methods for lineTo, curveTo whics 
draws the quadratic bezier curve. Would be nice if Adobe provided some 
of these tools.

Thanks,
Dusan







--
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] Cairngorm Best Practices.

2006-09-27 Thread laidezmon
Here is a question about Cairngorm best practices. 

In the documentation this is in part four feature driven development,
page 3 for cairngorm .99 it says this:

"First recognize the best practice appraoch of naming all events as
constants on the FrontController instance ShopController."

Later down it says:

"The compiler catches any mistyped events noisily at compile time
rather than failing silently at run time. While Cairngorm does not
require this, its a best practice we highly recommend."

I downloaded the latest Cairngorm store for 2.0 however, and thier
shopController instance is not written in the same format. I was
wondering why? In the 2.0 version they do NOT declare constants, but
in the .99 version they do. What is the best practice? 

Below are the two different ShopController code samples. The .99 uses
static vars, while the 2 version does not. In fact the entire method
for calling the associated commands from events are different. So
which is the actual best practice?

Help!
JS.


Here is the .99 ShopController example:

class org.nevis.cairngorm.samples.store.control.ShopController extends
FrontController
{
public function ShopController()
   {
   initialiseCommands();
   }

   
//

public function initialiseCommands()
{
  addCommand( ShopController.EVENT_GET_PRODUCTS, new
GetProductsCommand() );
  addCommand( ShopController.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,
new AddProductToShoppingCartCommand() );
  addCommand(
ShopController.EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART, new
DeleteProductFromShoppingCartCommand() );  
  addCommand( ShopController.EVENT_FILTER_PRODUCTS, new
FilterProductsCommand() ); 
  addCommand( ShopController.EVENT_SORT_PRODUCTS, new
SortProductsCommand() ); 
  addCommand( ShopController.EVENT_VALIDATE_ORDER, new
ValidateOrderCommand() );
  addCommand( ShopController.EVENT_VALIDATE_CREDIT_CARD, new
ValidateCreditCardCommand() ); 
  addCommand( ShopController.EVENT_COMPLETE_PURCHASE, new
CompletePurchaseCommand() ); 
}

   
//-

public static var EVENT_GET_PRODUCTS = "getProducts";
public static var EVENT_ADD_PRODUCT_TO_SHOPPING_CART =
"addProductToShoppingCart";
public static var EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART =
"deleteProductFromShoppingCart";  
public static var EVENT_FILTER_PRODUCTS = "filterProducts";
public static var EVENT_SORT_PRODUCTS = "sortProducts";
public static var EVENT_VALIDATE_ORDER = "validateOrder";
public static var EVENT_VALIDATE_CREDIT_CARD = "validateCreditCard";
public static var EVENT_COMPLETE_PURCHASE = "completePurchase";  
 

}


Here is the version 2.0 ShopController Example:

package com.adobe.cairngorm.samples.store.control
{
import com.adobe.cairngorm.control.FrontController;
import com.adobe.cairngorm.samples.store.command.*
import com.adobe.cairngorm.samples.store.event.UpdateShoppingCartEvent;
import com.adobe.cairngorm.samples.store.event.FilterProductsEvent;
import com.adobe.cairngorm.samples.store.event.GetProductsEvent;;
import com.adobe.cairngorm.samples.store.event.SortProductsEvent;
import com.adobe.cairngorm.samples.store.event.ValidateOrderEvent;
import com.adobe.cairngorm.samples.store.event.ValidateCreditCardEvent;
import com.adobe.cairngorm.samples.store.event.PurchaseCompleteEvent;

/**
 * @version $Revision: $
 */
public class ShopController extends FrontController
{
public function ShopController()
{
initialiseCommands();
}

public function initialiseCommands() : void
{
addCommand( GetProductsEvent.EVENT_GET_PRODUCTS,
GetProductsCommand ); 
addCommand(
UpdateShoppingCartEvent.EVENT_ADD_PRODUCT_TO_SHOPPING_CART,
AddProductToShoppingCartCommand );
addCommand(
UpdateShoppingCartEvent.EVENT_DELETE_PRODUCT_FROM_SHOPPING_CART,
DeleteProductFromShoppingCartCommand );   
addCommand( FilterProductsEvent.EVENT_FILTER_PRODUCTS,
FilterProductsCommand ); 
addCommand( SortProductsEvent.EVENT_SORT_PRODUCTS,
SortProductsCommand );   
addCommand( ValidateOrderEvent.EVENT_VALIDATE_ORDER,
ValidateOrderCommand ); 
addCommand(
ValidateCreditCardEvent.EVENT_VALIDATE_CREDIT_CARD,
ValidateCreditCardCommand );   
addCommand( PurchaseCompleteEvent.EVENT_COMPLETE_PURCHASE,
CompletePurchaseCommand );
}   
}

}






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

[flexcoders] FDS+COLDFUSION CFCRM dataservice error

2006-09-27 Thread flexdesigners
Hi,

I'm trying to make the CFCRM tutorial works, but i had a lot of 
issues to make it work.

I have CFMX7.2 installed on IIS (port 80) and FDS Express installed 
on the same server (port 8700).
I've successfully installed and tested the CRM version, but when i 
try to make the Coldufion version,
i get always the "send failed" message when compiling the mxml 
application.
When i check the Flex Server Log, i have the following error message 
displaying in loop : Unable to create service 'flex.data.DataService' 
for 'data-service' due to the following error ; Error instantiating 
application scoped instance of 
type 'flex.data.assemblers.HibernateAssembler'.
I've read a lot on forums, blogs and other related topics, but not 
able to fix this issue 
Any help would be appreciated !

regards






--
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] Transfer Images with FDS

2006-09-27 Thread cheftimbob
We have a middle layer that is responsible for storing files in a 
repository. We provide web services using SOAP and attachments, DIME, 
that allow injection and retrieval of these files, mostly TIFF images.

We're planning on utilizing Flex and FDS for various interactions. If I 
capture these images as Stream on the FDS layer, how can I transfer the 
file to the Flex client? 

You can't return attachments with SOAP calls from the client, right?

I don't want to cache the image to disk on the server side and retrieve 
via URL. I'd like to transfer the binary data over the wire in the 
communication between the client and FDS. How do you deal with the data 
on the client side?






--
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] Expression for an array object name?

2006-09-27 Thread jnewport
Is it possible to have an array object name be an expression?  See
below?  

I am getting errors if I try to use a word with spaces such as "New
Orleans:" it works if I use "NewOrleans:".  Alternatively, I tried the
expression, "[EMAIL PROTECTED]:",below to replace "New
Orleans:" and Flex gave me errors.  



monthlysVO = new Array(xmldpAddress.child("*").length());
  for (var j:Number = 0; j < xmldpAddress.child("*").length(); j++)
{ 
   monthlysVO[j] = {
[EMAIL PROTECTED]: [EMAIL PROTECTED], 
New Orleans: [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 
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] Problem with RemoteObject Java

2006-09-27 Thread jonathan_merey



Hi, I have an application with flex 2.0, flex data services and java and I want to access methods of my JAVA classes. So I use the remoteObject. Here is the code :Test.javapackage beans;public class Test {        public Test()    {        System.out.println("-= Test start =-");    }        public String doTest()    {        return "-= This is a test =-";    }    }remoting-config.xml    class="flex.messaging.services.RemotingService"     messageTypes="flex.messaging.messages.RemotingMessage">                                                    beans.Test            application            index.mxml    initialize="applicationInit()"    layout="absolute"     backgroundGradientColors="[#ff, #808080]"     viewSourceURL="srcview/index.html"    creationComplete="doTest()">                  When I launch the server " -= Test start =-" is printed on tomcat so the remoteObject is good initialized but after there is an error due to the method createTest.Here is the final message when i launch the application :[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed"]    at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()    at mx.rpc::Responder/fault()    at mx.rpc::AsyncRequest/fault()    at mx.messaging::ChannelSet/::faultPendingSends()    at mx.messaging::ChannelSet/channelFaultHandler()    at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()    at flash.events::EventDispatcher/dispatchEvent()    at mx.messaging::Channel/mx.messaging:Channel::connectFailed()    at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed()    at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()Please help me.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] [Flex 2] Strange behaviour when using RSLs

2006-09-27 Thread Anatole Tartakovsky



looks like you are using debugging plugin in firefox and production release of player in IE
 
Regards,
Anatole
 
On 9/27/06, Carlos Rovira <[EMAIL PROTECTED]> wrote:





Hi,I spend a few ours trying to find the cause of a weird behaviour. I was trying to use RSLs in a project and when I test it in my default browser (Firefox lastest version), a debug dialog comes. I found that launching the app in IE does not have this problem, so I asume that is a Firefox problem...someone knows how to avoid it? 
Thanks in advance.-- ::| Carlos Rovira::| http://www.carlosrovira.com
::| http://www.madeinflex.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: datgrid fills but content is invisible

2006-09-27 Thread bghoward3
not using xml,this is a query set

--- In flexcoders@yahoogroups.com, "ben.clinkinbeard" 
<[EMAIL PROTECTED]> wrote:
>
> I had this issue a while back and I am pretty sure it was a 
namespace
> issue. Does the data returned from the WS contain a default 
namespace?
> 
> As in xmlns="http://yoursite.com/someUrl";. If so, you'll need to 
use a
> labelFunction. I posted about this a while back:
> http://www.returnundefined.com/2006/07/datagrid-labelfunction-and-
namespaces/
> 
> HTH,
> Ben
> 
> --- In flexcoders@yahoogroups.com, "bghoward3"  wrote:
> >
> > i am populating a datagrid via a web service, i am succesfully 
making 
> > the connection and pulling in data however when the datagrid 
populates 
> > no text appears in the grid. i know it is filling it with data 
because 
> > the correct number of lines are added to the grid when the 
connection 
> > is made, it just does not seem to display the content
> > 
> > any thoughts?
> > 
> > thank you
> >
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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




Re: [flexcoders] Re: Architecting a large, modular Flex application

2006-09-27 Thread Anatole Tartakovsky



Paul,
  Could you please clarify your question - it seems that there are number of issues that are mixed up here. First, there is no issue of RSL caching in the browser unless you specifically enable some expiration scheme. 

 
I have seen people loading multiple applications side by side - using the same RSLs - that is essentially the question if you want to isolate your runtime libraries in case of versioning in the future - that would essentially hurt performance

 
Finally, there is an issue of loading RSLs in the root appDomain - essentially you do not have a chance to do reloading of the classes till the application startup. Also, there is obvious problem with versioning.

 
Seems we are done with the client - now the question is how to build RSLs so it is the smallest, most recent, and up to date one.
 
That's were it breaks in the beginning. Essentially, if you are using dynamic instantiation of any class in the RSL, the main application would not know whic objects to initialize/which dependent classes to include. One solution we are using is to build self initializing modules and use them instead of RSLs that would of been extracted out of SWCs by the build process.

 
HTH,
Anatole Tartakovsky
 
 
 
On 9/26/06, Paul Spitzer <[EMAIL PROTECTED]> wrote:





>some concerns about potential RSL caching and how to overcome that>(I think it can be easily overcome with a proper rollout strategy)I'm curious to hear what your plan is to deal with the caching of 
RSL(s). Or how others deal with it. Any suggestions?derrickgrigg wrote:> I actually was concerned about the HOW and the WHY. I wanted to find > out why doing it that way was a good solution or why someone else's 
> solution would be better or more viable. And if the proposed > solution was good, was how I intended to implement that solution the > right way. >> I completely agree that having Abstract and Interface classes just 
> to accomplish modularity is basically creating a code management > problem. The only reason it was seriously being considered was to > allow the development of seperate module swfs, that need to use the 
> same base classes (ie models, command and value objects), without > having to worry about code duplication and errors/conflicts when > module swf are being loaded in the main shell application. 
>> I've had problems in the past with Flash and RSLs plus I still have > some concerns about potential RSL caching and how to overcome that > (I think it can be easily overcome with a proper rollout strategy), 
> so I was a little hestitant to pursue that idea. However, from your > post and Erik's (plus my own nagging suspicion), I think having the > base code in an external SWC and using that as an RSL is the right 
> was to go. >> Derrick>>> >>  

__._,_.___





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

  




__,_._,___



  1   2   >