[flexcoders] DSErrorHint

2007-11-28 Thread Romeo Obane
Hi to All,

 

We are currently developing an Image Gallery Application. We have a fluorine
service as our gateway to .Net. The developed application is working for a
few weeks now, until today we encountered an error regarding the
DSErrorHint, I've got some ideas about it but still can't figure it out how
to trace the bug and solved it.

 

Here is the specific error message:  

 

ReferenceError: Error #1069: Property DSErrorHint not found on String and
there is no default value.

at mx.rpc::AsyncRequest/acknowledge()

at
::NetConnectionMessageResponder/NetConnectionChannel.as$40:NetConnectionMess
ageResponder::resultHandler()

at mx.messaging::MessageResponder/result()

 

I will appreciate any suggestions and comments.

 

Thanks,

Romeo



[flexcoders] Migration Issues from Flex 2 into Flex 3 Beta 2

2008-01-22 Thread Romeo Obane
Greetings!

Yesterday, I integrated my flex application from Flex 2 to Flex 3 Beta
2, I've seen some strange
changes, here are the following:

* My Flex Application size before is around 500k, but now 986k.

* In my library which uses Cairngorm:

 It finds the "CairngormMessages.properties",

 I've found a temporary Solution and still knowing the real issues:
http://labs.adobe.com/wiki/index.php/Talk:Cairngorm

  - I added in the source folder of library
"locale\en_US\CairngormMessages.properties" file
  - And I added to library compiler arguments
"-locale en_US -source-path=locale/{locale} -allow-source-path-overlap=true"


I will appreciate any small or big ideas to this kind of issues
especially in reducing my flex application size.
Thanks,
Romeo


Re: [flexcoders] Migration Issues from Flex 2 into Flex 3 Beta 2

2008-01-22 Thread Romeo Obane
Oh, I've found it already.

I do understand why my application file size is bigger now in flex 3 bet 2.
Here is the article
http://www.buntel.com/blog/index.cfm/2007/10/15/The-Export-Release-Wizard.

Thank you Carlos for your hint.

On 1/22/08, Romeo Obane <[EMAIL PROTECTED]> wrote:
>
> Thank you for your fast reply!
>
> I've tried that one as well, but it doesn't returns to my original
> application size when I'm in Flex 2.
>
> I've read some articles about Flex 3 migration, but I haven't found an
> explanation on what are the things that adds up to my application that gives
> me a big file size.
>
> On 1/22/08, Carlos Rovira <[EMAIL PROTECTED]> wrote:
> >
> >   For app size use "Export Release Version"
> >
> > 2008/1/22, Romeo Obane < [EMAIL PROTECTED]>:
> > >
> > >   Greetings!
> > >
> > > Yesterday, I integrated my flex application from Flex 2 to Flex 3 Beta 2, 
> > > I've seen some strange
> > > changes, here are the following:
> > >
> > >
> > >
> > > * My Flex Application size before is around 500k, but now 986k.
> > >
> > > * In my library which uses Cairngorm:
> > >
> > >  It finds the "CairngormMessages.properties",
> > >
> > >  I've found a temporary Solution and still knowing the real issues:
> > >
> > >
> > > http://labs.adobe.com/wiki/index.php/Talk:Cairngorm
> > >
> > >   - I added in the source folder of library 
> > > "locale\en_US\CairngormMessages.properties" file
> > >
> > >
> > >
> > >   - And I added to library compiler arguments
> > > "-locale en_US -source-path=locale/{locale} 
> > > -allow-source-path-overlap=true"
> > >
> > >
> > > I will appreciate any small or big ideas to this kind of issues 
> > > especially in reducing my flex application size.
> > >
> > >
> > >
> > > Thanks,
> > > Romeo
> > >
> > >
> > >
> >
> >
> > --
> > ::| Carlos Rovira
> > ::| http://www.carlosrovira.com
> > ::| http://formacion.carlosrovira.com/
> > ::| http://www.madeinflex.com
> >
> >  
> >
>
>


Re: [flexcoders] Migration Issues from Flex 2 into Flex 3 Beta 2

2008-01-22 Thread Romeo Obane
Thank you for your fast reply!

I've tried that one as well, but it doesn't returns to my original
application size when I'm in Flex 2.

I've read some articles about Flex 3 migration, but I haven't found an
explanation on what are the things that adds up to my application that gives
me a big file size.

