[flexcoders] Tooltip in Advanced datagrid

2009-04-16 Thread senthilkumarirtt
hi all,i need to create tooltip for Advanced datagrid column by make 
CustomDataGridItemRenderer extends Label Action class.

i use this code to implement tooltip,but its not working..


package
{
import mx.controls.Label;

public class CustomDataGridItemRenderer extends Label
{


 new Label().toolTip={data.acn};
}
}


here acn is datafield for that column.





[flexcoders] Re: How Could I not map a property to lcds object ?

2009-04-16 Thread wakouaq
Thanks a lot everybody. I'm going to see if it works with Jeff Solution. 
I'll post when i get conclusive results.

Thanks again, you saved me a few days of googling

--- In flexcoders@yahoogroups.com, Jeff Vroom jvr...@... wrote:

 You can use the flex.messaging.io.PropertyProxy features.  The BeanProxy 
 class has a way to exclude properties from AMF serialization.   You can 
 either register these statically or wrap an instance.   These should be in 
 the docs.
 
 We really should have @FlexTransient or something so that can be turned 
 on/off independently.  I think there is an implementation in the BlazeDS bug 
 base someone contributed I've been meaning to look at.   You'd just need to 
 write some service hook to check for the annotations, register property 
 proxies to exclude the right properties on whatever class had the annotations 
 and you'd be all set.
 
 Jeff
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of Josh McDonald
 Sent: Wednesday, April 15, 2009 6:00 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: How Could I not map a property to lcds object 
 ?
 
 
 
 
 
 That still requires adding the fields to the Flex object. Marking the field 
 @Transient in Java will affect Hibernate, unless Blaze / LCDS have their own 
 @Transient I'm not aware of. There's also this blazeds annotations add-on: 
 http://is.gd/sETx
 
 SmartyPants-J will do this, but it's nowhere near escaping yet :)
 
 -Josh
 2009/4/16 Tim Hoff timh...@...mailto:timh...@...
 
 
 Yep, here's an example:
 
 private
 var _myProperty:String;
 
 [Transient]
 [Bindable( event=myPropertyChange )]
 /**
 * myProperty.
 * @private
 */
 public function get myProperty():String
 {
  return _myProperty;
 }
 
 /** @private */
 public function set myProperty( value:String ):void
 {
  _myProperty = value;
  dispatchEvent( new Event( myPropertyChange ) );
 }
 
 -TH
 
 --- In flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com, Amy 
 amyblankenship@ wrote:
 
  --- In flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com, ouaqa 
  ab@ wrote:
  
  
   This is an option but i was wondering if you couldn't use some special
   ninja keyword telling lcds not to map the field to lcds.
 
  Transient?
 
 
 
 
 --
 Therefore, send not to know For whom the bell tolls. It tolls for thee.
 
 Josh 'G-Funk' McDonald
   -  j...@...mailto:j...@...
   -  http://twitter.com/sophistifunk
   -  http://flex.joshmcdonald.info/





Re: [flexcoders] Why SharedObject.flush so slowly

2009-04-16 Thread iiley
Yes, if app crashes, we'll lose data, but if user close app(generally users
do this), data will be saved.

2009/4/15 Tom Chiverton tom.chiver...@halliwells.com





 On Wednesday 15 Apr 2009, iiley wrote:
  Finally, we found a way, first time request a big enough space by
  shareObject.flush(bigNumber), make use to allow the big number space,
 then
  later save, we do not need to call flush method, because if the space is
  enough, then the data will be save successful when GC or SWF closing.

 I think if the app crashes, you won't have saved the data though...

 --
 Helping to elementarily brand interdependent best-of-breed interactive
 innovative bandwidth as part of the IT team of the year, '09 and '08


   Tom Chiverton
  Developer
  Tel: +44 0161 618 5032
 Fax: +44 0161 618 5099
  tom.chiver...@halliwells.com
  3 Hardman Square, Manchester, M3 3EB
  www.Halliwells.com

  

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

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

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

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


  




-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com


[flexcoders] How to understand this about week reference

2009-04-16 Thread iiley
Here's the test class:
I store a bound method in a week Dictionary, and added to as a listener also
week. The wired thing is that, it will be cleared by Dictionary, but not
event listener... I can't explain this strange behavor, hope someone can
helps.

public class Nothing extends Sprite{
 private var sp:Sprite;
private var dic:Dictionary;
 public function Nothing(){
super();
sp = new Sprite();
sp.graphics.beginFill(0xFF);
sp.graphics.drawCircle(100, 100, 100);
sp.graphics.endFill();
addChild(sp);
 var f1:Function = __done;
dic = new Dictionary(true);
dic[f1] = __done;
sp.addEventListener(MouseEvent.MOUSE_DOWN, __traceDic);
sp.addEventListener(MouseEvent.MOUSE_DOWN, f1, false, 0, true);
}
 private function __done(e:Event):void{
trace(__done invoked!);
}
 private function __traceDic(e:*):void{
trace(---what is in dic---);
for each(var i:* in dic){
trace(i);
}
trace(-);
System.gc();
}
}

___

Click the red area, the out put is :
---what is in dic---
-
__done invoked!

-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com


[flexcoders] simultaneous download in AIR of more then 2 files fails with IOError,any ideeas?

2009-04-16 Thread Kun Janos
Hi,

I filled this bug http://bugs.adobe.com/jira/browse/SDK-20646

I tried downloading more then 2 files simultaneously and the download is 
working for the first two files and fails for the others.
The issue seams to be, that while the first 2 files are downloading, the 
remaining files are waiting and then throwing an IOErrorEvent(in about 1 
minute).

I used the latest flex_sdk_3.4.0.5992, the application is built in AIR and I'm 
using FileReference for downloading files.

If you had this issue please comment, if you do a test (files are attached to 
the jira bug I fired) and download fails please vote for the bug.

Thanks



[flexcoders] knowing if a display object is in the view area or not.

2009-04-16 Thread giladozer
Hi, 
is there a way for this ( is Display Object) to know when it's in the display 
area or not ? 

and for a different yet related question.
is there a way for an  item renderer to know if it's in the diplsay area of 
not ?

thanks, 
Gilad



[flexcoders] Re: Making ComboBox stay open after item select?

2009-04-16 Thread Ben Reynolds
I'm by no means on Alex's level of Flex knowledge, but a Button combined with a 
Menu component would work too. You wouldn't get into resizing issues and you'd 
still be able to do styling without resorting to UIComponent first principles. 
:)

--- In flexcoders@yahoogroups.com, Sascha sbal...@... wrote:

 I've made a short test and that seems to work so far. Thanks for the hint
 Ben!
 
 I almost started to try writing a custom component from a Button and a List
 wrapped into a UIComponent as Alex Harui suggested in a message I've found
 but seems that that's not necessary.
 
  
 
 Sascha
 
  
 
  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Ben Reynolds
 Sent: Thursday, April 16, 2009 10:34
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Making ComboBox stay open after item select?
 
  
 
 
 
 
 
 
 Something like:
 
 package
 {
 import flash.events.Event;
 import mx.controls.ComboBox;
 
 public class ComboBoxNoClose extends ComboBox
 {
 public function ComboBoxNoClose()
 {
 super();
 }
 
 public override function close(trigger:Event = null):void
 {
 if (trigger != null)
 super.close();

 
 }
 }
 }
 
 --- In flexcoders@yahoogroups.com, Sascha sbalkau@ wrote:
 
  Does anyone know how to modify the ComboBox so that it stays open after
  selecting an item?
  
  I need such a ComboBox for a client that opens/closes only if the user
  clicks on the 'header area' of the ComboBox or that closes only if clicked
  outside the ComboBox.
  
  The use case for this is that the ComboBox will have custom item renderers
  that contain (for example) a CheckBox and a Label and the user should be
  able to make several selections without the ComboBox closing inbetween.
  
  I've made this before by wrapping all the stuff into a Panel and changing
  the Panels height on close so that only the header is visible but that
  method is rather suboptimal, especially for skinning.
  
  Would be great if somebody has a workaround for this!
  Thanks in advance!
  
  Sascha





Re: [flexcoders] Adobe Bug | http://bugs.adobe.com/jira/browse/SDK-17299

2009-04-16 Thread Igor Costa
Rajan

Everytime when I use popUp to free memory I put the target displayobject to
a null result after I call remove popup.


Regards
Igor

On Wed, Apr 15, 2009 at 11:20 PM, Rajan Jain ilikef...@yahoo.com wrote:



  Hi Igor

 Thanks for your help.

 Actually i have a pop up in which i am using lot of components like
 Checkbox,Tree control, couple of text controls and few others. Everytime i
 create popup the new instance of the components are created. I wanted that
 if i can remove these components from memory then i would be great.

 Hope the statement below helps.
  PopUpManager. removePopUp( e.currentTarget. document as
 IFlexDisplayObject) ;

 thanks
 Rajan

  --
 *From:* Igor Costa igorco...@gmail.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tuesday, April 14, 2009 7:54:51 PM
 *Subject:* Re: [flexcoders] Adobe Bug |
 http://bugs.adobe.com/jira/browse/SDK-17299

Rajan

 Isn't a bug, Not a Bug the problem is the way of your code implementation
 works. The PopUpManager doesn't work to cast itself. Due to the dependecy of
 IFlexDisplayObject.


 Instead of current code example.

 NOT Right way
 //action1
 if (myPopUp == null) {
 myPopUp = PopUpManager. createPopUp( this, MyMxmlComponent, false) as
 MyMxmlComponent;
 } else {
 PopUpManager. addPopUp( myPopUp, this, false);
 }

 //action1
 if (!myPopUp.isPopUp) {
 myPopUp = PopUpManager. createPopUp( this, MyMxmlComponent, false) as
 MyMxmlComponent;
 } else {
 PopUpManager. addPopUp( myPopUp, this, false);
 }

 Remove you should do like

 PopUpManager. removePopUp( e.currentTarget. document as IFlexDisplayObject)
 ;



 regards
 Igor Costa

 On Tue, Apr 14, 2009 at 6:24 PM, ilikeflex ilikef...@yahoo. 
 comilikef...@yahoo.com
  wrote:



 Hi

 Adobe bug
 http://bugs. adobe.com/ jira/browse/ 
 SDK-17299http://bugs.adobe.com/jira/browse/SDK-17299

 Does anybody has idea when Adobe is going to fix the above bug ot there is
 any workaround.

 Thanks
 Rajan




 --
  - ---
 Igor Costa
 www.igorcosta. com http://www.igorcosta.com/
 www.igorcosta. org http://www.igorcosta.org/


  




-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread valdhor
--- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote:

(Snip)

 1 The application should be independent of Backend database.
i.e. it should be able to use any of Oracle, MS-SQL, MySQL,
PostgreSQL, Firebird as backend.
 2 The business logic should move from Stored procedures to some
middle layer i.e. to Application server.
 3 It should be possible to separate application server and database
