[flexcoders] Re: Good Code Stops Working For Me Too

2006-08-06 Thread Eric Raymond
Any news on this bug?  I kmow all attention is on Flex 2, but is there
any respite for your oldest customers who continue to bump into this
problem?

Guess what, we've got it again.  And the property it is having a
problem binding to is this which is not much help.


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

 I've mailed into support again, I'll see what they say.
 
  
 
 Matt
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Simon Fifield
 Sent: Tuesday, May 09, 2006 12:15 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Good Code Stops Working For Me Too
 

 
 I've checked that the code does not have any binding warnings - it does
 not. I've checked for the dreaded NoChange bug and it does have this.
 
  






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

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

* 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 this a bug, or is it just me?

2006-08-06 Thread sinatosk



well not to be rude but I've explained alot plus I've asked you to read the documentation and clearly you havn't or you missed it or something... and the answer is in there :pread the documentation
On 06/08/06, Rick Root [EMAIL PROTECTED] wrote:













  



I still don't understand the following.

When you drag one item over, it appears in the tree.

The tree has a dataProvider.  It contains that one item.

dest.dataProvider.toString() absolutely should show something.

I understand the whole root node thing, it still doesn't explain why I 
can't dump the dataProvider using the object's toString() method, 
because it STILL HAS DATA.

Rick


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] accessing itemClick event of TabNavigator

2006-08-06 Thread douglas morrison
hi all,

just wondering if there was a way to access the itemClick event of  
the TabBar within a TabNavigator component. rather than create a new  
event listener, i am sure there is a way to use the one that's  
already there, just can't put my finger on it...

thanks,
doug


--
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] Extending Peter Ent Gauge component example

2006-08-06 Thread richmcgillicuddy
Hello,


I was trying to extend the gauge component example that was made
available via Peter Ent. I ran into a number of issues. I think most
of the issues are just my lack of understanding of how the styles work
for a component. I wanted to create 10 gauges at random locations, set
their properties and then move them to another location. The code
looks like:

   private function onAddTen(): void {
var nIndex : int;
for (nIndex = 0; nIndex  10; nIndex ++) {
myGauge = new Gauge();
// This works
myGauge.width = 75;
myGauge.height = 75;
// This works
myGauge.x = getRandom(100, 1000);
myGauge.y = getRandom(100, 1000);
// This does not Work!, no Alphas are set
myGauge.setStyle(coverAlpha, getRandom(40, 80));
myGauge.setStyle(borderAlpha, getRandom(40, 80));
myGauge.setStyle(needleAlpha, getRandom(40, 80));
myGauge.setStyle(coverColor, 0xf7f083);
myGauge.setStyle(backgroundAlpha, getRandom(40, 80)/100);
myGauge.setStyle(backgroundColor, 0x6185ed);
// The image substitution does not work
var tmpImage:Image = new Image();
tmpImage.load(/gauge/skins/graphic/BitmapFrame.png);
myGauge.setStyle(frameskin, tmpImage);


// This has no effect
myGauge.alpha = 55;
// Alpha comes back as NaN
myGauge.toolTip = I have a tooltip, my location is  +
myGauge.x + , + myGauge.y + \n my alpha is +
myGauge.getStyle(backgroundAlpha)*100;
this.addChild(myGauge);
// This works
playMove(myGauge, getRandom(100, 1000), getRandom(100, 1000));
}
   }
]]

My question is that many of the styles that I set do not get set. I've
walked through the code and looks like they are getting set but when
the tooltip is created, the values are not there and visually, the
alphas do not get set. Also the setting the skin to an image does not
work.  Any ideas on what I am doing incorrectly?


Thanks in advance,


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:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Help with SharedObject please!

2006-08-06 Thread wayneposner
Well, my combo box displays the values from the SO when it's working 
so I have verification that way.  Also, when running using the Flex 
Builder debug, I have trace statements going to the console which 
confirm data in my SO.  No matter what, though, it won't get 
anything from my SO when running via a URL.  This is pretty darn 
frustrating :-)

 

Wayne



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

 How about just adding a TextArea control to the stage then trace 
to it ?
 
 
 
 
 On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:
 
If I trace it locally the shared object returns what it's 
supposed
  to. I'm still relatively new to flex so pardon my asking, but how
  do you configure flex to trace data from a deployed swf (ie.
  running from a url). I know if I try to just simply run the debug
  files generated by flex, I get prompted for where the debugger is
  running. Selecting localhost never seems to work for me as it 
just
  keeps re-prompting me for the location of the debugger.
 
  Wayne
 
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Jeremy
  Lu wade.lu@ wrote:
  
   Looks like a security problem, can you trace the contents 
stored
  in the
   sharedobject and see if all data are kept there ?
  
   Jeremy.
  
   On 8/5/06, wayneposner wayne.posner@ wrote:
   
Howdy all...
   
I trying to use a SharedObject to keep user entered search
  strings in
a drop-down box like the Google IE Toolbar. This works fine 
when
  I'm
running the app locally, but as soon as I move it to a 
server and
access it via a URL, it stops working.
   
Does anyone know what might be causing this? I haven't 
changed
  any
compiler options except the default background color.
   
Thanks!
Wayne
   
   
   
  
 
   
 








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

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

* 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] Concurrent Image Loading

2006-08-06 Thread gotgoose09
Do multiple Image components load images at the same time or one after
the other?

The reason I'm asking is that I created a Pic Viewer app in Flash 7
that would, while one picture was being viewed, load the next picture
into a buffer MovieClip.  The 2nd MovieClip would then be set to
visible after a few seconds elapsed, and the 1st MovieCilp would be
loaded with the next picture and be set to invisible.

I did a test in which I loaded 8 pictures of varying file size into 8
Image components.  The output looks something like this:

1. very Large (1600K bytes)
2. Small
3. Small
4. Large (600K bytes)
5. Small
6. Small
7. Small
8. Small

In this test images 2 and 3 appeared immediately. After a delay
image 4 was followed immediately by 5,6,7 and 8 and then finally after
another delay image 1.

This would seem to suggest concurrent loading because 2 and 3 were
displayed before 1.  However, since 5,6,7 and 8 did not appear until 4
was displayed I am not sure what is goin on.  Can anyone shed some
light on this situation?






--
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] gotoAndStop Crash

2006-08-06 Thread John Chipps-Harding



Hi:I have uploaded an example of the gotoAndStop causing the flash player to crash... just quickly move the character about randomly and let me know if it crashes on yours!
http://www.ukmn.net/studio/playframe/test_02/boxtrix.htmlPlease could you let me know if this is an issue with my system or does it crash on every machine?Regards:John

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Load customized mxml component dinamically?

2006-08-06 Thread terencarter
--- In flexcoders@yahoogroups.com, user_abcxyz [EMAIL PROTECTED] wrote:

 Hi All,
 
 Does anyone know how to do it? For e.g. I created a customized mxml 
 video component and a customized mxml audio component. At runtime, I 
 allow the user to choose which one to load by clicking on the audio or 
 video button.
 
 Thank you


try using States
one that shows the video component, and another state that shows the
audio component.

