[flexcoders] question about image cellrenderer in flex samples explorer

2005-06-22 Thread bhaq1972
Hi 
I have a question about the setValue() method in imagecellrenderer 
example.

function setValue(str:String, item:Object, sel:Boolean) : Void {
   image.source = item[image];
}

Does the image keep getting reloaded everytime 'image.source' is being 
set? 

This wouldn't be efficient as setValue() is called all the time.

regards
bod





 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Re: Tree dataProviders backingObject

2005-06-22 Thread David Aden
Jeff, 

did you ever move forward with this? 

I'd also like to have complex information in the data property of a
node. seems to me that it might make sense as an option for the
out-of-the-box code to not try to turn data into children since
label and data are sort of magic names.

d

On 6/6/05, Jeff Beeman [EMAIL PROTECTED] wrote:
  My other thought for a simpler, quicker approach was to use the good old
  variables of data and label for each node, and the data variable
  would simply contain a number that references the id of what I'm looking
  at.  The full data for the node would be stored elsewhere.  
  
  The big problem I have with that solution is that my data is now
  disconnected and I'm creating unnecessary clutter in my app.  Having not
  looked into the TreeDataProvider too thoroughly yet, could you give me
  an idea how difficult it might be if I simple modify it to do the
  following:
  
  Any arrays inside a tree data provider are treated as nodes, unless the
  array is called data, in which case it is treated as the data for the
  node.
  
  Sounds simple too me on paper... but I realize it could end up being a
  major headache - thoughts before I begin?
  
  
  /**
  * Jeff Beeman
  **/
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of alex_harui
  Sent: Monday, June 06, 2005 7:11 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Tree dataProviders  backingObject
  
  Ah yes, the ol' convert arrays to children problem.  The 
  TreeDataProvider is guilty of trying to hard to figure out which 
  parts of a complex object are children.  I can only think of two ways 
  to deal with this:
  
  1) write your own implementation of TreeDataProvider that doesn't 
  munge your data.
  
  2) convert your data into the TreeNodes by using addTreeNodeAt then 
  adding the arrays later.
  
  I'd go with #1, it'll be hard to get started but the best solution in 
  the end.
  
  
  --- In flexcoders@yahoogroups.com, Jeff Beeman [EMAIL PROTECTED] 
  wrote:
   It looks like I just need to look more into the TreeDataProvider 
  API.
   I'm not very familiar with it (as you can tell), and I guess the
   behavior I'm experiencing does make sense.  It just gets difficult 
  when
   I'm trying to make an object that has multiple properties, including
   arrays, be the 'data' part of the tree node, as the arrays end up
   showing as children (which does make sense).
   
   I guess, my recommendation to MM would be to document this 
  component a
   bit better, as I really had no clue where to start with looking for 
  a
   solution :)
   
   Thanks, all!
   
   
   /**
   * Jeff Beeman
   **/
   -Original Message-
   From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On
   Behalf Of alex_harui
   Sent: Friday, June 03, 2005 4:29 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Tree dataProviders  backingObject
   
   The Tree needs a hierarchy of objects each of which implement 
   TreeDataProvider.  That way, at each level in the tree we can ask 
  the 
   current node for its children and other data.
   
   Built-in Flash types like XMLNode don't support TreeDataProvider 
  and 
   it is too hard to mix it in (and bad practice as well).  Thus we 
  take 
   each XMLNode and wrap it in a TreeDataProvider and put the original 
   node in a backingObject.
   
   There is no API for limiting tree depth.  I'd think twice before 
   implementing it because it would seem to me that the tree should 
   faithfully represent its data so, if the data has only two levels 
   then fine, but if it has more you should show that too.
   
   However, if you really gotta do it, you have a couple of choices 
   depending on what you want the UI to look like.  You could override 
   setIsOpen on the Tree and block opening of things that are too 
  deep, 
   but the those nodes at level 2 with children will still look like 
   folders.  You could customize a TreeDataProvider to pretend that 
   nodes of level 2 have no children.  That's probably the best option.
   
   --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
  wrote:
Check out the TreeDataProvider API in the ASDoc.  The 
  backingObject 
   is
used by one implementation of that API (called TreeNode) which is 
   used
when the object you are passing to the Tree does not implement
TreeDataProvider itself.  

 

I don't think we provide an easy way to limit the depth of the 
   tree.  I
suppose you could simply implement the TreeDataProvider API 
   yourself to
make sure that children that are too deep aren't displayed.

 

Matt

 



From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL 

[flexcoders] Errortip not only on MouseOver

2005-06-22 Thread rockmoyosa
I know I saw this topic already but I can't find it anymore. But is
there a way to show a ErrorTip not only on MouseOver, but for example
on MouseOut?


Maik




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] TREE : extending the tree component

2005-06-22 Thread Bikram Sahu





hi,
 recently i have facing problem to get a map from the 
middle tier also mainly on the zoomin, zoomout,  pan operation on a map 
please guide me how can i achive this i hope using the mousepress,mouseUp  
mouseDrag funtion also how to create the Rubberstamp when user click on the 
image please guide us through some sample examples i have tried but not 
successful.

Bikram

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of 
  david_gal-reyniezSent: Wednesday, June 22, 2005 3:48 
  PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  TREE : extending the tree component
  Hi 
  everybody!
  
  I need your help 
  to cuztomize the Tree component...
  I aim at expanding 
  all nodes of my cuztomized tree when initializing it.
  
  I created a 
  CuztomizedTree class as following :
  
  import 
  mx.controls.Tree;import mx.controls.treeclasses.TreeNode;import 
  mx.controls.Alert;
  
  class 
  com.as.components.CustomizedTree extends Tree{
  
  function 
  CustomizedTree(){}function setIsOpen( 
  node, open, animate, fireEvent):Void{
   
  // actions dedicated to the SetIsOpen method
  }
  
  public 
  function expandTree(){var 
  selectedNode:TreeNode=this.selectedNode;if (selectedNode 
   this.selectedIndex != 0){var 
  node:TreeNode=this.getNodeDisplayedAt(this.selectedIndex);this.setIsOpen(node,true);setAdaptedIcon(this, 
  selectedNode, selectedNode.attributes.operand);} else 
  {var i:Number=0;var 
  node:TreeNode=this.getTreeNodeAt(i);
  Alert.show("node.selectedIndex : " + 
  node.attributes.label, "__Message__", Alert.OK);
   // this message generates the 
  following message
   //
   // Error /WEB-INF/flex/user_classes/com/as/components/CustomizedTree.as:100 
  
   // There is no property 
  with the name 'selectedIndex'. 
  // // Error 
   // Unable to create 
  ActionScript Component forcom.as.components.CustomizedTree: Could not 
  compile 'synthetic: Object.registerClass() for 
  com.as.components.CustomizedTree'
  while (node != 
  undefined){if 
  (this.getIsBranch(node)  ! 
  this.getIsOpen(node)){this.setIsOpen(node,true);}setAdaptedIcon(this, 
  node, 
  node.attributes.operand);i++;node=this.getNodeDisplayedAt(i);}}}
  -
  In my Tree.mxml 
  file, I call this method in an initAppli method
  public 
  function initTree(){tree.expandTree(); // tree is 
  the name of my CuztomizedTreeobject}
  
  Any 
  suggestions?
  Thank a 
  lot!
  
  PS: Thanksfull 
  thoughts to Gordon Smith, Tracy Spratt and Matt Chottin for their suggestions 
  concerning the treenode adding and the tree 
  collapsing!
  ** 
  
  Coface facilite les echanges 
  entre les entreprises partout dans le monde. Pour cela, elle offre a toutes 
  les entreprises des solutions pour gerer, financer et proteger leur poste 
  client, en leur permettant d'externaliser tout ou partie de la gestion et des 
  risques lies a leurs relations commerciales. Coface est notee AA par Fitch 
  Ratings et Aa3 par Moody's. 
  Pour en savoir plus, 
  http://www.coface.fr 
  
  Coface facilitates 
  business-to-business commerce worldwide. It offers all size companies an array 
  of solutions to manage, finance, and protect their accounts receivables 
  affording them the option of fully or partly outsourcing trade relationship 
  management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by 
  Moody's. 
  More about Coface, 
  http://www.coface.com 
  
  WARNING : 
  - Soyez conscient que notre 
  systeme Anti-Spam peut parfois rejeter des messages, soit parce que certains 
  mots et types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a 
  pas ete identifie correctement. 
  - Be aware that from time to time 
  our Anti-Spam system may reject mails either because some words and types of 
  files are not allowed or because mails are misidentified. 
  ** 
  







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] Tree alpha chanel ?

2005-06-22 Thread Rich Tretola
Is there a property to control the tree alpha chanel ?

Rich


 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Tree alpha chanel ?

2005-06-22 Thread Rich Tretola
OK so setting the alpha within the mx:Tree tag works but not when you
set it within the style sheet.  Why is that ?

Rich

On 6/22/05, Rich Tretola [EMAIL PROTECTED] wrote:
 Is there a property to control the tree alpha chanel ?
 
 Rich



 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Image disappears

2005-06-22 Thread rockmoyosa
Still cant figure it out. Image is only resizing and positioning
correct if popup and Canvas are bigger than the original size of the
Image. Even if I i'm resizing the image to a smaller size. 

--- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] wrote:
 I already did this!
 
 
 --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:
  If you are using Loader, then it should be doing the same for you. Set
  the width, height of Loader and your image would be resized to that
  size.
  
  
  For example:
  
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Loader
 
source=http://www.bigfoto.com/sites/galery/flowers1/flow011_small.jpg;
  width=400 height=300/
  /mx:Application 
  
  
  -abdul
  
  -Original Message-
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of rockmoyosa
  Sent: Thursday, June 16, 2005 2:45 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Image disappears
  
  
  I forgot to say that I want to resize it to a s
 ize that fits in a
  window of 400x300. So it doesnt work.
  
  --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote:
   Seems, some different issue. Never mind.
   
   -abdul 
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
  On
   Behalf Of rockmoyosa
   Sent: Thursday, June 16, 2005 2:12 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Image disappears
   
   WHen my popup and canvas is bigger(900,900) than the original
size of
   the image(800x600) it works fine. my structure is like this:
   
   popup w=900 h=900
canvas //(for background image)
 loader x=0 y=0/
/canvas
   /popup
   
   So when popup and canvas is smaller image disappears
   
   --- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED]
  wrote:
Im loading an image through AS. (just setting the
  contentpath/source).
this Image is 800x600. Im openinng A Popup (TitleWindow) and
than I
set de the path. Giving the load command. It will load andeven the
complete event is called. But no Image is shown. If I'm trying
it by
embedding the image it works. If I save the image and place it
in my
webapp and tha setting tghe path to local it works. If I get
another
smaller image from the same server it wordks also. but when I'm
loading it from an other server it fails(loading will
complete, but
image is not visible). what seems to be the problem?

 MXML 
mx:Loader id=image_large width=350 height=240
visible=true
autoLoad=false complete=loader.visible=false;
progressbar.mode =
'manual'; progressbar.setProgress(100, 100) /


- AS -
this._scope.image_large.contentPath =
  +detailData.Content.Image.url;
this._scope.image_large.load();
   
   
   
   
   

   Yahoo! Groups Links
  
  
  
  
   
  Yahoo! Groups Links




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Using Flex Controls in Flash 2004

2005-06-22 Thread Jason
Hi Matt,

   Thanks for your response!  The problem is that people in the 
field need to be able to modify the layout of the demo in the 
field.  They won't necessarily have access to the Flex Server at 
that time, and may not have access to mxmlc, even if they did, that 
might be beyond their technical abilities.

   However, if I could use some of these controls within flash, they 
would just have to change a file that specifies some layout 
parmeters at runtime.  That is there would be one universal swf that 
loaded all it's data from a file at runtime, no re-compile necessary.

   I might be able to implement the same thing in Flex itself, but 
it's going to be more work then it would be in Flash because I have 
some of this functionality existing in Flash.

Thanks again for your help,
Jason



--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 I'm not sure why working offline requires you to use Flash.  Is the
 point that you want to deliver a SWF directly instead of pointing 
users
 to an MXML file?  This is something that you can work out easily 
with
 Macromedia sales as far as the license goes.  Technically all you 
need
 to do is either use mxmlc to compile the MXML file (a SWF will be 
output
 right there) or have your flex-config.xml set keep-generated-swfs 
to
 true and you can pull the SWF from next to your MXML file after 
you've
 hit it once with your browser.  The SWF itself is not the issue, 
it's
 making sure you're licensed to give your users an offline SWF :-)
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Jason
 Sent: Tuesday, June 21, 2005 2:53 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Using Flex Controls in Flash 2004
 
  
 
 Hi Everyone,
 
 We have an existing Flex App, that creates dashboards on the fly 
 that pull data from http services.  It's a beautiful thing as a 
real 
 working, live application.  However, creating an environment 
where 
 such an app can be delivered or at least demo'ed 
entirely offline 
 is a challenge.  The problem is that both the layout and the data 
 need to be rendered at runtime, not design time.  The 
 article Dynamically Creating User Interface Components is a 
small 
 scale example of this.
 
 http://www.macromedia.com/devnet/flex/articles/flexprimer_03.html
 
 
 I'm looking to recreate some of the Flex controls in Flash.  I 
 understand that the flexforflash.zip is both outdated and 
deprecated 
 in functionality, but conceptually it would be possible to reuse 
 these components back in the Flash environment, provided we 
 populated the components with the correct initial objects, etc.  I 
 also understand this would probably require implementing a large 
 portion of the Flex Framework back into Flash, but it seems like 
 early on Flex v1.0 some of this may have been done by providing 
the 
 flexforflash.zip in the first place.  For example the 