server i.e. application server and Database servers can be at
different physical locations or they can reside on same server.
 4 the communication between database server-application server and
application Server-Client should be secured one or may be
encrypted so that man in middle is not able to modify the data

None of these have anything to do with Flex. It all depends on the middleware 
you decide to use. In my case, I use PHP connecting to MySQL databases located 
on multiple different servers. I use WebORB as my AMF de/serializer which also 
has an option for secure data transfer.

 To best of our knowledge we have got a rough layout as follows.
 To start with have spring as application server with hibernate
 integration for data access. Then Flex application will 
 communicate with application server through BlazeDS.

That is definitely one way to do it. Another way would be with something like 
WebORB. They have a solution for .NET, Java, PHP, ColdFusion and Rails.


HTH.



Steve 




Re: [flexcoders] How Could I not map a property to lcds object ?

2009-04-16 Thread ouaqa

It's me again.

I've been searching for a couple of hours for any documentation on the
PropertyProxy class but i didn't find much about it, except for the class
definition and a fex threads but no basic tutorial or stuff like that.

I'm stille pretty new to java  actionscript, so if anyone could point me
the direction here, I'd be greatly appreciative. Some sources, a link to a
tutorial, anything ...

I'll keep searching meanwhile, there must be a concrete example somewhere


Tim Hoff wrote:
 
 
 This is just the flex vo side.  No change to the java transfer object is
 necessary; for transient fields that live only in the flex app.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote:

 That still requires adding the fields to the Flex object. Marking the
 field
 @Transient in Java will affect Hibernate, unless Blaze / LCDS have
 their own
 @Transient I'm not aware of. There's also this blazeds annotations
 add-on:
 http://is.gd/sETx

 SmartyPants-J will do this, but it's nowhere near escaping yet :)

 -Josh

 2009/4/16 Tim Hoff timh...@...

 
 
  Yep, here's an example:
  *
 
  private
  * *var* _myProperty:String;
 
  [Transient]
  [*Bindable*( event=*myPropertyChange* )]
  /**
  * myProperty.
  * @private
  */
  *public* *function* *get* myProperty():String
  {
  * return* _myProperty;
  }
 
  /** @private */
  *public* *function* *set* myProperty( value:String ):*void
  *{
  _myProperty = value;
  dispatchEvent( *new* Event( *myPropertyChange* ) );
  }
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
  
   --- In flexcoders@yahoogroups.com, ouaqa ab@ wrote:
   
   
This is an option but i was wondering if you couldn't use some
 special
ninja keyword telling lcds not to map the field to lcds.
  
   Transient?
  
 
 



 --
 Therefore, send not to know For whom the bell tolls. It tolls for
 thee.

 Josh 'G-Funk' McDonald
 - j...@...
 - http://twitter.com/sophistifunk
 - http://flex.joshmcdonald.info/

 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-Could-I-%22not%22-map-a-property-to-lcds-object---tp23059499p23077375.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: Shared Virtual Objects in multiple flex applications

2009-04-16 Thread valdhor
It looks like a job for RSL's (Run-time Shared Libraries).

Check out the Building and Deploying Adobe Flex 3 Applications manual.


--- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote:

 I have multiple applications, and they all have to use SOME of the virtual 
 objects I have created as they all need to update our database through 
 rubyamf in one way or another.
 
 I was wondering what the best way to create classes / etc that multiple 
 projects can use. What would be the best way to do this?





[flexcoders] Flash e-learning list revived

2009-04-16 Thread Merrill, Jason
Hey everyone.  

(Apologies in advance - I'm sorry that this is a blatant cross post to
more than one e-mail list.  If anyone knows me, they know I despise
people who cross post questions on e-mail lists, or worse,
marketing/products, but this is neither and I think maybe this one is an
exception.  I was going to e-mail each list individually anyway over
time, so I guess it doesn't matter.)  

There was a discussion list that was in good use a while ago,
Flashelearning, and it slowly died from lack of participation (small
user base) back in the fall of 2007.  Well, we've revived it and have
some good discussion started (a post this morning is about a cool
Flex-based drawing/collaboration/chat app for training people online).  

The list would greatly compliment (NOT replace) this list if you do
e-learning / multimedia training work using Flash platform technologies
like Flash, Flex, Captivate, AIR, Camtasia, Articulate, FlashDevelop
etc. as well as general e-learning discussions on topics like SCORM,
AICC, accessibility  Section 508, QTI, using Javascript, XML,
evaluation, inspiration, learner theory, etc. - though mostly focused on
using the Flash platform for creating e-learning.

You can subscribe to this e-mail list here:

http://www.freelists.org/list/flashelearning

If you're in the flash platform world and also work to deliver
e-learning, hope to see you both asking and answering questions there. 


Jason Merrill 

Bank of  America  Picture (Device Independent Bitmap)   Global
Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community
http://sharepoint.bankofamerica.com/sites/tlc/flash/default.aspx  





attachment: ole0.bmp

Re: [flexcoders] How Could I not map a property to lcds object ?

2009-04-16 Thread ouaqa

Found it !!!

thanks to your suggestions ad 
http://ozeebee.blogspot.com/2008/07/excluding-properties-from-java.html
OzeeBee's article , I got a working-yet-not-very-sexy way to bypass the
problem using 

flex.messaging.io.BeanProxy.addIgnoreProperty(My.class, Property);




ouaqa wrote:
 
 It's me again.
 
 I've been searching for a couple of hours for any documentation on the
 PropertyProxy class but i didn't find much about it, except for the class
 definition and a fex threads but no basic tutorial or stuff like that.
 
 I'm still pretty new to java  actionscript, so if anyone could point me
 the direction here, I'd be greatly appreciative. Some sources, a link to a
 tutorial, anything ...
 
 I'll keep searching meanwhile, there must be a concrete example somewhere
 
 
 Tim Hoff wrote:
 
 
 This is just the flex vo side.  No change to the java transfer object is
 necessary; for transient fields that live only in the flex app.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote:

 That still requires adding the fields to the Flex object. Marking the
 field
 @Transient in Java will affect Hibernate, unless Blaze / LCDS have
 their own
 @Transient I'm not aware of. There's also this blazeds annotations
 add-on:
 http://is.gd/sETx

 SmartyPants-J will do this, but it's nowhere near escaping yet :)

 -Josh

 2009/4/16 Tim Hoff timh...@...

 
 
  Yep, here's an example:
  *
 
  private
  * *var* _myProperty:String;
 
  [Transient]
  [*Bindable*( event=*myPropertyChange* )]
  /**
  * myProperty.
  * @private
  */
  *public* *function* *get* myProperty():String
  {
  * return* _myProperty;
  }
 
  /** @private */
  *public* *function* *set* myProperty( value:String ):*void
  *{
  _myProperty = value;
  dispatchEvent( *new* Event( *myPropertyChange* ) );
  }
 
  -TH
 
  --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote:
  
   --- In flexcoders@yahoogroups.com, ouaqa ab@ wrote:
   
   
This is an option but i was wondering if you couldn't use some
 special
ninja keyword telling lcds not to map the field to lcds.
  
   Transient?
  
 
 



 --
 Therefore, send not to know For whom the bell tolls. It tolls for
 thee.

 Josh 'G-Funk' McDonald
 - j...@...
 - http://twitter.com/sophistifunk
 - http://flex.joshmcdonald.info/

 
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/How-Could-I-%22not%22-map-a-property-to-lcds-object---tp23059499p23078477.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Resetting HSlider / VSlider

2009-04-16 Thread byte.sensei
I have a UI with filters including an HSlider with 2 thumbs representing a 
start year and end year (range 1854-2008). The HSlider code looks like this:

mx:HSlider id=slider_mfg_year minimum=1854 maximum=2008 thumbCount=2 
values=[1854,2008] labels=[1854, 2008] width=250 tickInterval=10 
snapInterval=1 dataTipFormatFunction={nf.format} liveDragging=false 
change=filter() horizontalCenter=0 bottom=5/

In addition, the UI has a reset button that is supposed to reset the filters 
to their default values. Everything is working *except* the HSlider -- I can't 
seem to get it to reset the thumbs to their default positions. I'm trying to do 
this by setting the thumb values:

private function filter_reset():void {
slider_mfg_year.values[0] = 1854;
slider_mfg_year.values[1] = 2008;
...

However, this doesn't seem to be resetting the thumb positions, just the 
HSlider control values, and the values/positions of the thumbs are now out of 
sync. 

How can I reset the HSlider thumbs back to their default positions/values?







[flexcoders] Link/Hand Cursor

2009-04-16 Thread byte.sensei
Flex seems to be sporadic at changing the cursor to a link/hand cursor when 
rolled over components that allow clicks/linking. I can't find any properties 
that make it easy to change the cursor on roll-over of an image that is a link, 
for example.

I don't need custom cursors or anything, I'm just interested in changing the 
default cursor into a hand/link cursor when the mouse is over a particular UI 
component. What's the best way to accomplish this?




Re: [flexcoders] Link/Hand Cursor

2009-04-16 Thread Fotis Chatzinikos
useHandCursor=true buttonMode=true

On Thu, Apr 16, 2009 at 5:03 PM, byte.sensei byte.sen...@yahoo.com wrote:



 Flex seems to be sporadic at changing the cursor to a link/hand cursor when
 rolled over components that allow clicks/linking. I can't find any
 properties that make it easy to change the cursor on roll-over of an image
 that is a link, for example.

 I don't need custom cursors or anything, I'm just interested in changing
 the default cursor into a hand/link cursor when the mouse is over a
 particular UI component. What's the best way to accomplish this?

  




-- 
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,


RE: [flexcoders] Re: Making ComboBox stay open after item select?

2009-04-16 Thread Sascha
My problem is that writing a whole custom component is too involved for the
few time I have and your method seems to work quite well.

 

The only trouble I have (as described in my previous reply) is that the
ComboBox should fire a change event everytime an item is selected while it
stays opened. By default the ComboBox is only firing this event after it
closes. 

However listening to the dropdown (the List component in the ComboBox)
property's ListEvent.CHANGE seems not to cut it. It would be great if you
would have a workaorund for this!

 

Best,

Sascha

 

 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ben Reynolds
Sent: Thursday, April 16, 2009 14:23
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Making ComboBox stay open after item select?

 

I'm by no means on Alex's level of Flex knowledge, but a Button combined
with a Menu component would work too. You wouldn't get into resizing issues
and you'd still be able to do styling without resorting to UIComponent first
principles. :)

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Sascha sbal...@... wrote:

 I've made a short test and that seems to work so far. Thanks for the hint
 Ben!
 
 I almost started to try writing a custom component from a Button and a
List
 wrapped into a UIComponent as Alex Harui suggested in a message I've found
 but seems that that's not necessary.
 
 
 
 Sascha
 
 
 
 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ]
