Re: [flexcoders] Re: Flexbuilder 3.0.1 Update

2008-08-19 Thread Paolo Bernardini
My auto update didn't find any updates for flexbuilder (it's not included in
the list of program to update, only cs3 programs). Is there a link from
where I can download flexBuilder 3.0.1 update?

On Tue, Aug 19, 2008 at 2:38 PM, Howard Fore [EMAIL PROTECTED] wrote:

Here's Matt's devnet article about it:
 http://www.adobe.com/devnet/flex/articles/sdk3_fb301.html

 I would imagine the normal download page applies for FB:
 http://www.adobe.com/go/flex_trial. You can get the SDK at
 http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK

 On 8/18/08, ntman12001 [EMAIL PROTECTED] wrote:

 Could someone please paste the link to the FB 3.01 download? Thanks.




 --
 Howard Fore, [EMAIL PROTECTED]
 The universe tends toward maximum irony. Don't push it. - Jeff Atwood

 



[flexcoders] flex_sdk_3.1.0.2710 works with flexBuilder?

2008-08-18 Thread Paolo Bernardini
dose flex_sdk_3.1.0.2710 works with flexBuilder?
after installing flex_sdk_3.1.0.2710, and setting it as the default sdk I
compiled some old projects that I have, and it works fine, then I tried to
code and notice that code hint for Event, MouseEvent is not working anymore.
Even when you type import flash. it only sees errors package.
Is there a way to use it with flexBuilder and expect to work as with the
previous version?


Re: [flexcoders] .errorTip borderStyle has no effect when using Tooltip custom borderSkin. BUG?

2008-06-16 Thread Paolo Bernardini
I have the same issue, it happends with textInput as well, any solution?

On Fri, Apr 4, 2008 at 1:33 AM, Thibaud Van Vreckem [EMAIL PROTECTED]
wrote:


 Tooltip and .errortip styling are crap.

 when using:

 ToolTip
 {
 borderSkin: Embed(/assets/skins/tooltip/ToolTip_borderSkin.png);
 }


 then .errorTip is always using Tooltip borderSkin and most errorTip style
 attribute are simply ignored.
 I did try forcing it with this, with no success

 .errorTip
 {
 borderSkin: ClassReference(mx.skins.halo.ToolTipBorder);
 borderStyle: errorTipRight;
 }

 .errortip just look like Tooltip and I can't get the errortip pointers to
 show up (nor change the color or whatever).

 how can I reskin the default Tooltip while preserving error tips default
 style ?
 (non programatic skinning prefered)


 



Re: [flexcoders] Re: Flex 3 Beta 3 Debugger Doesnt Connect

2008-01-30 Thread Paolo Bernardini
Hi, I have the same problem with nod32, is there a solution to configure
nod32 without uninstalling it?



On Dec 27, 2007 4:09 AM, Sheriff [EMAIL PROTECTED] wrote:

I have no reason, just read alot of good reviews on it and decided to
 try it. I had to uninstall it though and download another antivirus/secuirty
 program and everything worked after.

  - Original Message 
 From: Mike Morearty [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, December 26, 2007 6:55:12 PM
 Subject: [flexcoders] Re: Flex 3 Beta 3 Debugger Doesnt Connect

  Oops, I missed your followup saying that NOD 32 Antivirus caused the
 problem.

 Glad to see you figured it out. I have to ask, though -- I
 occasionally see references to this sort of problem, only to have it
 always come down to NOD 32 Antivirus. I have never, ever heard of
 that program in any context other than the cause of the Flex Builder
 debugger not working. Can you tell me a little about it? E.g. is it
 popular in certain circles? I'm thinking maybe we should have a tech
 note warning that NOD 32 blocks the Flex Builder debugger.

 Thanks - Mike Morearty, Adobe Flex Builder team

 --- In [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com, Mike
 Morearty mike.morearty@ ...
 wrote:
 
  Which component caused it to stop working -- the new Flex Builder, or
  the new Flash player? In other words, if you run the old beta 2 with
  the new player 115, does it work? If you run the new beta 3 with the
  old player that came out with beta 2 (whatever version that was), does
  it work?
 
  By the way, for the record, the port used by the debugger is 7935, not
  the port mentioned by mydarkspoon. But as you have already figured
  out, that doesn't seem to be the problem here...
 
  - Mike Morearty, Adobe Flex Builder team
 
 
  --- In [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com,
 Sheriff sherif626@ wrote:
  
   reverted back to Flex 3 Beta 2 and installed the older flash player
  and everything works again so i am guessing it has to do with the
  flash 9.0115 and Windows Vista Home Premium or something with the Flex
  3 Beta 3 not connecting. Any Advise?
  
  
   - Original Message 
   From: Sheriff sherif626@
   To: [EMAIL PROTECTED] ups.com flexcoders%40yahoogroups.com
   Sent: Tuesday, December 25, 2007 4:34:08 PM
   Subject: [flexcoders] Flex 3 Beta 3 Debugger Doesnt Connect
  
   Anyone having this problem? I am running Windows Vista Home and the
  Debugger always times out. Flash Player used is the one that comes
  with the Stand Alone Flex Builder. I cleaned/Uninstalled /reinstalled
  and nothing works it always times out. I even tried the plugin version
  and same problem. The build is the 115 one
  
  
  
   Never miss a thing. Make Yahoo your homepage.
  
  
  
  
 
  _ _ _ _ _ _
   Never miss a thing. Make Yahoo your home page.
   http://www.yahoo. com/r/hs http://www.yahoo.com/r/hs
  
 



 --
 Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
 now.http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

 



Re: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-26 Thread Paolo Bernardini
thanks for the reply, I'm not missing the import and it is listed in the as
3 doc under flex doc.

http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=15_Geometry_174_5.html

if it is for Flash CS3 and not for Flex, how can we use MatrixTransformer in
flex?


On 9/25/07, Steve Mathews [EMAIL PROTECTED] wrote:

   I am pretty sure the fl classes are part of the CS3 IDE, not the flex
 framework.

 On 9/25/07, Paolo Bernardini [EMAIL PROTECTED] wrote:
 
  if I try to use fl.motion.MatrixTransformer
  in a flex project the compiler complains that MatrixTransformer dose not
  exist.
  Is fl.motion.MatrixTransformer included in the flex framework?
 

 



Re: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-26 Thread Paolo Bernardini
* Here is my code:

import* fl.motion.MatrixTransformer;
*import* *flash*.geom.Matrix;

* var* tempMaskMatrix:Matrix = *maskAsset*.transform.matrix;
MatrixTransformer.setSkewY(tempMaskMatrix, angle);
MatrixTransformer.setSkewX(tempMaskMatrix, 0);


where *maskAsset is an image.*

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

 On Wednesday 26 Sep 2007, [EMAIL PROTECTED] wrote:
  thanks for the reply, I'm not missing the import and it is listed in the
 as
  3 doc under flex doc.

 Post Your Code.

 --
 Tom Chiverton
 Helping to vitalistically streamline value-added segments
 on: http://thefalken.livejournal.com

 

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

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

 CONFIDENTIALITY

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

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



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






Re: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-26 Thread Paolo Bernardini
thanks Tom,

I missed that part in the doc.
it dosen't sound right to me that an actionscript 3 class is not available
in flex. It should be added to the framework.


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

 On Wednesday 26 Sep 2007, [EMAIL PROTECTED] wrote:
  thanks for the reply, I'm not missing the import and it is listed in the
 as
  3 doc under flex doc.
 
 
 http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.h
 tm?context=LiveDocs_Book_Partsfile=15_Geometry_174_5.html

 Yeah. But it's not a framework class. It's not listed in
 http://livedocs.adobe.com/flex/201/langref/index.html and the very same
 page
 your link points at says 'The DisplayObjectTransformer application files
 can
 be found in the folder Samples/DisplayObjectTransformer. ... [including]
 com/example/programmingas3/geometry/MatrixTransformer.as '

 So it's an example file, and not under fl.motion either way.
 --
 Tom Chiverton
 Helping to quickly introduce scalable relationships
 on: http://thefalken.livejournal.com

 

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

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

 CONFIDENTIALITY

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

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



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






Re: [flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-26 Thread Paolo Bernardini
this is not completely true, fl.motion.MatrixTransformer is part of Flash
CS3 AS3 Classes, I know that because I have used it many times. I was just
trying to use it in a flex project.
That's why it feels strange.


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

 On Wednesday 26 Sep 2007, [EMAIL PROTECTED] wrote:
  it dosen't sound right to me that an actionscript 3 class is not
 available
  in flex. It should be added to the framework.

 It's not a (core) AS3 class ! It's just something they made up for the
 example.

 --
 Tom Chiverton
 Helping to centrally deploy exceptional networks
 on: http://thefalken.livejournal.com

 

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

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

 CONFIDENTIALITY

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

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



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






[flexcoders] class fl.motion.MatrixTransformer not available in flex framework

2007-09-25 Thread Paolo Bernardini
if I try to use fl.motion.MatrixTransformer
in a flex project the compiler complains that MatrixTransformer dose not
exist.
Is fl.motion.MatrixTransformer included in the flex framework?


[flexcoders] applying filters to assets to use as icon in components

2007-06-07 Thread Paolo Bernardini

How do you applying filter to assets to use as icon in components?

I want to apply a shadow to an image and than use it as icon for a button.

[Embed(source=myIcon.gif)]
[Bindable]
public var imgCls:Class;

I'm trying to convert it to a BitmapAsset then apply my filters and convert
back to Class to use it within the Button.icon but I get Casting type
errors.
Could some one please help me with this?


[flexcoders] hotfix 2 and webservices

2007-06-01 Thread Paolo Bernardini

Hi,
I've a problem with webservices after updating to hotfix 2 for flex builder.
this is the soap for the method I'm having problems with:

soap:Envelope xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=
http://schemas.xmlsoap.org/soap/envelope/;
 soap:Body
   loginUtenteObjResponse xmlns=
http://www.mamateam.net/schemas/services/sso;
 loginUtenteObjResult
   *Items* xmlns=http://www.mamateam.net/schemas/services/users/;
 DataSetUtenteUtenteObj
   IDUtente*int*/IDUtente
   email*string*/email
   username*string*/username
   nome*string*/nome
   cognome*string*/cognome
   password*string*/password
   language*string*/language
   passExpires*dateTime*/passExpires
   userExpires*dateTime*/userExpires
   locked*boolean*/locked
   SecretQuestion*string*/SecretQuestion
   SecretAnswer*string*/SecretAnswer
   isGroup*boolean*/isGroup
   imported*boolean*/imported
 /DataSetUtenteUtenteObj
 DataSetUtenteUtenteObj
   IDUtente*int*/IDUtente
   email*string*/email
   username*string*/username
   nome*string*/nome
   cognome*string*/cognome
   password*string*/password
   language*string*/language
   passExpires*dateTime*/passExpires
   userExpires*dateTime*/userExpires
   locked*boolean*/locked
   SecretQuestion*string*/SecretQuestion
   SecretAnswer*string*/SecretAnswer
   isGroup*boolean*/isGroup
   imported*boolean*/imported
 /DataSetUtenteUtenteObj
   /Items
 /loginUtenteObjResult
   /loginUtenteObjResponse
 /soap:Body
/soap:Envelope

as you can see *Items* is an Array of DataSetUtenteUtenteObj.
Before installing hotfix 2 it was working fine, but after I see *Items* as
an Object instead of Array so my code break.
Note that the *Items* Array contains only 1 object, I couldn't test if with
the array lenght greater than one I would see as an Array.


[flexcoders] Applying filters to an image to use as a icon asset for a button

2007-06-01 Thread Paolo Bernardini

Hi,
I want to applying some filters to an image before I use it as an icon asset
for a button.
I tryied this:
**public function getButtonIcon(btn:String):Class
 {
  var result : Class;

  switch ( btn ) {
case cart:
result = model.assets.cartIconBig;
break;
case find:
result = model.assets.searchIconBig;
break;
   }
  var temp:BitmapAsset = BitmapAsset(result);
  temp.filters = [shadowFilter];

  return temp;
 }

then


icon={getButtonIcon(*'find'*)}



of Course I get a conversion type error becouse I return BitmapAsset instead
of a Class, I tryied many solutions but no luck.

How do I solve it?


[flexcoders] for in loop dosen't work on custom class

2007-04-16 Thread Paolo Bernardini

I found that if you try to do a for in loop for a custom class it won't
work.

*for* (*var* i:String *in* ItemVO*){*
*   trace*(ItemVO[i]); // it won't trace anything.
}


this is my custom class, (I've tried with other as well)

*

package* com.leader.store.vo

{

*import* com.adobe.cairngorm.vo.IValueObject;

[RemoteClass(alias=*FrigoPersonalizzato.BusinessEntities.ItemVO*)]

*public* *class* ItemVO *implements* IValueObject

{

[*Bindable*]

*public* *var* brand:String;

[*Bindable*]

*public* *var* category:String;

[*Bindable*]

*public* *var* code:String;

[*Bindable*]

*public* *var* collection:String;

[*Bindable*]

*public* *var* color:String;

[*Bindable*]

*public* *var* date_active_from:Date;

[*Bindable*]

*public* *var* date_active_to:Date;

[*Bindable*]

*public* *var* deliverytime:Number = 0;

[*Bindable*]

*public* *var* description:String;

[*Bindable*]

*public* *var* flag_main:Boolean;

[*Bindable*]

*public* *var* flag_only_basket:Boolean;

[*Bindable*]

*public* *var* imb_key:String;

[*Bindable*]

*public* *var* minimumorder:Number = 0;

[*Bindable*]

*public* *var* option_a:String;

[*Bindable*]

*public* *var* path1:String;

[*Bindable*]

*public* *var* path1brand:String;

[*Bindable*]

*public* *var* path2:String;

[*Bindable*]

*public* *var* price:Number = 0;

[*Bindable*]

*public* *var* sequence:Number = 0;

[*Bindable*]

*public* *var* size:String;

[*Bindable*]

*public* *var* subcategory:String;

[*Bindable*]

*public* *var* subcollection:String;

[*Bindable*]

*public* *var* subtitle:String;

}

}


Re: [flexcoders] for in loop dosen't work on custom class

2007-04-16 Thread Paolo Bernardini

sorry for the * it was a copy and past problem.
Thanks Shaun, for your explanation.
I need the for in loop not to add new properties to my object, but to
iterate through its properties and add them to a new object.


On 16 Apr 2007 04:39:03 -0700, shaun [EMAIL PROTECTED] wrote:


  Paolo Bernardini wrote:
 I found that if you try to do a for in loop for a custom class it won't
 work.

 *for* (*var* i:String *in* ItemVO*){*
 * trace*(ItemVO[i]); // it won't trace anything.
 }


[snip]

 *public* *class* ItemVO *implements* IValueObject


[snip]

The for in loop only iterates over dynamic properties. Not fixed.
You can either make your object dynamic.

public dynamic class ItemVO implements IValueObject

Or you have to use flash.utils describeType to get an XML representaion
(minus static properties, I think).

Dynamic objects can make life easier in a lot of ways, especially with
item renderers and editors, but beware the downside. You can set and
access properties that are not part of the class, same as you can with a
Plain Old Actionscript Object instance (POAO ;). So a simple typo could
create real hassles, rather than being caught be the compiler.

Ie) you can do the following:

var item:ItemVO = new ItemVO();

item.property_that_doesnt_exist = a value;

or

var s:String = item.property_that_doesnt_exist;

cheers,
- shaun




Re: [flexcoders] Re: Problem calculating repeater Height

2007-04-04 Thread Paolo Bernardini

Thanks man, it works well.

On 03 Apr 2007 08:58:48 -0700, not_a_coop [EMAIL PROTECTED] wrote:


  I have also had a few problems getting the final height of components
and have been using the updateComplete() event to call a function that
stores the final height.

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paolo
Bernardini
[EMAIL PROTECTED] wrote:

 Any help?

 On 3/27/07, Paolo Bernardini [EMAIL PROTECTED] wrote:
 
  Hi, I have nested repeaters, I need to dispatch an event after all
  repeater have finished rendering, and pass the height of the
UIComponet that
  holds the repeaters.
  The problem is that I haven't found a way to know when the final
height is
  available. I have tried using repeatEnd event callLater but all
the methods
  that I've tried, are been dispatched too soon, before the actual
height is
  been set.
  this is an example of my situation, I need to dispatch an event
that pass
  techVBox.height after all repeater are rendered.
 
  mx:VBox
  id=techVBox width=100% verticalGap= 1 backgroundColor=#ff
  mx:Repeater id=categoriesDp
dataProvider={model.product.categories }
  
  views:TecnicalDetailsCategoriesView categoria= {
  categoriesDp.currentItem} index={ categoriesDp.currentIndex}
width=
  100%/
  /mx:Repeater
  /mx:VBox
 
  TecnicalDetailsCategoriesView contains another repeater
 
  mx:Repeater
  id=detDb dataProvider={categoria.Descriptions }
  views:TecnicalDetailsDescriptionView width= 100% description={
  detDb.currentItem}  rowNumb={detDb.currentIndex % 2}
parentIndex= {
  index} index={detDb.currentIndex }/
  /mx:RepeaterAny help?
 






[flexcoders] Re: Problem calculating repeater Height

2007-04-03 Thread Paolo Bernardini

Any help?

On 3/27/07, Paolo Bernardini [EMAIL PROTECTED] wrote:


Hi, I have nested repeaters, I need to dispatch an event after all
repeater have finished rendering, and pass the height of the UIComponet that
holds the repeaters.
The problem is that I haven't found a way to know when the final height is
available. I have tried using repeatEnd event callLater but all the methods
that I've tried, are been dispatched too soon, before the actual height is
been set.
this is an example of my situation, I need to dispatch an event that pass
techVBox.height after all repeater are rendered.

mx:VBox
id=techVBox width=100% verticalGap= 1 backgroundColor=#ff
  mx:Repeater id=categoriesDp dataProvider={model.product.categories }

 views:TecnicalDetailsCategoriesView categoria= {
categoriesDp.currentItem} index={ categoriesDp.currentIndex} width=
100%/
  /mx:Repeater
/mx:VBox

TecnicalDetailsCategoriesView contains another repeater

mx:Repeater
id=detDb dataProvider={categoria.Descriptions }
  views:TecnicalDetailsDescriptionView width= 100% description={
detDb.currentItem}  rowNumb={detDb.currentIndex % 2} parentIndex= {
index} index={detDb.currentIndex }/
/mx:RepeaterAny help?



[flexcoders] Problem calculating repeater Height

2007-03-27 Thread Paolo Bernardini

Hi, I have nested repeaters, I need to dispatch an event after all repeater
have finished rendering, and pass the height of the UIComponet that holds
the repeaters.
The problem is that I haven't found a way to know when the final height is
available. I have tried using repeatEnd event callLater but all the methods
that I've tried, are been dispatched too soon, before the actual height is
been set.
this is an example of my situation, I need to dispatch an event that pass
techVBox.height after all repeater are rendered.

mx:VBox id=techVBox width=100% verticalGap=1 backgroundColor=#ff

 mx:Repeater id=categoriesDp dataProvider={model.product.categories}
views:TecnicalDetailsCategoriesView categoria={
categoriesDp.currentItem} index={categoriesDp.currentIndex} width=100%
/
 /mx:Repeater
/mx:VBox

TecnicalDetailsCategoriesView contains another repeater

mx:Repeater id=detDb dataProvider={categoria.Descriptions}
 views:TecnicalDetailsDescriptionView width=100% description={
detDb.currentItem} rowNumb={detDb.currentIndex % 2} parentIndex={index}
index={detDb.currentIndex}/
/mx:Repeater
Any help?


[flexcoders] dragProxy as image dosen't show image

2007-03-26 Thread Paolo Bernardini

Hi

I was following the last example on
http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/

I'm having a problem when I replace embedded images with dynamic URLs.

this is the part of the code that I'm having problem with:

// Create a copy of the coin image to use as a drag proxy.
   var dragProxy:Image = new Image();
   dragProxy.source = event.currentTarget.source;

if the source is embedded like in the example ([Embed(assets/5c.png)]) it
works fine, but when replaced with a dynamic image, I can't see the proxy
image been dragged.

Has anyone else found this problem? any solution?

by Paolo


Re: [flexcoders] dragProxy as image dosen't show image

2007-03-26 Thread Paolo Bernardini

Thank you Tim,

you solve my problem.


On 26 Mar 2007 06:18:13 -0700, Tim Walling [EMAIL PROTECTED] wrote:


  Instead of loading the image for a second time you could just copy the
raw bitmap data of the loaded image using something like this:

http://www.flex2components.com/f2cblog/2006/05/18/flex2-dnd-bitmap-copy/

I follow this approach when creating drag proxies in order to get a copy
of the item being dragged.


Tim


On 26 Mar 2007 03:59:26 -0700, Paolo Bernardini 
[EMAIL PROTECTED] wrote:

Hi

 I was following the last example on 
http://www.adobe.com/devnet/flex/quickstart/adding_drag_and_drop/


 I'm having a problem when I replace embedded images with dynamic URLs.

 this is the part of the code that I'm having problem with:

 // Create a copy of the coin image to use as a drag proxy.
 var dragProxy:Image = new Image();
 dragProxy.source = event.currentTarget.source;

 if the source is embedded like in the example ([Embed(assets/5c.png)])
 it works fine, but when replaced with a dynamic image, I can't see the proxy
 image been dragged.

 Has anyone else found this problem? any solution?

 by Paolo




--
Tim
timwalling.com





Re: [flexcoders] Drag and Drop within TileList - why does my code copy instead of move?

2007-01-10 Thread Paolo Bernardini

are you using flex 2.0 or 2.0.1?
I have an application using drag and drop and need to move the items within
the TileList, it was working just fine in version 2.0, now since I updated
to 2.0.1 it doesn't move the items anymore but instead makes a copy.
Basically I want to order the Items of the TileList by dragging them, but I
also want to drag items from a different component. As I said it worked with
flex 2.0.
Here is the code:



?xml version=1.0 encoding=utf-8?

mx:TileList xmlns:mx=http://www.adobe.com/2006/mxml;
backgroundAlpha=0 backgroundColor=#FF
itemRenderer=renderer.ProjectThumbnail
dragEnabled=true
dragEnter=doDragEnter(event)
dragExit=doDragExit(event)
dragDrop=doDragDrop(event)
dragOver=doDragOver(event)
mouseDown=dropInitiator = DragManager.MOVE;
dragMoveEnabled=true

mx:Script
![CDATA[

*import* mx.collections.IList;
*import* mx.collections.ArrayCollection;
*import* events.CompareImageChangeEvent;
*import* mx.events.DragEvent;
*import* mx.managers.DragManager;
*import* mx.core.DragSource;
*import* com.cnh.imageBank.model.ModelLocator;

[*Bindable*] *public* *var* model:ModelLocator = ModelLocator.getInstance();
*private* *var* dropInitiator:String = DragManager.NONE;

*// Drag and drop events
**public* *function* doDragEnter(event:DragEvent): *void* {
*// Get the drop target component from the event object.
**var* dropTarget:TileList = event.currentTarget *as* TileList;
*var* dataInfo:ArrayCollection = dropTarget.dataProvider *as*ArrayCollection;
*var* item:Object = event.dragSource.dataForFormat(*item*);
*if*(dropInitiator == DragManager.MOVE){
DragManager.showFeedback(DragManager.MOVE);
DragManager.acceptDragDrop(dropTarget);
} *else* {
*if*(item != *null*){
*for*(*var* i:int = 0; i  dataInfo.length; i++){
*if*(dataInfo[i].id == item.id) *return*;
}
DragManager.showFeedback(DragManager.COPY);
DragManager.acceptDragDrop(dropTarget);
}
}
}*
**public* *function* doDragExit(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
dropTarget.hideDropFeedback(event);
dropInitiator = DragManager.NONE;
*this*.dropEnabled = *false*;
}

*public* *function* doDragOver(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
dropTarget.showDropFeedback(event);
}
*
**public* *function* doDragDrop(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
*var* item:Object = event.dragSource.dataForFormat(*item*);
*if* (item == *null*) {
*// Item was dragged from the thumbnail view
**var* items:Object = event.dragSource.dataForFormat(*items*);
item = items[0];
}
*var* dropLoc:int = dropTarget.calculateDropIndex(event);
IList(dropTarget.dataProvider).addItemAt(item, dropLoc );*
*

doDragExit(event);
}
]]
/mx:Script
/mx:TileList


[flexcoders] Unable to drag move objects from a TileList after updating to Flexbuilder 2.0.1

2007-01-10 Thread Paolo Bernardini

I have an application using drag and drop and need to move the items within
the TileList, it was working just fine in version 2.0, now since I updated
to 2.0.1 it doesn't move the items anymore but instead makes a copy.
Basically I want to order the Items of the TileList by dragging them, but I
also want to drag items from a different component. As I said it worked with
flex 2.0.
Here is the code:



?xml version=1.0 encoding=utf-8?

mx:TileList xmlns:mx=http://www.adobe.com/2006/mxml;
backgroundAlpha=0 backgroundColor=#FF
itemRenderer=renderer.ProjectThumbnail
dragEnabled=true
dragEnter=doDragEnter(event)
dragExit=doDragExit(event)
dragDrop=doDragDrop(event)
dragOver=doDragOver(event)
mouseDown=dropInitiator = DragManager.MOVE;
dragMoveEnabled=true

mx:Script
![CDATA[

*import* mx.collections.IList;
*import* mx.collections.ArrayCollection;
*import* events.CompareImageChangeEvent;
*import* mx.events.DragEvent;
*import* mx.managers.DragManager;
*import* mx.core.DragSource;
*import* com.cnh.imageBank.model.ModelLocator;

[*Bindable*] *public* *var* model:ModelLocator = ModelLocator.getInstance();
*private* *var* dropInitiator:String = DragManager.NONE;

*// Drag and drop events
**public* *function* doDragEnter(event:DragEvent): *void* {
*// Get the drop target component from the event object.
**var* dropTarget:TileList = event.currentTarget *as* TileList;
*var* dataInfo:ArrayCollection = dropTarget.dataProvider *as*ArrayCollection;
*var* item:Object = event.dragSource.dataForFormat(*item*);
*if*(dropInitiator == DragManager.MOVE){
DragManager.showFeedback(DragManager.MOVE);
DragManager.acceptDragDrop(dropTarget);
} *else* {
*if*(item != *null*){
*for*(*var* i:int = 0; i  dataInfo.length; i++){
*if*(dataInfo[i].id == item.id) *return*;
}
DragManager.showFeedback(DragManager.COPY);
DragManager.acceptDragDrop(dropTarget);
}
}
}*
**public* *function* doDragExit(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
dropTarget.hideDropFeedback(event);
dropInitiator = DragManager.NONE;
*this*.dropEnabled = *false*;
}

*public* *function* doDragOver(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
dropTarget.showDropFeedback(event);
}
*
**public* *function* doDragDrop(event: DragEvent): *void* {
*var* dropTarget:TileList = event.currentTarget *as* TileList;
*var* item:Object = event.dragSource.dataForFormat(*item*);
*if* (item == *null*) {
*// Item was dragged from the thumbnail view
**var* items:Object = event.dragSource.dataForFormat(*items*);
item = items[0];
}
*var* dropLoc:int = dropTarget.calculateDropIndex(event);
IList(dropTarget.dataProvider).addItemAt(item, dropLoc );*
*

doDragExit(event);
}
]]
/mx:Script
/mx:TileList


Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Paolo Bernardini

I noticed that under flexbuilder (either stand-alone or plug-in version)
preference/Flex/Editors, in version 2.0 there was Css Code, but now with
version 2.0.1 it's gon and we only have ActionScript code, design code and
mxml code.
In 2.0 version when you were working with external css file, you could have
code hint by typing // first (then you had to remove it), this no longer
works in version 2.0.1, and makes writing css very hard since I certainly
don't remember all style properties name by heart.
I wonder if someone else have this problem, hope some one can point me to a
solution.



On 1/6/07, Lance Linder [EMAIL PROTECTED] wrote:


   I have similar problems with 2.0. With around 6-7 installations of the
Flex builder plugin for eclipse about half of them have this exact problem
with the other half working fine. I would be really interested to hear if
you or anyone can finds out why this happens… it is a real pain!



Lance



*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Paolo Bernardini
*Sent:* Saturday, January 06, 2007 9:28 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] flexbuilder 2.0.1 css editor support



Hi Brian,



I'm using windows and trying to edit an external css file.



On 1/6/07, *Brian Dunphy* [EMAIL PROTECTED] wrote:

Still works for me on the Mac version of Flex Builder 2.0.1.

Are you editing an external CSS file or inline?

Brian



On 1/6/07, Paolo Bernardini [EMAIL PROTECTED]
bernardini.paolo%40gmail.com wrote:






 What happened to the css editor support in flexbuilder 2.0.1?
 before with version 2 you had code hinting for css file, now after
updating
 to version 2.0.1 doesn't work anymore.




--
Brian Dunphy







Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-08 Thread Paolo Bernardini

Thanks Igor,

I knew it worked for as and mxml files but I used to press // in order to
see code hint in css file, I thought I tried once and didn't work I guess I
hit the wrong key ;).

Anyway CTRL+SPACE works fine, thanks a lot



On 1/8/07, Igor Costa [EMAIL PROTECTED] wrote:


  Paolo

To support code Hint in the lastest version fo Flex 2.0.1 in External CSS
file, just press like in 2.0, CTRL+SPACE after your tag or class you want
to declare.

Here's a short example of that

Application {
press CTRL + SPACE
}

Panel {
  press CTRL + SPACE
}
.myStyle {
 press CTRL+SPACE
}

And it will works fine to you.


Regards.

On 1/8/07, Robert W [EMAIL PROTECTED] wrote:

   I found that fb conflict with WTP css editor (WTP is eclipse
 subproject). But i can't use wtp css editor, not flex. Maybe eclipse log

 show you answer.
 rw
 Paolo Bernardini wrote:
  I noticed that under flexbuilder (either stand-alone or plug-in
  version) preference/Flex/Editors, in version 2.0 there was Css Code,
  but now with version 2.0.1 it's gon and we only have ActionScript
  code, design code and mxml code.
  In 2.0 version when you were working with external css file, you could

  have code hint by typing // first (then you had to remove it), this no

  longer works in version 2.0.1, and makes writing css very hard since I

  certainly don't remember all style properties name by heart.
  I wonder if someone else have this problem, hope some one can point me

  to a solution.
 
  On 1/6/07, *Lance Linder* [EMAIL PROTECTED]llinder%40medicomdigital.com
  mailto:[EMAIL PROTECTED] llinder%40medicomdigital.com
 wrote:
 
  I have similar problems with 2.0. With around 6-7 installations of
  the Flex builder plugin for eclipse about half of them have this
  exact problem with the other half working fine. I would be really
  interested to hear if you or anyone can finds out why this
  happens� it is a real pain!
 
  Lance
 
  *From:* flexcoders@yahoogroups.com flexcoders%40yahoogroups.com 
http://ups.com/
 [mailto:
  flexcoders@ mailto:flexcoders@yahoogroups.com
  http://yahoogroups.com] *On Behalf Of *Paolo Bernardini
  *Sent:* Saturday, January 06, 2007 9:28 AM
  *To:* [EMAIL PROTECTED] ups.com  http://ups.com/
  *Subject:* Re: [flexcoders] flexbuilder 2.0.1 css editor support
 
  Hi Brian,
 
  I'm using windows and trying to edit an external css file.
 
  On 1/6/07, *Brian Dunphy* [EMAIL PROTECTED]briandunphy%40gmail.com
  mailto:[EMAIL PROTECTED] briandunphy%40gmail.com wrote:
 
  Still works for me on the Mac version of Flex Builder 2.0.1.
 
  Are you editing an external CSS file or inline?
 
  Brian
 
 
 
  On 1/6/07, Paolo Bernardini [EMAIL PROTECTED]bernardini.paolo%40gmail.com
  mailto:bernardini.paolo%40gmail.com wrote:
  
  
  
  
  
  
   What happened to the css editor support in flexbuilder 2.0.1?
   before with version 2 you had code hinting for css file, now
  after updating
   to version 2.0.1 doesn't work anymore.
  
  
 
 
  --
  Brian Dunphy
 
 
 




--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta





[flexcoders] flexbuilder 2.0.1 css editor support

2007-01-06 Thread Paolo Bernardini

What happened to the css editor support in flexbuilder 2.0.1?
before with version 2 you had code hinting for css file, now after updating
to version 2.0.1 doesn't work anymore.


Re: [flexcoders] flexbuilder 2.0.1 css editor support

2007-01-06 Thread Paolo Bernardini

Hi Brian,

I'm using windows and trying to edit an external css file.


On 1/6/07, Brian Dunphy [EMAIL PROTECTED] wrote:


  Still works for me on the Mac version of Flex Builder 2.0.1.

Are you editing an external CSS file or inline?

Brian

On 1/6/07, Paolo Bernardini [EMAIL PROTECTED]bernardini.paolo%40gmail.com
wrote:






 What happened to the css editor support in flexbuilder 2.0.1?
 before with version 2 you had code hinting for css file, now after
updating
 to version 2.0.1 doesn't work anymore.



--
Brian Dunphy





Re: [flexcoders] Cairngorm 2.1 - calling a webservive more than once

2006-12-22 Thread Paolo Bernardini


I have a similar issue, when I call webservices more than once whit
cairngorm 2.1, that I still haven't solved.



Now you have to manually call webService.loadWSDL(), plus there is
another weird thing happening that didn't happen with version 2.0.

basically it changes the way I'm accessing the results, but not in a
consistent way, for example:

I'm calling the same webservices twice and in order to get the
results I have to change the reference to the return value:

when I call my service for the first time I get:

soap:Envelope mlns:soap=http://schemas.xmlsoap.org/soap/envelope/xmlns:xsd=;
http://www.w3.org/2001/XMLSchema  mlns:xsi=
http://www.w3.org/2001/XMLSchema-instance 
soap:Body
  CreateTokenResponse xmlns=http://www.xxx.net/schemas/services/sso 
 CreateTokenResult*563ee119-802a-47bc-8d37-a5995e576ae6*
/CreateTokenResult
  / CreateTokenResponse
/soap:Body
/ soap:Envelope

on the command to access the result I use

public function result( event:Object ) : void
{
  loginModel.tokenSSO = event.result;
  executeNextCommand();
}

then with executeNextCommand() method (I'm using a sequenceCommand) I
call another command that calls the same webservices but this time I assign
the
result to a different variable. this the return value:

soap:Envelope mlns:soap= http://schemas.xmlsoap.org/soap/envelope/ 
xmlns:xsd=http://www.w3.org/2001/XMLSchema 
mlns:xsi=http://www.w3.org/2001/XMLSchema-instance 
soap:Body
  CreateTokenResponse xmlns=http://www.xxx.net/schemas/services/sso 
 CreateTokenResult*a6628f61-3f20-4dbe-aa23-e34efa3e3796*
/CreateTokenResult
  / CreateTokenResponse
/soap:Body
/ soap:Envelope

This time in order to access the results I need to do this:

public function result( event:Object ) : void
{
  loginModel.tokenApp = event.result.CreateTokenResult;
}

this happens for other services too, where with cairngorm 2.0 I was
able to access the results with event.result now I need to specify
the name of the soap tag that contains the result. The real problem
here is that this does not apply to all the services but just some.
And the weirdest case is the sample that I have explained above where
the strategy to access the result of the same service changes
depending on when you call it (first time event.result, second time
event.result.CreateTokenResult), and I don't see any difference in
the soap returned from the service.

I decided to have ServiceLocator extending the UIComponent and
compiling the new Carngorm.swf (2.1) and everything start working as
before.

Someone suggest that this could be the result of calling loadWSDL(); more
than once so I used this:

if( !isWSDLLoaded ) {
isWSDLLoaded = true;
WebService( service ).loadWSDL();
   }

but nothing changed


Re: [flexcoders] Re: Weird Binding Problem when using ModelLocator

2006-12-18 Thread Paolo Bernardini

I found the cause of my problem.
if I try to bind model.assets.cartIcon to the icon property of a button,
like this:

mx:Button id=purchase icon={model.assets.cartIcon}/

I get a binding warning for that property and all other properties that are
use in data binding. For example:

mx:State name=compare
   mx:SetStyle target={prodName} name=left value=3/
   mx:SetStyle target={prodName} name=horizontalCenter/
   mx:SetProperty target={prodName} name=width/
   mx:SetStyle target={prodName} name=right value=3/
/mx:State

in this case data binding to prodName won't work, and when you change state
nothing happens.
I discover that using this.model.assets.cartIcon and this.prodName get rid
of the warning and that data binding was working again.
But now I had a different problem, when using the design view in flexbuilder
I wont be able to see the changes on different states, because apparently
flexbuilder doesn't understand that this.prodName refers to prodName on the
page an doesn't update the view.
Finally I discover that replacing:

mx:Button id=purchase icon={model.assets.cartIcon}/

with

mx:Button id=purchase icon={getButtonIcon('purchase')}/

public function getButtonIcon(btn:String) : Class
{
 var model : StoreModelLocator = StoreModelLocator.getInstance();
 var result : Class;

 switch ( btn ) {
  case purchase:
  result = model.assets.cartIcon;
  break;
  case compare:
  result = model.assets.compareIcon;
  break;
  case details:
  result = model.assets.detailsIcon;
  break;
  }

 return result;
}

solved all the problems, the reason is not clear to me, but at least now is
working properly.


[flexcoders] Weird Binding Problem when using ModelLocator

2006-12-11 Thread Paolo Bernardini

Hi I have a problem:

When I add a ModelLocator to an mxml page like this:

[Bindable] private var model:ModelLocator = ModelLocator.getInstance();

I get a warning that Data binding will not be able to detect assignments to
someProperty.

this is true for all the properties that use data binding, to get rid of the
message I need to specifies this. before the properties I need to bind.
For example this.someProperty and the message goes away.
Even though it is weird, using this. solve the problem and I can keep
working. The problem rise if I'm using states, in the sense that if I go to
design view in flexbuilder I wont be able to see the changes on different
states, because apparently flexbuilder doesn't understand that
this.someComponet refers to someComponet on the page an doesn't update the
view.
If I remove the reference to the modelLocator everything go back to normal.
Does anyone can explain this odd behavior?


Re: [flexcoders] Web Services in Cairngorm 2.1

2006-11-05 Thread Paolo Bernardini



ok, now my app is able to call the webservices, but I get another weird behavior with cairngorm 2.1 that didn't happen with version 2.0.

basically it changes the way I'm accessing the results, but not in a consistent way, for example:

I'm calling the same webservices twice and in order to get the results I have to change the reference to the return value:

when I call my service for the first time I get:


soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/
 xmlns:xsd=http://www.w3.org/2001/XMLSchema
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
soap:Body
CreateTokenResponse xmlns=http://www.xxx.net/schemas/services/sso
CreateTokenResult563ee119-802a-47bc-8d37-a5995e576ae6
/CreateTokenResult/
CreateTokenResponse/soap:Body/
soap:Envelope
on the command to access the result I use
public function result( event:Object ) : void{loginModel.tokenSSO = event.result;executeNextCommand();}
then with executeNextCommand() method (I'm using a sequenceCommand) I call another command that calls the same webservices but assign the result to a different variable. this the return value:

soap:Envelope xmlns:soap=http://schemas.xmlsoap.org/soap/envelope/
 xmlns:xsd=http://www.w3.org/2001/XMLSchema
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
soap:Body
CreateTokenResponse xmlns=http://www.xxx.net/schemas/services/sso
CreateTokenResulta6628f61-3f20-4dbe-aa23-e34efa3e3796
/CreateTokenResult/
CreateTokenResponse/soap:Body/
soap:Envelope
This time in order to access the results I need to do this:
public function result( event:Object ) : void{loginModel.tokenApp = event.result.CreateTokenResult;}
this happens for other services too, where with cairngorm 2.0 I was able to access the results with event.result now I need to specify the name of the soap tag that contains the result. The real problem here is that this does not apply to all the services but just some. And the weirdest case is the sample that I have explained above where the strategy to access the result of the same service changes depending on when you call it (first time 
event.result, second time event.result.CreateTokenResult), and I don't see any difference in the soap returned from the service.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Re: Web Services in Cairngorm 2.1

2006-11-03 Thread Paolo Bernardini



thanks Peter, I was going crazy with this.
On 11/3/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:





Will there be a way to keep it defaulted to off? I prefer to controlwhen loadWSDL() is called.Thanks,Ben--- In 
flexcoders@yahoogroups.com, Peter Martin [EMAIL PROTECTED] wrote: There have been a number of postings across the various newsgroups regarding Web Services behaving differently in Cairngorm 
2.1.The problem is due to ServiceLocator no longer extending UIComponent. As such, loadWSDL() is not called automatically.To call a Web Service operation you will need to call loadWSDL()
 yourself, for example:webService.loadWSDL();  var call : AsyncToken = webService.GetQuote.send( stockSymbol );  call.addResponder( responder );
In the next release of Cairngorm we will do this automatically for you in the ServiceLocator.Peter Martin
 Technical Architect (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK p: +44 (0) 131 338 6108 m: +44 (0) 7825 032160
 [EMAIL PROTECTED] http://weblogs.macromedia.com/pmartin
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Cairngorm 2.1 problem

2006-10-30 Thread Paolo Bernardini



thanks for the reply Bjorn

I'm not sure what you mean, I can't see any DestinationLocator in the doc.
If you are asking me if I replace the getService() method with getWebService() (I' using webservices not remote object) I did but like I said the services don't get called.
If you could be more specific it would be great.
On 10/30/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:







Have you implemented the new DestinationLocator?



From: [EMAIL PROTECTED]
ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paolo Bernardini
Sent: Sunday, 29 October 2006 8:31 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Cairngorm 
2.1 problem




after copying the 2.1 version of cairngorm.swc on my project the application stoped working, basically it dosen't call any services, I then try to change all the deprecated classes and methods to the new raccomanded standards, I don't get any errors but still no service has 
been called. I tryied to add the new swc to other projects and same thing appen.I think there is a bug with the swf you download from labs. Anyone can confirm this, or I'm missing something?

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Cairngorm 2.1 problem

2006-10-30 Thread Paolo Bernardini



I try to call some httpServices and works fine, it only seams to stop working with webServices, I guess I'm doing something wrong.
One question:
Is there any necessary work to do in order to port a Cairngorm 2.0 to a Cairngorm 2.1 app? or you can just drop the new swc to replace the old one, even if then you use deprecate classes and method.
I did both but with the same result.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Re: Cairngorm 2.1 problem

2006-10-30 Thread Paolo Bernardini



I use serviceCapture to monitor the services traffic, and there is no traffic with Cairngorm.swc 2.1.
I set some breakpoint and see that I can get up to the delegate to the function that maps to my webservice method, but the methot it's not called.
On 10/30/06, bjorn.schultheiss [EMAIL PROTECTED] wrote:





Paolo,Sorry for the lame response before, i hadn't even looked at 2.1 then.By all accounts although getService() has been deprecated it's stillworks. The only difference is that getService() returns AbstractService
instance while getWebService returns a WebService instance.Hope that helps, but i really use webServices, Remoting kicks ass.Bjorn 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Cairngorm 2.1 problem

2006-10-29 Thread Paolo Bernardini
after copying the 2.1 version of cairngorm.swc on my project the 
application stoped working, basically it dosen't call any services, I 
then try to change all the deprecated classes and methods to the new 
raccomanded standards, I don't get any errors but still no service has 
been called. I tryied to add the new swc to other projects and same 
thing appen.
I think there is a bug with the swf you download from labs. Anyone can 
confirm this, or I'm missing something?




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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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



Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-27 Thread Paolo Bernardini



no luck yet, regarding the css files, the get compiled in the swf and non loaded at runtime, so they should be ready to change the style of the bar before the application loads.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini
is there a easy way for changing the DownloadProgressBar bar color, 
using css?
I can't find it.





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

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

* Your email settings:
Individual Email | Traditional

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

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

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

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





Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini



thanks for the reply, I already did that and try to set the bar-color property, but doesn't work.
I'm trying to change the color of the bar of the DownloadProgressBar (which is the one the load the application)not Progressbar.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] DownloadProgressBar changing the bar color

2006-09-26 Thread Paolo Bernardini



thanks again, I guess the only way to do it is to create a custom preloaders, I thought we could just set a property on a css file, since the only thing that I want to change is the color of the bar.
On 9/26/06, EECOLOR [EMAIL PROTECTED] wrote:






In that case, check these links, you might find usefull information about application preloaders:

http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples.php

http://www.onflex.org/ted/2006/07/flex-2-custom-preloaders.php



Greetz Erik
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Cairngormstore for flex 2

2006-09-05 Thread Paolo Bernardini



Hi

great that's what was I was waiting for.

I found a little bug though, it is something that I already experienced, basically if you quickly rollover back and forward the image of the product on the product details panel, the image moves up. Like I said I had this problem too and is due to the zoom effect, I'm not sure why.


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] problem with dynamic itemrenderer

2006-08-11 Thread Paolo Bernardini
I'm trying to add an itemrenderer to a datagrid dynamically, 
dempending on the number of column of the dataprovider, which can be 
different everytime.

I was able to handler everything, but I got a wierd bug. Everytime I 
recive the data I get 4 error from the player saying:

TypeError: Error #1009: unable to access one property or a method of 
a reference object null.
at views::DayRenderer/handleDataChanged()
at 
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchE
ventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::Container/set data()
at mx.controls::DataGrid/::setupRendererFromData()
at 
mx.controls::DataGrid/mx.controls:DataGrid::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()

but if I keep pressing the continue button of the aller finally, I 
can see the results and the renderer works fine.
It look like the renderer is trying to access the property data 
before it's popolated, is this a bug or I'm doing something wrong?

renderer code (DayRenderer):

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; 
preinitialize=initComponent();

implements=mx.controls.listClasses.IDropInListItemRenderer

mx:Script
![CDATA[
import mx.events.FlexEvent;
   
import mx.controls.dataGridClasses.DataGridListData;
import mx.controls.listClasses.BaseListData;
import flash.events.Event;

//Importing interface IDropInListItemRenderer 
requirements
private var _listData:BaseListData;

public function get listData():BaseListData{
return _listData;
}

public function set listData(value:BaseListData):void{
_listData = value;
dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
}

private var itm:Object;

public function initComponent():void {
 addEventListener(dataChange, handleDataChanged);
}

public function handleDataChanged(event:Event):void { 
 
   // Cast listData to DataGridListData. 
   var myListData:DataGridListData = DataGridListData
(listData);
if(data != null){
   itm = data[myListData.dataField];
   testo.text = itm.celltype;
   testo2.text = itm.label;
}
}   
]]
/mx:Script
mx:Text id=testo/
mx:Text id=testo2/
/mx:VBox



this is the function were I build the grid;


public function setBooking():void{
 var milliSecondsPerDay:int = 8640;
 var days:int = (toDf.selectedDate.getTime() - 
fromDf.selectedDate.getTime()) / milliSecondsPerDay;
 var newColumns : Array = new Array();
for(var i:int = 0; i  days; i++){ 
var newColumn:DataGridColumn = new DataGridColumn(cell+i);
newColumn.itemRenderer = new ClassFactory views.DayRenderer);
newColumn.headerText = giorno +i
newColumns.push(newColumn); 

}
bookingList.columns = newColumns;
bookingList.dataProvider = model.bookingData;
}






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

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

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

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




Re: [flexcoders] Tree AllowMultipleSelection Bug

2006-07-19 Thread Paolo Bernardini



Hi Belindaby a later release you mean flex 3? or will be release some sort of patchOn 7/14/06, Belinda Nambooze 
[EMAIL PROTECTED] wrote:












  



AllowMultipleSelection was disabled to work around some Tree issues. It
will be re-enabled in a later release. 

Thanks,
Belinda

-Original Message-
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On
Behalf Of sufibaba
Sent: Thursday, July 13, 2006 4:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree AllowMultipleSelection Bug

Sorry Adobe Engineers,

I hate to be a bore with bugs...  the Multiple Selection doesn't seem
to be working in this final version. Below is the what's in the flex
docs.

-- Tim

?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml


mx:Script
![CDATA[

// Initialize the data provider for the Tree.
private function initApp():void {
firstList.dataProvider = treeDP;
}

]]
/mx:Script

mx:XML id=treeDP
node label=Mail
node label=Inbox/
node label=Personal Folder
node label=Demo/
node label=Personal/
node label=Saved Mail/
node label=bar/
/node
node label=Calendar/
node label=Sent/
node label=Trash/
/node
/mx:XML

mx:Tree id=firstList height=200 width=200
showRoot=false
labelField=@label
dragEnabled=true dropEnabled=true dragMoveEnabled=true
allowMultipleSelection=true
creationComplete=initApp();/
/mx:Application

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


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Cairngorm 2 flexstore binding problem

2006-07-10 Thread Paolo Bernardini
I was trying to port the cairgormflexstore to flex 2 and had some 
problems with data binding, for example:

In flex 1.5 you could bind to model.shoppingCart.totalProductPrice, 
now in Flex 2 you get this warning:

Data binding will not be able to detect assignments to 
totalProductPrice.

And the binding won't work.
In order to solve this problem I had to change the come of the 
ShoppingCart class like this:

ModelLocator.getInstance().totalProductPrice = totalProductPrice;

And then bind to model.totalProductPrice in my views to update that 
property.
It would be nice to see a new advanced sample like the 
cairgormflexstore for Flex 2 to see how to properly handle this 
migration issues.

Hope to get some feedbacks.






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] sharing images between projects

2006-06-07 Thread Paolo Bernardini



I've tried toinsert an image from my shared/assets/images folder using the flex properties panel, so I browsed to the image that I want to use and when I'm done I see that flex link it with an absolute path:

mx:Image source=file:///P|/cnhFlex/shared/assets/images/ai.png
 /

while if I move the assets folder in to the project1 folder it show a relative path:

mx:Image source=assets/images/ai.png /

this make me think that although I've created a source path that point to my shared folder, felxbuilder does not recognize it as part of the project, at list for what concern images and swf.

What is the best wait to share assets between projects? Is there something wrong in what I'm doing?
When I'm talking about projects I mean different application that belong to the same customer, that have different functionality but share many assets and even some classes.
Should I move all the applications to the same project?
I thought it would be better to keep each apps in to is own project and share the assets and classes that they have in common using a shared folder from the source path.

Could some one give me some advice for this topics?

thanks.

On 6/6/06, Paolo Bernardini [EMAIL PROTECTED] wrote:

I've tryed, but no luck

On 6/6/06, Tom Chiverton [EMAIL PROTECTED]
 wrote: 







On Tuesday 06 June 2006 10:08, Paolo Bernardini wrote: But then when I try to use any file in that folder, it seems that flexBuilder isn't able to find it: [Embed(shared/assets/images/windows.png)] 
 public var pcIcon:Class;
Don't you need a '../' on the front of your path ?-- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. 
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. 
For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards 

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] sharing images between projects

2006-06-07 Thread Paolo Bernardini



Actually I was wrong, adding the extra ../ as Tom suggested solved the problem, but doing this means that adding the shared folder to the source path it's useless at least for my purpose (sharing assets), and if I delete it, it still works.


My questions still remain:
What is the best wait to share assets between projects?
Should I move all the applications to the same project?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] sharing images between projects

2006-06-06 Thread Paolo Bernardini
I'm having problems sharing images between projects.
I have my workspace folder that contain several projects and I have 
a shared folder where I keep images and css that I want to share 
with all the projects in the workspace.
The structure looks like this:

workspace
 |_project1
 |_project2
 |_shared
 |_assets(where I have images and swf)
 |_css

So I create a new flex project called project1, and than added the 
shared folder to the source path. When I'm done I can see that the 
shared folder has been added to the navigation view, and I'm able to 
browse all its content.
But then when I try to use any file in that folder, it seems that 
flexBuilder isn't able to find it:

[Embed(shared/assets/images/windows.png)]
public var pcIcon:Class;

if I move the assets folder from shared to project1 folder then it 
works:

[Embed(assets/images/windows.png)]
public var pcIcon:Class;

but that is not what I want since I want to be able to share that 
folder between other projects without having to copy the same 
content in each project folder.

I'm I doing something wrong or this is a limitation of eclipse?






 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] sharing images between projects

2006-06-06 Thread Paolo Bernardini



I've tryed, but no luck
On 6/6/06, Tom Chiverton [EMAIL PROTECTED] wrote:







On Tuesday 06 June 2006 10:08, Paolo Bernardini wrote: But then when I try to use any file in that folder, it seems that flexBuilder isn't able to find it: [Embed(shared/assets/images/windows.png)]
 public var pcIcon:Class;
Don't you need a '../' on the front of your path ?-- Tom ChivertonThis email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards

 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Trying out new Cold Fusion/Flex Application Wizard

2006-05-19 Thread Paolo Bernardini



It has append to me too, I was able to see all master details data with no problem but after change a field I did see the changes on the master but then when I clicked on the edit button the details was empty. Same for all other record.

I'm using an sql db.
On 5/18/06, Bill Sahlas [EMAIL PROTECTED] wrote:




Not with the released bits – what db are you going against?





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of yaagcurSent: Wednesday, May 17, 2006 6:40 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Trying out new Cold Fusion/Flex Application Wizard


This looks like an awesome wizrd for RADHowever, I have hit a slight problem trying it outI have a master page which provides a list of peoplewhich when I select one and press an edit button produces 
a form with more details of the person. This works finefirst time out but when I select another person the form appears with default data(zeros) rather than actualBit difficult to understand what I'm talking about unless you have
tried this but has anyone else had same problem?
--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web.


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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] fds 2 samples not working from mydomain.com