FlexforFlash, 
 contained mx.core.Application, mx.containers.Panel, etc.  How 
would 
 one go about using these components since they were provided...?
 
 I've cobbled together the following example, but after tracing, I 
 realize that my properties aren't getting populated properly, and 
 the Panel isn't rendering correctly.
 
 Let me show the code below:
 
 import mx.core.Application;
 import mx.containers.Canvas;
 import mx.containers.Panel;
 import mx.charts.PieChart;
 
 trace(ROOT PROTO:+_root.__proto__);
 
 // Init Object, App, Canvas, Panel...
 
 var MyApplication:Object = null;
 var pnl:Object = null; //mx.containers.Panel
 var cnv:Object = null; //mx.containers.Canvas
 var init:Object = null;
 var pChart:Object = null; //mx.charts.PieChart
 
 MyApplication = new mx.core.Application();
 trace(myApplication:+MyApplication);
 this.__proto__ = MyApplication;
 if (!(this.constructObject == undefined)) {
   this.constructObject();
 } else {
   trace(COULD NOT FIND CONSTRUCTOBJECT);
 }
 trace(Application:+application); // Static Var should show ref?
 
 init = new Object();
 init.id = CANVAS;
 init.borderStyle = none;
 init.x = 10;
 init.y = 30;
 init.width = 800;
 init.height = 600;
 
 cnvs = createChild(mx.containers.Canvas, cnvs, init) ;
 //cnvs.invalidate();
 
 init = new Object();
 init.id= PANEL1;
 init.x = 0.0;
 init.y = 0.0;
 init.width = 328.0;
 init.height = 296.0;
 init.title = Output Chart;
 init.headerHeight = 21;
 init.shadowDirection = right;
 init.panelBorderStyle = roundCorners;
 //init.cornerRadius = 3;
 //init.dropShadow = true;
 init.headerColors = [0xE1E5EB, 0xF4F5F7];
 init.footerColors = [0xF4F5F7, 0xE1E5EB];
 
 // Had prev. cast as Panel(createCh...), but same results
 pnl = cnvs.createChild(mx.containers.Panel, pnl, init) ; 
 
 pnl.invalidate();
 
 trace(Panel:+pnl);
 trace(Panel:+pnl.id);
 trace(Panel:+pnl.title);
 trace(Panel:+pnl.width);
 trace(Panel:+pnl.height);
 //trace(Panel:+pnl.headerHeight);
 
 
 init = new Object();
 init.id = piechart1;
 

[flexcoders] Re: disable selected border textinput.

2005-06-22 Thread rockmoyosa
--- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] wrote:
 Can anybody tell me how you disabled the selection border of a
textinput.
 I know you can set the themecolor to the backgroundColor, so it wont
 be visible.
 
 But I'm using A background image, so please no border at all.
 
 Mike

Nobody??




 
Yahoo! Groups Links

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

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

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




[flexcoders] Extending Tree - setDataProvider()?

2005-06-22 Thread Libby
I am extending the Tree and am attempting to assign a model and a
dataProvider via methods on the tree, hopefully executed from the
constructor. I can't figure out how to declare a Model within the
class definition since it is not a class, and setting the dataProvider
doesn't work either. Although the lines below compile, neither one
does anything.
this.setProperty(dataProvider,myData.xml);
this.dataProvider = myData.xml;
Although I am using flat files here, ultimately the data would come
from a remoteObject when the tree is instantiated.

Could someone give me a gentle nudge in the right direction on this?
The MM doco on Tree, TreeDataProvider, etc. is sparse and provides no
examples.

Thanks,
Libby





 
Yahoo! Groups Links

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

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

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




[flexcoders] Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Libby
I am relatively new to the group and would like to search to see if my
questions have been posted in the past. The only way I can find to
search messages is to use the yahoo search button (beside the
messages) which searches a few hundred messages at a time, which takes
FOREVER. Is there perhaps a secret way to search everything in one
fell swoop? I'll be glad to learn the secret handshake, code word,
whatever : )
Thanks,
Libby




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Steven Webster
Hey Libby,

Did you read the FAQ ? :)  It gives answers on the questions how to search
the list -- I'll leave finding the answer as an exercise to the reader :)

Steven 

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: 22 June 2005 14:29
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to Search all Messages in this group at
once?

I am relatively new to the group and would like to search to see if my
questions have been posted in the past. The only way I can find to search
messages is to use the yahoo search button (beside the
messages) which searches a few hundred messages at a time, which takes
FOREVER. Is there perhaps a secret way to search everything in one fell
swoop? I'll be glad to learn the secret handshake, code word, whatever : )
Thanks, Libby




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




[flexcoders] How to create copy of a object

2005-06-22 Thread Pradeep Chaudhary
I want to create a copy for my custom object before it is modified so
that i can rollback my changes on any error condition. Do we have any
inbuilt methods or any alternative solution for creating a copy of
object so that changes made to original object is not reflected copied
object.

Pradeep


 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] How to create copy of a object

2005-06-22 Thread Abdul Qabiz

http://manish.revise.org/2005/04/deepcopying-actionscript-objects.html

http://www.darronschall.com/weblog/archives/000148.cfm 


-abdul


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Pradeep Chaudhary
Sent: Wednesday, June 22, 2005 7:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How to create copy of a object

I want to create a copy for my custom object before it is modified so
that i can rollback my changes on any error condition. Do we have any
inbuilt methods or any alternative solution for creating a copy of
object so that changes made to original object is not reflected copied
object.

Pradeep


 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Libby
Ahhh, there is a secret handshake! Yes, I read this faq:
http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaultfields=defaultValues=
but evidently I am not a good enough detective to find the secret
question about searching the messages. But, never fear, I will keep
hitting my head against the wall, because after all, I am a programmer
by profession : )

 
--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote:
 Hey Libby,
 
 Did you read the FAQ ? :)  It gives answers on the questions how to
search
 the list -- I'll leave finding the answer as an exercise to the
reader :)
 
 Steven 
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or
used by
 anyone other than the intended recipient(s). If you are not the intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
  
 Please also note that while software systems have been used to try
to ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried out
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: 22 June 2005 14:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way to Search all Messages in this
group at
 once?
 
 I am relatively new to the group and would like to search to see if my
 questions have been posted in the past. The only way I can find to
search
 messages is to use the yahoo search button (beside the
 messages) which searches a few hundred messages at a time, which takes
 FOREVER. Is there perhaps a secret way to search everything in one fell
 swoop? I'll be glad to learn the secret handshake, code word,
whatever : )
 Thanks, Libby
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links

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

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

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




[flexcoders] ViewStack as a parameter for other components

2005-06-22 Thread merlin_hst
Hi there,

I'm totally new to Flex and now have a problem where I need some help.

In short, I want to create a TabNavigator as a template so that I can
pass the number and the content of the tabs as parameter. So I tried
using a TabBar with a ViewStack as DataSource. The ViewStack consist
of about 4 VBoxes and a label for testing purposes. When I define the
ViewStack in the same component as the TabBar all works fine. But when
I pass the ViewStack as a parameter it is displayed above
the TabBar. Here what I tried for now :

mx:Application
   xmlns:local=*
   xmlns:con=container.*
   xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:ViewStack id=stackTest width=100% height=100%  
  mx:VBox label=Tab1 width=100% height=100%
  mx:Form
mx:FormItem label=FormItem_1/
  /mx:Form
  /mx:VBox 
  mx:VBox label=Tab2 width=100% height=100%
mx:MediaPlayback contentPath=movie/sample2.WMV/
  /mx:VBox   
mx:VBox label=Tab3 width=100% height=100%
   mx:Image source=img/Winter.jpg  width=100% height=100%/
/mx:VBox 
mx:VBox label=Tab4 width=100% height=100%/mx:VBox
/mx:ViewStack

con:VBoxTabs content={createContent()}/

/mx:Application
==
--VBoxTabs.mxml

mx:VBox 
  mx:Script
   ![CDATA[
   //... some imports ...

var _content: ViewStack; 

public function set content(content:ViewStack) {
  _content = content ;
}
  ]]
  /mx:Script
   
  mx:TabBar id=tabBar dataProvider={_content}/
/mx:VBox

Here a short sample trying to create the ViewStack with ActionScript:

mx:Script 
![CDATA[

function createContent():ViewStack { 
   var tabs:Array = new Array() ; 
   // ... some more definitions here ...

   stack = ViewStack(createChild( ViewStack, stack1, init )) ; 
   box = VBox(stack.createChild(VBox,box1,{label: Tab1})) ;
   label = Label(box.createChild(Label,label1,{label: Test1})) ;

   //... insgesamt 4 Boxen
   return stack ;
}

]]
/mx:Script

I also tried to create just an array of 4 VBoxes and using that array
as DataSource. But with no luck. Only the tab labels where displayed,
not the content on the tab.

Greetings, Lothar





 
Yahoo! Groups Links

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

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

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




[flexcoders] Jeff Showah is out of the office.

2005-06-22 Thread jeff . showah
I will be out of the office starting  06/22/2005 and will not return until
06/23/2005.

I will respond to your message when I return.



 
Yahoo! Groups Links

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

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

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




[flexcoders] Flex - IP limited Developer version

2005-06-22 Thread don4sin
The Flex Developer edition is IP limited.  It can be accessed 
from 'localhost' and one other IP address.  Do I have any control
over that 'other' IP address?  From my experience, it grabs the first 
IP address that accesses it and sticks with that.  Can I choose it or 
change it?

It would still be just one 'other' IP address at a time, but I want to 
choose what that one IP address is at any given time, if for instance 
I have a new customer I want to do a demo for.





 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] How to create copy of a object

2005-06-22 Thread Joe Berkovitz
A couple of big caveats here.

1. mx.utils.ObjectCopy is broken.  (At least, in the Flex 1.5 
distribution.)  It does not correctly preserve the class of an object 
when that class is a subclass of some superclass.  Instead, the copied 
object will appear to have the type of the superclass.

I note that ObjectCopy appears to only be used in net debugging and 
nowhere else.  So this bug isn't exposed via any documented Flex APIs.

Moral: beware of undocumented internal Flash classes, however convenient 
they might look.

2. Even if ObjectCopy worked, you cannot conveniently meld Manish's 
cached-array approach with it, because ObjectCopy will do the wrong 
thing with cycles (it locks up) and multiply referenced objects (it 
duplicates instances).

So what to do?

As empirically determined through testing, one correct approach in Flex 
1.5 to instantiating an object that preserves the type of an existing 
one is as follows:

 var newObj;
 if (typeof(obj.__constructor__) == function)
 {
 // for AS2 classes
 newObj = new obj.__constructor__();
 }
 else if (typeof(obj.constructor) == function)
 {
 // for Arrays and Objects
 newObj = new obj.constructor();
 }
 else
 {
 // for goodness sake, instantiate *something*!
 newObj = new Object();
 }

I've exhaustively tested this and it works correctly for AS2 classes, 
for Arrays, and for untyped Objects.  You can merge it with Manish's 
code (which I haven't tested, but looks good) to produce a working, 
accurate deep copy.

... .  ..   .j


Abdul Qabiz wrote:
 http://manish.revise.org/2005/04/deepcopying-actionscript-objects.html
 
 http://www.darronschall.com/weblog/archives/000148.cfm 
 
 
 -abdul
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Pradeep Chaudhary
 Sent: Wednesday, June 22, 2005 7:33 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] How to create copy of a object
 
 I want to create a copy for my custom object before it is modified so
 that i can rollback my changes on any error condition. Do we have any
 inbuilt methods or any alternative solution for creating a copy of
 object so that changes made to original object is not reflected copied
 object.
 
 Pradeep
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
 


 
Yahoo! Groups Links

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

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

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




[flexcoders] LinkBar question

2005-06-22 Thread Robert Brueckmann
Is there a way to leave the selection background behind the currently
selected link in a LinkBar to indicate to the user which link is
currently selected?  None of the attributes seem to indicate anything of
the sort, so I was curious if anyone is doing anything like this out
there?

Thanks!

robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
Yahoo! Groups Links

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

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

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





Re: [flexcoders] How to create copy of a object