when the user clicks the button, the appropriate state is chosen...





--
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] Re: Is there a way to search and append an XMLListCollection

2006-08-06 Thread Dave Bobby
I am sure that this is a very common problem, I would appreciate any 
hints here.

Thanks.

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

 I have been looking for the past 4 hours, maybe not looking in the 
 right place.
 
 I need to update my Tree component, with the new XML retrieved 
 through the HttpService. I need to find the node that was clicked 
and 
 then append to this node. 
 
 Where can i start, clues/hints/...








--
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] gotoAndStop Crash

2006-08-06 Thread sinatosk



it crashes here too :pOn 06/08/06, John Chipps-Harding [EMAIL PROTECTED] wrote:













  



Hi:I have uploaded an example of the gotoAndStop causing the flash player to crash... just quickly move the character about randomly and let me know if it crashes on yours!

http://www.ukmn.net/studio/playframe/test_02/boxtrix.htmlPlease could you let me know if this is an issue with my system or does it crash on every machine?Regards:John

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] The Date chooser control

2006-08-06 Thread Syed Mazhar Hasan Qadri
Hello Everyone! How can i implement DateChooser component, i mean, if 
i 
make some posts in my BLog, i want those dates to be highlighted in my 
DateChooser componenet (The same functionality that you see on 
thousands of non-flash blogs). How to tell the DateChooser component 
that there is an event on this date. I know there is method for 
specifying selectableRange but how to implement the functionality that 
i described above. 

Thanks And Regards!
Syed Mazhar Hasan






--
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] Re: Timer to run function every 30 min

2006-08-06 Thread richmcgillicuddy
From the docs:


package {
import flash.utils.Timer;
import flash.events.TimerEvent;
import flash.display.Sprite;

public class TimerExample extends Sprite {

public function TimerExample() {
var myTimer:Timer = new Timer(1000, 2);
myTimer.addEventListener(timer, timerHandler);
myTimer.start();
}

public function timerHandler(event:TimerEvent):void {
trace(timerHandler:  + event);
}
}
}


so your 'code' would look something like:
   // Using the suggestion from an earlier post, use the interval
as the default
 // Also, make it public var so you can adjust it if you want,
have a slider to offer more frequent updates or less frequent updates
or turn off.  This would be myTimer.delay = slider.value or something
similar...
  var interval:Number = 60 * 30 * 1000;
  // Leave off second param here to make it go indefinitely
  var myTimer:Timer = new Timer(interval);


  public function initTimer: void {
  myTimer.addEventlistener(timer, timerHandler);
  myTimer.start();
}
  public function timerHandler(event:TimerEvent):void {
trace(timerHandler:  + event);
 // Lookup weather, update datasets, update display
 // Don't know yet if you need to turn off timer, then turn on
at end in case update takes too long.
}
--- In flexcoders@yahoogroups.com, David Brown [EMAIL PROTECTED] wrote:

 Thank you for you're help.  The timer event is the part I am having
trouble with.  I don't know how to write or where to start.  Any
suggestions would be great.
 
 David
 
   - Original Message - 
   From: sinatosk 
   To: flexcoders@yahoogroups.com 
   Sent: Saturday, August 05, 2006 5:41 PM
   Subject: Re: [flexcoders] Timer to run function every 30 min
 
 
   60 * 30 * 1000
 
   60 seconds
   times
   30 minutes
   times
   1000 miliseconds
   equals
   180
 
   I recommend using 60 * 30 * 1000 instead of the 180 so
it's easier for you to change/debug 
 
   and then just add an event listener on timer event name along
with the function you want it to call upon 30 minutes and then your
done :p
 
 
 
   On 05/08/06, David Brown [EMAIL PROTECTED] wrote:
 
 Hello all,
 
 I could use some help.  I have been
livedocs.macromedia.com/flex/2docs looking for a way to create a timer
function that would execute a function every 30 min.  I found an
example of mytimer and looked at a example for simple analog clock. 
But I am having a hard time understanding how it relates to my code. 
Below is a code snipet.
 
 I would like to run the InitApp() function every 30 min.  That