On 1/22/08, Carlos Rovira <[EMAIL PROTECTED]> wrote:
>
>   For app size use "Export Release Version"
>
> 2008/1/22, Romeo Obane <[EMAIL PROTECTED]>:
> >
> >   Greetings!
> >
> > Yesterday, I integrated my flex application from Flex 2 to Flex 3 Beta 2, 
> > I've seen some strange
> > changes, here are the following:
> >
> >
> > * My Flex Application size before is around 500k, but now 986k.
> >
> > * In my library which uses Cairngorm:
> >
> >  It finds the "CairngormMessages.properties",
> >
> >  I've found a temporary Solution and still knowing the real issues:
> >
> > http://labs.adobe.com/wiki/index.php/Talk:Cairngorm
> >
> >   - I added in the source folder of library 
> > "locale\en_US\CairngormMessages.properties" file
> >
> >
> >   - And I added to library compiler arguments
> > "-locale en_US -source-path=locale/{locale} 
> > -allow-source-path-overlap=true"
> >
> >
> > I will appreciate any small or big ideas to this kind of issues especially 
> > in reducing my flex application size.
> >
> >
> > Thanks,
> > Romeo
> >
> >
> >
>
>
> --
> ::| Carlos Rovira
> ::| http://www.carlosrovira.com
> ::| http://formacion.carlosrovira.com/
> ::| http://www.madeinflex.com
>
>  
>


[flexcoders] Flex 3 and Cairngorm2.2.1 Issue

2008-01-22 Thread Romeo Obane
Hi to all!

I added to my Flex 3 library path the Cairngorm 2.2.1 swc and it is finding
the "CairngormMessages.properties" unlike with Flex 2.

I've found a temporary Solution in
http://labs.adobe.com/wiki/index.php/Talk:Cairngorm

  - I added in the source folder of library
"locale\en_US\CairngormMessages.properties" file

  - And I added to library compiler arguments
"-locale en_US -source-path=locale/{locale} -allow-source-path-overlap=true"

I believe that this solution is not good and I would like to ask if
you can give me a idea regarding the cause of the issue
and the possible solutions for this.

I will appreciate your reply.

Thanks!

Romeo


[flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
Greeting!

I would like to ask of what is the maximum size limit of one image to upload
through File Reference?

Thanks' a lot for your response,
Romeo


Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
Hi,

Thanks iiley for your quick reply!

Yes, you are right, but in other hand, I need to know the maximum image file
size that Flex can handle to upload?

Thanks :)


On 1/29/08, iiley <[EMAIL PROTECTED]> wrote:
>
>   Hi you can use FileReference.size to judge whether to upload or not when
> Event.SELECT
>
> --
> iiley
> AsWing http://www.aswing.org
> Personal http://www.iiley.com
>  
>


Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
You gave me a good idea!

Thanks a lot yigit! :)

On 1/29/08, yigit <[EMAIL PROTECTED]> wrote:
>
>   it depends on the server side.
> e.g. @ php default value is 2 mb im many servers but you can configure
> php.ini
> file to edit it.
> Romeo Obane wrote On 01/29/2008 10:13 AM:
>
> >
> > Greeting!
> >
> > I would like to ask of what is the maximum size limit of one image to
> > upload through File Reference?
> >
> > Thanks' a lot for your response,
> > Romeo
> >
> >
>
>  
>


[flexcoders] Testing with Flex Framework RSL's

2008-03-12 Thread Romeo Obane
Hi,

I've read many articles regarding RSL's and I'm quite interested especially
in Flex Framework RSL.

We have now a Flex Application that has Flex Framework merged, and now I
tested separating it through RSL.

I would like to test the RSL, and I was thinking of deleting the two
frameworks ( swz & swf ) in the deployment folder ( bin-release ) will raise
an error and find for the missing framework(s), but it's not what I
expected, it's still loads the whole application successfully.

I have the latest Flash Player and as what I've read that the signed
framework (swz) will be cached into the player when first loaded, I'm
thinking of the successful load of our application maybe it's because there
is already a signed flex framework cached into the player. One more thing
also, can we clear the cache in Flash Player?

I'm quite new and curious about this, and any enlightenment will be greatly
appreciated.

Thanks :)


Re: [flexcoders] Re: Testing with Flex Framework RSL's

2008-03-13 Thread Romeo Obane
Thank you so much for your info's, it really helps me to prove into myself
regarding Flex RSL's especially separating its framework.

I really appreciate it.

On 3/12/08, Darrell Loverin <[EMAIL PROTECTED]> wrote:
>
>   The Flash Player framework cache is location if different places
> depending on the OS. You can use the Global Storage Settings Panel
> (http://www.macromedia.com/support/documentation/en/flashplayer/help/
> settings_manager03.html) to delete the Player cache. To delete the
> cache uncheck the "Store common Flash components to reduce download
> times" checkbox. Then "confirm" you want to delete the cache. Next,
> recheck the checkbox to turn the cache back on.
>
> -Darrell
>
>
> --- In flexcoders@yahoogroups.com , "Romeo
> Obane" <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > I've read many articles regarding RSL's and I'm quite interested
> especially
> > in Flex Framework RSL.
> >
> > We have now a Flex Application that has Flex Framework merged, and
> now I
> > tested separating it through RSL.
> >
> > I would like to test the RSL, and I was thinking of deleting the
> two
> > frameworks ( swz & swf ) in the deployment folder ( bin-release )
> will raise
> > an error and find for the missing framework(s), but it's not what I
> > expected, it's still loads the whole application successfully.
> >
> > I have the latest Flash Player and as what I've read that the
> signed
> > framework (swz) will be cached into the player when first loaded,
> I'm
> > thinking of the successful load of our application maybe it's
> because there
> > is already a signed flex framework cached into the player. One
> more thing
> > also, can we clear the cache in Flash Player?
> >
> > I'm quite new and curious about this, and any enlightenment will
> be greatly
> > appreciated.
> >
> > Thanks :)
> >
>
>  
>