2005-06-22 Thread James Ward
Joe,
Your timing on this was impeccable!  I just spent the past hour
wrestling with ObjectCopy (both Manish's and the mx.utils one that
doesn't work).

So here is Manish's ObjectCopy with Joe's hack to preserve type:

  public static function copy(source):Object
  {
var cl:Number = copyCache.length;
for (var i:Number = 0; i  cl; i++)
{
  var o = copyCache[i];
  if (o.s == source)
return o.t;
}

copyDepthLevel++;

var newObj;

if (typeof(source.__constructor__) == function)
{
  // for AS2 classes
  newObj = new source.__constructor__();
}
else if (typeof(source.constructor) == function)
{
  // for Arrays and Objects
  newObj = new source.constructor();
}
else
{
  // for goodness sake, instantiate *something*!
  newObj = new Object();
}

copyCache.push({s: source, t: newObj});

for (var p in source)
{
  var v = source[p];
  newObj[p] = typeof v == object ? copy(v) : v;
}

if (--copyDepthLevel == 0)
  copyCache = [];

return newObj;
  }


Notice that the method signature changed slightly.  This was to avoid
this error:
Error: A function call on a non-function was attempted.

due to: 
newObj = new source.constructor();


I have tested this code in my app and it's working great!  Thanks Joe
and Manish!

-James


On Wed, 2005-06-22 at 11:18 -0400, Joe Berkovitz wrote:
 A couple of big caveats here.
 
 1. mx.utils.ObjectCopy is broken.  (At least, in the Flex 1.5 
 distribution.)  It does not correctly preserve the class of an object 
 when that class is a subclass of some superclass.  Instead, the copied 
 object will appear to have the type of the superclass.
 
 I note that ObjectCopy appears to only be used in net debugging and 
 nowhere else.  So this bug isn't exposed via any documented Flex APIs.
 
 Moral: beware of undocumented internal Flash classes, however convenient 
 they might look.
 
 2. Even if ObjectCopy worked, you cannot conveniently meld Manish's 
 cached-array approach with it, because ObjectCopy will do the wrong 
 thing with cycles (it locks up) and multiply referenced objects (it 
 duplicates instances).
 
 So what to do?
 
 As empirically determined through testing, one correct approach in Flex 
 1.5 to instantiating an object that preserves the type of an existing 
 one is as follows:
 
  var newObj;
  if (typeof(obj.__constructor__) == function)
  {
  // for AS2 classes
  newObj = new obj.__constructor__();
  }
  else if (typeof(obj.constructor) == function)
  {
  // for Arrays and Objects
  newObj = new obj.constructor();
  }
  else
  {
  // for goodness sake, instantiate *something*!
  newObj = new Object();
  }
 
 I've exhaustively tested this and it works correctly for AS2 classes, 
 for Arrays, and for untyped Objects.  You can merge it with Manish's 
 code (which I haven't tested, but looks good) to produce a working, 
 accurate deep copy.
 
 .. .  ..   .j
 
 
 Abdul Qabiz wrote:
  http://manish.revise.org/2005/04/deepcopying-actionscript-objects.html
  
  http://www.darronschall.com/weblog/archives/000148.cfm 
  
  
  -abdul
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of Pradeep Chaudhary
  Sent: Wednesday, June 22, 2005 7:33 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] How to create copy of a object
  
  I want to create a copy for my custom object before it is modified so
  that i can rollback my changes on any error condition. Do we have any
  inbuilt methods or any alternative solution for creating a copy of
  object so that changes made to original object is not reflected copied
  object.
  
  Pradeep
  
  
   
  Yahoo! Groups Links
  
  
  
   
  
  
  
  
   
  Yahoo! Groups Links
  
  
  
   
  
  
  
  
  
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 




 
Yahoo! Groups Links

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

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

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





[flexcoders] Charts!!!!!!!

2005-06-22 Thread vijay anto
How to create tickers in a graph

lets assume that i want to plot data for 10 years,the label spacing in 
the graph should be for just a year i.e. the spacing is as follows

Jan2000 -Jan2001

   feb mar april..

The intermediate months should be dynamically accessed from a XML 
source.Thanks in advance

Regards
Vijay




 
Yahoo! Groups Links

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

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

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




[flexcoders] Refresh grid after bound data changes...

2005-06-22 Thread jamiebadman
Hi,

I have a datagrid (dgHeader) bound to a dataprovider returned from a 
DB (headerList). Also on screen is a textInput box, which is bound 
inward to a column on the datagrid and the column on the datagrid is 
bound to the textInput.

So what happens is this:

Data retrieved and appears in the grid. You select a row on the grid 
and the textInput field is populated as expected.

You change the textInput field and the cell on the selected row on 
the grid does NOT change... until you click on the row on the grid - 
when you do this, the data is refreshed and all is fine...

My question is - how can I cause the cell to show the updated value 
from the textInput component without having to click the row on the 
grid ?

Thanks,

Jamie.




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: disable selected border textinput.

2005-06-22 Thread Gordon Smith
Did you try mx:TextInput borderStyle=none?

As a last resort, you can get a reference to the border object (it's
probably myTextInput.border_mc) and draw on it yourself with
beginFill(), etc.

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rockmoyosa
Sent: Wednesday, June 22, 2005 6:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: disable selected border textinput.

--- In flexcoders@yahoogroups.com, rockmoyosa [EMAIL PROTECTED] wrote:
 Can anybody tell me how you disabled the selection border of a
textinput.
 I know you can set the themecolor to the backgroundColor, so it wont
 be visible.
 
 But I'm using A background image, so please no border at all.
 
 Mike

Nobody??




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Gordon Smith
The official FAQ is posted from time to time to flexcoders, but the last
one was three weeks ago so you have to look back more than 1000 messages
to find it:

http://groups.yahoo.com/group/flexcoders/message/16164

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Wednesday, June 22, 2005 7:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is there a way to Search all Messages in this
group at once?

Ahhh, there is a secret handshake! Yes, I read this faq:
http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=default
fields=defaultValues=
but evidently I am not a good enough detective to find the secret
question about searching the messages. But, never fear, I will keep
hitting my head against the wall, because after all, I am a programmer
by profession : )

 
--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED]
wrote:
 Hey Libby,
 
 Did you read the FAQ ? :)  It gives answers on the questions how to
search
 the list -- I'll leave finding the answer as an exercise to the
reader :)
 
 Steven 
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or
used by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
  
 Please also note that while software systems have been used to try
to ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried
out
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Libby
 Sent: 22 June 2005 14:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way to Search all Messages in this
group at
 once?
 
 I am relatively new to the group and would like to search to see if my
 questions have been posted in the past. The only way I can find to
search
 messages is to use the yahoo search button (beside the
 messages) which searches a few hundred messages at a time, which takes
 FOREVER. Is there perhaps a secret way to search everything in one
fell
 swoop? I'll be glad to learn the secret handshake, code word,
whatever : )
 Thanks, Libby
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Flex - IP limited Developer version

2005-06-22 Thread Tracy Spratt
It is actually 5 ip addresses, and it is the first 5 to hit the url.  As
far as I know there is no way to control this.

Access is limited to those 5 addresses until you bounce the Flex server,
then it clears the list.  So I guess you will have to have the prospect
call before connecting, so you can restart the Flex server.

Now, there might be some way to have the web/application server restrict
the ip addresses it will pass on to Flex, but that is just a guess.

Tracy


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of don4sin
Sent: Wednesday, June 22, 2005 11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex - IP limited Developer version

The Flex Developer edition is IP limited.  It can be accessed 
from 'localhost' and one other IP address.  Do I have any control
over that 'other' IP address?  From my experience, it grabs the first 
IP address that accesses it and sticks with that.  Can I choose it or 
change it?

It would still be just one 'other' IP address at a time, but I want to 
choose what that one IP address is at any given time, if for instance 
I have a new customer I want to do a demo for.





 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Flex - IP limited Developer version

2005-06-22 Thread Matt Horn
Now, there might be some way to have the web/application server
restrict
the ip addresses it will pass on to Flex, but that is just a guess.
 
Sure. Servlet filters can do this.




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Wednesday, June 22, 2005 12:58 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex - IP limited Developer version


It is actually 5 ip addresses, and it is the first 5 to hit the
url.  As
far as I know there is no way to control this.

Access is limited to those 5 addresses until you bounce the Flex
server,
then it clears the list.  So I guess you will have to have the
prospect
call before connecting, so you can restart the Flex server.

Now, there might be some way to have the web/application server
restrict
the ip addresses it will pass on to Flex, but that is just a
guess.

Tracy


-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of don4sin
Sent: Wednesday, June 22, 2005 11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex - IP limited Developer version

The Flex Developer edition is IP limited.  It can be accessed 
from 'localhost' and one other IP address.  Do I have any
control
over that 'other' IP address?  From my experience, it grabs the
first 
IP address that accesses it and sticks with that.  Can I choose
it or 
change it?

It would still be just one 'other' IP address at a time, but I
want to 
choose what that one IP address is at any given time, if for
instance 
I have a new customer I want to do a demo for.






Yahoo! Groups Links












Yahoo! Groups Links


*   To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
  
*   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
  
*   Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service http://docs.yahoo.com/info/terms/ . 






 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Refresh grid after bound data changes...

2005-06-22 Thread Tracy Spratt
You can certainly do this programmatically, by using editField() on the
dataProvider in the change or focusout event of the text box.  

To do it with binding I would just be guessing, but maybe you could do
myDataProvider.modelChanged in the change event of the text box?

Post a sample app, I'll take a shot.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jamiebadman
Sent: Wednesday, June 22, 2005 12:10 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Refresh grid after bound data changes...

Hi,

I have a datagrid (dgHeader) bound to a dataprovider returned from a 
DB (headerList). Also on screen is a textInput box, which is bound 
inward to a column on the datagrid and the column on the datagrid is 
bound to the textInput.

So what happens is this:

Data retrieved and appears in the grid. You select a row on the grid 
and the textInput field is populated as expected.

You change the textInput field and the cell on the selected row on 
the grid does NOT change... until you click on the row on the grid - 
when you do this, the data is refreshed and all is fine...

My question is - how can I cause the cell to show the updated value 
from the textInput component without having to click the row on the 
grid ?

Thanks,

Jamie.




 
Yahoo! Groups Links



 







 
Yahoo! Groups Links

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

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

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




[flexcoders] Sort Order of mx.controls.Tree

2005-06-22 Thread everesnet
Hello,

I'm trying to use Tree with WebService result, and I can show that.
Tree's treeDataProvider keeps sort order.
I mean treeDataProvider has arrays that is ordered correct.

But tree's nodes are showing onother order of rows.
It's same as tree's backingObject's order of rows.

I just set WebService result to dataProvider like below.
mx:Tree dataProvider={WebService.getDataResult} /

How can I set dataProvider's order of rows to tree's.


thanx in advance,

makoto tsuyuki





 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Refresh grid after bound data changes...

2005-06-22 Thread Jim Laing
You could do grid.executeBindings(); on the change or the
valueCommitted events of the TextInput. Change is fired every time
text is typed in the TextInput, so you might want to use
valueCommitted for performance reasons.

Jim


On 6/22/05, Tracy Spratt [EMAIL PROTECTED] wrote:
 You can certainly do this programmatically, by using editField() on the
 dataProvider in the change or focusout event of the text box.
 
 To do it with binding I would just be guessing, but maybe you could do
 myDataProvider.modelChanged in the change event of the text box?
 
 Post a sample app, I'll take a shot.
 
 Tracy
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of jamiebadman
 Sent: Wednesday, June 22, 2005 12:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Refresh grid after bound data changes...
 
 Hi,
 
 I have a datagrid (dgHeader) bound to a dataprovider returned from a
 DB (headerList). Also on screen is a textInput box, which is bound
 inward to a column on the datagrid and the column on the datagrid is
 bound to the textInput.
 
 So what happens is this:
 
 Data retrieved and appears in the grid. You select a row on the grid
 and the textInput field is populated as expected.
 
 You change the textInput field and the cell on the selected row on
 the grid does NOT change... until you click on the row on the grid -
 when you do this, the data is refreshed and all is fine...
 
 My question is - how can I cause the cell to show the updated value
 from the textInput component without having to click the row on the
 grid ?
 
 Thanks,
 
 Jamie.
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 



 
Yahoo! Groups Links

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

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

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





[flexcoders] Object dump

2005-06-22 Thread Fritz Dimmel
Hi!
I'm new in this list.
At first just some info about me.
I'm Fritz Dimmel, living in Austria, near Vienna.
I'm student at the Vienna University of Technology, my course is Software 
Information Engineering, I'm specialised in Information Engineering.
Besides I work for Siemens. We are the Support Center for Components and
Internet Technologies that means we check out technologies, which are brand
new, make demos with them and evaluate them for further projects.
Additionally I'm personally also interested in internet technologies.
In the past 6 months I mostly worked with CFMX / CFMX7 and Flex.

Ok, but now back to my question :)

Some weeks ago I found anywhere on the web a AS function calles obj_dump or
something like that. It was great! As a parameter it just got an object and
the result was that the entire object's structure was written to a textarea.
But stupidly I lost this function and I cannot find it anymore...
Does anybody know what I mean and send me this piece of source code?!

Would be great! -- Well I know, I could do this with XMLObjectblah but this
function was very nice!

Thanks in advance!

Bye,
Fritz

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] LinkBar question

2005-06-22 Thread Ashish Goyal





You can have the selected link to show in a different color 
though instead of the default grey color for better visibility. Just set 
'disabledColor' property on the link bar to the desired 
color.

Thanks
-Ashish


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Robert 
  BrueckmannSent: Wednesday, June 22, 2005 8:20 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar 
  question
  Is there a way to leave the selection background behind the 
  currentlyselected link in a LinkBar to indicate to the user which link 
  iscurrently selected? None of the attributes seem to indicate 
  anything ofthe sort, so I was curious if anyone is doing anything like 
  this outthere?Thanks!robert l. brueckmannsenior web 
  developermerlin securities595 madison avenuenew york, ny 
  10022p: 212.822.4821f: 
  212.822.4820This 
  message contains information from Merlin Securities, LLC, or from one of its 
  affiliates, that may be confidential and privileged. If you are not an 
  intended recipient, please refrain from any disclosure, copying, distribution 
  or use of this information and note that such actions are prohibited. If you 
  have received this transmission in error, please notify the sender immediately 
  by telephone or by replying to this transmission.Merlin Securities, 
  LLC is a registered broker-dealer. Services offered through Merlin Securities, 
  LLC are not insured by the FDIC or any other Federal Government Agency, are 
  not deposits of or guaranteed by Merlin Securities, LLC and may lose value. 
  Nothing in this communication shall constitute a solicitation or 
  recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Tarik Ahmed






The living FAQ can be found any time at: http://www.cflex.net/faq/



Gordon Smith wrote:

  The official FAQ is posted from time to time to flexcoders, but the last
one was three weeks ago so you have to look back more than 1000 messages
to find it:

http://groups.yahoo.com/group/flexcoders/message/16164

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
Behalf Of Libby
Sent: Wednesday, June 22, 2005 7:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is there a way to Search all Messages in this
group at once?