2006-05-15 Thread Paolo Bernardini



anyone else had this problem? or has an idea of how to solve it?

I try to explain myself better in case I wasn't clear before.

when testing from my internal network either by server name or local ip the data services samples work fine, but when I try testing from a public domain the data doesn't show up and I get a Send failed error message.

The other samples (rpc and Messaging)instead work fine.

Hope some can help me, thanks in advance






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex Beta 3 with TOMCAT JTOM ACTIVEMQ Work

2006-05-15 Thread Paolo Bernardini



Hi Devis

I've a problem, after installing fds beta3 on a tomcat 5.5.17 server.
when I test the contact manager samples from my internal network either by server name or local ip address:myServerNameOrLocalhost:8080/samles/dataservice/contact/contactmgr.mxmlit works fine and I'm able to see the data without any problem.
Instead if I test from a public domain like:http://www.myDomain.com:8080/samles/dataservice/contact/contactmgr.mxml
I see the app but I get a Send failed alert message and no data comeup.basiclly this problem is related to all the dataservice samples, whileall other samples (rpc and messaging) work fine.
It sound like a security violation but I don't know how to handle it.
On 5/9/06, Devis [EMAIL PROTECTED] wrote:
Hi, i have read more question about flex and Tomcat 5.5, if you wish i haveattach a very simple step by step configuration.
Devis Yahoo! Groups Sponsor ~--Everything you need is oneclick away. Make Yahoo! your home pagenow.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] fds 2 samples not working from mydomain.com