On
 Behalf Of Ben Reynolds
 Sent: Thursday, April 16, 2009 10:34
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Re: Making ComboBox stay open after item select?
 
 
 
 
 
 
 
 
 Something like:
 
 package
 {
 import flash.events.Event;
 import mx.controls.ComboBox;
 
 public class ComboBoxNoClose extends ComboBox
 {
 public function ComboBoxNoClose()
 {
 super();
 }
 
 public override function close(trigger:Event = null):void
 {
 if (trigger != null)
 super.close();
 
 
 }
 }
 }
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
Sascha sbalkau@ wrote:
 
  Does anyone know how to modify the ComboBox so that it stays open after
  selecting an item?
  
  I need such a ComboBox for a client that opens/closes only if the user
  clicks on the 'header area' of the ComboBox or that closes only if
clicked
  outside the ComboBox.
  
  The use case for this is that the ComboBox will have custom item
renderers
  that contain (for example) a CheckBox and a Label and the user should be
  able to make several selections without the ComboBox closing inbetween.
  
  I've made this before by wrapping all the stuff into a Panel and
changing
  the Panels height on close so that only the header is visible but that
  method is rather suboptimal, especially for skinning.
  
  Would be great if somebody has a workaround for this!
  Thanks in advance!
  
  Sascha






[flexcoders] Re: InteractiveObject Problem

2009-04-16 Thread Amy
--- In flexcoders@yahoogroups.com, lehaianh1986 lehaianh1...@... wrote:

 I know it, but I can't choice another Class because evt.mouseTarget is 
 InteractiveObject
 
 I write code 
 
 if (evt.mouseTarget.hasOwnProperty(data))
   var inObj:AdvancedDataGridItemRenderer = evt.mouseTarget;
 
 The error message
 
 1118: Implicit coercion of a value with static type 
 flash.display:InteractiveObject to a possibly unrelated type 
 mx.controls.advancedDataGridClasses:AdvancedDataGridItemRenderer.

var inObj:AdvancedDataGridItemRenderer = evt.mouseTarget as 
AdvancedDataGridItemRenderer;



[flexcoders] how to avoid cacheing XML

2009-04-16 Thread David Pariente
Hi all,

I have a Flex3 app where i load an XML using URLRequest object.
When i makechanges to the XML and upload it to the server, Flex still 
loads the old cached XML file.

I saw there are options for specify not to cache content, but, seems 
they are only available to Air apps.

How could i set it up for NEVER cache my XML file??

Thanx in advance :)



RE: [flexcoders] Link/Hand Cursor

2009-04-16 Thread Jake Churchill
useHandCursor=true

buttonMode=true

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of byte.sensei
Sent: Thursday, April 16, 2009 9:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Link/Hand Cursor

 






Flex seems to be sporadic at changing the cursor to a link/hand cursor when
rolled over components that allow clicks/linking. I can't find any
properties that make it easy to change the cursor on roll-over of an image
that is a link, for example.

I don't need custom cursors or anything, I'm just interested in changing the
default cursor into a hand/link cursor when the mouse is over a particular
UI component. What's the best way to accomplish this?



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.58/2062 - Release Date: 04/16/09
08:12:00



Re: [flexcoders] how to avoid cacheing XML

2009-04-16 Thread Maciek Sakrejda
The foolproof (albeit ugly) way of doing this is to append a dummy
variable, e.g., the current time, to your request:

http://localhost/myapp/my.xml?time=128478334

You can do this by adding a Date().getTime() parameter to your
URLVariables.
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: David Pariente xxmapach...@yahoo.es
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how to avoid cacheing XML
Date: Thu, 16 Apr 2009 22:16:14 +0700



Hi all,

I have a Flex3 app where i load an XML using URLRequest object.
When i makechanges to the XML and upload it to the server, Flex still 
loads the old cached XML file.

I saw there are options for specify not to cache content, but, seems 
they are only available to Air apps.

How could i set it up for NEVER cache my XML file??

Thanx in advance :)









[flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread sailorsea21
Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that array?

Thanks.

-David




[flexcoders] create a thumbnail dynamically from large image using flex

2009-04-16 Thread stinasius
hi am using flex 2 and i have images in a folder that i use in my gallery, but 
i would like to load them as thumbnails in my tilelist the when i click on them 
i can see the large image. how can i generate thumnails dynamically without 
having two sets of images large and small?



Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread - -
I got it:

public
{
{ 
{ 
value = array[i]; 
} 
} 
}functionmaxValue(array:Array):intvarvalue:int = array[0];vari:int = 
newint(0);for(i; iarray.length; i++) if(array[i]value)returnvalue;public
{
{ 
{ 
value = array[i]; 
} 
} 
}functionminValue(array:Array):intvarvalue:int = array[0];vari:int = 
newint(0);for(i; iarray.length; i++) if(array[i]value)returnvalue;





From: sailorsea21 sailorse...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?





Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that array?

Thanks.

-David





  

[flexcoders] DataGridColumn itemRenderers interfere with DataGrid row rollover

2009-04-16 Thread fumeng5
Hi,

It seems that whenever I have an HBox itemRenderer for a DataGridColumn, and I 
place an image in that itemRenderer, that DataGrid column doesn't highglight 
correctly. For instance, there's only a thin line that covers that column. 
However, the rest of the rollovers for all other columns work correctly. 

What about the HBox/Image itemRenderer could be interfering with this? 

Here's my itemRenderer:

package pb.renderers
{
import flash.display.DisplayObject;
import flash.text.TextField;

import mx.containers.HBox;
import mx.controls.Image;

public class IconRenderer extends HBox
{
private var iconImg:Image;
[Embed(assets/settings/icon.jpg)]
private var favIcon:Class;

public function IconRenderer()
{
super();
}

override public function set data(value:Object):void
{
super.data = value;

if(data.favorite == 'true')
iconImg.visible = true;
else
iconImg.visible = false;

invalidateProperties();
}

// set the styles for the buttons
override protected function createChildren():void{
super.createChildren();

iconImg = new Image();
iconImg.source = favIcon;
iconImg.scaleContent = false;
iconImg.visible = false;

this.addChild(iconImg);
}

/* center the checkbox if we're in a datagrid */
override protected function updateDisplayList(w:Number, 
h:Number):void
{
super.updateDisplayList(w,h);

var n:int = numChildren;
for (var i:int = 0; i  n; i++)
{
var c:DisplayObject = getChildAt(i);
if (!(c is TextField))
{
c.x = (w - c.width) / 2;
c.y = 0;
}
}
}

}
}

Thank you for any helpful tips.   



Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread Paul Andrews
Just for the future, most people would do this:

for ( var i:int =1; iarray.length; i++)

  - Original Message - 
  From: - - 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, April 16, 2009 5:06 PM
  Subject: Re: [flexcoders] How can I receive the smallest value within an 
Array?





  I got it:

  public function maxValue(array:Array):int

  {

  var value:int = array[0];

  var i:int = new int(0);

  for (i; iarray.length; i++) 

  { 

  if (array[i]value)

  { 

  value = array[i]; 

  } 

  } 

  return value;

  }


  public function minValue(array:Array):int

  {

  var value:int = array[0];

  var i:int = new int(0);

  for (i; iarray.length; i++) 

  { 

  if (array[i]value)

  { 

  value = array[i]; 

  } 

  } 

  return value;

  }






--
  From: sailorsea21 sailorse...@yahoo.com
  To: flexcoders@yahoogroups.com
  Sent: Thursday, April 16, 2009 11:56:01 AM
  Subject: [flexcoders] How can I receive the smallest value within an Array?


  Hi everyone, if I have an array as

  var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

  Is there a function that will return me the smallest value within that array?

  Thanks.

  -David







  

[flexcoders] Cairngorm sub-applications Remoting

2009-04-16 Thread Erich Cervantez
Has anyone written two distinct Cairngorm-based applications, each capable of 
dispatching service calls (via RemoteObject) and tried loading one inside of 
the other?

Essentially I have a parent application that uses SWFLoader to load a 
sub-application (in a peer Application Domain).  The sub-application loads 
visually within the parent application but service calls from the 
sub-application result in a runtime error:

TypeError: Error #1034: Type Coercion failed: cannot convert obj...@x to 
mx.messaging.messages.ErrorMessage.

JBOSS logs show this:

No destination with id 'null' is registered with any service.

The first error appears to be a class-aliasing problem, but both of these apps 
are Cairngorm-based Flex applications...the registerClassAlias method shouldn't 
be required (besides, I tried that tactic already to no avail).

This is the only Flex-equivalent of a bat-signal I can think of ;)

Erich



[flexcoders] Re: Is it possible to do a right-click ContextMenu for a TabNavigator tab?

2009-04-16 Thread e_baggg
Thanks Tracy. I was using the SuperTabNavigator Doug McCune had posted. Our 
project is due in 2 weeks so I didn't have time to build a custom component 
will all this functionality. Man...looks like I'm SOL. 

--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:

 Consider TabBar and Viewstack, it is more flexible than TabNavigator.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of e_baggg
 Sent: Wednesday, April 15, 2009 2:43 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Is it possible to do a right-click ContextMenu for a
 TabNavigator tab?
 
  
 
 
 
 
 
 
 I have a requirement where a user can right-click any one of the tabs and
 have options to delete, duplicate, disable, etc. 
 
 The tabs (children) of the mx:TabNavigator are VBoxs, and the tab name is
 pulled from the label attribute of the VBox. I can't put the ContextMenu
 against the VBox otherwise the entire area of the opened tab has the
 right-click menu. In fact, the ContextMenu only shows for the display area
 below the tab (not including the tab).
 
 Any ideas? thanks in advance for your help.





Re: [flexcoders] Re: crossdomain proxy

2009-04-16 Thread Baz

 You can create simple redirect script that redirects requests from your app
 to requester resource


Could the redirect script be done with a simple web server, including the
fact that I need to append the secret key to the request, or do I need an
app server (java, coldfusion, asp, php, etc.)?

Drawback - all traffic goes through your host.


Yeah that sucks, but that's the drawback anyway since you need some sort of
proxy anyway, whether its a simple redirect or a full blown model.

Thanks for the response,
Baz





RE: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread Jake Churchill
array = array.sort();

smallest = array[0];

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Paul Andrews
Sent: Thursday, April 16, 2009 11:44 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 






Just for the future, most people would do this:

 

for ( var i:int =1; iarray.length; i++)

 

- Original Message - 

From: - - mailto:sailorse...@yahoo.com  

To: flexcoders@yahoogroups.com 

Sent: Thursday, April 16, 2009 5:06 PM

Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 

I got it:

 