Ahhh, there is a secret handshake! Yes, I read this faq:
http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=default
fields=defaultValues=
but evidently I am not a good enough detective to find the secret
question about searching the messages. But, never fear, I will keep
hitting my head against the wall, because after all, I am a programmer
by profession : )

 
--- In flexcoders@yahoogroups.com, "Steven Webster" [EMAIL PROTECTED]
wrote:
  
  
Hey Libby,

Did you read the FAQ ? :)  It gives answers on the questions "how to

  
  search
  
  
the list" -- I'll leave finding the answer as an exercise to the

  
  reader :)
  
  
Steven 

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may

  
  contain
  
  
confidential information and must not be copied, or disclosed, or

  
  used by
  
  
anyone other than the intended recipient(s). If you are not the

  
  intended
  
  
recipient(s) please destroy this e-mail, and any copies of it,

  
  immediately.
  
  
 
Please also note that while software systems have been used to try

  
  to ensure
  
  
that this e-mail has been swept for viruses, iteration::two do not

  
  accept
  
  
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried

  
  out
  
  
before any attachments are opened.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]

  
  On
  
  
Behalf Of Libby
Sent: 22 June 2005 14:29
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a way to Search all Messages in this

  
  group at
  
  
once?

I am relatively new to the group and would like to search to see if my
questions have been posted in the past. The only way I can find to

  
  search
  
  
messages is to use the yahoo search button (beside the
messages) which searches a few hundred messages at a time, which takes
FOREVER. Is there perhaps a secret way to search everything in one

  
  fell
  
  
swoop? I'll be glad to learn the secret handshake, code word,

  
  whatever : )
  
  
Thanks, Libby




 
Yahoo! Groups Links

  
  




 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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



  










Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.











[flexcoders] XMLSocket over SSL ?

2005-06-22 Thread sanjayd
Folks, Is there a way to create a XMLSocket connection over SSL ? I
hav a java socketServer that will only accept SSL connections.
hanks in advance.

Sanjay





 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Libby
What sentence in the FAQ describes how to search the complete
newsgroup archives in one search? I am sorry but I cannot find it even
though someone else said it was in the FAQ somewhere.

--- In flexcoders@yahoogroups.com, Tarik Ahmed [EMAIL PROTECTED] wrote:
 The living FAQ can be found any time at: http://www.cflex.net/faq/
 
 
 
 Gordon Smith wrote:
 
 The official FAQ is posted from time to time to flexcoders, but the
last
 one was three weeks ago so you have to look back more than 1000
messages
 to find it:
 
 http://groups.yahoo.com/group/flexcoders/message/16164
 
 - Gordon
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: Wednesday, June 22, 2005 7:29 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Is there a way to Search all Messages in this
 group at once?
 
 Ahhh, there is a secret handshake! Yes, I read this faq:

http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=default
 fields=defaultValues=
 but evidently I am not a good enough detective to find the secret
 question about searching the messages. But, never fear, I will keep
 hitting my head against the wall, because after all, I am a programmer
 by profession : )
 
  
 --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED]
 wrote:
   
 
 Hey Libby,
 
 Did you read the FAQ ? :)  It gives answers on the questions how to
 
 
 search
   
 
 the list -- I'll leave finding the answer as an exercise to the
 
 
 reader :)
   
 
 Steven 
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may
 
 
 contain
   
 
 confidential information and must not be copied, or disclosed, or
 
 
 used by
   
 
 anyone other than the intended recipient(s). If you are not the
 
 
 intended
   
 
 recipient(s) please destroy this e-mail, and any copies of it,
 
 
 immediately.
   
 
  
 Please also note that while software systems have been used to try
 
 
 to ensure
   
 
 that this e-mail has been swept for viruses, iteration::two do not
 
 
 accept
   
 
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried
 
 
 out
   
 
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 
 
 On
   
 
 Behalf Of Libby
 Sent: 22 June 2005 14:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way to Search all Messages in this
 
 
 group at
   
 
 once?
 
 I am relatively new to the group and would like to search to see if my
 questions have been posted in the past. The only way I can find to
 
 
 search
   
 
 messages is to use the yahoo search button (beside the
 messages) which searches a few hundred messages at a time, which takes
 FOREVER. Is there perhaps a secret way to search everything in one
 
 
 fell
   
 
 swoop? I'll be glad to learn the secret handshake, code word,
 
 
 whatever : )
   
 
 Thanks, Libby
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
   
 





 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: Flex - IP limited Developer version

2005-06-22 Thread don4sin
That hasn't been my experience.  I was accessing my FLex app from a 
machine on the local net and DHCP changed the IP address of that 
machine.  I started getting Licensing error messages when I tried to 
access the app.  Restarting the Flex server had no effect.  I had to 
force the client machine back to the original IP address, and then 
it worked again.



--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:
 It is actually 5 ip addresses, and it is the first 5 to hit the 
url.  As
 far as I know there is no way to control this.
 
 Access is limited to those 5 addresses until you bounce the Flex 
server,
 then it clears the list.  So I guess you will have to have the 
prospect
 call before connecting, so you can restart the Flex server.
 
 Now, there might be some way to have the web/application server 
restrict
 the ip addresses it will pass on to Flex, but that is just a guess.
 
 Tracy
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of don4sin
 Sent: Wednesday, June 22, 2005 11:09 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex - IP limited Developer version
 
 The Flex Developer edition is IP limited.  It can be accessed 
 from 'localhost' and one other IP address.  Do I have any control
 over that 'other' IP address?  From my experience, it grabs the 
first 
 IP address that accesses it and sticks with that.  Can I choose it 
or 
 change it?
 
 It would still be just one 'other' IP address at a time, but I 
want to 
 choose what that one IP address is at any given time, if for 
instance 
 I have a new customer I want to do a demo for.
 
 
 
 
 
  
 Yahoo! Groups Links




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] Re: Flex - IP limited Developer version

2005-06-22 Thread Rick Bullotta










The only thing Ive noticed is that
once the 60-day period was over, Flex is doing something when idle that uses a good
bit of CPU (4-6% on average). Not sure what it is doing









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of don4sin
Sent: Wednesday, June 22, 2005
2:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex -
IP limited Developer version





That hasn't been my experience. I was accessing my FLex app from
a 
machine on the local net and DHCP changed the IP
address of that 
machine. I started getting Licensing error
messages when I tried to 
access the app. Restarting the Flex server
had no effect. I had to 
force the client machine back to the original IP
address, and then 
it worked again.



--- In flexcoders@yahoogroups.com,
Tracy Spratt [EMAIL PROTECTED] 
wrote:
 It is actually 5 ip addresses, and it is the
first 5 to hit the 
url. As
 far as I know there is no way to control
this.
 
 Access is limited to those 5 addresses until
you bounce the Flex 
server,
 then it clears the list. So I guess you
will have to have the 
prospect
 call before connecting, so you can restart
the Flex server.
 
 Now, there might be some way to have the
web/application server 
restrict
 the ip addresses it will pass on to Flex, but
that is just a guess.
 
 Tracy
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of don4sin
 Sent: Wednesday, June 22, 2005 11:09 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex - IP limited
Developer version
 
 The Flex Developer edition is IP
limited. It can be accessed 
 from 'localhost' and one other IP
address. Do I have any control
 over that 'other' IP address? From my
experience, it grabs the 
first 
 IP address that accesses it and sticks with
that. Can I choose it 
or 
 change it?
 
 It would still be just one 'other' IP address
at a time, but I 
want to 
 choose what that one IP address is at any
given time, if for 
instance 
 I have a new customer I want to do a demo
for.
 
 
 
 
 
 
 Yahoo! Groups Links














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Matt Chotin










http://www.mail-archive.com/flexcoders@yahoogroups.com



Ill add it to the FAQ











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby
Sent: Wednesday, June 22, 2005
11:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is there
a way to Search all Messages in this group at once?





What sentence in the FAQ describes how to search the complete
newsgroup archives in one search? I am sorry but I
cannot find it even
though someone else said it was in the FAQ
somewhere.

--- In flexcoders@yahoogroups.com, Tarik Ahmed
[EMAIL PROTECTED] wrote:
 The living FAQ can be found any time at: http://www.cflex.net/faq/
 
 
 
 Gordon Smith wrote:
 
 The official FAQ is posted from time to
time to flexcoders, but the
last
 one was three weeks ago so you have to
look back more than 1000
messages
 to find it:
 
 http://groups.yahoo.com/group/flexcoders/message/16164
 
 - Gordon
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of Libby
 Sent: Wednesday, June 22, 2005 7:29 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Is there a way
to Search all Messages in this
 group at once?
 
 Ahhh, there is a secret handshake! Yes, I
read this faq:

http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=default
 fields=defaultValues=
 but evidently I am not a good enough
detective to find the secret
 question about searching the messages.
But, never fear, I will keep
 hitting my head against the wall, because
after all, I am a programmer
 by profession : )
 
  
 --- In flexcoders@yahoogroups.com,
Steven Webster [EMAIL PROTECTED]
 wrote:
  
 
 Hey Libby,
 
 Did you read the FAQ ? :) It
gives answers on the questions how to
  
 
 search
  
 
 the list -- I'll leave finding
the answer as an exercise to the
  
 
 reader :)
  
 
 Steven 
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated
attachments transmitted with it may
  
 
 contain
  
 
 confidential information and must not
be copied, or disclosed, or
  
 
 used by
  
 
 anyone other than the intended
recipient(s). If you are not the
  
 
 intended
  
 
 recipient(s) please destroy this
e-mail, and any copies of it,
  
 
 immediately.
  
 
  
 Please also note that while software
systems have been used to try
  
 
 to ensure
  
 
 that this e-mail has been swept for
viruses, iteration::two do not
  
 
 accept
  
 
 responsibility for any damage or loss
caused in respect of any viruses
 transmitted by the e-mail. Please
ensure your own checks are carried
  
 
 out
  
 
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
  
 
 On
  
 
 Behalf Of Libby
 Sent: 22 June 2005 14:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way
to Search all Messages in this
  
 
 group at
  
 
 once?
 
 I am relatively new to the group and
would like to search to see if my
 questions have been posted in the
past. The only way I can find to
  
 
 search
  
 
 messages is to use the yahoo search
button (beside the
 messages) which searches a few
hundred messages at a time, which takes
 FOREVER. Is there perhaps a secret
way to search everything in one
  
 
 fell
  
 
 swoop? I'll be glad to learn the
secret handshake, code word,
  
 
 whatever : )
  
 
 Thanks, Libby
 
 
 
 
  
 Yahoo! Groups Links
  
 
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
  
 















Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Re: Flex - IP limited Developer version

2005-06-22 Thread don4sin
That hasn't been my experience.  I was accessing my FLex app from a 
machine on the local net and DHCP changed the IP address of that 
machine.  I started getting Licensing error messages when I tried to 
access the app.  Restarting the Flex server had no effect.  I had to 
force the client machine back to the original IP address, and then 
it worked again.



--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] 
wrote:
 It is actually 5 ip addresses, and it is the first 5 to hit the 
url.  As
 far as I know there is no way to control this.
 
 Access is limited to those 5 addresses until you bounce the Flex 
server,
 then it clears the list.  So I guess you will have to have the 
prospect
 call before connecting, so you can restart the Flex server.
 
 Now, there might be some way to have the web/application server 
restrict
 the ip addresses it will pass on to Flex, but that is just a guess.
 
 Tracy
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of don4sin
 Sent: Wednesday, June 22, 2005 11:09 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex - IP limited Developer version
 
 The Flex Developer edition is IP limited.  It can be accessed 
 from 'localhost' and one other IP address.  Do I have any control
 over that 'other' IP address?  From my experience, it grabs the 
first 
 IP address that accesses it and sticks with that.  Can I choose it 
or 
 change it?
 
 It would still be just one 'other' IP address at a time, but I 
want to 
 choose what that one IP address is at any given time, if for 
instance 
 I have a new customer I want to do a demo for.
 
 
 
 
 
  
 Yahoo! Groups Links





 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] LinkBar question

2005-06-22 Thread Robert Brueckmann









Not sure what you mean. Using the
disabledCOlor attribute does nothing. I have a linkbar at the bottom of my
page that navigates a viewstack which takes up the upper portion of the page.
I want to be able to indicate to the user when they click on the link in the
link bar which location theyve clicked on by either changing the color
of the link they clicked on or leaving the background color that appears when
you mouse over the link to indicate thats the last link they clicked
on. How can I do this?





robert l. brueckmann

senior web developer

merlin securities

595 madison avenue

new york,ny 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ashish Goyal
Sent: Wednesday, June 22, 2005
1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] LinkBar
question





You can have the selected link to show in
a different color though instead of the default grey color for better visibility.
Just set 'disabledColor' property on the link bar to the desired color.



Thanks

-Ashish













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Wednesday, June 22, 2005
8:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] LinkBar
question

Is there a way to leave the selection background behind the currently
selected link in a LinkBar to indicate to the user
which link is
currently selected? None of the attributes
seem to indicate anything of
the sort, so I was curious if anyone is doing
anything like this out
there?

Thanks!

robert l. brueckmann
senior web developer
merlin securities
595
  madison avenue
new york, ny 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.









This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Gordon Smith










If we have two separate things calling
themselves a FAQ and then tell newbies to read the FAQ, isn't that confusing?



- Gordon











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tarik Ahmed
Sent: Wednesday, June 22, 2005
10:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Is
there a way to Search all Messages in this group at once?





The living FAQ can be found any time at: http://www.cflex.net/faq/



Gordon Smith wrote: 