2006-05-11 Thread Paolo Bernardini



I've a problem, after installing fds beta3 on a tomcat 5.5.17 server I 
tested the samples and I noticed that if I test from:

myServerNameOrLocalhost:8080/samles/dataservice/contact/contactmgr.mxml

it works fine and I'm able to see the data without any problem.

Instead if I test from:

www.myDomain.com:8080/samles/dataservice/contact/contactmgr.mxml

I see the app but I get a Send failed alert message and no data come 
up.

basiclly this problem is related to all the dataservice samples, while 
all other samples work fine.

It sound like a security violation but I don't know how to handler it. 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini
I was looking at the reservation sample that come with the flex data 
services, and I noted than unlike beta1, with beta2 when you drag to 
make a reservation the two combos displaying the time don't update to 
reflect the selection of the drag action.
I checked the code and I didn't see any error, it looks like there is 
a bug with the selectedIndex of the combo in TimeChooser.mxml.


if ((t.getHours() == _selectedDate.getHours())  (t.getMinutes() == 
_selectedDate.getMinutes())){
selectedIndex = dp.length;

}
dp.push(t);
}

can someone confirm this?






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

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

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

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




Re: [flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini



Hi James

thanks for the reply, but unfortunately it didn't work I got this error:
SeverityDescriptionResourceIn FolderLocationCreation TimeId2Call to a possibly undefined method 'ArrayCollection'TimeChooser.mxmlreservation/samples/reservationline 1710 aprile 2006 17.31.2836


I tryied to compile anyway, it did, but didn't solve the problem.
2006/4/10, James Ward [EMAIL PROTECTED]:
Hi Paolo,This is a bug.For now you can fix it by updating the code to: public function set selectedDate(_selectedDate:Date):void
 { dataProvider = new ArrayCollection(); this._selectedDate = _selectedDate; for (var i:uint = 0; i = 23; i++)
 { addDate(i,0); addDate(i,15); addDate(i,30); addDate(i,45);
 } } private function addDate(h:uint,m:uint):void { var t:Date = new Date(_selectedDate.getTime());
 t.setHours(h); t.setMinutes(m); dataProvider.addItem(t); if ((t.getHours() == _selectedDate.getHours())  (
t.getMinutes() ==_selectedDate.getMinutes())) { selectedIndex = dataProvider.length ; } }
Let me know if that works.-JamesOn Mon, 2006-04-10 at 09:20 +, Paolo Bernardini wrote: I was looking at the reservation sample that come with the flex data services, and I noted than unlike beta1, with beta2 when you drag to
 make a reservation the two combos displaying the time don't update to reflect the selection of the drag action. I checked the code and I didn't see any error, it looks like there is a bug with the selectedIndex of the combo in 
TimeChooser.mxml. if ((t.getHours() == _selectedDate.getHours())  (t.getMinutes() == _selectedDate.getMinutes())){ selectedIndex = dp.length; }
 dp.push(t); } can someone confirm this? -- Flexcoders Mailing List FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] fds reservation sample not working