Re: [flexcoders] Yahoo/Google Maps - Navigator Component

2008-04-21 Thread Romeo Obane
You're welcome.

I'm glad that it helps, I'm also interested with the mapping idea that you
have there.

Cheers :)

On Tue, Apr 22, 2008 at 12:31 PM, Mike Anderson <[EMAIL PROTECTED]> wrote:

>Thank you sir!
>
> Right off the bat, I figured it would have to do with Image Cropping, so I
> feel good knowing my thought process was on the right track :)
>
> I will let you know how things work for me.
>
> Many Thanks!!!
>
> Mike
>
>  --
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Romeo Obane
> *Sent:* Monday, April 21, 2008 10:07 PM
>
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Yahoo/Google Maps - Navigator Component
>
> Hi,
>
> Kindly see the attached sample application, the main concept of it
> actually is about Image Cropping, but I believe it could somehow give you
> some good ideas.
>
> I'm sorry about my codes in there since this was only my quick experiment
> with it.
>
> Hope this helps. :)
>
>
> On Tue, Apr 22, 2008 at 11:02 AM, Romeo Obane <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> >
> > Kindly see the attached sample application, the main concept of it
> > actually is about Image Cropping, but I believe is could somehow give you
> > some good ideas.
> >
> > I'm sorry about my codes in there since this was only my quick
> > experiment with it.
> >
> > Hope this helps. :)
> >
> >
> >
> > On Tue, Apr 22, 2008 at 11:30 AM, Mike Anderson <[EMAIL PROTECTED]>
> > wrote:
> >
> > >Greetings!
> > >
> > > Thank you for the reply.  If I am properly interpreting your image, I
> > > think your example demonstrates what I am trying to do.  If you have an
> > > online example, or source code outlining this functionality, I'd be very
> > > grateful to take a peek at it.
> > >
> > > Thank you in advance for all your help,
> > >
> > > Mike
> > >
> > >  --
> > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> > > *On Behalf Of *Romeo Obane
> > > *Sent:* Monday, April 21, 2008 7:22 PM
> > > *To:* flexcoders@yahoogroups.com
> > > *Subject:* Re: [flexcoders] Yahoo/Google Maps - Navigator Component
> > >
> > >  Hi,
> > >
> > > I made an example of this before and kindly see the attached screen
> > > shot if it's similar.
> > >
> > > On Tue, Apr 22, 2008 at 3:00 AM, Mike Anderson <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > >   Hello All,
> > > >
> > > > I was curious if there were any examples, components, etc. which
> > > > allow
> > > > you to do the following:
> > > >
> > > > Imagine a large graphic or map taking up the entire Application
> > > > Screen,
> > > > and then a rectangular box (a fraction of the main graphic size)
> > > > sitting
> > > > in a static spot "always on top", representing the image as a whole.
> > > > Within this rectangular box Component, you can drag around a small
> > > > rectangle which represents the present viewing area below. As the
> > > > Zoom
> > > > Level changes, the draggable rectangle dimensions change
> > > > accordingly.
> > > >
> > > > For you Photoshop users, it's the Navigator Component - which lets
> > > > you
> > > > drag around the rectangular box within, and quickly Pan the image
> > > > around
> > > > in order to quickly access an area you'd like to work on (rather
> > > > than
> > > > having to use the scroll-bars).
> > > >
> > > > I believe Yahoo/Google Maps has this feature as well.
> > > >
> > > > Does anybody have a place for me to start, in order to learn more
> > > > about
> > > > how to do this, etc?
> > > >
> > > > Thank you all in advance for any information on this,
> > > >
> > > > Mike
> > > >
> > >
> > >
> >
>  
>


Re: [flexcoders] Setting Focus on loading application

2009-03-17 Thread Romeo Obane
Thanks for this post :)
But I'm quite wondering that it doesn't work in Google Chrome.

On Wed, Mar 18, 2009 at 7:44 AM, Toby Tremayne  wrote:

>   Actually I'm using it in firefox :)
>
>
> On 18/03/2009, at 12:15 AM, Tracy Spratt wrote:
>
>
> Be aware that this is reliable in IE, but may not work in FireFox.  I do
> not know about the other browsers.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
> --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *sony antony
> *Sent:* Tuesday, March 17, 2009 8:00 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Setting Focus on loading application
>
>
>
> Hey..
>
>
>
> Thanks Toby...
>
> That worked.. It was really troubling stuff for me.. Now am almost
> relaxed..
>
>
>
>
>
> --- On *Tue, 17/3/09, Toby Tremayne * wrote:
>
>
> From: Toby Tremayne 
> Subject: Re: [flexcoders] Setting Focus on loading application
> To: flexcoders@yahoogroups.com
> Date: Tuesday, 17 March, 2009, 12:34 PM
>
> The issue is that the flash movie itself needs to receive focus before it
> can put the cursor in your username field.  You can achieve this by adding
> this to your html wrapper (yourproject/ html-template/ index.template.
> html):
>
>
>
> 
>
> function focusFlash() {
>
> ${application}.focus();
>
> }
>
> 
>
>
>
> and modify the body tag like so:
>
>
>
> 
>
>
>
> Once that's in there, the usual FocusManager code in your flex will work:
>
>
>
> focusManager. setFocus( username) ;
>
>
>
> Toby
>
>
>
> On 17/03/2009, at 5:54 PM, sony antony wrote:
>
>
>
>
>
> Hi,
>
> Can anyone help me out with this craziness of flex..
>
> I need to set focus to my username field when my application gets loaded.
> While i was tracking this issue, I was caught up in http://bugs.
> adobe.com/ jira/browse/ FP-879  .
> There they specified about some kind of html wrapper code. I dint get any
> idea about it. Please somebody help me to fix this.
>
>
>
> Thanks & Regards,
>
> Sony
>
>
> --
>
> Check out the all-new face of Yahoo! India. Click 
> here.
>
>
>
>
>
>
>
> Toby Tremayne
>
> CEO
>
> Magic Industries
>
> http://www.magicind ustries.net 
>
> mob: 0416 048 090
>
> icq: 13107913
>
> skype: lyricist1
>
>
>
>
>
>
>
>
>
> --
>
> Add more friends to your messenger and enjoy! Invite them 
> now.
>
>
>
>
> Toby Tremayne
> CEO
> Magic Industries
> http://www.magicindustries.net
> mob: 0416 048 090
> icq: 13107913
> skype: lyricist1
>
>
>
>
>  
>


Re: [flexcoders] row colors in AdvancedDataGrid

2009-03-18 Thread Romeo Obane
You can go and see for the style property of AdvancedDataGrid "
alternatingItemColors".
http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html

On Thu, Mar 19, 2009 at 7:00 AM, yossi.baram  wrote:

>   Hi helper,
> In Adobe developer guid in all examples of treeGrid every second row has a
> background greyed color
> http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
> I need the same thing, 2 colors alternatly,
> How do I do it?
>
> Thanks
> Jo
>
>  
>


Re: [flexcoders] swf file size changes from build to build?

2009-03-18 Thread Romeo Obane
I'm quite puzzled of what you've said about right date and time, what do you
mean by that? Is the right date and time affects the swf file size?
On Thu, Mar 19, 2009 at 5:47 AM, Alex Harui  wrote:

>Just wait for the right date and time.  SWFs are zipped and there is
> some date/time bytes in the SWF that affect the compression table.  No two
> builds are the same.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. 
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *fotis.chatzinikos
> *Sent:* Wednesday, March 18, 2009 9:55 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] swf file size changes from build to build?
>
>
>
> Hi,
>
> I am working on a project where the debug build is about 1MB.
>
> The problem is that from build to build i have seen the resulting swf
> changing sizes. The builds do not add or remove any code, its just minor
> changes ie myIntVar = 1 instead of 0.
>
> Last 5 builds:
>
> 1. 1086 KB
> 2. 1086 KB
> 3. 894 KB
> 4. 933 KB
> 5. 1087 KB
>
> I am not sure yet if this happens in the release build as well...
>
> Anybody seen that before?
>
> PS: Else i will keep rebuilding until i get the smaller possible size to
> publish... (just joking)
>
>   
>


Re: [flexcoders] swf file size changes from build to build?

2009-03-18 Thread Romeo Obane
I'm quite puzzled of what you've said about right date and time, what do you
mean by that? Is the right date and time affects the swf file size?

On Thu, Mar 19, 2009 at 5:47 AM, Alex Harui  wrote:

>Just wait for the right date and time.  SWFs are zipped and there is
> some date/time bytes in the SWF that affect the compression table.  No two
> builds are the same.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. 
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *fotis.chatzinikos
> *Sent:* Wednesday, March 18, 2009 9:55 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] swf file size changes from build to build?
>
>
>
> Hi,
>
> I am working on a project where the debug build is about 1MB.
>
> The problem is that from build to build i have seen the resulting swf
> changing sizes. The builds do not add or remove any code, its just minor
> changes ie myIntVar = 1 instead of 0.
>
> Last 5 builds:
>
> 1. 1086 KB
> 2. 1086 KB
> 3. 894 KB
> 4. 933 KB
> 5. 1087 KB
>
> I am not sure yet if this happens in the release build as well...
>
> Anybody seen that before?
>
> PS: Else i will keep rebuilding until i get the smaller possible size to
> publish... (just joking)
>
>   
>


Re: [flexcoders] swf file size changes from build to build?

2009-03-18 Thread Romeo Obane
Oh I see, I understand now.
Thanks Tracy :)
On Thu, Mar 19, 2009 at 12:44 PM, Maciek Sakrejda wrote:

>The size of the variation is indeed surprising: there's almost 200k
> between the extremes! I can't imagine something like embedding a different
> build date making that much of a difference...
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of Gordon Smith
> Sent: Wed 3/18/2009 8:52 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] swf file size changes from build to build?
>
> I think Alex was joking. He was simpily confirming that you don't get the
> same size each time you build (although I'm surprised by the size of the
> variation).
>
> What did you mean by "myIntVar = 1 instead of 0"? The SWFs should execute
> exactly the same.
>
> - Gordon
>
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com]
> On Behalf Of Romeo Obane
> Sent: Wednesday, March 18, 2009 8:18 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] swf file size changes from build to build?
>
>
> I'm quite puzzled of what you've said about right date and time, what do
> you mean by that? Is the right date and time affects the swf file size?
> On Thu, Mar 19, 2009 at 5:47 AM, Alex Harui  mailto:aha...@adobe.com >> wrote:
>
> Just wait for the right date and time.  SWFs are zipped and there is some
> date/time bytes in the SWF that affect the compression table.  No two builds
> are the same.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc.<http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> From: 
> flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>
> [mailto:flexcoders@yahoogroups.com <
> mailto:flexcoders@yahoogroups.com >] On Behalf
> Of fotis.chatzinikos
> Sent: Wednesday, March 18, 2009 9:55 AM
> To: 
> flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com
> >
> Subject: [flexcoders] swf file size changes from build to build?
>
>
>
> Hi,
>
> I am working on a project where the debug build is about 1MB.
>
> The problem is that from build to build i have seen the resulting swf
> changing sizes. The builds do not add or remove any code, its just minor
> changes ie myIntVar = 1 instead of 0.
>
> Last 5 builds:
>
> 1. 1086 KB
> 2. 1086 KB
> 3. 894 KB
> 4. 933 KB
> 5. 1087 KB
>
> I am not sure yet if this happens in the release build as well...
>
> Anybody seen that before?
>
> PS: Else i will keep rebuilding until i get the smaller possible size to
> publish... (just joking)
>
>
>
>   
>


Re: [flexcoders] Re: row colors in AdvancedDataGrid

2009-03-18 Thread Romeo Obane
You mean changing the Application's or Data Grid default background?

On Thu, Mar 19, 2009 at 1:28 PM, yossi.baram  wrote:

>   Greate man :)
>
> I missed that Thanks a lot,
>
> One more :),
> Do you know how can I eliminate the blue background of the application
> containing my greed?
> I just need to show the grid in an area without the colored background
>
> thanks again
>
>
> --- In flexcoders@yahoogroups.com , Romeo
> Obane  wrote:
> >
> > You can go and see for the style property of AdvancedDataGrid "
> > alternatingItemColors".
> >
> http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html
> >
> > On Thu, Mar 19, 2009 at 7:00 AM, yossi.baram  wrote:
> >
> > > Hi helper,
> > > In Adobe developer guid in all examples of treeGrid every second row
> has a
> > > background greyed color
> > >
> http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
> > > I need the same thing, 2 colors alternatly,
> > > How do I do it?
> > >
> > > Thanks
> > > Jo
> > >
> > >
> > >
> >
>
>  
>


Re: [flexcoders] Re: row colors in AdvancedDataGrid

2009-03-19 Thread Romeo Obane
One of the simple ways to change your Application Background default color,
is thru your css. Below is the sample codes.

e.g. 1

// For gradient colors

Application
{
backgroundGradientAlphas: 1.0, 0.59;
backgroundGradientColors: #00, #4D91BF;
}

e.g. 1
// For Solid colors

Application
{
 background-color: blue;
}


Regarding the Grid, I tried the same way that you did, but it does occupy
the whole width and height of my application space.
Did you placed your grid inside the container aside of the main application
itself?

Maybe if you could share some of the codes that could help me understand
more.

On Thu, Mar 19, 2009 at 2:57 PM, yossi.baram  wrote:

>   Yep, the Apllication background I guess,
> I created the grid as a Tag and sent the with & height values for the
> Application.
> I set width="100%" and height="100%" for the grid and the height is showing
> great with no padding but on the sides of the grid I get 20px of blue
> background on each side althogh I set width to 100%
> Why is that?
>
> Thanks man
>
>
> --- In flexcoders@yahoogroups.com , Romeo
> Obane  wrote:
> >
> > You mean changing the Application's or Data Grid default background?
> >
> > On Thu, Mar 19, 2009 at 1:28 PM, yossi.baram  wrote:
> >
> > > Greate man :)
> > >
> > > I missed that Thanks a lot,
> > >
> > > One more :),
> > > Do you know how can I eliminate the blue background of the application
> > > containing my greed?
> > > I just need to show the grid in an area without the colored background
> > >
> > > thanks again
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> > >  40yahoogroups.com>, Romeo
> > > Obane  wrote:
> > > >
> > > > You can go and see for the style property of AdvancedDataGrid "
> > > > alternatingItemColors".
> > > >
> > >
> http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html
> > > >
> > > > On Thu, Mar 19, 2009 at 7:00 AM, yossi.baram  wrote:
> > > >
> > > > > Hi helper,
> > > > > In Adobe developer guid in all examples of treeGrid every second
> row
> > > has a
> > > > > background greyed color
> > > > >
> > >
> http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
> > > > > I need the same thing, 2 colors alternatly,
> > > > > How do I do it?
> > > > >
> > > > > Thanks
> > > > > Jo
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>  
>