The official FAQ is posted from time to time to flexcoders, but the lastone was three weeks ago so you have to look back more than 1000 messagesto find it:http://groups.yahoo.com/group/flexcoders/message/16164- Gordon-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of LibbySent: Wednesday, June 22, 2005 7:29 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Is there a way to Search all Messages in thisgroup at once?Ahhh, there is a secret handshake! Yes, I read this faq:http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaultfields=defaultValues=but evidently I am not a good enough detective to find the secretquestion about searching the messages. But, never fear, I will keephitting my head against the wall, because after all, I am a programmerby profession : ) --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED]wrote: 

Hey Libby,Did you read the FAQ ? :) It gives answers on the questions how to 

search 

the list -- I'll leave finding the answer as an exercise to the 

reader :) 

Steven --Steven WebsterTechnical Directoriteration::two This e-mail and any associated attachments transmitted with it may 

contain 

confidential information and must not be copied, or disclosed, or 

used by 

anyone other than the intended recipient(s). If you are not the 

intended 

recipient(s) please destroy this e-mail, and any copies of it, 

immediately. 

Please also note that while software systems have been used to try 

to ensure 

that this e-mail has been swept for viruses, iteration::two do not 

accept 

responsibility for any damage or loss caused in respect of any virusestransmitted by the e-mail. Please ensure your own checks are carried 

out 

before any attachments are opened.-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On 

Behalf Of LibbySent: 22 June 2005 14:29To: flexcoders@yahoogroups.comSubject: [flexcoders] Is there a way to Search all Messages in this 

group at 

once?I am relatively new to the group and would like to search to see if myquestions have been posted in the past. The only way I can find to 

search 

messages is to use the yahoo search button (beside themessages) which searches a few hundred messages at a time, which takesFOREVER. Is there perhaps a secret way to search everything in one 

fell 

swoop? I'll be glad to learn the secret handshake, code word, 

whatever : ) 

Thanks, Libby Yahoo! Groups Links 

 Yahoo! Groups Links  Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/  














Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Gordon Smith
This section:

4. Resources to check before asking a question

The Flexcoders Mail Archive (better searching than YahooGroups):
http://www.mail-archive.com/flexcoders%40yahoogroups.com

- Gordon



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Wednesday, June 22, 2005 11:10 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is there a way to Search all Messages in this
group at once?

What sentence in the FAQ describes how to search the complete
newsgroup archives in one search? I am sorry but I cannot find it even
though someone else said it was in the FAQ somewhere.

--- In flexcoders@yahoogroups.com, Tarik Ahmed [EMAIL PROTECTED] wrote:
 The living FAQ can be found any time at: http://www.cflex.net/faq/
 
 
 
 Gordon Smith wrote:
 
 The official FAQ is posted from time to time to flexcoders, but the
last
 one was three weeks ago so you have to look back more than 1000
messages
 to find it:
 
 http://groups.yahoo.com/group/flexcoders/message/16164
 
 - Gordon
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Libby
 Sent: Wednesday, June 22, 2005 7:29 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Is there a way to Search all Messages in
this
 group at once?
 
 Ahhh, there is a secret handshake! Yes, I read this faq:

http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaul
t
 fields=defaultValues=
 but evidently I am not a good enough detective to find the secret
 question about searching the messages. But, never fear, I will keep
 hitting my head against the wall, because after all, I am a
programmer
 by profession : )
 
  
 --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED]
 wrote:
   
 
 Hey Libby,
 
 Did you read the FAQ ? :)  It gives answers on the questions how to
 
 
 search
   
 
 the list -- I'll leave finding the answer as an exercise to the
 
 
 reader :)
   
 
 Steven 
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may
 
 
 contain
   
 
 confidential information and must not be copied, or disclosed, or
 
 
 used by
   
 
 anyone other than the intended recipient(s). If you are not the
 
 
 intended
   
 
 recipient(s) please destroy this e-mail, and any copies of it,
 
 
 immediately.
   
 
  
 Please also note that while software systems have been used to try
 
 
 to ensure
   
 
 that this e-mail has been swept for viruses, iteration::two do not
 
 
 accept
   
 
 responsibility for any damage or loss caused in respect of any
viruses
 transmitted by the e-mail. Please ensure your own checks are carried
 
 
 out
   
 
 before any attachments are opened.
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 
 
 On
   
 
 Behalf Of Libby
 Sent: 22 June 2005 14:29
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is there a way to Search all Messages in this
 
 
 group at
   
 
 once?
 
 I am relatively new to the group and would like to search to see if
my
 questions have been posted in the past. The only way I can find to
 
 
 search
   
 
 messages is to use the yahoo search button (beside the
 messages) which searches a few hundred messages at a time, which
takes
 FOREVER. Is there perhaps a secret way to search everything in one
 
 
 fell
   
 
 swoop? I'll be glad to learn the secret handshake, code word,
 
 
 whatever : )
   
 
 Thanks, Libby
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 
 
   
 





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links

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

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

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




[flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-22 Thread viraf_bankwalla
The swf is being served over https.  Also, if I type in the URL with 
the params the data is returned correctly.  I am not sure what the 
problem is but suspect that it is related to HTTPS/FLEX/IE.

- viraf


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
wrote:
 Is your SWF being served over HTTPS as well?  If your SWF is 
served over
 HTTP but the web service is at HTTPS you will need a 
crossdomain.xml
 file on your HTTPS server to get the player to connect.  Of course 
if
 Firefox is working correctly in the same config it doesn't seem 
like
 that would be the problem.
 
  
 
 We have seen IE bugs with HTTPS that's usually related to bugs in 
the
 app server.  Check your app server support pages and see if 
anything
 jumps out.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of cennis22
 Sent: Tuesday, June 21, 2005 5:34 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: HTTPService problems with SSL when using 
IE
 
  
 
 I am having the exact same problem...  different circumstances 
though.
 
 I am trying to connect to my HTTPS .NET web services on IIS5 W2K 
which
 work fine in Firefox but not in IE!! Heres the killer that might 
lead
 to something , it only works on my IE on my computer but not any
 single other person that trys to connect to the shared server. 
 
 I can communicate fine when I change the url from https to http. I 
am
 also choosing not to use the Flex Proxy for performance reasons.
 
 Do I need to create a policy file to access HTTPS services?
 
 - cennis
 
  http://www.mail-
 archive.com/flexcoders@yahoogroups.com/msg08704.html
 
 --- In flexcoders@yahoogroups.com, viraf_bankwalla
 [EMAIL PROTECTED] wrote:
  Thanks - I had not seen this - however do not believe that this 
is 
  the same problem.  
  
  I am using BEA Weblogic (will be using OAS in production).  
Also, 
  the flex application appears to load fine.  It issues two POST 
  requests during startup.  I am getting the data for one of the 
  requests.  It is the second request for which IE does not appear 
to 
  be receiving the data.
  
  - viraf
  
  --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] 
  wrote:
   Did you see this thread?
   http://www.mail-
  archive.com/flexcoders@yahoogroups.com/msg08704.html
   

   
   Matt
   

   
   
   
   From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On
   Behalf Of viraf_bankwalla
   Sent: Monday, June 20, 2005 7:58 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] HTTPService problems with SSL when using 
IE
   

   
   Hi,
   
   I have a flex application that works fine when I use http.  I
 have 
  now 
   switched to serving the application from https.  The 
application 
   appears to be failing with IE.  It works fine with Firefox.
   
   Anyone had problems with IE and Flex in SSL mode using 
  HTTPService.  I 
   am NOT using the proxy.  Things appear to function if I enable
 the 
   proxy - not sure why I need it.  Maybe someone could explain.  
My 
   preference would be NOT to use the proxy.
   
   
   Thanks.
   
   - viraf
   
   
   
   
   
   
   
   Yahoo! Groups Links
   
   *  To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
   
   *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]
  subject=Unsubscribe 
   
   *  Your use of Yahoo! Groups is subject to the Yahoo! 
Terms of
   Service http://docs.yahoo.com/info/terms/ .
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ .




 
Yahoo! Groups Links

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

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

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




RE: [flexcoders] ViewStack as a parameter for other components

2005-06-22 Thread Dirk Eismann
Hi Lothar,

you cannot pass over an instance of a container (in your case a ViewStack) to 
another container and have it act like a child of the container you passed it 
to. Inside your createContent() method the ViewStack gets created on 'this' - 
it's not clear from your code snippet to what 'this' refers to in this special 
moment but obviously the ViewStack gets created on the wrong component 
(possibly the Application?)

Instead of using a TabBar have you tried using the mx.containes.TabNavigator 
class directly? It offers a quite straightforward way to add childs during 
runtime by using the createTab() method. This should suit your needs.

BTW: welcome to Flex :)

Cheers,
Dirk.

-Ursprüngliche Nachricht-
Von: flexcoders@yahoogroups.com im Auftrag von merlin_hst
Gesendet: Mi 22.06.2005 16:28
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] ViewStack as a parameter for other components
 
Hi there,

I'm totally new to Flex and now have a problem where I need some help.

In short, I want to create a TabNavigator as a template so that I can
pass the number and the content of the tabs as parameter. So I tried
using a TabBar with a ViewStack as DataSource. The ViewStack consist
of about 4 VBoxes and a label for testing purposes. When I define the
ViewStack in the same component as the TabBar all works fine. But when
I pass the ViewStack as a parameter it is displayed above
the TabBar. Here what I tried for now :

mx:Application
   xmlns:local=*
   xmlns:con=container.*
   xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:ViewStack id=stackTest width=100% height=100%  
  mx:VBox label=Tab1 width=100% height=100%
  mx:Form
mx:FormItem label=FormItem_1/
  /mx:Form
  /mx:VBox 
  mx:VBox label=Tab2 width=100% height=100%
mx:MediaPlayback contentPath=movie/sample2.WMV/
  /mx:VBox   
mx:VBox label=Tab3 width=100% height=100%
   mx:Image source=img/Winter.jpg  width=100% height=100%/
/mx:VBox 
mx:VBox label=Tab4 width=100% height=100%/mx:VBox
/mx:ViewStack

con:VBoxTabs content={createContent()}/

/mx:Application
==
--VBoxTabs.mxml

mx:VBox 
  mx:Script
   ![CDATA[
   //... some imports ...

var _content: ViewStack; 

public function set content(content:ViewStack) {
  _content = content ;
}
  ]]
  /mx:Script
   
  mx:TabBar id=tabBar dataProvider={_content}/
/mx:VBox

Here a short sample trying to create the ViewStack with ActionScript:

mx:Script 
![CDATA[

function createContent():ViewStack { 
   var tabs:Array = new Array() ; 
   // ... some more definitions here ...

   stack = ViewStack(createChild( ViewStack, stack1, init )) ; 
   box = VBox(stack.createChild(VBox,box1,{label: Tab1})) ;
   label = Label(box.createChild(Label,label1,{label: Test1})) ;

   //... insgesamt 4 Boxen
   return stack ;
}

]]
/mx:Script

I also tried to create just an array of 4 VBoxes and using that array
as DataSource. But with no luck. Only the tab labels where displayed,
not the content on the tab.

Greetings, Lothar





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

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

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

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

RE: [flexcoders] Object dump

2005-06-22 Thread Fritz Dimmel
Hi!
Thanks, but the panel wasn't what I've searched for.
Well, in the meantime I've found this piece of code (and I changed it, to
view the data in a textarea. I also added a third parameter to count the
depth of recursion. In line 7 you can set the max depth. I know, it's a
quick hack, but it did, what I wanted it to do... 

To the original author: Sorry, I forgot where I found this so I can't
mention you here, but your function is great! - Thanks.

function debugObject(obj:Object, space:String, num:Number) {
num = num + 1;
space += space;
ta.text = ta.text + (space + ==debug object=);
for(var x in obj) {
if(typeof(obj[x]) == object ) {
if(num  3) {
ta.text = ta.text + (space + x +  :  +
this.debugObject(obj[x],space,num));
}
} else {
ta.text = ta.text + (space + x +  :  + obj[x]);
}
}
}


(the second parameter should really be  ! :)

Bye,
Fritz



 --- Ursprüngliche Nachricht ---
 Von: Dimitrios Gianninas [EMAIL PROTECTED]
 An: flexcoders@yahoogroups.com
 Betreff: RE: [flexcoders] Object dump
 Datum: Wed, 22 Jun 2005 15:38:48 -0400
 
 What you are looking for can be found here:
  
 http://www.macromedia.com/devnet/flex/articles/fast_userguide_print.html
  
 Dimitrios Jimmy Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Fritz Dimmel
 Sent: Wednesday, June 22, 2005 1:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Object dump
 
 
 Hi!
 I'm new in this list.
 At first just some info about me.
 I'm Fritz Dimmel, living in Austria, near Vienna.
 I'm student at the Vienna University of Technology, my course is
 Software 
 Information Engineering, I'm specialised in Information Engineering.
 Besides I work for Siemens. We are the Support Center for Components and
 Internet Technologies that means we check out technologies, which are
 brand
 new, make demos with them and evaluate them for further projects.
 Additionally I'm personally also interested in internet technologies.
 In the past 6 months I mostly worked with CFMX / CFMX7 and Flex.
 
 Ok, but now back to my question :)
 
 Some weeks ago I found anywhere on the web a AS function calles obj_dump
 or
 something like that. It was great! As a parameter it just got an object
 and
 the result was that the entire object's structure was written to a
 textarea.
 But stupidly I lost this function and I cannot find it anymore...
 Does anybody know what I mean and send me this piece of source code?!
 
 Would be great! -- Well I know, I could do this with XMLObjectblah but
 this
 function was very nice!
 
 Thanks in advance!
 
 Bye,
 Fritz
 
 -- 
 Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
 Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
 
 
 
 
 Yahoo! Groups Links
 
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Object dump

2005-06-22 Thread Dirk Eismann
you may also want to take a look at the Trace Panel:

http://www.richinternet.de/blog/index.cfm?entry=EB3BA9D6-A212-C5FA-A9B1B5DB4BB7F555