2006-04-10 Thread Paolo Bernardini



I changed your code like this, and now works:

public function set selectedDate(_selectedDate:Date):void{var dp:ArrayCollection= new ArrayCollection();dataProvider = dp;this._selectedDate = _selectedDate;for (var i:uint = 0; i = 23; i++)
{addDate(dp,i,0);addDate(dp,i,15);addDate(dp,i,30);addDate(dp,i,45);}}private function addDate(dp:ArrayCollection,h:uint,m:uint):void
{var t:Date = new Date(_selectedDate.getTime());t.setHours(h);t.setMinutes(m);dataProvider.addItem(t);//trace('th = ' + t.getHours() +  sh =  + _selectedDate.getHours() +  tm =  + 
t.getMinutes() +  sm =  + _selectedDate.getMinutes());if ((t.getHours() == _selectedDate.getHours())  (t.getMinutes() == _selectedDate.getMinutes())){selectedIndex = dataProvider.length
;}}

2006/4/10, Paolo Bernardini [EMAIL PROTECTED]:


Hi James

thanks for the reply, but unfortunately it didn't work I got this error:
SeverityDescriptionResourceIn FolderLocationCreation TimeId2Call to a possibly undefined method 'ArrayCollection'TimeChooser.mxmlreservation/samples/reservationline 1710 aprile 2006 17.31.2836