should refresh my two datagrids that inturn will update my screen.
 
 Any help would be great.
 
 Thank 
 David
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute width=500 height=56
backgroundGradientColors=[#ff, #ff]
creationComplete=initVars() horizontalAlign=center
verticalAlign=middle borderColor=#ff backgroundColor=#ff
borderStyle=solid borderThickness=1
  mx:Script
 ![CDATA[
import mx.logging.LogEvent;
/* import flash.events.MouseEvent;
import mx.events.FlexEvent; */
import mx.styles.CSSStyleDeclaration;
  import mx.effects.*;
import mx.events.*;
  import mx.rpc.events.*;
  import mx.controls.Alert;
import mx.managers.PopUpManager;
import flash.events.Event;
   import flash.events.TimerEvent;
   import flash.utils.Timer;   
 import mx.controls.Alert;
 import mx.collections.*;
 import flash.net.*;
 import flash.display.Sprite;
   [Bindable] 
  public var mylocID:String;
 
   // Assign values to new properties.
  private function initVars():void {
 InitApp();
  }
 public function InitApp():void
{ 
 // assign values passed from the html object flashvars
 mylocID = Application.application.parameters.mylocID;
 // if no value passed from the html object tag then assign value
 if (mylocID == null) {
  mylocID = 29223;
 }
 // get weather
 weatherSvc.qryCurrentWeather(mylocID);
 weatherSvc.qryExtendedWeather(mylocID);
 // set focus on the first row of the grids
 dgCurrentWeather.selectedIndex = 0;
 dgExtendedWeather.selectedIndex = 0; 
}

  ]]
 /mx:Script
 
  mx:RemoteObject id=weatherSvc destination=ColdFusion
source=Widgets.cfc.widgets showBusyCursor=true /








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

* To visit your group on the web, go to:
   

[flexcoders] ContextMenu: is there a way to prevent my component's label from being the mouseTarget?

2006-08-06 Thread Tom Bray



Say you have a custom component called MyBox and it has label inside it. You create lots of nested boxes and you want to be able to right click on each box and have it be the mouseTarget for your contextMenu event. The problem is that if you right click on the label that's inside the box, your mouseTarget contains the label component and the textfield that's inside the Label. For example:
container1.myBox1.label123.textfield456when what you want is:contianer1.myBox1Is there a way to make it so that the Label is ignored and I just get a reference for the box I'm interested in?
Thanks,Tom

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Timer to run function every 30 min

2006-08-06 Thread David Brown
Thank you for your help.  I managed to get a timer function written, 
but everytime the timerEvent runs it blanks out the display.

The page loads and displays the weather and then calls the 
timerExample every second (for testing).  But each time the 
TimerEvent runs the weather data displays, but disapears just as 
soon as it displays. While the timer is counting to the next event 
the weather does not display.  Then after it's complete it leaves 
the display blank.

Below is the entire code.  I would be greatful for any suggestions.  
Maybe its the datagrid, just not sure.

David

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute width=490 height=56 
backgroundGradientColors=[#ff, #ff] 
creationComplete=initVars() horizontalAlign=center 
verticalAlign=middle borderColor=#ff 
backgroundColor=#ff borderStyle=solid borderThickness=1
mx:Script
![CDATA[
import mx.logging.LogEvent;
/* import flash.events.MouseEvent;
import mx.events.FlexEvent; */
import mx.styles.CSSStyleDeclaration;
import mx.utils.ArrayUtil;
import mx.effects.*;
import mx.events.*;
import mx.rpc.events.*;
import mx.managers.PopUpManager;
import flash.events.Event;
import flash.events.TimerEvent;
import flash.utils.Timer;
import flash.net.*;

[Bindable]  
public var mylocID:String;

// Assign values to new properties.
private function initVars():void {
InitApp();
//  ShortTimer();
}
public function InitApp():void
{   
// assign values passed from the 
html object flashvars
mylocID = 
Application.application.parameters.mylocID;
// if no value passed from the html 
object tag then assign value
if (mylocID == null) {
mylocID = 29223;
}
// get weather
weatherSvc.qryCurrentWeather
(lbmylocid.text);
weatherSvc.qryExtendedWeather
(lbmylocid.text);

// set focus on the first row of the 
grids
dgCurrentWeather.selectedIndex = 0;
dgExtendedWeather.selectedIndex = 0;
TimerExample();
}

public function TimerExample() {
var myTimer:Timer = new Timer(1000, 5);
myTimer.addEventListener(timer, timerHandler);
myTimer.start();
}

public function timerHandler(event:TimerEvent):void {
// get weather
weatherSvc.qryCurrentWeather(lbmylocid.text);
weatherSvc.qryExtendedWeather
(lbmylocid.text);   
}


 ]]
/mx:Script

mx:RemoteObject id=weatherSvc destination=ColdFusion 
source=Widgets.cfc.widgets showBusyCursor=true /

!-- Declare a formatter and specify formatting properties. --
mx:DateFormatter id=StandardDateFormat 
formatString=MM/DD/ @ L:NN A/
!-- holds the current weather --
mx:DataGrid visible=false height=50 width=50 
id=dgCurrentWeather 
dataProvider={weatherSvc.qryCurrentWeather.lastResult} /
!-- holds the extended weather --
mx:DataGrid visible=false height=50 width=50 
id=dgExtendedWeather 
dataProvider={weatherSvc.qryExtendedWeather.lastResult} /

mx:ViewStack x=5 y=-2 id=vsWeather width=483 
height=56 selectedIndex=0
mx:Canvas label=Current id=CurrentView 
width=493 height=58
mx:Label id=lbmylocid visible=false 
text={mylocID} /
mx:Label x=-3 y=-1 text=WEATHER 
id=WeatherLabel fontSize=13 fontWeight=bold color=#ff8000/
mx:Label id=conditions 
text={StandardDateFormat.format
(dgCurrentWeather.selectedItem.CurrentDate)} x=-1 y=18 
fontSize=11/
mx:Label x=-2 y=35 text=UV Index: 
{dgCurrentWeather.selectedItem.uvIndex} id=uvIndex 
color=#ff fontSize=11/
mx:Image x=141 y=2 id=WeatherIcon 
source=images/32x32/{dgCurrentWeather.selectedItem.icon} 
width=32 height=32/
mx:Label x=179 y=16 
text={dgCurrentWeather.selectedItem.temp} F id=temp 
fontWeight=bold fontSize=12/
mx:Label x=179 y=33 

[flexcoders] tree drag drop

2006-08-06 Thread Lisa Nelson





I 
think this should be a simple thing to do, but I haven't been able to figure out 
the answer.

I have 
a really simple tree with an array collection as a data provider. 


mx:Tree id="fundTree"
 
dataProvider="{fundList}"
 
labelField="fundShortName"
 
dragEnabled="true"
 
dragMoveEnabled="true"
 
dropEnabled="true"
 
dragDrop="onDragDrop(event);"
/mx:Tree

If the 
user wants to move an element up or down the tree, I can see where to remove the 
item from the array collection, but I don't know where to add it to. How 
do I figure out the drop location?
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] Flex 2 and Access Databases

2006-08-06 Thread Paul Andrews
- Original Message - 
From: edugalvez [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, August 06, 2006 8:00 PM
Subject: [flexcoders] Flex 2 and Access Databases


 Hi.

 I'm a rookie about Flex.

 Can I connect my Flex 2 application to my Access Database on the
 server?

No and Yes.

Flex does not have any facilities for accessing databases directly. 
Server-side software is required for the
Flex client to communicate with. The server side software could be Java, 
PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
interacting with the database.

So yes, you could access Access using flex2, but only by writing a 
server-side software layer to do that interaction for Flex2. Flex doesn't do 
direct database access.

Paul


 Thanks 




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

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

* 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: ContextMenu: is there a way to prevent my component's label from being the m

2006-08-06 Thread Jason
I have solved this problem in the past will a little bit of
ActionScript.  You will need to know a little bit about what your
components are named beforehand.

I have not written this up for AS3 yet, but this is how you would do
it in AS2.  (I am not sure if '_parent' is still the right param to
the the parent instance name or not ... it might just be 'parent') 

You want:
mouseTarger = contianer1.myBox1

But you are getting:
mouseTarget = container1.myBox1.label123.textfield456

if(mouseTarget.indexOf(textfield) != -1){
   mouseTarget = mouseTarget._parent._parent;
} else if (mouseTarget.indexOf(label) != -1){
  moustTarget = mouseTarget._parent.
}


good luck

--jason



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

 Say you have a custom component called MyBox and it has label inside it.
 You create lots of nested boxes and you want to be able to right
click on
 each box and have it be the mouseTarget for your contextMenu event.  The
 problem is that if you right click on the label that's inside the
box, your
 mouseTarget contains the label component and the textfield that's
inside the
 Label.  For example:
 
 container1.myBox1.label123.textfield456
 
 when what you want is:
 
 contianer1.myBox1
 
 Is there a way to make it so that the Label is ignored and I just get a
 reference for the box I'm interested in?
 
 Thanks,
 
 Tom








--
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] Re: Flex 2 and Access Databases

2006-08-06 Thread Jason
If you are not deploying your app to a Web server and have the option
to wrap your SWF in a EXE 'projector' then look into MDM Zinc.  Zinc
has the ability to connect to a DB without a Web server technology
like ASP, PHP, etc.

--jason

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

 - Original Message - 
 From: edugalvez [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, August 06, 2006 8:00 PM
 Subject: [flexcoders] Flex 2 and Access Databases
 
 
  Hi.
 
  I'm a rookie about Flex.
 
  Can I connect my Flex 2 application to my Access Database on the
  server?
 
 No and Yes.
 
 Flex does not have any facilities for accessing databases directly. 
 Server-side software is required for the
 Flex client to communicate with. The server side software could be
Java, 
 PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
 interacting with the database.
 
 So yes, you could access Access using flex2, but only by writing a 
 server-side software layer to do that interaction for Flex2. Flex
doesn't do 
 direct database access.
 
 Paul
 
 
  Thanks







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

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

* 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 2 and Access Databases

2006-08-06 Thread Dave Wolf
You should be able to get away with writing very little actually. 
Check out this article

http://msdn.microsoft.com/library/en-us/dnxpwst/html/odc_wsaccess.asp?frame=true

and this toolkit

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpwst/html/odc_wstoolkitoverview.asp

This will jumpstart your ability to expose your access database as a
series of web services. You can then connect to these web services
using the Flex mx:WebService/ tags.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 - Original Message - 
 From: edugalvez [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Sunday, August 06, 2006 8:00 PM
 Subject: [flexcoders] Flex 2 and Access Databases
 
 
  Hi.
 
  I'm a rookie about Flex.
 
  Can I connect my Flex 2 application to my Access Database on the
  server?
 
 No and Yes.
 
 Flex does not have any facilities for accessing databases directly. 
 Server-side software is required for the
 Flex client to communicate with. The server side software could be
Java, 
 PHP, ASP, RoR, a web service, etc returning data to the Flex Client and 
 interacting with the database.
 
 So yes, you could access Access using flex2, but only by writing a 
 server-side software layer to do that interaction for Flex2. Flex
doesn't do 
 direct database access.
 
 Paul
 
 
  Thanks







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

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

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

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




[flexcoders] [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Thomas Rühl -akitogo-

Hi folks,

it's been a while now, since the Flex2 SDK is out and rockin' ;)

Not only for larger projects, multiple teams or team members and 
documentation purpose, I'd like to know, what everyone is using for 
modelling a Flex application. For the Java world I know, the tools 
available are very powerful and work very well out of the box and 
integrate with each other. There are also things like OmondoUML, which 
we can be used for designing Java apps (doing use case and sequential 
diagram sort of stuff) in conjunction with creating the corresponding code.

The lack of Flex-specific tools for that kind of work still leads 
towards endless times spent on the drawing table - at least on my side.

So, the question coming up my mind is, in what ways do you all design 
your Flex applications before/during or after implementation, if any...?


Cheers, Thomas




   Thomas Rühl
   Design, Programming  Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.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:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Java developers: How do you organize your projects?

2006-08-06 Thread Dave Bobby
Currently, I have a client-side flex running in Flex Builder stand-
alone and a java server-side which is running in Eclipse, eventually 
deployed to tomcat.

Now when I run from my Flex Builder, I can access my tomcat by just 
saying http://localhost:8080/project/login.html?user=apass=b

. but this is not extensible, so the question is how do you 
physically lay out your projects? 

. do you have ant builds that create a war with all the files  copied 
over?

. do you separate your flex builder from eclipse or run them together 
as flex (plugin) and java (in eclipse) at one time

. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be 
in root/com/... 

I need to set this up fast before other developers join the project, 
appreciate your inputs.

Thanks.

Dave.







--
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] Custom item renderer and view states

2006-08-06 Thread joostnuijten
Hi there,
 
I'm having this custom itemrender (which is an AS-class, not a MXML).
When a user clicks on an item the view state should switch to
'selected'. The selectedstate adds an Text tag. But for some reason
the text box does not show up. When I add an effect to the selected
state, the effect shows up after clicking. So the state change works,
but why is the text box not visible?
 
The code:
albums:AlbumBrowser
id=albumBrowser
width=600
dataProvider={Model.instance.album.aPhotoAlbumsOnPage} 
 
albums:itemRenderer
mx:Component id=albumRenderer
albums:AlbumRenderer
buttonMode=true (which is an AS-class that extends UIComponent and
implements IDataRenderer)
 
albums:states
mx:State name=selectedState
mx:AddChild
mx:Text text=This a test/
/mx:AddChild
/mx:State
/albums:states
 
/albums:AlbumRenderer
/mx:Component
/albums:itemRenderer
 
/albums:AlbumBrowser
 
Anyone? Thanks. 
 
 
Joost






--
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] Custom item renderer and view states

2006-08-06 Thread Joost Nuijten





Hi 
there,

I'm having this 
custom itemrender (which is an AS-class, not a MXML). When a user clicks on an 
item the view state should switch to 'selected'. The selectedstate adds an Text 
tag. But for some reason the text box does not show up. When I add an effect to 
the selected state, the effect shows up after clicking. So the state change 
works, but why is the text box not visible?

The 
code:albums:AlbumBrowserid="albumBrowser"width="600"dataProvider="{Model.instance.album.aPhotoAlbumsOnPage}" 


albums:itemRenderermx:Component 
id="albumRenderer"albums:AlbumRendererbuttonMode="true" 
(which is an AS-class that extends UIComponent and implements 
IDataRenderer)

albums:statesmx:State 
name="selectedState"mx:AddChildmx:Text text="This a 
test"//mx:AddChild/mx:State/albums:states

/albums:AlbumRenderer/mx:Component/albums:itemRenderer

/albums:AlbumBrowser

Anyone? Thanks. 



Joost
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



Re: [flexcoders] accessing itemClick event of TabNavigator

2006-08-06 Thread douglas morrison


OK...I was just being brain-dead. I was thinking since TabNavigator behaved it liked a TabBar control with a ViewStack container, that's what it was. After looking at the code, I see it is not really the case. So I just have a TabBar controlling a ViewStack and all is good in code monkey land.  So when a tab is selected, it runs various functions based on the index value of the tab. It works with everything except where on one function i want to use Menu.show() to create a popup list of options. It just seems to ignore this one and runs everything else. Anyone else have this problem??? Or better yet a solution :-)--DougOn Aug 5, 2006, at 11:33 PM, douglas morrison wrote:hi all,just wondering if there was a way to access the itemClick event of the TabBar within a TabNavigator component. rather than create a new event listener, i am sure there is a way to use the one that's already there, just can't put my finger on it...thanks,doug
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___


Re: [flexcoders] Problem with charts license

2006-08-06 Thread Bill Lane



Thanks Dave,

that confirms what I suspected. We are currently chasing it up with 
our IT people. Hopefully it won't take too long to resolve.

Bill Lane "Dave Carabetta" [EMAIL PROTECTED] 
08/05/06 2:42 am 

On 8/4/06, Bill Lane [EMAIL PROTECTED]edu.au 
wrote: I'm having a problem with inputting our serial number for 
Flex Charting. FB2 has accepted the serial number no problem. But 
the charting says it's invalid. Should there be a different serial 
number for charting compared to FB2. Our IT guys say they only have 
one number and the order form confirms that we ordered charting. 
Anyone else had a similar problem.There are definitely 2 
serial numbers, as you can have FB without thecharting, as you're aware. 
Have your IT guys circle back with whoeverthey placed the order with to 
track down the charting serial number.We received 
two.Regards,Dave.


gifzBUQUS2iTH.gif
Description: GIF image


binxg7pdvndLG.bin
Description: image/com/serv


RE: [flexcoders] Re: Validators -- Is there a better way of doing this? (Flex 2)

2006-08-06 Thread Matt Chotin












Well the valueCommit event is meant to
encompass more of those events so you dont have to think about all the
sub-events. It wouldnt capture the change event but often
you dont want to validate then anyway











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Raheen M Shabbazz
Sent: Friday, August 04, 2006 9:11
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Validators -- Is there a better way of doing this? (Flex 2)











Still encountering this issue -- any ideas?

--- In [EMAIL PROTECTED]ups.com,
Raheen M Shabbazz
raheen_m_shabbazz@... wrote:

 Hello All,
 
 I'm using Flex 2 to develop an app that requires some validation. I
 can't seem to find any info on how to reuse validators or how to use
 several trigger events within in a single validator. 
 
 Below is a snippet of my code
 
 --
 mx:NumberValidator source={view.longitudeText}
property=text
 minValue=-180 maxValue=180
 trigger={view.longitudeText} triggerEvent=change
/ 
 mx:NumberValidator source={view.longitudeText}
property=text
 minValue=-180 maxValue=180
 valid=view.restSampleViewHelper.getMap()
 trigger={view.longitudeText} triggerEvent=enter
/ 
 mx:NumberValidator source={view.longitudeText}
property=text
 minValue=-180 maxValue=180
 valid=view.restSampleViewHelper.getMap()
 trigger={view.longitudeText} triggerEvent=focusOut
/ 
 
 mx:NumberValidator source={view.latitudeText}
property=text
 minValue=-180 maxValue=180
 trigger={view.latitudeText} triggerEvent=change
/ 
 mx:NumberValidator source={view.latitudeText}
property=text
 minValue=-180 maxValue=180
 valid=view.restSampleViewHelper.getMap()
 trigger={view.latitudeText} triggerEvent=enter
/ 
 mx:NumberValidator source={view.latitudeText}
property=text
 minValue=-180 maxValue=180
 valid=view.restSampleViewHelper.getMap()
 trigger={view.latitudeText} triggerEvent=focusOut
/ 
 --
 
 That's pretty ugly -- expecially considering that this is only 2 of my
 20+ variables. Is there a better way? What am I missing?
 
 Thanks for your help!







__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] Is there a way to search and append an XMLListCollection