public function maxValue(array:Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

public function minValue(array:Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

 

 


  _  


From: sailorsea21 sailorse...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?

Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that
array?

Thanks.

-David

 



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.58/2062 - Release Date: 04/16/09
08:12:00



Re: [flexcoders] Cairngorm sub-applications Remoting

2009-04-16 Thread Maciek Sakrejda
The 'destination null' seems to imply that your Flex-side remoting
metadata is fubared. It's trying to contact a destination that was not
configured--or somehow got unconfigured through the peer-appdomain swf
loading. I've asked about doing something similar with Modules, and was
told by Adobe folks on the list that this would be a Bad Idea. However,
I believe they suggested separate apps--just as you are doing. Have you
tried loading the .swfs into the same appdomain?
-- 
Maciek Sakrejda
Truviso, Inc.
http://www.truviso.com

-Original Message-
From: Erich Cervantez f...@noofusion.com
Reply-to: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm sub-applications  Remoting
Date: Thu, 16 Apr 2009 17:01:51 -



Has anyone written two distinct Cairngorm-based applications, each
capable of dispatching service calls (via RemoteObject) and tried
loading one inside of the other?

Essentially I have a parent application that uses SWFLoader to load a
sub-application (in a peer Application Domain). The sub-application
loads visually within the parent application but service calls from the
sub-application result in a runtime error:

TypeError: Error #1034: Type Coercion failed: cannot convert
obj...@x to mx.messaging.messages.ErrorMessage.

JBOSS logs show this:

No destination with id 'null' is registered with any service.

The first error appears to be a class-aliasing problem, but both of
these apps are Cairngorm-based Flex applications...the
registerClassAlias method shouldn't be required (besides, I tried that
tactic already to no avail).

This is the only Flex-equivalent of a bat-signal I can think of ;)

Erich









[flexcoders] Speed Test - help needed please

2009-04-16 Thread tom s
Hi All - please help with this test, it will only take you 30 seconds..

I'm doing some tests to see how 'fast' the Flash Player is in a variety of
environments.
It's working well, but so far I only have ~100 data points. I especially
need more data points for:

Mac running Safari 3.x
Mac running FireFox - any version
PC running MS IE - any version

 This is test has been checked out by several members of this group,
all of whom attest that it is malware free 
 The claims about this being a Trojan horse have since been withdrawn


Please click each of the links below to take part: (you don't have to do
anything other than click the link)

http://flatim3000.appspot.com/?fps=24
http://flatim3000.appspot.com/?fps=1000

It's totally malware free. If you're interested, see below for details.

Please hit it as many times as you like, from as many different environments
as you can :)
I'll share the results when I'm done.

thank

tom

details
=
The SWF:
1. attempts to set the frame rate to 24 or 1000
2. listens for enter_frame 240 or 10,000 times
3. records how long (2) takes
4. computes the actual FPS
5. send the data to a server, along with details on OS, Browser, FP version,
IP

Any suggestions/improvements - let me know...


[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread raja_s_patil
Thanks Steve and Deane Venske for a valuable suggestion,


I would like to take ur suggestions and study it further in details
i.e. with a hands on experience before we adopt it in the project.
Its nice that Deane Venske has past experience in delphi so his
opinion is valuable for us. 

Well Deane Venske I would like to know more about PHP and PDO
can u suggest me some study material and links so that it could 
save some time us. BTW Can u give us some guide line for 
having a Database independent application. Which PHP u are
using 5 or latest 6 ? What u would like suggest us 5 or 6 ?

Right now we have installed WAMP (Windows, Apache, MySQL  PHP) and
Flex builder. Our training resources are Lynda Essential, Beyond
basics and Total training Flex 3. about 2/3 books on Flex and action
script, and off course this list is a very valuable resource.

last minute question, can Delphi PHP be helpfull ?


thanks once again and best regards

Raja
  




Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread - -
Thanks Paul!





From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 12:44:18 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?





Just for the future, most people would do this:
 
for( var i:int =1; iarray.length; i++)
 
- Original Message - 
From: - - 
To: flexcod...@yahoogro ups.com 
Sent: Thursday, April 16, 2009 5:06 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?

I got it:

public
{
{ 
{ 
value = array[i]; 
} 
} 
}functionmaxValue(array: Array):intvarvalue:int = array[0];vari:int = 
newint(0);for(i; iarray.length; i++) if(array[i]value)returnvalue;public
{
{ 
{ 
value = array[i]; 
} 
} 
}functionminValue(array: Array):intvarvalue:int = array[0];vari:int = 
newint(0);for(i; iarray.length; i++) if(array[i]value)returnvalue;





From: sailorsea21 sailorsea21@ yahoo.com
To: flexcod...@yahoogro ups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?


Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that array?

Thanks.

-David






  

[flexcoders] What events are available for the flvplayback component?

2009-04-16 Thread Wally Kolcz
I am trying to convert a video tracking service from FXVideo (which blips) to a 
Flash FLVPlayback 2.5 component. I need to listen to and react to the following 
events. Play, Pause, Stop, Complete to fire off my tracking functions. Does the 
FLVPlayback support any way to broadcast for them?



[flexcoders] Re: Cairngorm sub-applications Remoting

2009-04-16 Thread Erich Cervantez
The key thing to note:  both applications are able to dispatch service calls on 
their own when called separately through a browser.  Both applications work 
great on their own.

Currently, I'm pointing the source attribute on SWFLoader to the swf location 
of the sub-application.  I'm loading the app into a peer Application Domain (I 
believe, on the same level as the parent application - both children of the 
System Domain):

_loaderContext.applicationDomain = new ApplicationDomain();
mySubApplication.loaderContext = m_loaderContext;
mySubApplication.source = http://xyz:8080/xyz/MySubApp.swf;;

I've tried loading the sub-swf into the same App domain, but since they're both 
Cairngorm apps and use the Cairngorm ServiceLocator singleton, I get the 
typical singleton error (only one servicelocator can be instantiated).

My next option might be to assemble most of the logic in the sub-app into a 
module.  My primary app can load the module and use it's own service framework 
for remoting (assuming I can get this to work).  I can create a separate, 
light-weight shell container with its own service framework that can also load 
the same module whenever I want to use the sub-application by itself.

Googling this issue isn't working...I have to assume someone out there is 
creating portal applications that load small sub-apps (in Cairngorm).  I have 
to figure out how they solved this problem...



--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote:

 The 'destination null' seems to imply that your Flex-side remoting
 metadata is fubared. It's trying to contact a destination that was not
 configured--or somehow got unconfigured through the peer-appdomain swf
 loading. I've asked about doing something similar with Modules, and was
 told by Adobe folks on the list that this would be a Bad Idea. However,
 I believe they suggested separate apps--just as you are doing. Have you
 tried loading the .swfs into the same appdomain?
 -- 
 Maciek Sakrejda
 Truviso, Inc.
 http://www.truviso.com
 
 -Original Message-
 From: Erich Cervantez f...@...
 Reply-to: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm sub-applications  Remoting
 Date: Thu, 16 Apr 2009 17:01:51 -
 
 
 
 Has anyone written two distinct Cairngorm-based applications, each
 capable of dispatching service calls (via RemoteObject) and tried
 loading one inside of the other?
 
 Essentially I have a parent application that uses SWFLoader to load a
 sub-application (in a peer Application Domain). The sub-application
 loads visually within the parent application but service calls from the
 sub-application result in a runtime error:
 
 TypeError: Error #1034: Type Coercion failed: cannot convert
 obj...@x to mx.messaging.messages.ErrorMessage.
 
 JBOSS logs show this:
 
 No destination with id 'null' is registered with any service.
 
 The first error appears to be a class-aliasing problem, but both of
 these apps are Cairngorm-based Flex applications...the
 registerClassAlias method shouldn't be required (besides, I tried that
 tactic already to no avail).
 
 This is the only Flex-equivalent of a bat-signal I can think of ;)
 
 Erich





[flexcoders] How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread Baz
I would like to build a flex front-end to Microsoft Reporting Services (RS)
using the provided webservice at
http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able to view
the wsdl when I navigate to it using a web browser. The problem is that I
can't seem to authenticate against it using flex no matter what
usernames/passwords I provide. I think I may need to implement some special
authentication, but I'm not sure.

Has anyone succesffuly connected to the Microsoft Reporting Services (RS)
webservice?

Thanks,
Baz


[flexcoders] Re: Link/Hand Cursor

2009-04-16 Thread labosox
--- In flexcoders@yahoogroups.com, Fotis Chatzinikos fotis.chatzini...@... 
wrote:

 useHandCursor=true buttonMode=true
 
 On Thu, Apr 16, 2009 at 5:03 PM, byte.sensei byte.sen...@... wrote:
 
 
 
  Flex seems to be sporadic at changing the cursor to a link/hand cursor when
  rolled over components that allow clicks/linking. I can't find any
  properties that make it easy to change the cursor on roll-over of an image
  that is a link, for example.
 
  I don't need custom cursors or anything, I'm just interested in changing
  the default cursor into a hand/link cursor when the mouse is over a
  particular UI component. What's the best way to accomplish this?
 
   
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 fotis.chatzini...@...,


I used something like this:

_cellLabel.useHandCursor = false;
_cellLabel.buttonMode = false;
_cellLabel.mouseChildren = true;




RE: [flexcoders] Re: Flex Developer Needed (Fulltime)

2009-04-16 Thread Ellenberger, John
On this group's header they say we should use the flexjobs newsgroup
but I tried to post some Flex job openings there and they've been
waiting for approval for two days.  Not sure if the thing is dead...the
last post was in Feb.
 
There also seems to be a Google Flex jobs list.



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Nate Beck
Sent: Wednesday, April 15, 2009 4:51 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex Developer Needed (Fulltime)





LinkedIn is a great place... and http://flex.org/jobs
http://flex.org/jobs 


On Wed, Apr 15, 2009 at 1:42 PM, geeky developer
geekydevelo...@gmail.com mailto:geekydevelo...@gmail.com  wrote:




Just a curosity sake, Does anyone recommend any good website for
looking for a Flex Developer job. 
If anyone can recommend any good website except Monster or Dice
which is dedicated to Flex developer hiring , that will be helpful,
Thanks




On Wed, Apr 15, 2009 at 12:39 PM, Nick Collins
ndcoll...@gmail.com mailto:ndcoll...@gmail.com  wrote:




Hehe, well, everything costs more in Chicago... we do
have a 10.25% sales tax



On Wed, Apr 15, 2009 at 2:06 PM, flexaustin
flexaus...@yahoo.com mailto:flexaustin%40yahoo.com  wrote:


 Senior guys in Austin are 90k.

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Nick Collins ndcoll...@...
wrote:

 Good luck getting a senior level Flex dev for that
pay range. Most
 senior level guys I know are getting between
100-120k. Granted, that's
 in Chicago, not the middle of Utah.

 On Tue, Apr 14, 2009 at 2:37 PM, joshbuhler
joshbuh...@... wrote:
 
 
  Rain in American Fork, Utah is currently looking
for a (preferably
  senior
  level) Flex developer. This is a full-time
position, with great
  benefits.
 
  Details can be found at:
  http://mediarain.com/us/employment/flexdeveloper
http://mediarain.com/us/employment/flexdeveloper 
 
 


 








-- 

Cheers,
Nate

http://blog.natebeck.net http://blog.natebeck.net 







[flexcoders] Re: Extending Flex Webservice class

2009-04-16 Thread variableop
Josh,