I tryied to compile anyway, it did, but didn't solve the problem.
2006/4/10, James Ward [EMAIL PROTECTED]: 

Hi Paolo,This is a bug.For now you can fix it by updating the code to: public function set selectedDate(_selectedDate:Date):void 
 { dataProvider = new ArrayCollection(); this._selectedDate = _selectedDate; for (var i:uint = 0; i = 23; i++) 
 { addDate(i,0); addDate(i,15); addDate(i,30); addDate(i,45); 
 } } private function addDate(h:uint,m:uint):void { var t:Date = new Date(_selectedDate.getTime()); 
 t.setHours(h); t.setMinutes(m); dataProvider.addItem(t); if ((t.getHours() == _selectedDate.getHours())  ( 
t.getMinutes() ==_selectedDate.getMinutes())) { selectedIndex = dataProvider.length ; } } 
Let me know if that works.-JamesOn Mon, 2006-04-10 at 09:20 +, Paolo Bernardini wrote: I was looking at the reservation sample that come with the flex data services, and I noted than unlike beta1, with beta2 when you drag to 
 make a reservation the two combos displaying the time don't update to reflect the selection of the drag action. I checked the code and I didn't see any error, it looks like there is a bug with the selectedIndex of the combo in 
TimeChooser.mxml. if ((t.getHours() == _selectedDate.getHours())  (t.getMinutes() == _selectedDate.getMinutes())){ selectedIndex = dp.length; } 
 dp.push(t); } can someone confirm this? -- Flexcoders Mailing List FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com  Yahoo! Groups Links--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:  
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to: 
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: 
http://docs.yahoo.com/info/terms/







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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flexbuilder 2.0 missing mx:link ?

2006-03-26 Thread Paolo Bernardini



Hi Alex,
I can tell you that FlexBuilderis showingthe code hint for the click event, but it doesn't show selectedChild for the ViewStack.
Sorry to post it here but I didn't know where to report this bug.
2006/3/26, Alex Uhlmann [EMAIL PROTECTED]:
Hi jim,The name Link changed to LinkButton in beta 2, the tutorials might notreflect this change just yet. LinkButton should have a click property.
Let me know if it doesn't work. It might be just FlexBuilder not showingyou the code hint.Best,AlexAlex UhlmannConsultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6969m: +44 (0) 7917 428 951[EMAIL PROTECTED]-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] OnBehalf Of anonymothSent: 26 March 2006 03:51To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flexbuilder 2.0 missing mx:link ?Hello..I'm completely new at the whole Flex game, so please be gentle:-)I'm running through the 2.0 tutorial and it asks for a Link component.
Well there's only a LinkButton, and it doesn't have the 'click'property. Am I missing something (or is Flexbuilder)?I tried coding mx:Link but it went unrecognized.thanks,jim
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Cairgnorm beta release?

2006-03-24 Thread Paolo Bernardini



Hi Alex,

Like you said, there still is a selectedChild property on ViewStack component, but, then there is a bug in flexbuilder 2 beta 2, because when you start typing the only suggestion you get is selectedIndex.

2006/3/23, Alex Uhlmann [EMAIL PROTECTED]:


Hi Oriol,

There is still a selectedChild property on ViewStack. The only thingyou need to do is type stronger. UIComponent is the base class of Container but Containter goes into aViewStack.
Beta 2 is stricter here.

In addition to that, I wouldn't recommend yourworkaround using the Number inthe workflow statevariable
. As soon asyou'll add another workflow type variable to ModelLocator,you would need new state variable values, which could not map to ViewStack::selectedIndex anymore.


Best,
Alex












Alex UhlmannConsultant (Rich Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: 44 (0) 131 338 6969

m: 44 (0)7917 428 951[EMAIL PROTECTED] 




From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Oriol GualSent: 21 March 2006 20:16To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairgnorm beta release?
Just one more point, I've tried the Cairngorm login example, and after changing the namespaces to 
http://www.adobe.com/2006/mxml, I can compile but I get this error:Implicit coercion of a value with static type ' mx.core:UIComponent' to a possibly unrelated type 'mx.core:Container' in line 68, which is:
mx:ViewStack id=appView selectedChild={ getView( model.workflowState ) }If look at it, and viewstack has no selectedChild propertie, so if I change it to: selectedIndex={ 
model.workflowState } it works. My question is, how should it be if I want to return a view instead of an int?Thanks,Oriol.--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 




YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex2 :: Rounded Corner Fragments :: What is it!

2006-03-19 Thread Paolo Bernardini



Actually, it can get even worst then that, i you try the Style explorer app (http://weblogs.macromedia.com/mc/archives/Flex2StyleExplorer.html
) , and play with the panel Corner radius setting you see ugly it is.
I hope the will fix this in the next beta release.
2006/3/19, Michael Schmalle [EMAIL PROTECTED]:
Hey,Has anybody else noticed that nasty artifact on the panel's rounded corners ? Top especailly.
See my blog for a screen shot.http://www.flex2components.com/f2cblog/2006/03/14/teowindow-rectmouseresizer/
What is that 1 pixel rounded line above the 'The'. It is driving me crazy!If this is part of the design, I want to add my 2 cents. It sucks! Looks nasty and why is it there?Peace, Mike
-- What goes up, does come down. --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] word wrap in flexbuilder beta 2 editor?

2006-02-27 Thread Paolo Bernardini
is there a word wrap option in flexbuilder beta 2 code view editor? 
Like the one you can have in code view with flexbuilder 1.5, so that 
long line of code wrap down without having to scroll horizontally.





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

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

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

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





[flexcoders] problem with player detection and player 8.5