Dirk.



-Ursprüngliche Nachricht-
Von: flexcoders@yahoogroups.com im Auftrag von Fritz Dimmel
Gesendet: Mi 22.06.2005 21:54
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders] Object dump
 
Hi!
Thanks, but the panel wasn't what I've searched for.
Well, in the meantime I've found this piece of code (and I changed it, to
view the data in a textarea. I also added a third parameter to count the
depth of recursion. In line 7 you can set the max depth. I know, it's a
quick hack, but it did, what I wanted it to do... 

To the original author: Sorry, I forgot where I found this so I can't
mention you here, but your function is great! - Thanks.

function debugObject(obj:Object, space:String, num:Number) {
num = num + 1;
space += space;
ta.text = ta.text + (space + ==debug object=);
for(var x in obj) {
if(typeof(obj[x]) == object ) {
if(num  3) {
ta.text = ta.text + (space + x +  :  +
this.debugObject(obj[x],space,num));
}
} else {
ta.text = ta.text + (space + x +  :  + obj[x]);
}
}
}


(the second parameter should really be  ! :)

Bye,
Fritz



 --- Ursprüngliche Nachricht ---
 Von: Dimitrios Gianninas [EMAIL PROTECTED]
 An: flexcoders@yahoogroups.com
 Betreff: RE: [flexcoders] Object dump
 Datum: Wed, 22 Jun 2005 15:38:48 -0400
 
 What you are looking for can be found here:
  
 http://www.macromedia.com/devnet/flex/articles/fast_userguide_print.html
  
 Dimitrios Jimmy Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Fritz Dimmel
 Sent: Wednesday, June 22, 2005 1:30 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Object dump
 
 
 Hi!
 I'm new in this list.
 At first just some info about me.
 I'm Fritz Dimmel, living in Austria, near Vienna.
 I'm student at the Vienna University of Technology, my course is
 Software 
 Information Engineering, I'm specialised in Information Engineering.
 Besides I work for Siemens. We are the Support Center for Components and
 Internet Technologies that means we check out technologies, which are
 brand
 new, make demos with them and evaluate them for further projects.
 Additionally I'm personally also interested in internet technologies.
 In the past 6 months I mostly worked with CFMX / CFMX7 and Flex.
 
 Ok, but now back to my question :)
 
 Some weeks ago I found anywhere on the web a AS function calles obj_dump
 or
 something like that. It was great! As a parameter it just got an object
 and
 the result was that the entire object's structure was written to a
 textarea.
 But stupidly I lost this function and I cannot find it anymore...
 Does anybody know what I mean and send me this piece of source code?!
 
 Would be great! -- Well I know, I could do this with XMLObjectblah but
 this
 function was very nice!
 
 Thanks in advance!
 
 Bye,
 Fritz
 
 -- 
 Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
 Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl
 
 
 
 
 Yahoo! Groups Links
 
 
 * To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
 
 * To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


 
Yahoo! Groups Links



 






 
Yahoo! Groups Links

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

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

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

[flexcoders] bypass the change event

2005-06-22 Thread dwellet
I have this combobox.

The combobox is populated by a webservice.

When the webservice result arrives, I have a utility function that
adds a 'Pick an item...' sort of option at the top of the dropdown,
and then selects the appropriate selected item.  If there is no
appropriate selected item, it picks index 0 (the dummy 'Pick an
item...').

I have a validator that validates that the combobox has a real
selection.

The problem is... I want my utility function to happen in stealth
mode. If the user changes the combobox, I want it to be validated. But
if I programatically set the selectedIndex, I don't want any events to
fire and trigger validation.

Ironically, I read that in Flex 1.0, changing the selectedIndex did
not fire a change event, but this was fixed in 1.5. The old behavior
is precisely what I want. Any way to temporarily bypass that change
event firing?

Code included below... Thanks for your help!

-Tim.




[ComboBoxValidator.as]


import mx.controls.*;
import mx.validators.*;

/* ComboBoxValidator
 *
 * Validate that a user does not select the dummy option (eg.
 * 'Pick a value...') in a required combobox.
 *
 */
class ComboBoxValidator extends Validator
{
   public function doValidation(foo:String) : Void
   {
  var n = Number(foo);
  if (n == 0)
  {
 validationError(noSelection, Field is required., null);
  }
   }
}





[Test.mxml]


mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns:dom=*
creationComplete=start()

mx:Script
![CDATA[
import mx.controls.*;
import mx.containers.*;
import mx.managers.*;
import mx.validators.*;

import com.dom.sampling.vo.*;

var model : SampleSite;

var PICK_A_FACILITY_TYPE : FacilityType;

/* start()
 *
 * Perform basic setup.
 *
 */
function start()
{
PICK_A_FACILITY_TYPE  = new FacilityType();
PICK_A_FACILITY_TYPE.name = Choose a facility type...;
service.getAllFacilityTypes();

if (!model)
{
model = new SampleSite();
}
}

/* prepareCombobox()
 *
 * Prepares a combobox by adding a first, descriptive
 * option (eg. 'Pick a value...') to the dropdown. It
 * also sets the initial value of the combobox, either
 * to the item matching the passed in initialValue, or
 * if no match is found, to the first item in the
 * combobox.
 *
 * @param combobox  the combobox to prepare
 *
 * @param pickAValuethe first, descriptive option
 *  (eg. 'Pick a value...') to add
 *  to the combobox
 *
 * @param initialValue  the initialValue the combobox
 *  should be set to
 */
public function prepareComboBox(combobox: ComboBox,
pickAValue: Object,
initialValue: Object) : Void
{
if (pickAValue)
{
combobox.addItemAt(0, pickAValue);
combobox.selectedIndex = 0;
}

if (initialValue)
{
for (var i=0; i  combobox.length; i++)
{
var item = combobox.getItemAt(i);

// object
if (item instanceof Object 
item.id == initialValue.id)
{
combobox.selectedIndex = i;
}

// non-object
else if (item == initialValue)
{
combobox.selectedIndex = i;
}
}
}
}

]]
/mx:Script

mx:WebService id=service
   wsdl=/sampling-ws/services/LocationService?wsdl
   showBusyCursor=true

mx:operation name=getAllFacilityTypes
  result=prepareComboBox(facilityType,
PICK_A_FACILITY_TYPE, model.facilityType)/

/mx:WebService

mx:Panel title=Administer Sample Site width=100%
mx:FormItem width=100% required=true label=Facility
Type
mx:ComboBox id=facilityType
dataProvider={service.getAllFacilityTypes.result}
labelField=name/
/mx:FormItem
/mx:Panel

mx:Model id=validationModel
facilityType{facilityType.selectedIndex}/facilityType
/mx:Model

dom:ComboBoxValidator required=true
field=validationModel.facilityType/

/mx:Application




 
Yahoo! Groups Links

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

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

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





RE: [flexcoders] Object dump

2005-06-22 Thread Fritz Dimmel
Hi. You won't believe it, but I downloaded it already today :)

Thanks!

 --- Ursprüngliche Nachricht ---
 Von: Dirk Eismann [EMAIL PROTECTED]
 An: flexcoders@yahoogroups.com
 Betreff: RE: [flexcoders] Object dump
 Datum: Wed, 22 Jun 2005 22:02:27 +0200
 
 you may also want to take a look at the Trace Panel:
 

http://www.richinternet.de/blog/index.cfm?entry=EB3BA9D6-A212-C5FA-A9B1B5DB4BB7F555
 
 Dirk.
 

-- 
Weitersagen: GMX DSL-Flatrates mit Tempo-Garantie!
Ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl


 
Yahoo! Groups Links

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

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

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




[flexcoders] ADMIN: FAQ and Searching Archives

2005-06-22 Thread Steven Webster





The FAQ for 
Flexcoders can always befound here:

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 


I've added a footer 
to all flexcoders posts that will remind posters of the FAQ and 
archive-searches, so that hopefully people are more likely to remember to use 
them as resources before posting oft-repeated questions.

I've also upped the 
frequency at which the FAQ will be posted to flexcoders to every 2 weeks (the 
most frequent yahoo will allow me to set).

Let's trial it for a 
while and see if it makes a difference.

Best,

Steven




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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










[flexcoders] History Manager

2005-06-22 Thread jacksodj
has anyone had luck getting the history manager to work correctly?
I am getting odd behavior, where it seems to skip around, and gives 
generally unpredicatable results.





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

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

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

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




[flexcoders] Any Flex developers/consultants in Minneapolis

2005-06-22 Thread Jim Schneider










Are there any Flex developers/consultants in Minneapolis (or in the Minnesota area)?






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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Mx:Loader and Cairngorm .95

2005-06-22 Thread mackdoyle
We are creating an application in the Cairngorm .95 framework. We have
an index.mxml file that uses mx:Loader to load each sub section. Each
sub section is a mxml file that contains a number of views all being
loaded into a tab navigator. This structure works fine using mxml
files absent of any cairngorm declarations. But as soon as I make the
Cairngorm declarations, I can only get one sub section to load at a
time. After the first section is loaded, no other sections will load.

I am not sure but it seems like it might specifically have to do with
importing the control file in each sub section. We are not using the
Cairngorm tag so we can debug in Flex builder. Here is how each sub
section is set up...

mx:Application
xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns:ppcBusiness=com.cpe.business.*
xmlns:ppcView=com.cpe.view.*
initialize=initCairngorm09Application()
pageTitle=Setup
verticalGap=0
width=1001
height=695
vScrollPolicy=off

mx:Script source=handlers/viewStackHandler.as /

mx:Script
![CDATA[
import com.iterationtwo.cairngorm.control.*;
import mx.utils.Delegate;

public var controller = com.cpe.control.Control;
public function initCairngorm09Application() : Void
{
new com.cpe.control.Control();
}
]]
/mx:Script


Any ideas why this is occurring?





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

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

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

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




RE: [flexcoders] LinkBar question

2005-06-22 Thread Ashish Goyal





I have just emulatedyour scenario. In this case the 
active link color will change to red. Let me know if that doesn't work for 
you.

?xml version="1.0" 
encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
width="600" height="600"

mx:ViewStack height="300" width="400" 
id="ViewStack1"mx:VBox width="100%" height="100%" 
label="View1" mx:Button 
label="Button1"//mx:VBoxmx:VBox 
width="100%" height="100%" 
label="View2" mx:Button 
label="Button2"//mx:VBoxmx:VBox 
width="100%" height="100%" 
label="View3" mx:Button 
label="Button3"//mx:VBoxmx:VBox 
width="100%" height="100%" 
label="View4" mx:Button 
label="Button4"//mx:VBox/mx:ViewStack

mx:LinkBar dataProvider="ViewStack1" 
disabledColor="#FF"/

/mx:Application

Thanks
-Ashish

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Robert 
  BrueckmannSent: Wednesday, June 22, 2005 11:57 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar 
  question
  
  
  
  Not sure what you 
  mean. Using the disabledCOlor attribute does nothing. I have a 
  linkbar at the bottom of my page that navigates a viewstack which takes up the 
  upper portion of the page. I want to be able to indicate to the user 
  when they click on the link in the link bar which location theyve clicked on 
  by either changing the color of the link they clicked on or leaving the 
  background color that appears when you mouse over the link to indicate thats 
  the last link they clicked on. How can I do 
  this?
  
  
  robert l. 
  brueckmann
  senior web 
  developer
  merlin 
  securities
  595 madison 
  avenue
  new 
  york,ny 
  10022
  p: 
  212.822.4821f: 212.822.4820
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On Behalf Of Ashish 
  GoyalSent: Wednesday, June 
  22, 2005 1:33 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] LinkBar 
  question
  
  You can have the 
  selected link to show in a different color though instead of the default grey 
  color for better visibility. Just set 'disabledColor' property on the link bar 
  to the desired color.
  
  Thanks
  -Ashish
  
  




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Robert 
BrueckmannSent: Wednesday, 
June 22, 2005 8:20 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] LinkBar 
question
Is there a way to leave the selection background 
behind the currentlyselected link in a LinkBar to indicate to the user which 
link iscurrently 
selected? None of the attributes seem to indicate anything 
ofthe sort, so I was curious if 
anyone is doing anything like this outthere?Thanks!robert l. brueckmannsenior web developermerlin securities595 madison 
avenuenew 
york, ny 
10022p: 
212.822.4821f: 
212.822.4820This message contains information from Merlin Securities, 
LLC, or from one of its affiliates, that may be confidential and privileged. 
If you are not an intended recipient, please refrain from any disclosure, 
copying, distribution or use of this information and note that such actions 
are prohibited. If you have received this transmission in error, please 
notify the sender immediately by telephone or by replying to this 
transmission.Merlin 
Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, 
LLC and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular 
security.
  
  
  
  
  This message contains information fromMerlin Securities, LLC, 
  or from one of its affiliates, that may be confidential and privileged. If you 
  are not an intended recipient, please refrain from any disclosure, copying, 
  distribution or use of this information and note that such actions are 
  prohibited. If you have received this transmission in error, please notify the 
  sender immediately by telephone or by replying to this 
  transmission.
   
  Merlin Securities, LLC is a registered broker-dealer. Services 
  offered throughMerlin Securities, LLC are not insured by the FDIC or any 
  other Federal Government Agency, are not deposits of or guaranteed 
  byMerlin Securities, LLCand may lose value. Nothing in this 
  communication shall constitute a solicitation or recommendation to buy or sell 
  a particular security.


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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an 

[flexcoders] Installing JRun Flex CF. Issues with CF