I can add the header using the web service's addHeader() method 
programmatically and everything seems to work great when i call the back-end 
webservice.  Even though it is just a couple lines of code, I would like to 
overload the send() method on Flex's Webservice class so that it creates the 
header (using parameters initialized at the Webservice declaration) and then 
adds the header to the Webservice before the send. Basically,

mx:WebService id=TempConvert 
wsdl=http://localhost/Celsius2Fahrenheit/Celsius2Fahrenheit.asmx?WSDL; 
showBusyCursor=true username={parentApplication.username} 
password={parentApplication.password}
mx:operation name=FahrenheitToCelsius result=handleWS() 
fault=Alert.show('there was an error processing request.') 
mx:request
Fahrenheit{this.TempInput.text}/Fahrenheit
/mx:request
/mx:operation
/mx:WebService 

.

TempConvert.send()   // header is created and added in this call

This is actually sounding pretty crazy right now because I would need to make  
a call to a class method that does the header creation.  Any ideas if this is 
possible?

--Variable

--- In flexcoders@yahoogroups.com, Josh McDonald j...@... wrote:

 There's currently compile-time voodoo that exists to support the MXML
 declaration of web services, so you can't really do this sort of thing
 declaratively.
 
 Programmatically it's pretty easy to add headers to web service calls
 though, what exactly are you trying to do?
 
 -Josh
 
 2009/4/15 variableop variabl...@...
 
 
 
  All,
  I would like to extend the Flex Webservice class to add a header to the
  call if custom properties have been set in the webservice declaration (or
  programmatic instantiation through the constructor). 1) Does anyone have
  experience extending flex's webservice class? 2) If not, can someone sketch
  out a path to extending flex's built-in types in such a way? Any help is
  appreciated.
 
  Regards,
 
  Variable
 
   
 
 
 
 
 -- 
 Therefore, send not to know For whom the bell tolls. It tolls for thee.
 
 Josh 'G-Funk' McDonald
   -  j...@...
   -  http://twitter.com/sophistifunk
   -  http://flex.joshmcdonald.info/





[flexcoders] AdvancedDataGridRendererProvider Scrolling issue

2009-04-16 Thread labosox
Hello,

I was wondering if anyone else has come across this issue.

What I am trying to do is to create a Advanced Datagrid that has various column 
spans that vary for each row. I was able to get this to work by using the 
AdvancedDataGridRendererProvider. I am running into a couple of problems 
though. 

For my project we are suppose to have a grid that can expand and become larger 
when the user stretches a column. When the grid gets to be a certain size, we 
need to turn on horizontal scrolling and continue to allow the user to change 
the columns sizes. The AdvancedDataGridRendererProvider spans all columns and 
has worked perfectly up to the point when the horizontal scroll bar is enabled. 
If you scroll over to see the columns that are no longer visible the 
AdvancedDataGridRendererProvider is no longer spanned across the columns. Do 
I need to do something special with this itemrenderer to allow it to span 
across the scrolled area?

I am not doing anything fancy with the AdvancedDataGridRendererProvider. I have 
a code example and can post that if needed. 

Please let me know if anyone has any ideas.



[flexcoders] Datagrids last column is auto resized

2009-04-16 Thread labosox
Hello Everyone,

Ive notice that if you have a simple advanced datagrid 
with horizontal scroll policy set to on the last column 
is always auto-resized. If you expand your columns
 so that the horizontal scroll bar comes on the 
last column when scroll is auto-sized.

Does anyone know how to turn this off?

Thanks



[flexcoders] Re: Link/Hand Cursor

2009-04-16 Thread labosox
--- In flexcoders@yahoogroups.com, byte.sensei byte.sen...@... wrote:

 Flex seems to be sporadic at changing the cursor to a link/hand cursor when 
 rolled over components that allow clicks/linking. I can't find any properties 
 that make it easy to change the cursor on roll-over of an image that is a 
 link, for example.
 
 I don't need custom cursors or anything, I'm just interested in changing the 
 default cursor into a hand/link cursor when the mouse is over a particular UI 
 component. What's the best way to accomplish this?


I used something like this:

_cellLabel.useHandCursor = false;
_cellLabel.buttonMode = false;
_cellLabel.mouseChildren = true;



[flexcoders] Post on the flex coders message board

2009-04-16 Thread Lucas Adams
Please let me post questions.

Thanks


Re: [flexcoders] Re: showDataTipsTargets without showing datatips?

2009-04-16 Thread thomas parquier
setting visible=false in your datatip constructor should work.

thomas



2009/4/16 flexaustin flexaus...@yahoo.com



  I have tried what you suggested already, but didn't have any luck as my
 linechart has two lineseries and when you mouse over any area where the
 lineseries cross you get two grey lines that connect the datatiptargets to
 the datatip. So when you have empty or blank datatips the grey lines point
 to nothing.

 I can't get the grey lines to go away so the blank/empty datatips don't
 work.

 Thx


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
 parquier mailingli...@... wrote:
 
  I've used a NullDataTip class (extending DataTip but not displaying
  anything) as dataTipRenderer... not very elegant but there doesnt seem to
 be
  any property or method to display only these targets... BTW dont know
 where
  to look at to customize them...
 
  thomas
 
 
  2009/4/16 flexaustin flexaus...@...
 
  
  
   Is their a way to force a flex chart to show datatiptargets even when
   datatips is set to false? I want the a datatiptarget like Google
 Financials
   chart, where the ball moves along the lineseries, but I don't want any
   datatips.
  
   Is this possible?
  
   TIA, J
  
  
  
 
 
 
  --
  http://www.web-attitude.fr/
  msn : thomas.parqu...@...
  softphone : sip:webattit...@... sip%3awebattit...@...
  téléphone portable : +33601 822 056
 

  




-- 
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


[flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread valdhor
Can you post the WSDL? Or location of one on the net?


--- In flexcoders@yahoogroups.com, Baz thinkl...@... wrote:

 I would like to build a flex front-end to Microsoft Reporting Services (RS)
 using the provided webservice at
 http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able to view
 the wsdl when I navigate to it using a web browser. The problem is that I
 can't seem to authenticate against it using flex no matter what
 usernames/passwords I provide. I think I may need to implement some special
 authentication, but I'm not sure.
 
 Has anyone succesffuly connected to the Microsoft Reporting Services (RS)
 webservice?
 
 Thanks,
 Baz





Re: [flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread Baz
Valdhor, thanks for the response. Unfortunately the server is behind my
corporate firewall. Is there anything I can do and send you the results for?

Baz

On Thu, Apr 16, 2009 at 12:18 PM, valdhor valdhorli...@embarqmail.comwrote:



 Can you post the WSDL? Or location of one on the net?


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Baz
 thinkl...@... wrote:
 
  I would like to build a flex front-end to Microsoft Reporting Services
 (RS)
  using the provided webservice at
  http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able to
 view
  the wsdl when I navigate to it using a web browser. The problem is that I
  can't seem to authenticate against it using flex no matter what
  usernames/passwords I provide. I think I may need to implement some
 special
  authentication, but I'm not sure.
 
  Has anyone succesffuly connected to the Microsoft Reporting Services (RS)
  webservice?
 
  Thanks,
  Baz
 

  



[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread valdhor
PHP 6 is not out yet and won't be for a while. The latest Release Candidate is 
5.3 and latest stable is 5.2.9. I am using 5.2.3 on Red Hat Linux.

For PDO, check out http://us.php.net/manual/en/book.pdo.php.
For WebORB check out http://www.themidnightcoders.com/products.html



Steve

--- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote:

 Thanks Steve and Deane Venske for a valuable suggestion,
 
 
 I would like to take ur suggestions and study it further in details
 i.e. with a hands on experience before we adopt it in the project.
 Its nice that Deane Venske has past experience in delphi so his
 opinion is valuable for us. 
 
 Well Deane Venske I would like to know more about PHP and PDO
 can u suggest me some study material and links so that it could 
 save some time us. BTW Can u give us some guide line for 
 having a Database independent application. Which PHP u are
 using 5 or latest 6 ? What u would like suggest us 5 or 6 ?
 
 Right now we have installed WAMP (Windows, Apache, MySQL  PHP) and
 Flex builder. Our training resources are Lynda Essential, Beyond
 basics and Total training Flex 3. about 2/3 books on Flex and action
 script, and off course this list is a very valuable resource.
 
 last minute question, can Delphi PHP be helpfull ?
 
 
 thanks once again and best regards
 
 Raja





[flexcoders] Re: Speed Test - help needed please

2009-04-16 Thread valdhor
OK, tried in Windows XP, IE6, 24fps. Gave me Oops. Something went wrong :( 
Please email me.. same for 1000fps (But took about 15 minutes for the message)



--- In flexcoders@yahoogroups.com, tom s tcs2...@... wrote:

 Hi All - please help with this test, it will only take you 30 seconds..
 
 I'm doing some tests to see how 'fast' the Flash Player is in a variety of
 environments.
 It's working well, but so far I only have ~100 data points. I especially
 need more data points for:
 
 Mac running Safari 3.x
 Mac running FireFox - any version
 PC running MS IE - any version
 
  This is test has been checked out by several members of this group,
 all of whom attest that it is malware free 
  The claims about this being a Trojan horse have since been withdrawn
 
 
 Please click each of the links below to take part: (you don't have to do
 anything other than click the link)
 
 http://flatim3000.appspot.com/?fps=24
 http://flatim3000.appspot.com/?fps=1000
 
 It's totally malware free. If you're interested, see below for details.
 
 Please hit it as many times as you like, from as many different environments
 as you can :)
 I'll share the results when I'm done.
 
 thank
 
 tom
 
 details
 =
 The SWF:
 1. attempts to set the frame rate to 24 or 1000
 2. listens for enter_frame 240 or 10,000 times
 3. records how long (2) takes
 4. computes the actual FPS
 5. send the data to a server, along with details on OS, Browser, FP version,
 IP
 
 Any suggestions/improvements - let me know...





Re: [flexcoders] Re: Flex Developer Needed (Fulltime)

2009-04-16 Thread Jeffry Houser


Job posts come through about once every 4-6 weeks.  Not sure who is 
watching the list... 


Ellenberger, John wrote:



On this group's header they say we should use the flexjobs newsgroup 
but I tried to post some Flex job openings there and they've been 
waiting for approval for two days.  Not sure if the thing is 
dead...the last post was in Feb.
 
There also seems to be a Google Flex jobs list.



*From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] 
*On Behalf Of *Nate Beck

*Sent:* Wednesday, April 15, 2009 4:51 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Re: Flex Developer Needed (Fulltime)

LinkedIn is a great place... and http://flex.org/jobs 
http://flex.org/jobs


On Wed, Apr 15, 2009 at 1:42 PM, geeky developer 
geekydevelo...@gmail.com mailto:geekydevelo...@gmail.com wrote:




Just a curosity sake, Does anyone recommend any good website for
looking for a Flex Developer job.
If anyone can recommend any good website except Monster or Dice
which is dedicated to Flex developer hiring , that will be helpful,
Thanks




On Wed, Apr 15, 2009 at 12:39 PM, Nick Collins
ndcoll...@gmail.com mailto:ndcoll...@gmail.com wrote:



Hehe, well, everything costs more in Chicago... we do have a
10.25% sales tax



On Wed, Apr 15, 2009 at 2:06 PM, flexaustin
flexaus...@yahoo.com mailto:flexaustin%40yahoo.com wrote:


 Senior guys in Austin are 90k.

 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com, Nick Collins
ndcoll...@... wrote:

 Good luck getting a senior level Flex dev for that pay
range. Most
 senior level guys I know are getting between 100-120k.
Granted, that's
 in Chicago, not the middle of Utah.

 On Tue, Apr 14, 2009 at 2:37 PM, joshbuhler
joshbuh...@... wrote:
 
 
  Rain in American Fork, Utah is currently looking for a
(preferably
  senior
  level) Flex developer. This is a full-time position, with
great
  benefits.
 
  Details can be found at:
  http://mediarain.com/us/employment/flexdeveloper
http://mediarain.com/us/employment/flexdeveloper
 
 








--

Cheers,
Nate

http://blog.natebeck.net http://blog.natebeck.net







--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



RE: [flexcoders] knowing if a display object is in the view area or not.

2009-04-16 Thread Tracy Spratt
The first question, I do not know.

 

The second question is Not applicable, be cause itemRenderers are *always*
in the display area, except for a buffer or two.  This is a red flag
question, indicating that you need to study up on renderers a bit.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of giladozer
Sent: Thursday, April 16, 2009 8:18 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] knowing if a display object is in the view area or
not.

 






Hi, 
is there a way for this ( is Display Object) to know when it's in the
display area or not ? 

and for a different yet related question.
is there a way for an  item renderer to know if it's in the diplsay area
of not ?

thanks, 
Gilad





[flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread valdhor
Nope, the WSDL should show the operations and data types the service uses. It 
is just an XML file so you should be able to copy and paste it.

Also, is there an API reference for Microsoft Reporting Services (RS)
webservice?


--- In flexcoders@yahoogroups.com, Baz thinkl...@... wrote:

 Valdhor, thanks for the response. Unfortunately the server is behind my
 corporate firewall. Is there anything I can do and send you the results for?
 
 Baz
 
 On Thu, Apr 16, 2009 at 12:18 PM, valdhor valdhorli...@...wrote:
 
 
 
  Can you post the WSDL? Or location of one on the net?
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Baz
  thinkloop@ wrote:
  
   I would like to build a flex front-end to Microsoft Reporting Services
  (RS)
   using the provided webservice at
   http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able to
  view
   the wsdl when I navigate to it using a web browser. The problem is that I
   can't seem to authenticate against it using flex no matter what
   usernames/passwords I provide. I think I may need to implement some
  special
   authentication, but I'm not sure.
  
   Has anyone succesffuly connected to the Microsoft Reporting Services (RS)
   webservice?
  
   Thanks,
   Baz
  
 
   
 





RE: [flexcoders] Link/Hand Cursor

2009-04-16 Thread Tracy Spratt
Sometimes also mouseChildren=false

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jake Churchill
Sent: Thursday, April 16, 2009 11:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Link/Hand Cursor

 






useHandCursor=true

buttonMode=true

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of byte.sensei
Sent: Thursday, April 16, 2009 9:03 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Link/Hand Cursor

 







Flex seems to be sporadic at changing the cursor to a link/hand cursor when
rolled over components that allow clicks/linking. I can't find any
properties that make it easy to change the cursor on roll-over of an image
that is a link, for example.

I don't need custom cursors or anything, I'm just interested in changing the
default cursor into a hand/link cursor when the mouse is over a particular
UI component. What's the best way to accomplish this?

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.58/2062 - Release Date: 04/16/09
08:12:00





Re: [flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread Baz
I have read the wsdl and imported it into my ide so that is could provide
code insight on whats available. There are no problems there, the issue
arises when running the code. I get an authorization denied (or similar)
error. Googling about I noticed that .net has some special functions for
opening an authorized connection. The phrase forms auth has been thrown
about too. But there are no definitive resources on how to reproduce this
with non .net environments.

Baz


On Thu, Apr 16, 2009 at 12:27 PM, valdhor valdhorli...@embarqmail.comwrote:



 Nope, the WSDL should show the operations and data types the service uses.
 It is just an XML file so you should be able to copy and paste it.

 Also, is there an API reference for Microsoft Reporting Services (RS)
 webservice?

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Baz
 thinkl...@... wrote:
 
  Valdhor, thanks for the response. Unfortunately the server is behind my
  corporate firewall. Is there anything I can do and send you the results
 for?
 
  Baz
 
  On Thu, Apr 16, 2009 at 12:18 PM, valdhor valdhorli...@...wrote:
 
  
  
   Can you post the WSDL? Or location of one on the net?
  
  
   --- In flexcoders@yahoogroups.com 
   flexcoders%40yahoogroups.comflexcoders%
 40yahoogroups.com, Baz
   thinkloop@ wrote:
   
I would like to build a flex front-end to Microsoft Reporting
 Services
   (RS)
using the provided webservice at
http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able
 to
   view
the wsdl when I navigate to it using a web browser. The problem is
 that I
can't seem to authenticate against it using flex no matter what
usernames/passwords I provide. I think I may need to implement some
   special
authentication, but I'm not sure.
   
Has anyone succesffuly connected to the Microsoft Reporting Services
 (RS)
webservice?
   
Thanks,
Baz
   
  
  
  
 

  



RE: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread Tracy Spratt
I bet the for-loop solution will be faster, since it need to process the
array only once.  Sorts require more passes, and performance is usually
subject to the initial order.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Jake Churchill
Sent: Thursday, April 16, 2009 1:27 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] How can I receive the smallest value within an
Array?

 






array = array.sort();

smallest = array[0];

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Paul Andrews
Sent: Thursday, April 16, 2009 11:44 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 







Just for the future, most people would do this:

 

for ( var i:int =1; iarray.length; i++)

 

- Original Message - 

From: - - mailto:sailorse...@yahoo.com  

To: flexcod...@yahoogro mailto:flexcoders@yahoogroups.com ups.com 

Sent: Thursday, April 16, 2009 5:06 PM

Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 

I got it:

 

public function maxValue(array:Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

public function minValue(array:Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

 

 


  _  


From: sailorsea21 sailorse...@yahoo.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?

Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that
array?

Thanks.

-David

 

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.58/2062 - Release Date: 04/16/09
08:12:00





RE: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread Tracy Spratt
Be aware that if you have two loops in a function and use this syntax, you
will get a duplicate variable definition warning.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of - -
Sent: Thursday, April 16, 2009 1:39 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 






Thanks Paul!

 

  _  

From: Paul Andrews p...@ipauland.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 12:44:18 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

Just for the future, most people would do this:

 

for ( var i:int =1; iarray.length; i++)

 

- Original Message - 

From: - - mailto:sailorse...@yahoo.com  

To: flexcod...@yahoogro mailto:flexcoders@yahoogroups.com  ups.com 

Sent: Thursday, April 16, 2009 5:06 PM

Subject: Re: [flexcoders] How can I receive the smallest value within an
Array?

 

I got it:

 

public function maxValue(array: Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

public function minValue(array: Array):int

{

var value:int = array[0];

var i:int = new int(0);

for (i; iarray.length; i++) 

{ 

if (array[i]value)

{ 

value = array[i]; 

} 

} 

return value;

}

 

 


  _  


From: sailorsea21 sailorsea21@ yahoo.com http://yahoo.com/ 
To: flexcod...@yahoogro ups.com http://ups.com/ 
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?

Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that
array?

Thanks.

-David

 

 





[flexcoders] Apple + O in AIR 1.5 on Mac

2009-04-16 Thread Jesse Warden
In my AIR app, I can get Control + O to work, but not Apple + O.  The Apple
key does register the keyDown, but it seems the Mac OS is stealing Apple +
O.  Known?  Same thing on Windows?  Workaround (beyond using Control + O)?


Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread - -
Thanks Tracy.





From: Tracy Spratt tspr...@lariatinc.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 3:39:35 PM
Subject: RE: [flexcoders] How can I receive the smallest value within an Array?





Be aware that if you have two loops in a function and use this syntax, you will 
get a duplicate variable definition warning.
 
Tracy Spratt,
Lariat Services, development services available



From:flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On 
Behalf Of - -
Sent: Thursday, April 16, 2009 1:39 PM
To: flexcod...@yahoogro ups.com
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?
 




Thanks Paul!
 



From:Paul Andrews p...@ipauland. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, April 16, 2009 12:44:18 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?
Just for the future, most people would do this:
 
for( var i:int =1; iarray.length; i++)
 
- Original Message - 
From:- - 
To:flexcod...@yahoogro ups.com 
Sent:Thursday, April 16, 2009 5:06 PM
Subject:Re: [flexcoders] How can I receive the smallest value within an Array?
 
I got it:
 
publicfunction maxValue(array: Array):int
{
varvalue:int = array[0];
vari:int = new int(0);
for(i; iarray.length; i++) 
{ 
if(array[i]value)
{ 
value = array[i]; 
} 
} 
returnvalue;
}
publicfunction minValue(array: Array):int
{
varvalue:int = array[0];
vari:int = new int(0);
for(i; iarray.length; i++) 
{ 
if(array[i]value)
{ 
value = array[i]; 
} 
} 
returnvalue;
}
 
 



From:sailorsea21 sailorsea21@ yahoo.com
To: flexcod...@yahoogro ups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?
Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that array?

Thanks.

-David
 
 



  

[flexcoders] Re: How to Access Microsoft Reporting Services (RS) Webservices (reportservice2005.asmx?wsdl)

2009-04-16 Thread valdhor
The thing is, a web service is a very low level thing. You post XML to it and 
it responds in XML. Authentication is usually done in a SOAP header or less 
often as parameters in the SOAP body. Generally there is no other mechanism 
(Except maybe HTTP Auth). I can't see how you would use a .NET service with it.


--- In flexcoders@yahoogroups.com, Baz thinkl...@... wrote:

 I have read the wsdl and imported it into my ide so that is could provide
 code insight on whats available. There are no problems there, the issue
 arises when running the code. I get an authorization denied (or similar)
 error. Googling about I noticed that .net has some special functions for
 opening an authorized connection. The phrase forms auth has been thrown
 about too. But there are no definitive resources on how to reproduce this
 with non .net environments.
 
 Baz
 
 
 On Thu, Apr 16, 2009 at 12:27 PM, valdhor valdhorli...@...wrote:
 
 
 
  Nope, the WSDL should show the operations and data types the service uses.
  It is just an XML file so you should be able to copy and paste it.
 
  Also, is there an API reference for Microsoft Reporting Services (RS)
  webservice?
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Baz
  thinkloop@ wrote:
  
   Valdhor, thanks for the response. Unfortunately the server is behind my
   corporate firewall. Is there anything I can do and send you the results
  for?
  
   Baz
  
   On Thu, Apr 16, 2009 at 12:18 PM, valdhor valdhorlists@wrote:
  
   
   
Can you post the WSDL? Or location of one on the net?
   
   
--- In flexcoders@yahoogroups.com 
flexcoders%40yahoogroups.comflexcoders%
  40yahoogroups.com, Baz
thinkloop@ wrote:

 I would like to build a flex front-end to Microsoft Reporting
  Services
(RS)
 using the provided webservice at
 http://mydomain/reportserver/reportservice2005.asmx?wsdl. I am able
  to
view
 the wsdl when I navigate to it using a web browser. The problem is
  that I
 can't seem to authenticate against it using flex no matter what
 usernames/passwords I provide. I think I may need to implement some
special
 authentication, but I'm not sure.

 Has anyone succesffuly connected to the Microsoft Reporting Services
  (RS)
 webservice?

 Thanks,
 Baz

   
   
   
  
 
   
 





[flexcoders] Re: Cairngorm sub-applications Remoting

2009-04-16 Thread Gordon Hirsch
Have you seen the section titled Using RPC and DataServices classes with 
multi-versioned applications (~p. 40) in this document?

http://livedocs.adobe.com/flex/3/loading_applications.pdf

If I understand correctly, you are hitting this issue and will need either to 
use sandboxing or a bootstrap loader. 

Like you, we have been struggling with sub-applications. For example, it's not 
clear from the documentation exactly which classes are safe to use in a 
bootstrap loader. Does anyone have details on what's legal and what's not? 

--- In flexcoders@yahoogroups.com, Erich Cervantez f...@... wrote:

 The key thing to note:  both applications are able to dispatch service calls 
 on their own when called separately through a browser.  Both applications 
 work great on their own.
 
 Currently, I'm pointing the source attribute on SWFLoader to the swf 
 location of the sub-application.  I'm loading the app into a peer Application 
 Domain (I believe, on the same level as the parent application - both 
 children of the System Domain):
 
 _loaderContext.applicationDomain = new ApplicationDomain();
 mySubApplication.loaderContext = m_loaderContext;
 mySubApplication.source = http://xyz:8080/xyz/MySubApp.swf;;
 
 I've tried loading the sub-swf into the same App domain, but since they're 
 both Cairngorm apps and use the Cairngorm ServiceLocator singleton, I get the 
 typical singleton error (only one servicelocator can be instantiated).
 
 My next option might be to assemble most of the logic in the sub-app into a 
 module.  My primary app can load the module and use it's own service 
 framework for remoting (assuming I can get this to work).  I can create a 
 separate, light-weight shell container with its own service framework that 
 can also load the same module whenever I want to use the sub-application by 
 itself.
 
 Googling this issue isn't working...I have to assume someone out there is 
 creating portal applications that load small sub-apps (in Cairngorm).  I have 
 to figure out how they solved this problem...
 
 
 
 --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakrejda@ wrote:
 
  The 'destination null' seems to imply that your Flex-side remoting
  metadata is fubared. It's trying to contact a destination that was not
  configured--or somehow got unconfigured through the peer-appdomain swf
  loading. I've asked about doing something similar with Modules, and was
  told by Adobe folks on the list that this would be a Bad Idea. However,
  I believe they suggested separate apps--just as you are doing. Have you
  tried loading the .swfs into the same appdomain?
  -- 
  Maciek Sakrejda
  Truviso, Inc.
  http://www.truviso.com
  
  -Original Message-
  From: Erich Cervantez flex@
  Reply-to: flexcoders@yahoogroups.com
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Cairngorm sub-applications  Remoting
  Date: Thu, 16 Apr 2009 17:01:51 -
  
  
  
  Has anyone written two distinct Cairngorm-based applications, each
  capable of dispatching service calls (via RemoteObject) and tried
  loading one inside of the other?
  
  Essentially I have a parent application that uses SWFLoader to load a
  sub-application (in a peer Application Domain). The sub-application
  loads visually within the parent application but service calls from the
  sub-application result in a runtime error:
  
  TypeError: Error #1034: Type Coercion failed: cannot convert
  obj...@x to mx.messaging.messages.ErrorMessage.
  
  JBOSS logs show this:
  
  No destination with id 'null' is registered with any service.
  
  The first error appears to be a class-aliasing problem, but both of
  these apps are Cairngorm-based Flex applications...the
  registerClassAlias method shouldn't be required (besides, I tried that
  tactic already to no avail).
  
  This is the only Flex-equivalent of a bat-signal I can think of ;)
  
  Erich
 





[flexcoders] When printing, sometimes images do not show up

2009-04-16 Thread Osman Ullah
I have a print view that I am using to print some data. There are a couple 
images on this form (actually, the same image embedded twice). When I print, 
randomly one (or both) of the images will not show up in the printout. I have 
printAsBitmap set to false. If I set it to true, the problem goes away. However 
I want to set it to false so that the text will print crisper. Does anyone have 
any suggestions?



Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread f3l
why not get the max from SQL (sisn't that where your data comes from in the
first place?)

On Thu, Apr 16, 2009 at 2:39 PM, Tracy Spratt tspr...@lariatinc.com wrote:



  Be aware that if you have two loops in a function and use this syntax,
 you will get a duplicate variable definition warning.



 Tracy Spratt,

 Lariat Services, development services available
   --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *- -
 *Sent:* Thursday, April 16, 2009 1:39 PM
 *To:* flexcoders@yahoogroups.com

 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?






   Thanks Paul!


  --

 *From:* Paul Andrews p...@ipauland.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Thursday, April 16, 2009 12:44:18 PM
 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?

 Just for the future, most people would do this:



 *for* ( var i:int =1; iarray.length; i++)



  - Original Message -

 *From:* - - sailorse...@yahoo.com

 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Thursday, April 16, 2009 5:06 PM

 *Subject:* Re: [flexcoders] How can I receive the smallest value within an
 Array?



 I got it:



 *public* *function* maxValue(array: Array):int

 {

 *var* value:int = array[0];

 *var* i:int = *new* int(0);

 *for* (i; iarray.length; i++)

 {

 *if* (array[i]value)

 {

 value = array[i];

 }

 }

 *return* value;

 }

 *public* *function* minValue(array: Array):int

 {

 *var* value:int = array[0];

 *var* i:int = *new* int(0);

 *for* (i; iarray.length; i++)

 {

 *if* (array[i]value)

 {

 value = array[i];

 }

 }

 *return* value;

 }




  --

 *From:* sailorsea21 sailorsea21@ yahoo.com
 *To:* flexcod...@yahoogro ups.com
 *Sent:* Thursday, April 16, 2009 11:56:01 AM
 *Subject:* [flexcoders] How can I receive the smallest value within an
 Array?

 Hi everyone, if I have an array as

 var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

 Is there a function that will return me the smallest value within that
 array?

 Thanks.

 -David





  




-- 
What a Great Day*
http://whatagreatday.wordpress.com/


Re: [flexcoders] Re: showDataTipsTargets without showing datatips?

2009-04-16 Thread thomas parquier
well, the visible property doesnt remove these grey connectors...
so I'll be attentive to any suggestion in this thread.

thomas



2009/4/16 thomas parquier mailingli...@web-attitude.fr

 setting visible=false in your datatip constructor should work.

 thomas



 2009/4/16 flexaustin flexaus...@yahoo.com



  I have tried what you suggested already, but didn't have any luck as my
 linechart has two lineseries and when you mouse over any area where the
 lineseries cross you get two grey lines that connect the datatiptargets to
 the datatip. So when you have empty or blank datatips the grey lines point
 to nothing.

 I can't get the grey lines to go away so the blank/empty datatips don't
 work.

 Thx


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, thomas
 parquier mailingli...@... wrote:
 
  I've used a NullDataTip class (extending DataTip but not displaying
  anything) as dataTipRenderer... not very elegant but there doesnt seem
 to be
  any property or method to display only these targets... BTW dont know
 where
  to look at to customize them...
 
  thomas
 
 
  2009/4/16 flexaustin flexaus...@...
 
  
  
   Is their a way to force a flex chart to show datatiptargets even when
   datatips is set to false? I want the a datatiptarget like Google
 Financials
   chart, where the ball moves along the lineseries, but I don't want any
   datatips.
  
   Is this possible?
  
   TIA, J
  
  
  
 
 
 
  --
  http://www.web-attitude.fr/
  msn : thomas.parqu...@...
  softphone : sip:webattit...@... sip%3awebattit...@...
  téléphone portable : +33601 822 056
 

  




 --
 http://www.web-attitude.fr/
 msn : thomas.parqu...@web-attitude.fr
 softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
 téléphone portable : +33601 822 056




-- 
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


Re: [flexcoders] Resetting HSlider / VSlider

2009-04-16 Thread thomas parquier
I think you have to set the values property to an array to have the setter
triggering some stuff.

thomas



2009/4/16 byte.sensei byte.sen...@yahoo.com



 I have a UI with filters including an HSlider with 2 thumbs representing a
 start year and end year (range 1854-2008). The HSlider code looks like this:

 mx:HSlider id=slider_mfg_year minimum=1854 maximum=2008
 thumbCount=2 values=[1854,2008] labels=[1854, 2008] width=250
 tickInterval=10 snapInterval=1 dataTipFormatFunction={nf.format}
 liveDragging=false change=filter() horizontalCenter=0 bottom=5/

 In addition, the UI has a reset button that is supposed to reset the
 filters to their default values. Everything is working *except* the HSlider
 -- I can't seem to get it to reset the thumbs to their default positions.
 I'm trying to do this by setting the thumb values:

 private function filter_reset():void {
 slider_mfg_year.values[0] = 1854;
 slider_mfg_year.values[1] = 2008;
 ...

 However, this doesn't seem to be resetting the thumb positions, just the
 HSlider control values, and the values/positions of the thumbs are now out
 of sync.

 How can I reset the HSlider thumbs back to their default positions/values?

  




-- 
http://www.web-attitude.fr/
msn : thomas.parqu...@web-attitude.fr
softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net
téléphone portable : +33601 822 056


Re: [flexcoders] How can I receive the smallest value within an Array?

2009-04-16 Thread - -
It will but at the moment I'm putting together a quick demo.

Thanks!





From: f3l auditor...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Thursday, April 16, 2009 3:47:47 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?





why not get the max from SQL (sisn't that where your data comes from in the 
first place?) 



On Thu, Apr 16, 2009 at 2:39 PM, Tracy Spratt tspr...@lariatinc. com wrote:




Be aware that if you have two loops in a function and use this syntax, you will 
get a duplicate variable definition warning.
 
Tracy Spratt,
Lariat Services, development services available



From:flexcod...@yahoogro ups.com [mailto:flexcod...@yahoogro ups.com] On Behalf 
Of - -
Sent: Thursday, April 16, 2009 1:39 PM
To: flexcod...@yahoogro ups.com 

Subject: Re: [flexcoders] How can I receive the smallest value within an Array?
 




Thanks Paul!
 



From:Paul Andrews p...@ipauland. com
To: flexcod...@yahoogro ups.com
Sent: Thursday, April 16, 2009 12:44:18 PM
Subject: Re: [flexcoders] How can I receive the smallest value within an Array?
Just for the future, most people would do this:
 
for( var i:int =1; iarray.length; i++)
 
- Original Message - 
From:- - 
To:flexcod...@yahoogro ups.com 
Sent:Thursday, April 16, 2009 5:06 PM
Subject:Re: [flexcoders] How can I receive the smallest value within an Array?
 
I got it:
 
publicfunction maxValue(array: Array):int
{
varvalue:int = array[0];
vari:int = new int(0);
for(i; iarray.length; i++) 
{ 
if(array[i]value)
{ 
value = array[i]; 
} 
} 
returnvalue;
}
publicfunction minValue(array: Array):int
{
varvalue:int = array[0];
vari:int = new int(0);
for(i; iarray.length; i++) 
{ 
if(array[i]value)
{ 
value = array[i]; 
} 
} 
returnvalue;
}
 
 



From:sailorsea21 sailorsea21@ yahoo.com
To: flexcod...@yahoogro ups.com
Sent: Thursday, April 16, 2009 11:56:01 AM
Subject: [flexcoders] How can I receive the smallest value within an Array?
Hi everyone, if I have an array as

var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);

Is there a function that will return me the smallest value within that array?

Thanks.

-David
 
 


-- 
What a Great Day*
http://whatagreatda y.wordpress. com/




  

[flexcoders] Slider bug? Programmatic change event

2009-04-16 Thread Aaron Hardy
Hey flexers,

I've been dealing with the Slider recently and I think I'm seeing a bug, but
I'd like a confirmation.  I understand that when I set the value of the
slider programmatically it's not supposed to dispatch a change event.  This
is what I want, however I'm not seeing that behavior.  Looking at the
Slider.value setter, I see it calls setValueAt(val, 0, true) where true is
that the change is programmatic.  However it also sets valuesChanged to true
and calls invalidateProperties().  In commitProperties, if valuesChanged is
true, it calls setValueAt with no programmatic parameter, which means it
defaults to false, which means setValueAt ends up dispatching a change
event.

Am I crazy?  Has this been submitted as a bug?  I couldn't find a bug on it
specifically, but I found this bug:

http://bugs.adobe.com/jira/browse/SDK-16537

which is reporting that it's NOT dispatching a change event when it
should.  I understand the reporter of the bug was wrong in his
assumptions, but the fact that he was NOT getting a change event when
setting the value programmatically and I am is the confusing part.  I want
the result he was complaining about. :)

Thanks.

Aaron


[flexcoders] Re: Flex Developer Needed (Fulltime)

2009-04-16 Thread joshbuhler
--- In flexcoders@yahoogroups.com, Nick Collins ndcoll...@... wrote:

 Good luck getting a senior level Flex dev for that pay range. Most
 senior level guys I know are getting between 100-120k. Granted, that's
 in Chicago, not the middle of Utah.

Exactly. That's a pretty average rate for a senior dev. around here. It doesn't 
really cost all that much to live comfortably around here.



[flexcoders] Quick Question: How do i control the number of item renderers to be created as

2009-04-16 Thread djhatrick
a buffer in all directions... I forget how to do that, please?

Thanks,
Patrick



RE: [flexcoders] Quick Question: How do i control the number of item renderers to be created as

2009-04-16 Thread Tracy Spratt
I do not know that you can, without re-writing the List controls.

 

Why do you want to do this?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of djhatrick
Sent: Thursday, April 16, 2009 6:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Quick Question: How do i control the number of item
renderers to be created as

 






a buffer in all directions... I forget how to do that, please?

Thanks,
Patrick





[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread raja_s_patil
Thanks Steve,


 PHP 6 is not out yet and won't be for a while. The latest Release Candidate 
 is 5.3 and latest stable is 5.2.9. I am using 5.2.3 on Red Hat Linux.
 
 For PDO, check out http://us.php.net/manual/en/book.pdo.php.

This Link dont work, I think its not complete since ends with a . (dot)

 For WebORB check out http://www.themidnightcoders.com/products.html
 
 

I have downloaded and I think I with a new Ball and Chain which
will keep me tied to a place for a while.

Well I will be back after few days since Flex data connectivity
is a altogether new to us so we try to develop a pilot application
and come back again with some issues if any. We have to learn PHP
also. I found some good PHP books in local store here which we will
buy today. 

BTW can u suggest some good PHP IDE, if there is any ?

Thanks once again and Best Regards

Raja





Re: [flexcoders] Post on the flex coders message board

2009-04-16 Thread Aaron Hardy
Hmm.okay.  Wait for it.wait for it..now!

Lucas Adams wrote:


 Please let me post questions.

 Thanks

 



RE: [flexcoders] Post on the flex coders message board

2009-04-16 Thread Tim Rowe
At least it wasn't May I ask a question?.

--Tim


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Aaron Hardy
Sent: Friday, 17 April 2009 1:24 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Post on the flex coders message board




Hmm.okay. Wait for it.wait for it..now!

Lucas Adams wrote:


 Please let me post questions.

 Thanks







Re: [flexcoders] Post on the flex coders message board

2009-04-16 Thread Nathaniel Skiba
Okay, but the djinni will only answer three.

Lucas Adams wrote:


 Please let me post questions.

 Thanks




[flexcoders] Re: How can I receive the smallest value within an Array?

2009-04-16 Thread reflexactions
var arr:Array = [8,11,13,24,19,8,4,6,5];

var maxValue:Number = Math.max.apply(null, arr);
var minValue:Number = Math.min.apply(null, arr);



--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote:

 Be aware that if you have two loops in a function and use this syntax, you
 will get a duplicate variable definition warning.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of - -
 Sent: Thursday, April 16, 2009 1:39 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] How can I receive the smallest value within an
 Array?
 
  
 
 
 
 
 
 
 Thanks Paul!
 
  
 
   _  
 
 From: Paul Andrews p...@...
 To: flexcoders@yahoogroups.com
 Sent: Thursday, April 16, 2009 12:44:18 PM
 Subject: Re: [flexcoders] How can I receive the smallest value within an
 Array?
 
 Just for the future, most people would do this:
 
  
 
 for ( var i:int =1; iarray.length; i++)
 
  
 
 - Original Message - 
 
 From: - - mailto:sailorse...@...  
 
 To: flexcod...@yahoogro mailto:flexcoders@yahoogroups.com  ups.com 
 
 Sent: Thursday, April 16, 2009 5:06 PM
 
 Subject: Re: [flexcoders] How can I receive the smallest value within an
 Array?
 
  
 
 I got it:
 
  
 
 public function maxValue(array: Array):int
 
 {
 
 var value:int = array[0];
 
 var i:int = new int(0);
 
 for (i; iarray.length; i++) 
 
 { 
 
 if (array[i]value)
 
 { 
 
 value = array[i]; 
 
 } 
 
 } 
 
 return value;
 
 }
 
 public function minValue(array: Array):int
 
 {
 
 var value:int = array[0];
 
 var i:int = new int(0);
 
 for (i; iarray.length; i++) 
 
 { 
 
 if (array[i]value)
 
 { 
 
 value = array[i]; 
 
 } 
 
 } 
 
 return value;
 
 }
 
  
 
  
 
 
   _  
 
 
 From: sailorsea21 sailorsea21@ yahoo.com http://yahoo.com/ 
 To: flexcod...@yahoogro ups.com http://ups.com/ 
 Sent: Thursday, April 16, 2009 11:56:01 AM
 Subject: [flexcoders] How can I receive the smallest value within an Array?
 
 Hi everyone, if I have an array as
 
 var boxSize:Array = new Array(25, 45, 32, 70, 50, 46, 80, 10);
 
 Is there a function that will return me the smallest value within that
 array?
 
 Thanks.
 
 -David





[flexcoders] flex and component positioning

2009-04-16 Thread cvsikh
Hi,

I have a problem.  I have an iframe component which works fine.  THe problem 
comes when you click on some click within the iframe.  The flex is being loaded 
in an iframe as well and when you click on the link, the swf's positioning gets 
messed up.  What it does it, portion of the swf will go underneath top frame 
although the swf code exists in another frame (which is underneath top frame).

Thanks in advance!



[flexcoders] flex component - option to convert to popup

2009-04-16 Thread cvsikh
Hi,

I want to have a button which can open an existing component as a popup through 
Flex' popupmanager.  Basically, the popup will be opened from main.mxml and the 
popup will have a component already being shown on main.mxml, it won't come 
from a seperate mxml file.

Thanks for the help.



[flexcoders] Re: Need Suggestions for database application.

2009-04-16 Thread jcjr031064
PHP is good for server-side and there are frameworks that will help you 
encapsulate database layer so you can easily switch from one db engine to 
another e.g. MySQL to PGSQL,etc.

Built in PHP is PHP Data objects library that can help you with this problem as 
well if you need a thin layer for your database layer.


JC
--- In flexcoders@yahoogroups.com, raja_s_patil kpr.rspa...@... wrote:

 Hello,
 
 We are in process of converting a Desktop C/S Database application
 to web application. Till date we have not developed any web
 application. We have evaluated Flex as development platform
 and created a small pilot application without data access
 and the respective client has admired general features provided
 by Flex. Now we would like to evaluate data access part of Flex.
 
 Now what we need is help on designing data access part of
 application. Since this is First Adventure for Both of us 
 (Client and We) there is no legacy system so we are starting 
 from scratch. Can somebody suggest how we should proceed so
 that there are no/minimum problem in production. At present
 the application being ported to we is written in Delphi with
 Firebird as Database Engine. Most of the business logic is
 stored in Stored Procedures and runs on Linux, Win XP, Win 98 as
 data base servers. We dont mind on time to be taken for development
 or efforts in developing/implementing but we expect to achieve
 following goals.
 
 1 The application should be independent of Backend database.
i.e. it should be able to use any of Oracle, MS-SQL, MySQL,
PostgreSQL, Firebird as backend.
 2 The business logic should move from Stored procedures to some
middle layer i.e. to Application server.
 3 It should be possible to separate application server and database
server i.e. application server and Database servers can be at
different physical locations or they can reside on same server.
 4 the communication between database server-application server and
application Server-Client should be secured one or may be
encrypted so that man in middle is not able to modify the data
 
 To best of our knowledge we have got a rough layout as follows.
 To start with have spring as application server with hibernate
 integration for data access. Then Flex application will 
 communicate with application server through BlazeDS.
  
 Can somebody suggest us a better way of doing it so that
 above goals are achieved and efforts are minimised for both
 development/implementation and maintenance.  
 
 Thanks for reading this long post and best regards
 
 raja





[flexcoders] Re: create a thumbnail dynamically from large image using flex

2009-04-16 Thread stinasius
any help guys?