2006-08-06 Thread Matt Chotin












You can append using the += operator. 



Seaching you would do using e4x
expressions or just normal iteration till you find the right one. In Tree the
selectedItem should be the node that was clicked.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dave Bobby
Sent: Friday, August 04, 2006
12:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Is there a
way to search and append an XMLListCollection











I have been looking for the past 4 hours, maybe not
looking in the 
right place.

I need to update my Tree component, with the new XML retrieved 
through the HttpService. I need to find the node that was clicked and 
then append to this node. 

Where can i start, clues/hints/...






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] Re: Good Code Stops Working For Me Too

2006-08-06 Thread Matt Chotin












You should contact support directly for
this probably. Let me know if you need help with this.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Eric Raymond
Sent: Sunday, August 06, 2006
12:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Good
Code Stops Working For Me Too











Any news on this bug? I kmow all attention is on Flex
2, but is there
any respite for your oldest customers who continue to bump into this
problem?

Guess what, we've got it again. And the property it is having a
problem binding to is this which is not much help.

--- In [EMAIL PROTECTED]ups.com,
Matt Chotin [EMAIL PROTECTED] wrote:

 I've mailed into support again, I'll see what they say.
 
 
 
 Matt
 
 
 
 
 
 From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
 Behalf Of Simon Fifield
 Sent: Tuesday, May 09, 2006 12:15 AM
 To: [EMAIL PROTECTED]ups.com
 Subject: RE: [flexcoders] Good Code Stops Working For Me Too
 

 
 I've checked that the code does not have any binding warnings - it does
 not. I've checked for the dreaded NoChange bug and it does