Re: [flexcoders] Re: row colors in AdvancedDataGrid

2009-03-19 Thread Romeo Obane
Oh, thanks for clearing more your concern.

One more thing, your width for each column is fixed?

If yes, we can easily set the width of each column to be flexible of the app
width, BUT if it's dynamic (depends on the data size), it could be more
tricky since the grid column usually don't have percent width.

On Thu, Mar 19, 2009 at 3:45 PM, yossi.baram  wrote:

>   Hi,
> I miss led you a bit,
> I use a css and I can eliminate the background color of the application to
> white so I can see only the grid.
> I set the height of the grid to 100% BUT not the width because I create the
> colums dynamically and set width for each column.
> in my mxml:
> 
> // this is the function the sets the columns
> private function setColumnProperties(columnId:String,
> columns:Object):AdvancedDataGridColumn{
> var tableColumn:TableColumn = columns[columnId] as TableColumn;
> var dgc:AdvancedDataGridColumn = null;
> if(tableColumn.visible){
> dgc = new AdvancedDataGridColumn();
> dgc.dataField = columnId;
> dgc.width = tableColumn.width;
> dgc.headerText = tableColumn.header;
> dgc.sortable = tableColumn.sortable;
> }
> return dgc;
> }
> 
>  folderClosedIcon="{null}" folderOpenIcon="{null}" defaultLeafIcon="{null}"
> paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"
> >
>
> The result I get is the grid with horizontal scroll bar (because the
> application width is greater then my grid)
> turning the scroll bar off doesnt solve the issue that the app is greater
> in width then my grid, why cant I match the width size of the app and the
> grid?
>
> I hope I'm understud :)
>
>
> --- In flexcoders@yahoogroups.com , Romeo
> Obane  wrote:
> >
> > One of the simple ways to change your Application Background default
> color,
> > is thru your css. Below is the sample codes.
> >
> > e.g. 1
> >
> > // For gradient colors
> >
> > Application
> > {
> > backgroundGradientAlphas: 1.0, 0.59;
> > backgroundGradientColors: #00, #4D91BF;
> > }
> >
> > e.g. 1
> > // For Solid colors
> >
> > Application
> > {
> > background-color: blue;
> > }
> >
> >
> > Regarding the Grid, I tried the same way that you did, but it does occupy
> > the whole width and height of my application space.
> > Did you placed your grid inside the container aside of the main
> application
> > itself?
> >
> > Maybe if you could share some of the codes that could help me understand
> > more.
> >
> > On Thu, Mar 19, 2009 at 2:57 PM, yossi.baram  wrote:
> >
> > > Yep, the Apllication background I guess,
> > > I created the grid as a Tag and sent the with & height values for the
> > > Application.
> > > I set width="100%" and height="100%" for the grid and the height is
> showing
> > > great with no padding but on the sides of the grid I get 20px of blue
> > > background on each side althogh I set width to 100%
> > > Why is that?
> > >
> > > Thanks man
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> > >  40yahoogroups.com>, Romeo
> > > Obane  wrote:
> > > >
> > > > You mean changing the Application's or Data Grid default background?
> > > >
> > > > On Thu, Mar 19, 2009 at 1:28 PM, yossi.baram  wrote:
> > > >
> > > > > Greate man :)
> > > > >
> > > > > I missed that Thanks a lot,
> > > > >
> > > > > One more :),
> > > > > Do you know how can I eliminate the blue background of the
> application
> > > > > containing my greed?
> > > > > I just need to show the grid in an area without the colored
> background
> > > > >
> > > > > thanks again
> > > > >
> > > > >
> > > > > --- In flexcoders@yahoogroups.com 
> > > > >  40yahoogroups.com> > > 40yahoogroups.com>, Romeo
> > > > > Obane  wrote:
> > > > > >
> > > > > > You can go and see for the style property of AdvancedDataGrid "
> > > > > > alternatingItemColors".
> > > > > >
> > > > >
> > >
> http://livedocs.adobe.com/flex/3/langref/mx/controls/AdvancedDataGrid.html
> > > > > >
> > > > > > On Thu, Mar 19, 2009 at 7:00 AM, yossi.baram 
> wrote:
> > > > > >
> > > > > > > Hi helper,
> > > > > > > In Adobe developer guid in all examples of treeGrid every
> second
> > > row
> > > > > has a
> > > > > > > background greyed color
> > > > > > >
> > > > >
> > >
> http://livedocs.adobe.com/flex/3/html/help.html?content=advdatagrid_10.html
> > > > > > > I need the same thing, 2 colors alternatly,
> > > > > > > How do I do it?
> > > > > > >
> > > > > > > Thanks
> > > > > > > Jo
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>  
>