2006-02-07 Thread Paolo Bernardini
I have a problem with the detection of flash player, I had some 
pages that use the espress installation detection that check for 
player 8, after installing the player 8.5 when I open those pages it 
ask me to install the player even if the version that I'm check for 
is lower then 8.5.
This is the code that check the version:

// --
---
// Globals
// Major version of Flash required
var requiredMajorVersion = 8;
// Minor version of Flash required
var requiredMinorVersion = 0;
// Minor version of Flash required
var requiredRevision = 20;
// the version of javascript supported
var jsVersion = 1.0;


basiclly it should ask me to install a new player if I have a 
version more recent that 8.0.20. It shouldn't ask if I have version 
8.5 instead it does.






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

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

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

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





Re: [flexcoders] problem with repeater displaying only one record

2005-11-14 Thread Paolo Bernardini



Has anyone had a chance to take a look at it?
2005/11/10, Paolo Bernardini [EMAIL PROTECTED]:
I was testing a simple application to see if it was possible to havea custom cellRenderer that displays multple rows of data depending
on the dataProvider's value. Then setting variableRowHeight=trueon the dataGrid that uses the cellRenderer I wanted to see if therowHeight was adjusting to the height of the cellRenderer.It did, but then I've noticed to problem. I'll attach the source
code to make myself clearer.Application code:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
 mx:Model id=myDP item num=1 fname=Christinaemail=[EMAIL PROTECTED] state=MA status=active
 multiRows label=one/ multiRows label=two/ multiRows label=three/ multiRows2 label=three/
 /item item num=2 fname=Louis email=[EMAIL PROTECTED]state=FL status=active
 multiRows label=one/ multiRows2 label=three/ /item item num=3 fname=Bob email=
[EMAIL PROTECTED]state=CA status=active multiRows label=one/ multiRows label=two/
 multiRows2 label=three/ multiRows2 label=three/ multiRows2 label=three/ /item item num=3 fname=Bob email=
[EMAIL PROTECTED]state=CA status=active multiRows label=one/ multiRows label=two/
 multiRows label=three/ multiRows label=four/ multiRows2 label=three/ multiRows2 label=three/
 /item /mx:Model mx:DataGrid id=dg1 dataProvider={myDP.item}editable=false hScrollPolicy=off variableRowHeight=true
width=50% height=100% verticalAlign=top hGridLines=truehGridLineColor=#00 mx:columns mx:Array mx:DataGridColumn columnName=num headerText=num/
 mx:DataGridColumn columnName=fname headerText=name/ mx:DataGridColumn columnName=email headerText=Email/ mx:DataGridColumn columnName=state headerText=State/
 mx:DataGridColumn columnName=statusheaderText=Status/ mx:DataGridColumn columnName=multiRowsheaderText=multiRows cellRenderer=ManyLabels/
 mx:DataGridColumn columnName=multiRows2headerText=multiRows2 cellRenderer=ManyLabels/ /mx:Array /mx:columns /mx:DataGrid
/mx:ApplicationCellRenderer code:?xml version=1.0 encoding=utf-8?mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml
borderStyle=nonebackgroundAlpha=0marginLeft=0 marginRight=0 horizontalAlign=center mx:Script![CDATA[var listOwner : MovieClip;
var getCellIndex : Function;var getDataLabel : Function;var isCellEditor : Boolean = true;function setValue(str:String, item:Object, sel:Boolean) : Void{ if (item[getDataLabel()] == undefined) {
 this.visible = false; } else { this.visible = true; rp.dataProvider = item[getDataLabel()]; }}]]/mx:Script mx:Repeater id=rp
 mx:Label text={rp.currentItem.label} / /mx:Repeater /mx:VBoxNow the main problem is that if in the model I have only one item asdata for the repeater that value dosem't show.
The other issue is that when I roll over the cell that uses theCellRenderer I notice a very annoying flicker. Yahoo! Groups Sponsor ~--
Most low income households are not online. Help bridge the digital divide today!http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM~-
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] problem with repeater displaying only one record

2005-11-10 Thread Paolo Bernardini
I was testing a simple application to see if it was possible to have 
a custom cellRenderer that displays multple rows of data depending 
on the dataProvider's value. Then setting variableRowHeight=true 
on the dataGrid that uses the cellRenderer I wanted to see if the 
rowHeight was adjusting to the height of the cellRenderer.

It did, but then I've noticed to problem. I'll attach the source 
code to make myself clearer.

Application code:

?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Model id=myDP
item num=1 fname=Christina 
email=[EMAIL PROTECTED] state=MA status=active
  multiRows label=one/
  multiRows label=two/
  multiRows label=three/
  multiRows2 label=three/
/item
item num=2 fname=Louis email=[EMAIL PROTECTED] 
state=FL status=active
  multiRows label=one/
  multiRows2 label=three/
/item
item num=3 fname=Bob email=[EMAIL PROTECTED] 
state=CA status=active
  multiRows label=one/
  multiRows label=two/
  multiRows2 label=three/
  multiRows2 label=three/
  multiRows2 label=three/
/item
item num=3 fname=Bob email=[EMAIL PROTECTED] 
state=CA status=active
  multiRows label=one/
  multiRows label=two/
  multiRows label=three/
  multiRows label=four/
  multiRows2 label=three/
  multiRows2 label=three/
/item
/mx:Model
mx:DataGrid id=dg1 dataProvider={myDP.item} 
editable=false hScrollPolicy=off variableRowHeight=true 
width=50% height=100% verticalAlign=top hGridLines=true 
hGridLineColor=#00
  mx:columns
mx:Array
  mx:DataGridColumn columnName=num headerText=num/
  mx:DataGridColumn columnName=fname headerText=name/
  mx:DataGridColumn columnName=email headerText=Email/
  mx:DataGridColumn columnName=state headerText=State/
  mx:DataGridColumn columnName=status 
headerText=Status/
  mx:DataGridColumn columnName=multiRows 
headerText=multiRows cellRenderer=ManyLabels/
  mx:DataGridColumn columnName=multiRows2 
headerText=multiRows2 cellRenderer=ManyLabels/
/mx:Array
  /mx:columns
/mx:DataGrid
  /mx:Application


CellRenderer code:

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml;
  borderStyle=none
  backgroundAlpha=0
  marginLeft=0 marginRight=0 horizontalAlign=center
  mx:Script
![CDATA[
 var listOwner : MovieClip;
 var getCellIndex : Function;
 var getDataLabel : Function;
 var isCellEditor : Boolean = true;

 function setValue(str:String, item:Object, sel:Boolean) : Void{
if (item[getDataLabel()] == undefined) {
this.visible = false;
} else {
this.visible = true;
rp.dataProvider = item[getDataLabel()];
}
 }
]]
/mx:Script
  mx:Repeater id=rp
mx:Label text={rp.currentItem.label} /
  /mx:Repeater
/mx:VBox


Now the main problem is that if in the model I have only one item as 
data for the repeater that value dosem't show.

The other issue is that when I roll over the cell that uses the 
CellRenderer I notice a very annoying flicker.





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] FlexBuilder 2 alpha outline view dosen't show

2005-10-25 Thread Paolo Bernardini



ok, thanks Matt, I hope it will make it to the final release because is a very usefull tool
2005/10/24, Matt Chotin [EMAIL PROTECTED]:


Outline view isn't supported in the alpha.

Matt





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Paolo BernardiniSent: Monday, October 24, 2005 6:08 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FlexBuilder 2 alpha outline view dosen't show

I'm not able to see the outline view in flex builder 2, it says An 
outline is not available. It dosen't matter if is an mxml file or as. Any idea why?
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] FlexBuilder 2 alpha outline view dosen't show

2005-10-24 Thread Paolo Bernardini
I'm not able to see the outline view in flex builder 2, it says An 
outline is not available. It dosen't matter if is an mxml file or as. 
Any idea why?





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

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

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

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




Re: [flexcoders] how can I change the default browser in Flexbuilder 2?

2005-10-18 Thread Paolo Bernardini



I've the opposite problem, my default browser is IE but I want to use FireFox (where I've installed the player 8.5), so I go To preference/WebBrowser and add a new browser pointing to the .exe for firefox. Restart flexbuilder, but when I try to launch the broser nothing appens. (it was working with IE).

Any Idea?
2005/10/18, Rich Rodecker [EMAIL PROTECTED]:
cool, there it is, thanks. my eye just didn't want to pick up that preferences menu i guess.
On 10/17/05, Darron J. Schall 
 [EMAIL PROTECTED] wrote: 
Rich Rodecker wrote: quick question...how can I tell FB2 to launch IE instead of FireFox 
 (which is currently my default)?Go to Window - Preferences, expand General, click Web Browser, and make your selection there.-d
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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



--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] was anybody able to run this macromedia example properly?

2005-08-17 Thread Paolo Bernardini
I've tried the example at macromedia,
http://www.macromedia.com/support/documentation/en/flex/1/cellrendere
rs/cellrenderers13.html
but it doesn't work properly. It behave in a strange way, basically 
as soon as you roll over a row of the tree the checkbox covers the 
disclosure arrow icon making it difficult if not impossible to open 
a branch.

I've tried to modify the code relative to the position of the 
checkbox:



_check._x = disclosure._x;
 disclosure._x = _check._x + _check._width + 2;
 nodeIcon._x = disclosure._x + disclosure._width + 2;
 cell._x = nodeIcon._x + nodeIcon._width + 2;



but all the changes made at disclosure._x = _check._x +
_check._width + 2 ; were disregarded.

Was anyone able to make it work?




 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hqin662/M=362131.6882499.7825260.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124289767/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy/a./font
~- 

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

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

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

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




[flexcoders] tree with checkbox

2005-08-11 Thread Paolo Bernardini
I'm trying to implement a tree with a checkbox renderer, but so far 
with no luck. 

I've tried the example at macromedia, 
http://www.macromedia.com/support/documentation/en/flex/1/cellrendere
rs/cellrenderers13.html but it doesn't work properly. It behave in a 
strange way, basically as soon as you roll over a row of the tree 
the checkbox covers the disclosure arrow icon making it difficult if 
not impossible to open a branch. 

I've tried to modify the code relative to the position of the 
checkbox:

 

_check._x = disclosure._x;
  disclosure._x = _check._x + _check._width + 2;
  nodeIcon._x = disclosure._x + disclosure._width + 2;
  cell._x = nodeIcon._x + nodeIcon._width + 2;

 

but all the changes made at disclosure._x = _check._x + 
_check._width + 2 ; were disregarded.

 

I've even tried using a different approach, by using different icons 
for displaying the different state of the check box but then 
realising that I needed a real checkbox implementation for my 
purpose. 

 

Any help would be really appreciated (the macromedia example would 
be perfect if only works as expected )






 Yahoo! Groups Sponsor ~-- 
font face=arial size=-1a 
href=http://us.ard.yahoo.com/SIG=12hocv52a/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123775931/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
Fair play? Video games influencing politics. Click and talk back!/a./font
~- 

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

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

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

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




Re: [flexcoders] Re: how to add cellRender CheckBox to Tree?

2005-08-10 Thread Paolo Bernardini