have this.
 
 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Matt Chotin












If you are bound to the ArrayCollection
then manipulating the AC itself doesnt re-trigger the binding. You need
to do a re-assignment. If that isnt working make sure that the variable
for your AC is [Bindable] and if you wrote a setter and used [Bindable(event=)]
that you actually dispatched the event.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
Sent: Sunday, August 06, 2006
10:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] [Flex
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new
ArrayCollection()











Hi,

I'm experiencing a bug with an ArrayCollection. I want to remove the contents
and the new state should dispatch a Binding, but this is not happen at all.

I was trying several methods:

* setting to null; 
* new ArrayCollection();
* calling removeAll()
* calligin refresh() as well

but nothing happens.

I suppose that this should be a known issue, anyone knows some trick to avoid
this problem?

Thanks. 

-- 
::| Carlos Rovira
::| http://www.carlosrovira.com 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___






[flexcoders] Dump?

2006-08-06 Thread malik_robinson
Hi,

How can I dump the following variable loginVO and see its output?

public function loginUser() : void
   {
  var loginVO : LoginVO = new LoginVO();
  loginVO.username = username.text;
  loginVO.password = password.text;

  var event : LoginEvent = new LoginEvent( loginVO );
  CairngormEventDispatcher.getInstance
().dispatchEvent( event );
   }

I would like to  dump similar to how you dump the output of a 
variable in ColdFusion

Thanks,

-Malik





--
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] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Dave Wolf
Why does the implementation language (the HOW) have anything
significant to do with the modelling and documentation solution you
use (the WHAT) ?

Are you trying to go from model to generated code?

If modelling is important to your development process, tried and
trusted modelling solutions such as UML would be capable of
documenting and managing the WHAT side of the development process
regardless of the implementation HOW language.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, Thomas R�hl -akitogo-
[EMAIL PROTECTED] wrote:

 
 Hi folks,
 
 it's been a while now, since the Flex2 SDK is out and rockin' ;)
 
 Not only for larger projects, multiple teams or team members and 
 documentation purpose, I'd like to know, what everyone is using for 
 modelling a Flex application. For the Java world I know, the tools 
 available are very powerful and work very well out of the box and 
 integrate with each other. There are also things like OmondoUML, which 
 we can be used for designing Java apps (doing use case and sequential 
 diagram sort of stuff) in conjunction with creating the
corresponding code.
 
 The lack of Flex-specific tools for that kind of work still leads 
 towards endless times spent on the drawing table - at least on my side.
 
 So, the question coming up my mind is, in what ways do you all design 
 your Flex applications before/during or after implementation, if any...?
 
 
 Cheers, Thomas
 
 
 
 
Thomas R�hl
Design, Programming  Concepts
 
akitogo OHG
Hanauer Landstrasse 188
60314 Frankfurt
 
Telefon +49 (0) 69 800 69 445
Fax +49 (0) 69 800 69 449
Mobil   +49 (0) 179 750 75 87
E-Mail  [EMAIL PROTECTED]
Web http://www.akitogo.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:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Good Code Stops Working For Me Too

2006-08-06 Thread Eric Raymond
Thanks Matt.  We have an open ticket.  Any key phrases we can use to
get this to someone who understands the issue deeply?

Any chance support has a hacked version of the compiler which gives
some small relief or better diagnostics? A document which describes
best practices to isolating these problems.

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

 You should contact support directly for this probably.  Let me know if
 you need help with this.
 
  
 
 Matt
 






--
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] Java developers: How do you organize your projects?