Re: [flexcoders] Re: row colors in AdvancedDataGrid

2009-03-19 Thread Romeo Obane
If the column of your grid is fixed, then it would be okay, we just need to
know how many columns do you have.

I don't know if this simple code below could help, try to run and see.

http://www.adobe.com/2006/mxml"; layout="absolute"
horizontalScrollPolicy="off">







On Thu, Mar 19, 2009 at 5:16 PM, yossi.baram  wrote:

>   Hey,
> It is fixed when the grid is loded...
> So, what do you think, Can we set the app and the grid to be matched in
> size?
> The padding I get on the size of the grid are a problem because they
> produce horizontal scroll bar.
> Remember, the open area the SWF is presented is the exact size of the grid,
> but you see a scroll bar because the application is wider,
>
> Thanks
>
>
> --- In flexcoders@yahoogroups.com , Romeo
> Obane  wrote:
> >
> > Oh, thanks for clearing more your concern.
> >
> > One more thing, your width for each column is fixed?
> >
> > If yes, we can easily set the width of each column to be flexible of the
> app
> > width, BUT if it's dynamic (depends on the data size), it could be more
> > tricky since the grid column usually don't have percent width.
> >
> > On Thu, Mar 19, 2009 at 3:45 PM, yossi.baram  wrote:
> >
> > > Hi,
> > > I miss led you a bit,
> > > I use a css and I can eliminate the background color of the application
> to
> > > white so I can see only the grid.
> > > I set the height of the grid to 100% BUT not the width because I create
> the
> > > colums dynamically and set width for each column.
> > > in my mxml:
> > > 
> > > // this is the function the sets the columns
> > > private function setColumnProperties(columnId:String,
> > > columns:Object):AdvancedDataGridColumn{
> > > var tableColumn:TableColumn = columns[columnId] as TableColumn;
> > > var dgc:AdvancedDataGridColumn = null;
> > > if(tableColumn.visible){
> > > dgc = new AdvancedDataGridColumn();
> > > dgc.dataField = columnId;
> > > dgc.width = tableColumn.width;
> > > dgc.headerText = tableColumn.header;
> > > dgc.sortable = tableColumn.sortable;
> > > }
> > > return dgc;
> > > }
> > > 
> > >  > > folderClosedIcon="{null}" folderOpenIcon="{null}"
> defaultLeafIcon="{null}"
> > > paddingBottom="0" paddingLeft="0" paddingRight="0" paddingTop="0"
> > > >
> > >
> > > The result I get is the grid with horizontal scroll bar (because the
> > > application width is greater then my grid)
> > > turning the scroll bar off doesnt solve the issue that the app is
> greater
> > > in width then my grid, why cant I match the width size of the app and
> the
> > > grid?
> > >
> > > I hope I'm understud :)
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> > >  40yahoogroups.com>, Romeo
> > > Obane  wrote:
> > > >
> > > > One of the simple ways to change your Application Background default
> > > color,
> > > > is thru your css. Below is the sample codes.
> > > >
> > > > e.g. 1
> > > >
> > > > // For gradient colors
> > > >
> > > > Application
> > > > {
> > > > backgroundGradientAlphas: 1.0, 0.59;
> > > > backgroundGradientColors: #00, #4D91BF;
> > > > }
> > > >
> > > > e.g. 1
> > > > // For Solid colors
> > > >
> > > > Application
> > > > {
> > > > background-color: blue;
> > > > }
> > > >
> > > >
> > > > Regarding the Grid, I tried the same way that you did, but it does
> occupy
> > > > the whole width and height of my application space.
> > > > Did you placed your grid inside the container aside of the main
> > > application
> > > > itself?
> > > >
> > > > Maybe if you could share some of the codes that could help me
> understand
> > > > more.
> > > >
> > > > On Thu, Mar 19, 2009 at 2:57 PM, yossi.baram  wrote:
> > > >
> > > > > Yep, the Apllication background I guess,
> > > > > I created the grid as a Tag and sent the with & height values for
> the
> > > > > Application.
> > > > > I set width="100%" and height="100%" for the grid and the height is
> > > 

Re: [flexcoders] Flex Coding Standards

2009-05-24 Thread Romeo Obane
Hope this helps
http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/pt/
I'm currently basing my coding standards from there :)

On Sun, May 24, 2009 at 2:04 PM, Angelo Anolin wrote:

>
>
>
> Hi FlexCoders,
>
> Would someone be kind enough to share their coding standards relative to
> flex development?
>
> I am starting Flex and I would want to at least follow good standard(s)
> especially on coding side.
>
> Thanks and best regards.
>
> Angelo
>
>  
>


Re: [flexcoders] clybs.com - Visit my site!

2009-11-18 Thread Romeo Obane
Cool :)

On Mon, Nov 16, 2009 at 10:28 AM, Cliburn M. Solano  wrote:

>
>
>
>  Hola guys,
>
> Shameless plug coming through! I'm currently advertising my site which is
> still a baby. Anyway I have tools there which you might find useful:
>
> currency converter - http://www.clybs.com/currencyconverter
> url trimmer - http://www.clybs.com/urltrimmer
> url expander - http://www.clybs.com/urlexpander
>
> site: http://www.clybs.com
>
> My site is still ugly but once I get the design done, it won't be that of
> an eyesore. For developers, I'll be creating an API sometime in the future
> for this. Additional tools will be supported later on.
>
> The site is proudly pinoy!
>
> Mabuhay!
> clybs
>
>
>  
>


Re: [flexcoders] How to get updated value from dataGrid

2009-11-25 Thread Romeo Obane
I usually add a listener to my ArrayCollection.

e.g. collection.addEventListener(CollectionEvent.COLLECTION_CHANGE,
handler);

http://livedocs.adobe.com/flex/3/html/help.html?content=about_dataproviders_5.html

On Thu, Nov 26, 2009 at 1:04 PM, markflex2007 wrote:

>
>
> Hi,
>
> I set one column in dataGrid as "editable='true'",so we can update values
> with dataGrid.I try to use acPeopleUpdate to get updated value from
> dataGrid, but acPeopleUpdate get values that is before updated.
> Please help me know how to get updated values from dataGrid.
>
> Thanks
>
> code:
>
> 
> http://www.adobe.com/2006/mxml";
> creationComplete="init()" layout="absolute" backgroundGradientAlphas="[1.0,
> 1.0]"
> backgroundGradientColors="[#FEFEFE, #FEFEFE]" horizontalScrollPolicy="off">
> 
> 
> 
>  dataProvider="{acPeople}" itemEditEnd="updateAC()">
> 
> 
> 
> 
> 
> 
>
> 
>
>  
>


[flexcoders] Strange UI behaviour after updated my SDK to 3.4.1 Stable build

2009-12-08 Thread Romeo Obane
Greetings,

In the code below, you can have a LinkBar that depends it's link menus from
the ViewStack and the second menu is somehow I set into disabled.

eg.




   
   



OUTPUT:
*
*
*Menu 1   *
*
*
*Menu 2*
*
*
*
*
This just work perfectly from my 3.2 SDK until I updated into 3.4.1, the
disabled "Menu 2" is still enabled and found this one quite strange.
It's somehow clear that there's something to do with my SDK update, would
like to ask of any ideas or things I need to check that affects this one?
Hope that my illustration above is clear.

Thanks a lot,
Romeo
*
*
*
*
*
*
*
*
*
*


[flexcoders] Link Bar behaves differently after SDK 3.4.1 update

2009-12-08 Thread Romeo Obane
Greetings,

In the code below, you can have a LinkBar that depends it's link menus from
the ViewStack and the second menu is somehow I set into disabled.

eg.




   
   



OUTPUT:
*
*
*Menu 1   *
*
*
*Menu 2*
*
*
*
*
This just work perfectly from my 3.2 SDK until I updated into 3.4.1, the
disabled "Menu 2" is still enabled and found this one quite strange.
It's somehow clear that there's something to do with my SDK update, would
like to ask of any ideas or things I need to check that affects this one?
Hope that my illustration above is clear.

Thanks a lot,
Romeo


Re: [flexcoders] Re: Link Bar behaves differently after SDK 3.4.1 update

2009-12-09 Thread Romeo Obane
It's true as I also manage to compare the LinkBar specially to it's extended
class NavBar but currently I just used 3.3 from the Milestone build as the
Linkbar just behaves well in there.

Thanks for the recommendation and will try that one.

On Thu, Dec 10, 2009 at 2:17 AM, tntomek  wrote:

>
>
> 3.4 and 3.4.1 (5 lines of code changed) are flaky, I would recommend the
> 3.5 nightly and from what Matt Chotin said the official should be out any
> day now.
>
>
> --- In flexcoders@yahoogroups.com , Romeo
> Obane  wrote:
> >
> > Greetings,
> >
> > In the code below, you can have a LinkBar that depends it's link menus
> from
> > the ViewStack and the second menu is somehow I set into disabled.
> >
> > eg.
> >
> > 
> >
> > 
> > 
> > 
> > 
> >
> >
> > OUTPUT:
> > *
> > *
> > *Menu 1 *
> > *
> > *
> > *Menu 2*
> > *
> > *
> > *
> > *
> > This just work perfectly from my 3.2 SDK until I updated into 3.4.1, the
> > disabled "Menu 2" is still enabled and found this one quite strange.
> > It's somehow clear that there's something to do with my SDK update, would
> > like to ask of any ideas or things I need to check that affects this one?
> > Hope that my illustration above is clear.
> >
> > Thanks a lot,
> > Romeo
> >
>
>  
>


Re: [flexcoders] libs in a lib

2009-12-09 Thread Romeo Obane
Guess because you're already in a Flex Library Project :)

Honestly in my practice, I just delete the "libs" folder and directly
referring to my Library Project.

On Thu, Dec 10, 2009 at 7:50 AM, Richard Rodseth  wrote:

>
>
> Any particular reason that a Flex library project can't have a "libs"
> folder the way an application project can?
>  
>