2005-06-22 Thread DavidLand
We are installing JRUN and then CF and Flex under the JRUN server as 
a cluster through IIS. They have both Windows 2000 Server (IIS5)  
2003 (IIS6). Everything works fine independently but when they try 
to access a CFC from Flex it throws a can not find CFC. It will not 
let them render a wsdl of the CFC either through port 80 over IIS 
(Gives an AXIS error), but does if they do it on the CF port 
assigned through JRUN. We tried accessing directly on the JRUN CF 
port and editing the gateway-config.xml in CF by uncommenting the !-
-adaptercoldfusion.flash.adapter.CFWSAdapter/adapter--. Any 
ideas?  Thanks!

 

David Hassoun | [EMAIL PROTECTED]

Macromedia Certified Master Instructor

Roundpeg, Inc.

www.roundpeg.com

c:303.359.7466





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

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

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

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




Re: [flexcoders] History Manager

2005-06-22 Thread Manish Jethani
On 6/23/05, jacksodj [EMAIL PROTECTED] wrote:
 has anyone had luck getting the history manager to work correctly?
 I am getting odd behavior, where it seems to skip around, and gives
 generally unpredicatable results.

The HistoryManager works correctly for me.  What odd behaviour are you seeing?


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

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

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

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





Re: [flexcoders] JPG delivery via Java-App

2005-06-22 Thread Manish Jethani
On 6/21/05, mummertm [EMAIL PROTECTED] wrote:

 I have a Java-Servlet or a Java-Class, which retrieves an image (JPG)
 from a database. As customary this Blob is stored in a byte array (byte
 []). The Flex-Application connects to the Java application to request
 the image. My problem is now to find a suitable datatype, which can
 store binary data in ActionScript.

Write a servlet and access it from Flex using its URL.  In the
servlet, set the content-type of the response to image/jpeg and then
just write the binary data to the output stream.

See the Gif2JpegServlet class here:
http://manish.revise.org/flash/flex/gmap.zip
It read from one stream and writes to another.  Simple.


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

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

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

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




Re: [flexcoders] Installing JRun Flex CF. Issues with CF

2005-06-22 Thread Tarik Ahmed
You might wanna check out:

http://www.flexauthority.com/articlesArchive/FlexCF7Merge.cfm

as well as:

http://www.cflex.net/showfiledetails.cfm?ObjectID=177



DavidLand wrote:

We are installing JRUN and then CF and Flex under the JRUN server as 
a cluster through IIS. They have both Windows 2000 Server (IIS5)  
2003 (IIS6). Everything works fine independently but when they try 
to access a CFC from Flex it throws a can not find CFC. It will not 
let them render a wsdl of the CFC either through port 80 over IIS 
(Gives an AXIS error), but does if they do it on the CF port 
assigned through JRUN. We tried accessing directly on the JRUN CF 
port and editing the gateway-config.xml in CF by uncommenting the !-
-adaptercoldfusion.flash.adapter.CFWSAdapter/adapter--. Any 
ideas?  Thanks!

 

David Hassoun | [EMAIL PROTECTED]

Macromedia Certified Master Instructor

Roundpeg, Inc.

www.roundpeg.com

c:303.359.7466





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

* 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] question about image cellrenderer in flex samples explorer

2005-06-22 Thread Manish Jethani
On 6/22/05, bhaq1972 [EMAIL PROTECTED] wrote:

 function setValue(str:String, item:Object, sel:Boolean) : Void {
image.source = item[image];
 }
 
 Does the image keep getting reloaded everytime 'image.source' is being
 set?

Not everytime but only when it's changed.  You could add trace
statements to see how often it's getting called with different values
(also monitor memory usage).


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

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

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

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




RE: [flexcoders] Re: Is there a way to Search all Messages in this group at once?

2005-06-22 Thread Tracy Spratt










Yes, it is confusing. Perhaps we should
cross-link the two FAQs, and try to be clear when we reference them to others
as, perhaps Flex FAQ and FlexCoders FAQ.



Tracy











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Gordon Smith
Sent: Wednesday, June 22, 2005
3:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: Is
there a way to Search all Messages in this group at once?





If we have two separate things calling
themselves a FAQ and then tell newbies to read the FAQ, isn't that
confusing?



- Gordon











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tarik Ahmed
Sent: Wednesday, June 22, 2005
10:57 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Is
there a way to Search all Messages in this group at once?





The living FAQ can be found any time at: http://www.cflex.net/faq/



Gordon Smith wrote: 

The official FAQ is posted from time to time to flexcoders, but the lastone was three weeks ago so you have to look back more than 1000 messagesto find it:http://groups.yahoo.com/group/flexcoders/message/16164- Gordon-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of LibbySent: Wednesday, June 22, 2005 7:29 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Re: Is there a way to Search all Messages in thisgroup at once?Ahhh, there is a secret handshake! Yes, I read this faq:http://www.cflex.net/showfaq.cfm?Object=faqchannelID=1faqtype=defaultfields=defaultValues=but evidently I am not a good enough detective to find the secretquestion about searching the messages. But, never fear, I will keephitting my head against the wall, because after all, I am a programmerby profession : ) --- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED]wrote: 

Hey Libby,Did you read the FAQ ? :) It gives answers on the questions how to 

search 

the list -- I'll leave finding the answer as an exercise to the 

reader :) 

Steven --Steven WebsterTechnical Directoriteration::two This e-mail and any associated attachments transmitted with it may 

contain 

confidential information and must not be copied, or disclosed, or 

used by 

anyone other than the intended recipient(s). If you are not the 

intended 

recipient(s) please destroy this e-mail, and any copies of it, 

immediately. 

Please also note that while software systems have been used to try 

to ensure 

that this e-mail has been swept for viruses, iteration::two do not 

accept 

responsibility for any damage or loss caused in respect of any virusestransmitted by the e-mail. Please ensure your own checks are carried 

out 

before any attachments are opened.-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On 

Behalf Of LibbySent: 22 June 2005 14:29To: flexcoders@yahoogroups.comSubject: [flexcoders] Is there a way to Search all Messages in this 

group at 

once?I am relatively new to the group and would like to search to see if myquestions have been posted in the past. The only way I can find to 

search 

messages is to use the yahoo search button (beside themessages) which searches a few hundred messages at a time, which takesFOREVER. Is there perhaps a secret way to search everything in one 

fell 

swoop? I'll be glad to learn the secret handshake, code word, 

whatever : ) 

Thanks, Libby Yahoo! Groups Links 

 Yahoo! Groups Links  Yahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/  










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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Charts!!!!!!!

2005-06-22 Thread Jeff Steiner










Have you taken a look at the charting
examples from Christophe? 



http://flexapps.macromedia.com/flex15/chartexplorer/explorer.mxml





Jeff

Founder

Flex Authority

http://www.flexauthority.com



We are actively seeking contributors for
the site. Have a sample that you want to share with the world? Send
it to us!











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of vijay anto
Sent: Wednesday, June 22, 2005
9:00 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Charts!!!





How to create tickers in a graph

lets assume that i want to plot data for 10
years,the label spacing in 
the graph should be for just a year i.e. the
spacing is as follows

Jan2000 -Jan2001

 feb mar
april..

The intermediate months should be dynamically
accessed from a XML 
source.Thanks in advance

Regards
Vijay









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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Any Flex developers/consultants in Minneapolis

2005-06-22 Thread Tracy Spratt










B! Buz!



Tracy











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jim Schneider
Sent: Wednesday, June 22, 2005
6:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Any Flex
developers/consultants in Minneapolis





Are there any Flex developers/consultants in Minneapolis (or in the Minnesota area)?



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.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/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] TREE : extending the tree component

2005-06-22 Thread Matt Chotin










Hmm, I just compiled a Tree subclass that
refers to selectedIndex and it worked fine so Im not sure why youd
get the error. I also compiled the segment that you gave (while
commenting out the pieces you didnt give) and it compiled OK too, so you
must have something else going on.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of david_gal-reyniez
Sent: Wednesday, June 22, 2005
3:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TREE :
extending the tree component







Hi everybody!











I need your help to cuztomize the Tree component...





I aim at expanding all nodes of my cuztomized tree when
initializing it.











I created a CuztomizedTree class as following :











import mx.controls.Tree;
import mx.controls.treeclasses.TreeNode;
import mx.controls.Alert;











class com.as.components.CustomizedTree extends Tree
{











function CustomizedTree()
{
}

function setIsOpen( node, open, animate, fireEvent):Void
{





 // actions dedicated to the SetIsOpen
method





}











public function expandTree()
{
var selectedNode:TreeNode=this.selectedNode;
if (selectedNode  this.selectedIndex != 0)
{
var
node:TreeNode=this.getNodeDisplayedAt(this.selectedIndex);
this.setIsOpen(node,true);
setAdaptedIcon(this, selectedNode,
selectedNode.attributes.operand);
} else {
var i:Number=0;
var node:TreeNode=this.getTreeNodeAt(i);






Alert.show(node.selectedIndex :  +
node.attributes.label, __Message__, Alert.OK);





 // this message generates the following
message





 //





 // Error /WEB-INF/flex/user_classes/com/as/components/CustomizedTree.as:100




 // There is no property with the name
'selectedIndex'.
 //



 // Error 



 // Unable to create ActionScript
Component forcom.as.components.CustomizedTree: Could not compile
'synthetic: Object.registerClass() for com.as.components.CustomizedTree'








while (node != undefined)
{
if (this.getIsBranch(node)  !
this.getIsOpen(node))
{
this.setIsOpen(node,true);
}
setAdaptedIcon(this, node, node.attributes.operand);
i++;
node=this.getNodeDisplayedAt(i);
}
}
}





-





In my Tree.mxml file, I call this method in an initAppli
method






public function initTree()
{
tree.expandTree(); // tree is the name of my
CuztomizedTreeobject
}











Any suggestions?





Thank a lot!











PS: Thanksfull thoughts to Gordon
 Smith, Tracy Spratt and Matt Chottin for their suggestions
concerning the treenode adding and the tree collapsing!



**


Coface facilite les echanges entre
les entreprises partout dans le monde. Pour cela, elle offre a toutes les
entreprises des solutions pour gerer, financer et proteger leur poste client,
en leur permettant d'externaliser tout ou partie de la gestion et des risques
lies a leurs relations commerciales. Coface est notee AA par Fitch Ratings et
Aa3 par Moody's. 

Pour en savoir plus,
http://www.coface.fr 

Coface facilitates
business-to-business commerce worldwide. It offers all size companies an array
of solutions to manage, finance, and protect their accounts receivables
affording them the option of fully or partly outsourcing trade relationship
management and attendant risks. Coface is rated AA by Fitch ratings and Aa3 by
Moody's. 

More about Coface,
http://www.coface.com 

WARNING : 

- Soyez conscient que notre systeme
Anti-Spam peut parfois rejeter des messages, soit parce que certains mots et
types de fichiers ne sont pas acceptes, ou bien parce que le mail n'a pas ete
identifie correctement. 

- Be aware that from time to time our
Anti-Spam system may reject mails either because some words and types of files
are not allowed or because mails are misidentified. 

**








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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] Installing Flex CF. Issues with RemoteObject

2005-06-22 Thread DavidLand
Re: Installing JRun  Flex  CF. Issues with CF

Thanks for the link. I know about the flexauthority one and checking 
into the other, but it doesnt seem as if thats the issue. Is there a 
lot of you all out there using Flex  CF? if so whats your standard 
web config like?

david.

--- In flexcoders@yahoogroups.com, Tarik Ahmed [EMAIL PROTECTED] wrote:
 You might wanna check out:
 
 http://www.flexauthority.com/articlesArchive/FlexCF7Merge.cfm
 
 as well as:
 
 http://www.cflex.net/showfiledetails.cfm?ObjectID=177
 
 
 
 DavidLand wrote:
 
 We are installing JRUN and then CF and Flex under the JRUN server 
as 
 a cluster through IIS. They have both Windows 2000 Server (IIS5) 
 
 2003 (IIS6). Everything works fine independently but when they 
try 
 to access a CFC from Flex it throws a can not find CFC. It will 
not 
 let them render a wsdl of the CFC either through port 80 over IIS 
 (Gives an AXIS error), but does if they do it on the CF port 
 assigned through JRUN. We tried accessing directly on the JRUN CF 
 port and editing the gateway-config.xml in CF by uncommenting the 
!-
 -adaptercoldfusion.flash.adapter.CFWSAdapter/adapter--. Any 
 ideas?  Thanks!
 
  
 
 David Hassoun | [EMAIL PROTECTED]
 
 Macromedia Certified Master Instructor
 
 Roundpeg, Inc.
 
 www.roundpeg.com
 
 c:303.359.7466
 
 
 
 
 
 --
 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/

* 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] Errortip not only on MouseOver

2005-06-22 Thread Matt Chotin










It doesnt look like we have an easy
way for you to turn it on, maybe Gordon knows but I couldnt find
anything.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rockmoyosa
Sent: Wednesday, June 22, 2005
4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Errortip not
only on MouseOver





I know I saw this topic already but I can't find it anymore. But is
there a way to show a ErrorTip not only on
MouseOver, but for example
on MouseOut?


Maik









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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Tree alpha chanel ?

2005-06-22 Thread Matt Chotin










Because alpha is a property not a style.
Something we get from MovieClip.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rich Tretola
Sent: Wednesday, June 22, 2005
5:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tree
alpha chanel ?





OK so setting the alpha within the mx:Tree tag works but not when you
set it within the style sheet. Why is that ?

Rich

On 6/22/05, Rich Tretola
[EMAIL PROTECTED] wrote:
 Is there a property to control the tree alpha
chanel ?
 
 Rich








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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Re: Using Flex Controls in Flash 2004

2005-06-22 Thread Matt Chotin