I'm trying to implement a tree with a checkbox renderer, but so far with no luck.
I've tried the example at macromedia, 
http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.htmlbut it doesn't work properly. It behave in a strange way, basically as soon as you roll overa row of the treethe checkbox covers the disclosure arrow icon making it difficult if not impossible to open a branch.

I've tried to modify the code relative to the position of the checkbox:


_check._x = disclosure._x;disclosure._x = _check._x + _check._width + 2;
nodeIcon._x = disclosure._x + disclosure._width + 2;cell._x = nodeIcon._x + nodeIcon._width + 2;

but all the changes made at disclosure._x = _check._x + _check._width + 2
; were disregarded.

I've even tried using a different approach, by using different icons for displaying the different state of the check box but then realising that I needed a real checkbox implementation for my purpose.


Any help would be really appreciated (the macromedia example would be perfect if only works as
 expected
)






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








  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









R: [flexcoders] horizontal numeric stepper

2005-06-05 Thread Paolo Bernardini










Thanks for the reply but
it doesnt look that easy. First of all Im not able to move the
input field even if I hardcoded a numeric value, second when the componet get
focus you see the focus highlight with the same shape of the original
NumericStepper.

This is the code that
Im using:



class
HorizontalNumericStepper extends mx.controls.NumericStepper

{


public function HorizontalNumericStepper()


{


}


//


function layoutChildren():Void


{


var w = nextButton_mc.preferredWidth;


var h = prevButton_mc.preferredHeight;


var h2 = nextButton_mc.preferredHeight;





nextButton_mc._x = 0;


nextButton_mc._y = 0;


nextButton_mc.setSize(w, h2);


prevButton_mc._x = layoutWidth - w;


prevButton_mc._y = layoutHeight - h;


prevButton_mc.setSize(w, h);





inputField.setSize(layoutWidth - w + 1, layoutHeight);


StepTrack_mc._width = w;


StepTrack_mc._x = 18; // this doesn't do anything


StepTrack_mc._height = layoutHeight - (h2 + h);


StepTrack_mc._y = h;





}

}











Da:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Per conto di JesterXL
Inviato: sabato 4 giugno 2005
19.41
A: flexcoders@yahoogroups.com
Oggetto: Re: [flexcoders]
horizontal numeric stepper





Override NumericStepper's
layoutChildren method.

Currently, it's:

function layoutChildren():Void
{
 var w = nextButton_mc.preferredWidth;
 var h = prevButton_mc.preferredHeight;
 var h2 = nextButton_mc.preferredHeight;
 
 nextButton_mc._x = layoutWidth - w;
 nextButton_mc._y = 0;
 nextButton_mc.setSize(w, h2);
 prevButton_mc._x = layoutWidth - w;
 prevButton_mc._y = layoutHeight - h;
 prevButton_mc.setSize(w, h);

 inputField.setSize(layoutWidth - w + 1,
layoutHeight);
 StepTrack_mc._width = w;
 StepTrack_mc._x = layoutWidth -
StepTrack_mc._width;
 StepTrack_mc._height = layoutHeight - (h2 +
h);
 StepTrack_mc._y = h;
}

simply override, and modify the positoin of next
and prev button.

- Original Message - 
From: Paolo Bernardini
[EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, June 04, 2005 9:39 AM
Subject: [flexcoders] horizontal numeric stepper


Any idea how to implement an horizontal numeric
stepper with left and 
right arrows instead of up and down ones. like
this:  10 





Yahoo! Groups Links













Passa a QUIZIL SuperMail !

Con 40 MBytes di spazio per casella (a richiesta anche 100), spedizione ad alta velocità di messaggi grandi fino a 20 Mbytes, 
WebMail di alta qualità, la configurazione gratuita di SPF e, naturalmente, Antivirus, Antispam, POP e IMAP, più il backup settimanale. 
SuperMail è integrabile con WebFax e WebAdmin.
Se preferisci l'indipendenza puoi portare un MailGateway entro la tua azienda, ed usarlo per attivare le funzioni cooperative di Outlook !

Attiva QUIZIL SuperMail con una email a [EMAIL PROTECTED]












Yahoo! Groups Links

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












R: [flexcoders] horizontal numeric stepper

2005-06-05 Thread Paolo Bernardini










Thanks for the reply but
it doesnt look that easy. First of all Im not able to move the
input field even if I hardcoded a numeric value, second when the componet get
focus you see the focus highlight with the same shape of the original
NumericStepper.

This is the code that
Im using:



class
HorizontalNumericStepper extends mx.controls.NumericStepper

{


public function HorizontalNumericStepper()


{


}


//


function layoutChildren():Void


{


var w = nextButton_mc.preferredWidth;


var h = prevButton_mc.preferredHeight;


var h2 = nextButton_mc.preferredHeight;





nextButton_mc._x = 0;


nextButton_mc._y = 0;


nextButton_mc.setSize(w, h2);


prevButton_mc._x = layoutWidth - w;


prevButton_mc._y = layoutHeight - h;


prevButton_mc.setSize(w, h);





inputField.setSize(layoutWidth - w + 1, layoutHeight);


StepTrack_mc._width = w;


StepTrack_mc._x = 18; // this doesn't do anything


StepTrack_mc._height = layoutHeight - (h2 + h);


StepTrack_mc._y = h;





}

}













Da:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Per conto di JesterXL
Inviato: sabato 4 giugno 2005
19.41
A: flexcoders@yahoogroups.com
Oggetto: Re: [flexcoders]
horizontal numeric stepper





Override NumericStepper's layoutChildren method.

Currently, it's:

function layoutChildren():Void
{
 var w = nextButton_mc.preferredWidth;
 var h = prevButton_mc.preferredHeight;
 var h2 = nextButton_mc.preferredHeight;
 
 nextButton_mc._x = layoutWidth - w;
 nextButton_mc._y = 0;
 nextButton_mc.setSize(w, h2);
 prevButton_mc._x = layoutWidth - w;
 prevButton_mc._y = layoutHeight - h;
 prevButton_mc.setSize(w, h);

 inputField.setSize(layoutWidth - w + 1,
layoutHeight);
 StepTrack_mc._width = w;
 StepTrack_mc._x = layoutWidth -
StepTrack_mc._width;
 StepTrack_mc._height = layoutHeight - (h2 +
h);
 StepTrack_mc._y = h;
}

simply override, and modify the positoin of next
and prev button.

- Original Message - 
From: Paolo Bernardini [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, June 04, 2005 9:39 AM
Subject: [flexcoders] horizontal numeric stepper


Any idea how to implement an horizontal numeric
stepper with left and 
right arrows instead of up and down ones. like this:
 10 





Yahoo! Groups Links
















Passa a QUIZIL SuperMail !

Con 40 MBytes di spazio per casella (a richiesta anche 100), spedizione ad alta velocità di messaggi grandi fino a 20 Mbytes, 
WebMail di alta qualità, la configurazione gratuita di SPF e, naturalmente, Antivirus, Antispam, POP e IMAP, più il backup settimanale. 
SuperMail è integrabile con WebFax e WebAdmin.
Se preferisci l'indipendenza puoi portare un MailGateway entro la tua azienda, ed usarlo per attivare le funzioni cooperative di Outlook !

Attiva QUIZIL SuperMail con una email a [EMAIL PROTECTED]












Yahoo! Groups Links

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












[flexcoders] horizontal numeric stepper

2005-06-04 Thread Paolo Bernardini
Any idea how to implement an horizontal numeric stepper with left and 
right arrows instead of up and down ones. like this:  10 




 
Yahoo! Groups Links

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

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

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




R: [flexcoders] Cairngorm 0.99, JRun and Log4J

2005-05-19 Thread Paolo Bernardini










Thanks Alistair



Finally Im able to
see the cairngormstore example.



However Im noting
something strange, if I use the netConnectionDebugger that ship with flex,
which I usually use to see the exachange of data between the server and the
client, I dont see the data.



This is what I see:



MethodName:
productServiceImpl.getProducts

Parameters (object #2)

.[0] (object #3)

.._flag:
Envelope

..data (object
#4)

...No
properties

..headers (object
#5)

...[0]
(object #6)

[0]:
ServiceType

[1]:
(boolean) false

[2]:
stateless-class





Result (object #2)

.[0]: (undefined) 

.[1]: (undefined) 

.[10]: (undefined) 

.[11]: (undefined) 

.[12]: (undefined) 

.[13]: (undefined) 

.[14]: (undefined) 

.[15]: (undefined) 

.[2]: (undefined) 

.[3]: (undefined) 

.[4]: (undefined) 

.[5]: (undefined) 

.[6]: (undefined) 

.[7]: (undefined) 

.[8]: (undefined) 

.[9]: (undefined)



Is this because you are
using a valueOject and the debug is not able to understand it or what?











Da: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Per conto
di Alistair McLeod
Inviato: giovedì 19 maggio 2005
11.05
A: flexcoders@yahoogroups.com
Oggetto: [flexcoders] Cairngorm
0.99, JRun and Log4J







Hi all,











It turns out that the log4j JAR file that ships with the
CairngormStore example in Cairngorm conflicts with the one that is
pre-installed with the version of JRun that ships with Flex, and stops the
application context from starting up successfully. So, to get it running,
delete the following file before starting the integrated JRun server:











\jrun4\servers\default\cairngormstore\WEB-INF\lib\log4j-1.2.8.jar











JRun will then use its own Log4J JAR file.











Cheers,



Ali



--

Alistair McLeod
DevelopmentDirector



iteration::two
[EMAIL PROTECTED]











Office: +44 (0)131 338 6108











This e-mail and any associated attachments
transmitted with it may contain confidential information and must not be
copied, or disclosed, or used by anyone other than the intended recipient(s).
If you are not the intended recipient(s) please destroy this e-mail, and any
copies of it, immediately.

Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out before
any attachments are opened.























Passa a QUIZIL SuperMail !

Con 40 MBytes di spazio per casella (a richiesta anche 100), spedizione ad alta velocità di messaggi grandi fino a 20 Mbytes, 
WebMail di alta qualità, la configurazione gratuita di SPF e, naturalmente, Antivirus, Antispam, POP e IMAP, più il backup settimanale. 
SuperMail è integrabile con WebFax e WebAdmin.
Se preferisci l'indipendenza puoi portare un MailGateway entro la tua azienda, ed usarlo per attivare le funzioni cooperative di Outlook !

Attiva QUIZIL SuperMail con una email a [EMAIL PROTECTED]












Yahoo! Groups Links

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












[flexcoders] Re: Cairngorm 0.99

2005-05-19 Thread Paolo Bernardini
Hi Steven

Could you explain the reason this new way of passing the command 
string in the addCommand in the ShopController:

addCommand( ShopController.EVENT_GET_PRODUCTS, new GetProductsCommand
() );

public static var EVENT_GET_PRODUCTS = getProducts;

compare to the old cairngorm 0.95 style:

addCommand( getProducts, new GetProductsCommand() );




 
Yahoo! Groups Links

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

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

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