2006-08-06 Thread Joost Nuijten





Hi Dave,

I'm doing the following in my projects:
- Flex and Java have their own Eclipse instances. I think 
there's no reason to mingle them. In my projects the role of Java developer and 
Flex developer are always occupied by two persons.

- We have a seperate server that acts as the release 
server. The Flex developer is able to test on his local machine. The Java is 
able to test his work by using test cases with JUnit.

- The interface between Flex and Java is specified by the 
Java and Flex developer. Based on the specifications a fake facade is created 
that the Flex developer can use to implement server 
interaction.

- Meanwhile the Java developer implements the interface. 
Everytime a stable version becomes available it is published to the central 
server and a JAR is commited to cvs. The Flex developer can use this JAR to test 
the interface on his local machine.

- The Java and Flex part are two seperate projects (also in 
cvs). Projects are merged by committing a stable JAR into the Flex project. The 
output of the Flex project (including JAR) will be the final 
product.

Maybe this will help you a bit.

~Joost


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Dave 
BobbyVerzonden: zondag 6 augustus 2006 23:41Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] Java developers: 
How do you organize your projects?


Currently, I have a client-side flex running in Flex Builder stand-alone 
and a java server-side which is running in Eclipse, eventually deployed to 
tomcat.Now when I run from my Flex Builder, I can access my tomcat by 
just saying http://localhost:8080/project/login.html?user=apass=b.. 
but this is not extensible, so the question is how do you physically lay out 
your projects? .. do you have ant builds that create a war with all the 
files copied over?.. do you separate your flex builder from eclipse 
or run them together as flex (plugin) and java (in eclipse) at one 
time.. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be in 
root/com/... I need to set this up fast before other developers join the 
project, appreciate your 
inputs.Thanks.Dave.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Dump?

2006-08-06 Thread Joost Nuijten





Hi,

The base dump function is this one:
for (var x:String in object) trace(x + ": " + 
object[x]);

What you can do is build your own class around it, so that 
it is recursive and you can dump every objectstructure (inc. arrays of arrays 
with objects).




Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens 
malik_robinsonVerzonden: maandag 7 augustus 2006 
2:18Aan: flexcoders@yahoogroups.comOnderwerp: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Joost Nuijten





I had a similar problem, although I think it's not quite 
the same.

I used an AC defined as [Bindable]. But changes to the AC 
did not trigger any bindings. So, what I did to make it 
work:
- Declare my AC as an ICollectionView
- When data is assigned to the AC, assign an event listener 
to the event CollectionEvent.COLLECTION_CHANGE.

It's more or less the thing the mx:Repeater tag 
does to listen to the provided dataProvider collection.




Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Matt 
ChotinVerzonden: maandag 7 augustus 2006 2:14Aan: 
flexcoders@yahoogroups.comOnderwerp: RE: [flexcoders] [Flex 
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new 
ArrayCollection()




If you are bound to the 
ArrayCollection then manipulating the AC itself doesnt re-trigger the binding. 
You need to do a re-assignment. If that isnt working make sure that 
the variable for your AC is [Bindable] and if you wrote a setter and used 
[Bindable(event=)] that you actually dispatched the 
event.





From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Carlos RoviraSent: Sunday, August 06, 2006 10:25 
AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] [Flex 
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new 
ArrayCollection()




Hi,I'm experiencing a bug with an 
ArrayCollection. I want to remove the contents and the new state should dispatch 
a Binding, but this is not happen at all.I was trying several 
methods:* setting to null; * new ArrayCollection();* 
calling removeAll()* calligin refresh() as wellbut nothing 
happens.I suppose that this should be a known issue, anyone knows some 
trick to avoid this problem?Thanks. -- ::| Carlos 
Rovira::| http://www.carlosrovira.com 


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Re: [Flex2] What do you use for modelling a Flex2 application...?

2006-08-06 Thread Joost Nuijten





I think what Thomas is trying to say:

In the Java world there are a lot of powerful tools that 
generate the base skeleton of code out of a model. For the Flex world this is 
all hand work. And how do we cope with this?

That is why it is important that we have a framework such 
as Cairngorm. The one thing that we do not have is an automatedtool that 
generates the Cairngorm base skeleton.

** thinking about creating one myself 
**

Joost


Van: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Namens Dave WolfVerzonden: 
maandag 7 augustus 2006 2:33Aan: 
flexcoders@yahoogroups.comOnderwerp: [flexcoders] Re: [Flex2] What do 
you use for modelling a Flex2 application...?


Why does the implementation language (the HOW) have anythingsignificant 
to do with the modelling and documentation solution youuse (the WHAT) 
?Are you trying to go from model to generated code?If modelling 
is important to your development process, tried andtrusted modelling 
solutions such as UML would be capable ofdocumenting and managing the WHAT 
side of the development processregardless of the implementation HOW 
language.-- Dave WolfCynergy Systems, Inc.Adobe Flex 
Alliance Partnerhttp://www.cynergysystems.comhttp://www.cynergysystems.com/blogsEmail: 
[EMAIL PROTECTED]stems.comOffice: 
866-CYNERGY--- In [EMAIL PROTECTED]ups.com, 
Thomas R�hl -akitogo-thomas.ruehl@... wrote: 
 Hi folks,  it's been a while now, since the Flex2 SDK 
is out and rockin' ;)  Not only for larger projects, multiple 
teams or team members and  documentation purpose, I'd like to know, what 
everyone is using for  modelling a Flex application. For the Java world 
I know, the tools  available are very powerful and work very well out of 
the box and  integrate with each other. There are also things like 
OmondoUML, which  we can be used for designing Java apps (doing use case 
and sequential  diagram sort of stuff) in conjunction with creating 
thecorresponding code.  The lack of Flex-specific tools for 
that kind of work still leads  towards endless times spent on the 
drawing table - at least on my side..  So, the question coming 
up my mind is, in what ways do you all design  your Flex applications 
before/during or after implementation, if any?   
Cheers, Thomas   
  Thomas 
R�hl Design, Programming  Concepts  akitogo 
OHG Hanauer Landstrasse 188 60314 Frankfurt  
Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449 Mobil 
+49 (0) 179 750 75 87 E-Mail thomas.ruehl@... Web http://www.akitogo.com  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Dump?

2006-08-06 Thread Bjorn Schultheiss





public function dump(obj:*):String
{
 for (var i in obj)
 {
 trace('key: '+i+', value: '+obj[i] 
);
 }
}


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Dump?

2006-08-06 Thread Bjorn Schultheiss





already answered by joost

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Bjorn 
SchultheissSent: Monday, 7 August 2006 11:38 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
Dump?



public function dump(obj:*):String
{
 for (var i in obj)
 {
 trace('key: '+i+', value: '+obj[i] 
);
 }
}


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable "loginVO" and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Custom item renderer and view states

2006-08-06 Thread Bjorn Schultheiss





Are you able to trace from the ItemRenderer class the 
status of the text box?

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
joostnuijtenSent: Monday, 7 August 2006 9:01 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Custom item renderer 
and view states


Hi there,I'm having this custom itemrender (which is an AS-class, not 
a MXML).When a user clicks on an item the view state should switch 
to'selected'. The selectedstate adds an Text tag. But for some reasonthe 
text box does not show up. When I add an effect to the selectedstate, the 
effect shows up after clicking. So the state change works,but why is the 
text box not visible?The 
code:albums:AlbumBrowserid="albumBrowser"width="600"dataProvider="{Model.instance.album.aPhotoAlbumsOnPage}" 
albums:itemRenderermx:Component 
id="albumRenderer"albums:AlbumRendererbuttonMode="true" 
(which is an AS-class that extends UIComponent andimplements 
IDataRenderer)albums:statesmx:State 
name="selectedState"mx:AddChildmx:Text text="This a 
test"//mx:AddChild/mx:State/albums:states/albums:AlbumRenderer/mx:Component/albums:itemRenderer/albums:AlbumBrowserAnyone? 
Thanks. 
Joost
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Java developers: How do you organize your projects?