Well anything you can do in Flash you can
do in Flex, so Id say if you want to use those classes youll be
better off sticking to Flex. Otherwise youre on your own, Im not
sure what our license says about using those components without the Flex
compiler.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason
Sent: Wednesday, June 22, 2005
5:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Using
Flex Controls in Flash 2004





Hi Matt,

 Thanks for your response! The
problem is that people in the 
field need to be able to modify the layout of the
demo in the 
field. They won't necessarily have access to
the Flex Server at 
that time, and may not have access to mxmlc, even
if they did, that 
might be beyond their technical abilities.

 However, if I could use some of these
controls within flash, they 
would just have to change a file that specifies
some layout 
parmeters at runtime. That is there would be
one universal swf that 
loaded all it's data from a file at runtime, no
re-compile necessary.

 I might be able to implement the same
thing in Flex itself, but 
it's going to be more work then it would be in
Flash because I have 
some of this functionality existing in Flash.

Thanks again for your help,
Jason



--- In flexcoders@yahoogroups.com,
Matt Chotin [EMAIL PROTECTED] 
wrote:
 I'm not sure why working offline requires you
to use Flash. Is the
 point that you want to deliver a SWF directly
instead of pointing 
users
 to an MXML file? This is something that
you can work out easily 
with
 Macromedia sales as far as the license
goes. Technically all you 
need
 to do is either use mxmlc to compile the MXML
file (a SWF will be 
output
 right there) or have your flex-config.xml set
keep-generated-swfs 
to
 true and you can pull the SWF from next to
your MXML file after 
you've
 hit it once with your browser. The SWF
itself is not the issue, 
it's
 making sure you're licensed to give your
users an offline SWF :-)
 
 
 
 Matt
 
 
 
 
 
 From: flexcoders@yahoogroups.com

[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of Jason
 Sent: Tuesday, June 21, 2005 2:53 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Using Flex Controls in
Flash 2004
 
 
 
 Hi Everyone,
 
 We have an existing Flex App, that creates
dashboards on the fly 
 that pull data from http services. It's
a beautiful thing as a 
real 
 working, live application.
However, creating an environment 
where 
 such an app can be delivered or at least
demo'ed 
entirely offline 
 is a challenge. The problem is that
both the layout and the data 
 need to be rendered at runtime, not design
time. The 
 article Dynamically Creating User
Interface Components is a 
small 
 scale example of this.
 
 http://www.macromedia.com/devnet/flex/articles/flexprimer_03.html
 
 
 I'm looking to recreate some of the Flex
controls in Flash. I 
 understand that the flexforflash.zip is both
outdated and 
deprecated 
 in functionality, but conceptually it would
be possible to reuse 
 these components back in the Flash
environment, provided we 
 populated the components with the correct
initial objects, etc. I 
 also understand this would probably require
implementing a large 
 portion of the Flex Framework back into
Flash, but it seems like 
 early on Flex v1.0 some of this may have been
done by providing 
the 
 flexforflash.zip in the first place.
For example the 
FlexforFlash, 
 contained mx.core.Application,
mx.containers.Panel, etc. How 
would 
 one go about using these components since
they were provided...?
 
 I've cobbled together the following example,
but after tracing, I 
 realize that my properties aren't getting
populated properly, and 
 the Panel isn't rendering correctly.
 
 Let me show the code below:
 
 import mx.core.Application;
 import mx.containers.Canvas;
 import mx.containers.Panel;
 import mx.charts.PieChart;
 
 trace(ROOT
PROTO:+_root.__proto__);
 
 // Init Object, App, Canvas, Panel...
 
 var MyApplication:Object = null;
 var pnl:Object = null; //mx.containers.Panel
 var cnv:Object = null; //mx.containers.Canvas
 var init:Object = null;
 var pChart:Object = null;
//mx.charts.PieChart
 
 MyApplication = new mx.core.Application();

trace(myApplication:+MyApplication);
 this.__proto__ = MyApplication;
 if (!(this.constructObject == undefined)) {

this.constructObject();
 } else {

trace(COULD NOT FIND CONSTRUCTOBJECT);
 }
 trace(Application:+application);
// Static Var should show ref?
 
 init = new Object();
 init.id = CANVAS;
 init.borderStyle = none;
 init.x = 10;
 init.y = 30;
 init.width = 800;
 init.height = 600;
 
 cnvs = createChild(mx.containers.Canvas,
cnvs, init) ;
 //cnvs.invalidate();
 
 init = new Object();
 init.id= PANEL1;
 init.x = 0.0;
 init.y = 0.0;
 init.width = 328.0;
 init.height = 296.0;
 init.title = Output Chart;
 init.headerHeight = 21;
 init.shadowDirection = right;
 init.panelBorderStyle =
roundCorners;
 

RE: [flexcoders] Extending Tree - setDataProvider()?

2005-06-22 Thread Matt Chotin










Could you write your Tree subclass in
MXML?



mx:Tree xmlns:mx=http://www.macromedia.com/2003/mxml
creationComplete=myRO.someMethod()

 mx:RemoteObject id=myRO
 /


mx:dataProvider{myRO.someMethod.result}/mx:dataProvider



 mx:Script

 //my functions go here

 /mx:Script

/mx:Tree



You could drop a Model/XML in there in the
meantime if you wanted.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby
Sent: Wednesday, June 22, 2005
6:24 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Extending
Tree - setDataProvider()?





I am extending the Tree and am attempting to assign a model and a
dataProvider via methods on the tree, hopefully
executed from the
constructor. I can't figure out how to declare a
Model within the
class definition since it is not a class, and
setting the dataProvider
doesn't work either. Although the lines below
compile, neither one
does anything.
this.setProperty(dataProvider,myData.xml);
this.dataProvider = myData.xml;
Although I am using flat files here, ultimately
the data would come
from a remoteObject when the tree is instantiated.

Could someone give me a gentle nudge in the right
direction on this?
The MM doco on Tree, TreeDataProvider, etc. is
sparse and provides no
examples.

Thanks,
Libby










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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] XMLSocket over SSL ?

2005-06-22 Thread Matt Chotin










Right now the socket cant send any
encrypted data, only plaintext.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sanjayd
Sent: Wednesday, June 22, 2005
11:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] XMLSocket
over SSL ?





Folks, Is there a way to create a XMLSocket connection over SSL ? I
hav a java socketServer that will only accept SSL
connections.
hanks in advance.

Sanjay










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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] Sort Order of mx.controls.Tree

2005-06-22 Thread Matt Chotin










Hmm, so you are receiving nodes with child
arrays and they are correct in the web service but wrong in the Tree? The
Tree shouldnt be reversing the order of any arrays. What if you
took the WebService result as literal XML and gave it to the Tree
(resultFormat=xml)? Maybe the deserialization into objects
is mucking the order up and leaving it in XML form would work better?



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of everesnet
Sent: Wednesday, June 22, 2005
9:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sort Order
of mx.controls.Tree





Hello,

I'm trying to use Tree with WebService result, and
I can show that.
Tree's treeDataProvider keeps sort order.
I mean treeDataProvider has arrays that is ordered
correct.

But tree's nodes are showing onother order of
rows.
It's same as tree's backingObject's order of rows.

I just set WebService result to dataProvider like
below.
mx:Tree
dataProvider={WebService.getDataResult} /

How can I set dataProvider's order of rows to
tree's.


thanx in advance,

makoto tsuyuki










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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] peculiar databinding irregularity...

2005-06-22 Thread Matt Chotin










This does seem odd. Have you tried
not using databinding and instead updating the datagrids manually in your
change handlers? I also suppose there could be some effect that plays
during selection and we cancel other pending operations but this seems a little
far-fetched. Id try removing binding from the equation and if youre
still having problems see if you can create a test case to post here.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tarik Ahmed
Sent: Wednesday, June 22, 2005
1:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] peculiar
databinding irregularity...





 Hmmm I seem to have encountered an unusual
situation. I did some 
testing to see if I could resolve it but didn't
make much progress, so 
I'll ping the list to see if anyone has an ideas.

The App
-
- Very simple app.
- Consists of 3 datagrids. Select an item in
datagrid 1, and a list of 
related items shows in data grid 2. Select an item
in data grid 2, and a 
list of related items shows in data grid 3.
- There is a combo box that filters on data grid
1. If you change it, 
the list in datagrid 1 refreshes with a new list,
and DG2  3 are cleared.
- Content can be added to all 3 of these grids
with add buttons that 
take you to a form, and refresh appropately.

Generally works with no problems.

The Problem
-
For one extremely particular case where when
adding a new item to each 
of the grids (works fine), the problem is related
to whether you've 
selected a row on DG3 (it has no change function
associated with it) and 
then try changing that combo box, which should
update DG1... it doesn't 
happen. However the array that DG1 is bound to is
updated, but it's not 
refreshing the list.

This particular sequence of actions seems to
prevent Flash from 
detecting that the array that DG1 is bound to has
changed and causing 
DG1 to redraw. But works fine in any other
combination of usage (eg in 
DG3 if you don't select a row, works fine).

The Question
--
Is there some circumstance, or attribute that if
not cleared prevents a 
datagrid from refreshing its list when the
dataProvider as changed? I 
tried invalidate(), dg1.selectedItem=NULL, etc...
amongst other things...

Thx.












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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












RE: [flexcoders] bypass the change event

2005-06-22 Thread Matt Chotin










What if you used the ComboBox prompt
property instead and only set the selectedIndex if you have a real value?
It might avoid the change event firing there too. 



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of dwellet
Sent: Wednesday, June 22, 2005
1:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] bypass the
change event





I have this combobox.

The combobox is populated by a webservice.

When the webservice result arrives, I have a
utility function that
adds a 'Pick an item...' sort of option at the top
of the dropdown,
and then selects the appropriate selected
item. If there is no
appropriate selected item, it picks index 0 (the
dummy 'Pick an
item...').

I have a validator that validates that the
combobox has a real
selection.

The problem is... I want my utility function to
happen in stealth
mode. If the user changes the combobox, I want it
to be validated. But
if I programatically set the selectedIndex, I
don't want any events to
fire and trigger validation.

Ironically, I read that in Flex 1.0, changing the
selectedIndex did
not fire a change event, but this was fixed
in 1.5. The old behavior
is precisely what I want. Any way to temporarily
bypass that change
event firing?

Code included below... Thanks for your help!

-Tim.




[ComboBoxValidator.as]


import mx.controls.*;
import mx.validators.*;

/* ComboBoxValidator
*
* Validate that a user does not select the dummy
option (eg.
* 'Pick a value...') in a required combobox.
*
*/
class ComboBoxValidator extends Validator
{
 public function
doValidation(foo:String) : Void
 {
 var n =
Number(foo);
 if (n == 0)
 {

validationError(noSelection, Field is required., null);
 }
 }
}





[Test.mxml]


mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

xmlns:dom=*

creationComplete=start()

 mx:Script
 ![CDATA[
 import
mx.controls.*;
 import
mx.containers.*;
 import
mx.managers.*;
 import
mx.validators.*;

 import
com.dom.sampling.vo.*;

 var
model : SampleSite;

 var
PICK_A_FACILITY_TYPE : FacilityType;

 /*
start()
 *
 *
Perform basic setup.
 *

*/

function start()
 {

PICK_A_FACILITY_TYPE = new FacilityType();

PICK_A_FACILITY_TYPE.name = Choose a facility type...;

service.getAllFacilityTypes();


if (!model)

{

model = new SampleSite();

}
 }

 /*
prepareCombobox()
 *
 *
Prepares a combobox by adding a first, descriptive
 *
option (eg. 'Pick a value...') to the dropdown. It
 *
also sets the initial value of the combobox, either
 *
to the item matching the passed in initialValue, or
 *
if no match is found, to the first item in the
 *
combobox.
 *
 *
@param combobox the combobox to prepare
 *
 *
@param pickAValue the first, descriptive option

*
(eg. 'Pick a value...') to add

*
to the combobox
 *
 *
@param initialValue the initialValue the combobox

*
should be set to

*/
 public
function prepareComboBox(combobox: ComboBox,

pickAValue: Object,

initialValue: Object) : Void
 {

if (pickAValue)

{

combobox.addItemAt(0, pickAValue);

combobox.selectedIndex = 0;

}


if (initialValue)

{

for (var i=0; i  combobox.length; i++)

{

var item = combobox.getItemAt(i);


// object

if (item instanceof Object 

item.id == initialValue.id)

{

combobox.selectedIndex = i;

}


// non-object

else if (item == initialValue)

{

combobox.selectedIndex = i;

}

}

}
 }

 ]]
 /mx:Script

 mx:WebService
id=service

wsdl=/sampling-ws/services/LocationService?wsdl

showBusyCursor=true


mx:operation name=getAllFacilityTypes

result=prepareComboBox(facilityType,
PICK_A_FACILITY_TYPE,
model.facilityType)/

 /mx:WebService

 mx:Panel
title=Administer Sample Site width=100%

mx:FormItem width=100% required=true
label=Facility
Type

mx:ComboBox id=facilityType
dataProvider={service.getAllFacilityTypes.result}
labelField=name/

/mx:FormItem
 /mx:Panel

 mx:Model
id=validationModel

facilityType{facilityType.selectedIndex}/facilityType
 /mx:Model

 dom:ComboBoxValidator
required=true
field=validationModel.facilityType/

/mx:Application









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








Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] SOAP through a socket

2005-06-22 Thread Sean McKibben
Is there a way to invoke the SOAP deserializer to read in data from  
an XMLSocket connection? If my server sends an information push (in  
xml SOAP format) to all connected clients, I want them to get the  
data that is broadcast in object form, just as if the XML had been  
sent through a webservice result. Any ideas for manually invoking the  
deserializer with either an XML string or a XML object?


Thanks,
Sean McKibben




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

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

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

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