2006-08-06 Thread Bjorn Schultheiss





Hi Joost,

Do you use any *special* fake facade for testing server 
interaction?

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Joost 
NuijtenSent: Monday, 7 August 2006 10:57 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Java developers: 
How do you organize your projects?



Hi Dave,

I'm doing the following in my projects:
- Flex and Java have their own Eclipse instances. I think 
there's no reason to mingle them. In my projects the role of Java developer and 
Flex developer are always occupied by two persons.

- We have a seperate server that acts as the release 
server. The Flex developer is able to test on his local machine. The Java is 
able to test his work by using test cases with JUnit.

- The interface between Flex and Java is specified by the 
Java and Flex developer. Based on the specifications a fake facade is created 
that the Flex developer can use to implement server 
interaction.

- Meanwhile the Java developer implements the interface. 
Everytime a stable version becomes available it is published to the central 
server and a JAR is commited to cvs. The Flex developer can use this JAR to test 
the interface on his local machine.

- The Java and Flex part are two seperate projects (also in 
cvs). Projects are merged by committing a stable JAR into the Flex project. The 
output of the Flex project (including JAR) will be the final 
product.

Maybe this will help you a bit.

~Joost


Van: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] Namens Dave 
BobbyVerzonden: zondag 6 augustus 2006 23:41Aan: 
[EMAIL PROTECTED]ups.comOnderwerp: [flexcoders] Java 
developers: How do you organize your projects?


Currently, I have a client-side flex running in Flex Builder stand-alone 
and a java server-side which is running in Eclipse, eventually deployed to 
tomcat.Now when I run from my Flex Builder, I can access my tomcat by 
just saying http://localhost:8080/project/login.html?user=apass=b.. 
but this is not extensible, so the question is how do you physically lay out 
your projects? .. do you have ant builds that create a war with all the 
files copied over?.. do you separate your flex builder from eclipse 
or run them together as flex (plugin) and java (in eclipse) at one 
time.. if you develop all in one project (java and flex) how do you 
separate these concerns, for example, flex requires that application 
mxml be in the root of the project and say cairngorm files would be in 
root/com/... I need to set this up fast before other developers join the 
project, appreciate your 
inputs.Thanks.Dave.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread hank williams
Ok so I downloaded caringorm and installed.

Now what?

There is API doc, but that is really not useful until you know what
you are doing and you just need to remember the API.

There is this 6 part article on the adobe website. But it is far from
a hello world. It discusses theory, which is useful. But a simple,
complete example (like in the flex getting started docs) would be much
more helpful. It seems to refer to a store application, but as far as
I can tell, this store application is not included with caringorm.

So I am just looking for a simple example hello world application
and an explanation of how it works.

Does this really not exist, or have I just missed it?

Hank


--
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] Dump?

2006-08-06 Thread Jeremy Lu




-

import mx.utils.ObjectUtil;

ObjectUtil.toString( loginVO );

-


This makes life a bit easier :-)


Jeremy.
On 8/7/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:













  






already answered by joost

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn 
SchultheissSent: Monday, 7 August 2006 11:38 AMTo: 
[EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] 
Dump?



public function dump(obj:*):String
{
 for (var i in obj)
 {
 trace('key: '+i+', value: '+obj[i] 
);
 }
}


Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of 
malik_robinsonSent: Monday, 7 August 2006 10:18 AMTo: 
[EMAIL PROTECTED]ups.comSubject: [flexcoders] 
Dump?


Hi,How can I dump the following variable loginVO and see its 
output?public function loginUser() : void{var loginVO : LoginVO 
= new LoginVO();loginVO.username = username.text;loginVO.password = 
password.text;var event : LoginEvent = new LoginEvent( loginVO 
);CairngormEventDispatcher.getInstance().dispatchEvent( event 
);}I would like to dump similar to how you dump the output of a 
variable in ColdFusionThanks,-Malik


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread Paul Williams
Hi Hank,

Alex Uhlmann has posted some simple demos to his blog:

http://weblogs.macromedia.com/auhlmann

Paul

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Sunday, August 06, 2006 10:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Isnt there *any* hello world/getting started doc
for cairngorm???

Ok so I downloaded caringorm and installed.

Now what?

There is API doc, but that is really not useful until you know what
you are doing and you just need to remember the API.

There is this 6 part article on the adobe website. But it is far from
a hello world. It discusses theory, which is useful. But a simple,
complete example (like in the flex getting started docs) would be much
more helpful. It seems to refer to a store application, but as far as
I can tell, this store application is not included with caringorm.

So I am just looking for a simple example hello world application
and an explanation of how it works.

Does this really not exist, or have I just missed it?

Hank


--
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] Isnt there *any* hello world/getting started doc for cairngorm???

2006-08-06 Thread hank williams
Wow. Thanks. Its amazing that that is burried in someones blog instead
of right there with the rest of the cairngorm info on adobe labs.

Regards
Hank

On 8/6/06, Paul Williams [EMAIL PROTECTED] wrote:
 Hi Hank,

 Alex Uhlmann has posted some simple demos to his blog:

 http://weblogs.macromedia.com/auhlmann

 Paul

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of hank williams
 Sent: Sunday, August 06, 2006 10:02 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Isnt there *any* hello world/getting started doc
 for cairngorm???

 Ok so I downloaded caringorm and installed.

 Now what?

 There is API doc, but that is really not useful until you know what
 you are doing and you just need to remember the API.

 There is this 6 part article on the adobe website. But it is far from
 a hello world. It discusses theory, which is useful. But a simple,
 complete example (like in the flex getting started docs) would be much
 more helpful. It seems to refer to a store application, but as far as
 I can tell, this store application is not included with caringorm.

 So I am just looking for a simple example hello world application
 and an explanation of how it works.

 Does this really not exist, or have I just missed it?

 Hank


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








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










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

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

* 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] Where'd this error come from?

2006-08-06 Thread Nick Collins



Ok, so I've been working on this project, and had to set it aside for a week as other projects took precedence. When I set it aside, all the code I had was working.For one of the other projects, I had to install PHP to test some things. I also had to enable server side includes for one of the projects. 
Now, I just got back to my Flex project here, and went to run it, and I now get the following error:ReferenceError: Error #1069: Property message not found on mx.messaging.messages.ErrorMessage and there is no default value.
 at com.cfgenerated.views.login::LoginForm/::serverFault() at com.cfgenerated.views.login::LoginForm/___Operation1_fault() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler
() at mx.rpc::Responder/fault() at mx.rpc::AsyncRequest/fault() at mx.messaging::ChannelSet/::faultPendingSends() at mx.messaging::ChannelSet/channelFaultHandler() at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction
() at flash.events::EventDispatcher/dispatchEvent() at mx.messaging::Channel/mx.messaging:Channel::connectFailed() at mx.messaging.channels::PollingChannel/mx.messaging.channels:PollingChannel::connectFailed
() at mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFChannel::statusHandler()The code hasn't changed in the last week, so why is my remoting request for the login now throwing a fault? I upload the code to my production server, and it works fine, but no longer on my dev 
server.anyone have any thoughts what could be causing this?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Dump?

2006-08-06 Thread Bjorn Schultheiss





mm yes, the new utils package.
I must admit there are a few cool utils in 
there.

I am not fully up to speed yet as 9-5 im still on 
as2

Regards,

Bjorn Schultheiss
Senior Flash Developer
QDC Technologies



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy 
LuSent: Monday, 7 August 2006 12:08 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
Dump?


-import 
mx.utils.ObjectUtil;ObjectUtil.toString( loginVO 
);-This makes life a bit easier 
:-)Jeremy.
On 8/7/06, Bjorn 
Schultheiss bjorn.schultheiss@qdc.net.au 
wrote:

  
  
  
  
  
  
  already 
  answered by joost
  
  
  Regards,
  
  Bjorn Schultheiss
  Senior Flash Developer
  QDC Technologies
  
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Bjorn SchultheissSent: Monday, 7 August 2006 11:38 
  AMTo: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] 
  Dump?
  
  
  
  
  public 
  function dump(obj:*):String
  {
   for (var i in obj)
   {
   trace('key: '+i+', value: '+obj[i] 
  );
   }
  }
  
  
  Regards,
  
  Bjorn Schultheiss
  Senior Flash Developer
  QDC Technologies
  
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  malik_robinsonSent: Monday, 7 August 2006 10:18 
  AMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] 
  Dump?
  
  
  Hi,How can I dump the following variable "loginVO" and see its 
  output?public function loginUser() : void{var loginVO : 
  LoginVO = new LoginVO();loginVO.username = 
  username.text;loginVO.password = password.text;var event : 
  LoginEvent = new LoginEvent( loginVO 
  );CairngormEventDispatcher.getInstance().dispatchEvent( 
  event );}I would like to dump similar to how you dump the output 
  of a variable in ColdFusionThanks,-Malik
  
  
  
  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: Java developers: How do you organize your projects?

2006-08-06 Thread Dave Wolf
We have a pretty unique approach to developing RIAs that we use here
at Cynergy called LookFirst.  We focus on doing the development
process from front-to-back whereby we develop the user experience,
using it to gather requirements, establish scope and drive back end
API and data model.  

The idea in front-to-back is that we start out with roughly developed
wireframes yet these wireframes are developed directly in Flex. 
Flex is such a productive canvas why go through the chore of using a
template solution like Visio.  This rough wireframe is then expanded
to inlcude art, validation, flow, etc.  Static data is then bound to
an object model and eventually to controls etc.  The goal is to create
effectively a fully functional application all bound to static data
and objects.  These objects become the API developed using POJOs in
Tomcat exposed as either (or sometimes both) SOAP and XML over HTTP
services.

From the development standpoint one big thing you will notice is that
this approach forces a very strong seperation of concerns, not just
architecturally but physically as well.  The RIA developers are
requesting the services they require and in the format they require
them in.  This assures that there is no tight coupling between the
tiers and creates an automatic seperation of concerns.  It also allows
the two sides to work quite autonomously.  Although in our offices the
folks might be sitting right side-by-side.

We use subversion for source control and do have a series of ANT
scripts that take the front end RIA and the back-end services, compile
them, create WARS, deploy the WARS etc.  (We also have some internal
tools that do some code generation for us, also hooked into the
automated ANT builds).  IMHO building and deploying full wars
significantly reduces the broken cycles caused by bad or partial
deploys.  Every developer in this way can update their source tree,
build and deploy both tiers of the application to their local
development Tomcat servers without any dependancy on a shared server
model.

We have well over half a dozen Flex projects under development in
parallel here at any given point.  For the most part they are all laid
out the same way, using the same builds scripts and same developer
model.  I'm presenting our approach at the Flex Seminar up in NYC next
week and will be showing off three or four of these projects.  Swing
on up and take a peek.

http://www.flexseminar.com


-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

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

 Currently, I have a client-side flex running in Flex Builder stand-
 alone and a java server-side which is running in Eclipse, eventually 
 deployed to tomcat.
 
 Now when I run from my Flex Builder, I can access my tomcat by just 
 saying http://localhost:8080/project/login.html?user=apass=b
 
 . but this is not extensible, so the question is how do you 
 physically lay out your projects? 
 
 . do you have ant builds that create a war with all the files  copied 
 over?
 
 . do you separate your flex builder from eclipse or run them together 
 as flex (plugin) and java (in eclipse) at one time
 
 . if you develop all in one project (java and flex) how do you 
 separate these concerns, for example, flex requires that application 
 mxml be in the root of the project and say cairngorm files would be 
 in root/com/... 
 
 I need to set this up fast before other developers join the project, 
 appreciate your inputs.
 
 Thanks.
 
 Dave.







--
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] [Flex 2][ArrayCollection][Bug] Bindings don't executing when setting AC to a new ArrayCollection()

2006-08-06 Thread Gareth Edwards






I'm a little confused, it seems it works o.k in the example?

http://www.adobe.com/devnet/flex/quickstart/using_data_providers/

Whats occurring in the above example?

Cheers
Gareth.


Matt Chotin wrote:

  
  


  

  
  If you are
bound to the ArrayCollection
then manipulating the AC itself doesnt re-trigger the binding. You
need
to do a re-assignment. If that isnt working make sure that the
variable
for your AC is [Bindable] and if you wrote a setter and used
[Bindable(event=)]
that you actually dispatched the event.
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carlos Rovira
  Sent: Sunday, August
06, 2006
10:25 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders]
[Flex
2][ArrayCollection][Bug] Bindings don't executing when setting AC to a
new
ArrayCollection()
  
  
  
  
  
  Hi,
  
I'm experiencing a bug with an ArrayCollection. I want to remove the
contents
and the new state should dispatch a Binding, but this is not happen at
all.
  
I was trying several methods:
  
* setting to null; 
* new ArrayCollection();
* calling removeAll()
* calligin refresh() as well
  
but nothing happens.
  
I suppose that this should be a known issue, anyone knows some trick to
avoid
this problem?
  
Thanks. 
  
-- 
::| Carlos Rovira
::| http://www.carlosrovira.com
  
  
  
  

  


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___