RE: [flexcoders] Memory Profiler - Memory Snapshot does automatically runs garbage collector?

2008-03-27 Thread Andrej van der Zee
In the documentation that ships with Adobe it sais
that it runs the GC before taking a snapshot. But it
also mentions that it is not guaranteed that all
unreferenced objects are freed when the GC is run
(manually or before a snapshot). A bit misleading
functionality I would say!


--- "Gaurav. Jain" <[EMAIL PROTECTED]> wrote:

> I meant *before* capture the data.
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Gaurav. Jain
> Sent: Thursday, March 27, 2008 2:43 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Memory Profiler - Memory
> Snapshot does
> automatically runs garbage collector?
> 
> Yes the memory snapshot runs the GC capturing the
> data. 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of alex
> Sent: Thursday, March 27, 2008 2:26 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Memory Profiler - Memory
> Snapshot does
> automatically runs garbage collector?
> 
> Because it looks like it does that. 
> I have some increase in memory, then the moment I
> take memory snapshot
> it goes down a bit which is the same effect with
> just running garbage
> collector manually.
> Otherwise the the memory won't change and the
> garbage collector won't
> kick in by itself.
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> Groups
> Links
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> Groups
> Links
> 
> 
> 
> 



  __
Sent from Yahoo! Mail.
More Ways to Keep in Touch. http://uk.docs.yahoo.com/nowyoucan.html


[flexcoders] Sound Recorder

2008-03-27 Thread Rafael Faria
Is there any way to record anything on the client and save it on the
server?  have anyone done that? if yes, can you help me?



[flexcoders] RE: [flexcomponents] Tree ScrollBar

2008-03-27 Thread Alex Harui
Maybe you should just set verticalScrollPolicy="off"

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of NileAge, Mail
Sent: Saturday, March 22, 2008 2:59 AM
To: [EMAIL PROTECTED]; 'Flex Components'; [EMAIL PROTECTED];
flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcomponents] Tree ScrollBar

 

Hello all,

I want to set ( alpha=0 ) for Tree ScrollBar

 



RE: [flexcoders] flex 2 editable datagridcolumn messingup with labelfunction

2008-03-27 Thread Alex Harui
Columns with labelFunction normally need to have itemEditEnd handlers
that figure out how to write the data back to the dataprovider.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gur_sukh
Sent: Thursday, March 27, 2008 9:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex 2 editable datagridcolumn messingup with
labelfunction

 

Hi,

I have a simple datagrid column which is editable and has a label
function. When users enters a value first time it works okay. But if
user comes to that cell and moves out of it the value is set to 0.
Does anyone have any idea what i am doing wrong?

Thanks in advance.



private function formatAmount(item:Object, column:DataGridColumn):String
{ 
return priceFormatter.format(IAttribute(item).amount);
}

 



[flexcoders] Re: FB3 Web Services - complex types?

2008-03-27 Thread mailamannow
(@above i believe this problem is similar to your problem...)

although my os is Windows XP, i also made a test WS on Java to accept
two integers and return their sum and deployed it on axis inside tomcat.

On calling this WS from flex, the sum of two integers is returned
successfully, but on sending another pair of  numbers to the web
service, the web service returns a complex object, containing the
actual result.
for e.g., if i initiate my flex application and pass numbers as 3 and
2, i get result 5 directly, but, if, i pass another number set say 4
and 8, in the same session, what is returned from the web service is
not 12, instead a complex object containing 12 somewhere in it.

...a similar problem to the one posted above... what could be the reason?




[flexcoders] Searching for a component

2008-03-27 Thread Nik Derewianka
Hi All,

Anyone have/seen a component w/ source that implements the  
functionality of OS X's finder column view ??

Cheers,
Nik


[flexcoders] flex 2 editable datagridcolumn messingup with labelfunction

2008-03-27 Thread gur_sukh
Hi,

I have a simple datagrid column which is editable and has a label
function. When users enters a value first time it works okay. But if
user comes to that cell and moves out of it the value is set to 0.
Does anyone have any idea what i am doing wrong?

Thanks in advance.






private function formatAmount(item:Object, column:DataGridColumn):String
{   
return priceFormatter.format(IAttribute(item).amount);
}




[flexcoders] Re: LCDS - Rollback in dataService doesnt work

2008-03-27 Thread Shailesh Mangal
We finally figured out the issue, here is quick description

Problem:
Object Graph:
 A -(1 - many) -- B -- (many to 1) -- C

Each of these object has a corresponding assembler with relationship
defined in data-management-config.xml. Say - AA, BA, CA
In UI, I have Corresponding DataServices say AS, BS (there is none for C
as C get fetched as part of B)

If There is a change made on object C, the change is not collected by AS
or BS (although they show commitRequired = true). Rollback on AS and BS
doesnt do anything.

Solution:
 create a dummy* dataService corresponding to assembler CA and call
rollback on it.


Shailesh Mangal
Zephyr (World's first flex/LCDS based Test Management System)
Now, Test Management, is a breeze



--- In flexcoders@yahoogroups.com, "Shailesh Mangal"
<[EMAIL PROTECTED]> wrote:
>
> Wondering if anybody got similar issue or has any ideas why this might
> happen. We do have multiple dataServices corresponding to the same
> Assembler.
>
> -Shailesh
>
> --- In flexcoders@yahoogroups.com, "Shailesh Mangal"
> shailesh.mangal@ wrote:
> >
> > Hi,
> >
> >   We are using LCDS 2.5.1 and just stumbled upon a weird scenario.
One
> > of dataServices, detects the objects change in the UI and flags the
> > commitRequired = true but the call to revertChanges doesnt do
> > anything. Object still has all the client change.
> >   For a moment, we thought that it might be a stale object reference
> > somewhere. But then the commitRequired flag remains true event after
> > the rollback. Commit works successfully (even after the rollback).
> > Wondering if any one has faced the similar challenge.  BTW, this
> > happens to one of our dataservice (out of more then 20 services).
> >
> > -Shailesh
> >
>




RE: [flexcoders] graphics object seems to degrade performance

2008-03-27 Thread Alex Harui
Flash/AIR are vector display list renderers.  If you give it tons of
vectors to display, it will take a while to render them.  This is quite
different from bitmap renderers like Windows.  There are advantages and
disadvantages to each.

 

If I were writing such an app, I would probably take a snapshot every
once in a while and draw on top of the recent snapshot.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dannyvenier
Sent: Thursday, March 27, 2008 7:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] graphics object seems to degrade performance

 

Hi,
I'm writing an AIR app that uses a scribble type component. In a 
nutshell, just uses the graphics lineTo() method to draw a line from 
the current location to the new position of the mouse on a mouse move 
event.

I have noticed that after scribbling for a bit (maybe 30 seconds), 
the mouse movement tracking is impaired and my scribbling which once 
resembled smooth circles, starts to look like octagons, hexagons, 
pentagons...eventually trianglesyou get the picture. The 
frequency which the application picks up the move events is reduced 
so the smooth tracking turns to noticable lines. The graphics object 
appears to be bogging down the application and mouse event frequency 
as the number of lines in the graphics object increases. It doesn't 
take long to degrade.

I tried out the flex profiler and didn't show any significant growth 
in memory over this scribble period. I tried a scrible application 
from Andy Rayne's scribble board 
http://weblogs.macromedia.com/arayne/
  and it behaves exactly the same

way. There is no scaling, zooming or manipulation of the graphics 
lines at all. I'm assuming they're just pushing points onto an array 
but haven't looked into the source to confirm how this type of class 
behaves.

Has anyone experienced this kind of degradation with a graphics 
object and if so, have you figured out what's going on?

 



[flexcoders] Re: lcds / fds release collection problem

2008-03-27 Thread Kevin
I have had similar problems releasing collections.  In fact, i have
for now abandoned the practice since it was taking a fair amount of
time and CPU on the client to complete.  My problem is that I am
paging in a large collection of 5000 objects.  Using autoSync = true I
can get the objects very quickly from dataservices, but then I want to
release them at some point (which takes a while) so they stop
responding to server push calls.  I could create my own paging
parameters and figure a different way to fill these objects, but for
now, I am just doing it this want am keeping the objects managed on
the client.  It would be nice to have a quicker way to release objects.

- Kevin

--- In flexcoders@yahoogroups.com, "foobone9" <[EMAIL PROTECTED]> wrote:
>
> 
> Unfortunately I already tried releaseCollection(.., true); and the
> results were the same. In my test scenarios there are no other
> references to the data outside the collection passed to
> releaseCollection. Beyond my test scenarios it would be possible to
> have multiple references in which case I would want the copies to be
> made and data maintained.
> 
> Is it possible that my object's lazy relationships are causing
> excessive graph traversal during the release? If this is the case I'm
> wondering if I can test that by changing that relationship information
> in the data management configuration file even though the
> relationships still exist in my DB without causing any other
> unintended consequences.
> 
> --- In flexcoders@yahoogroups.com, "Jeff Vroom"  wrote:
> >
> > Try calling releaseCollection(.., true);
> > 
> >  
> > 
> > If you are releasing a collection which has an object which is still
> > referenced on that client, DMS makes a copy of the instance.  This
is so
> > that your collection does not have any managed objects after the
release
> > call   If you pass in the true as the second param it won't make
> > that copy but instead will clear the collection.  I have wondered
if we
> > need a way to release the reference but leave the collection
> > unchanged... let me know if you think that would help in this case.
> > 
> >  
> > 
> > Jeff
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of foobone9
> > Sent: Monday, March 24, 2008 7:18 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] lcds / fds release collection problem
> > 
> >  
> > 
> > I have a flex 2 application where you can open tabs (of canvases) that
> > display and edit managed data using lcds 2.5.1. The retrieved data is
> > somewhat encapsulated to the UI tab so when the tab is closed I want
> > to release the data to minimize the client memory footprint and data
> > management overhead. 
> > 
> > The data is retrieved using fill() so to release I use (my
> > DataService).releaseCollection(serviceArray). This synchronous call
> > blocks for a long time and greatly increases the memory footprint. 
> > 
> > As an example a service array with a length of 127 objects took 48
> > seconds and actually increased 202,094 bytes just to release. 
> > 
> > The objects in the service array have several lazy associations; some
> > of which have been accessed; some of which have not (based on paging
> > from my DataGrid). Could there be a circular referencing problem?
> > 
> > I am probably doing something obviously wrong but I can't figure it
> > out and would appreciate any advice.
> >
>




[flexcoders] graphics object seems to degrade performance

2008-03-27 Thread dannyvenier
Hi,
I'm writing an AIR app that uses a scribble type component.  In a 
nutshell, just uses the graphics lineTo() method to draw a line from 
the current location to the new position of the mouse on a mouse move 
event.

I have noticed that after scribbling for a bit (maybe 30 seconds), 
the mouse movement tracking is impaired and my scribbling which once 
resembled smooth circles, starts to look like octagons, hexagons, 
pentagons...eventually trianglesyou get the picture.  The 
frequency which the application picks up the move events is reduced 
so the smooth tracking turns to noticable lines.  The graphics object 
appears to be bogging down the application and mouse event frequency 
as the number of lines in the graphics object increases.  It doesn't 
take long to degrade.

I tried out the flex profiler and didn't show any significant growth 
in memory over this scribble period.  I tried a scrible application 
from Andy Rayne's scribble board 
http://weblogs.macromedia.com/arayne/ and it behaves exactly the same 
way.  There is no scaling, zooming or manipulation of the graphics 
lines at all.  I'm assuming they're just pushing points onto an array 
but haven't looked into the source to confirm how this type of class 
behaves.

Has anyone experienced this kind of degradation with a graphics 
object and if so, have you figured out what's going on?





RE: [flexcoders] Re: Actionscript/Flex 3 - Communicating with an itemRenderer from the main appli

2008-03-27 Thread Tracy Spratt
"...the dataprovider does not get updated automatically..." Your item
renderer *must* do this on change of the ComboBox.

 

Do you understand why?  Do you know what I mean when I say that
itemRenderers are "recycled"? If not, google "Alex Harui itemRenderer
recycle"

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jeffreyr6915
Sent: Thursday, March 27, 2008 3:50 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Actionscript/Flex 3 - Communicating with an
itemRenderer from the main appli

 

Is myComboValueProperty the id of the combobox(Example -->
mailto:flexcoders%40yahoogroups.com>
, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Rarely is this the way to go.
> 
> 
> 
> You should go through the dataProvider for all data access. You should
> use the dataProvider for all renderer UI updates as well.
> 
> 
> 
> Your renderers must be updating the dataProvider items or they
wouldn't
> be working. So do:
> 
> var myComboValue:String = MyDG.selectedItem.myComboValueProperty;
> 
> 
> 
> Tracy
> 
> 
> 
> 
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of jeffreyr6915
> Sent: Thursday, March 27, 2008 1:44 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Actionscript/Flex 3 - Communicating with an
> itemRenderer from the main applicati
> 
> 
> 
> I know that if you want to communicate with the main application from
> within the itemRenderer component, you have to use "outerDocument"
> first...Example:
> 
>  editorDataField="text" editable="true">
> 
> 
> 
>  change="myMethod(dg.instanceIndex)" id="cbItemRenderer"/>
> 
> 
> 
> 
> 
> My question is:
> ---How do you communicate with an itemRenderer from within the main
> application? It seems like the main app does not have scope to the
> itemRenderer, because when I add an id attribute to the 
> tag, I cannot refer to it...Example:
> 
> cbItemRenderer.getSelectedItem().label)
> 
> Thanks
>

 



Re: [flexcoders] Group Box

2008-03-27 Thread Robert Stehwien
Raghu,

No problem.  The Panel title gives you the text at the top of the box and
within the panel you can use any components or layouts.  If you want
something that looks a little different, you will need to play with the
styles of the panel.

--Robert

On Thu, Mar 27, 2008 at 7:41 AM, raghu kumar varma nadimpalli <
[EMAIL PROTECTED]> wrote:

>  Thank you Robert for the response.
>
> The example you have provided draws a panel and within it, the label and
> checkbox are drawn.
>
> The groupBox will have Lined Box with some text on the upperLine of the
> Box. And within box we should be able to add some more components. The
> GroupBox need to be in the following manner.
>
> TODO
> ||
> |test1 |
> |test2 |
> ||
> -
>
> Thank you
>
> On Wed, Mar 26, 2008 at 3:38 PM, Robert Stehwien <[EMAIL PROTECTED]>
> wrote:
>
> >   The equivalent of a group box is a Panel in Flex.  Here is a quick
> > example
> >
> > 
> >   
> >   
> > 
> >
> > --Robert
> >
> > On Wed, Mar 26, 2008 at 11:32 AM, Raghu <[EMAIL PROTECTED]> wrote:
> >
> > >
> > > Is there any possibility of having group box in flex? If possible can
> > > u please update how it can be done.
> > >
> > >
> > >
> >
>
>
> >
> > > 
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > > Links
> > >
> > >
> > >
> > >
> >
> 
>


[flexcoders] FB3 Web Services - complex types?

2008-03-27 Thread carljmosca
I am seeing a problem importing a web service which returns a complex
type.  The web service was developed on OS X using Eclipse WTP Axis
1.4 Java 1.5.0_13 and is running on Tomcat 5.5.

There are compilation errors in the WS generated code.

I created a simple web service (it accepts and returns a String) using
the same environment and this works OK (the generated code contains no
compilation errors and the web service works as expected).

I have entered a bug in the Adobe bug database but I have not see a
reply yet.

What experiences have others had with web services which return
complex types?



RE: [flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Shiv Kumar
Yea, 700 kbps is too low J our videos are 1700-2600 kbps.

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nayan Savla
Sent: Thursday, March 27, 2008 8:42 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mp3 player causing 40% CPU power

 

700 kbps videos, encoded using On2 no problems. They weren't HD videos
though.

Nayan

On Thu, Mar 27, 2008 at 5:27 PM, Shiv Kumar <[EMAIL PROTECTED]
 > wrote:
>
>
>
>
>
>
>
>
>
> It's not the file size of the video that makes the difference but rather
the
> bitrate at which the video is encoded.
>
>
>
> Our site supports HD video but we have to cut down the bitrate quite a bit
> (losing the HD ness of the video).
>
>
>
>
>
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com  ]
On
> Behalf Of Nayan Savla
> Sent: Thursday, March 27, 2008 8:06 PM
> To: flexcoders@yahoogroups.com  
> Subject: Re: [flexcoders] Mp3 player causing 40% CPU power
>
>
>
>
>
>
>
> it would be the itunes art in bottom which would consume the cpu, We
> have no problems with Video files being played and the files are as
> large as 100 meg.
>
> Nayan
>
> On Thu, Mar 27, 2008 at 4:58 PM, Sajid Hussain <[EMAIL PROTECTED]
 >
> wrote:
> >
> >
> >
> >
> >
> >
> > Hello ,
> > I have done one mp3 player with flex 2 but during streaming its taking
> more
> > cpu power any suggestion?
> >
> > http://www.synergyi.com/videos/player2/MusicPlayer.html
> >
> > Sajid
> >
> >
> > 
> > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it
> > now.
>
> 

 



[flexcoders] Re: Flex Builder - output filename

2008-03-27 Thread Estrada,Joseph
I did add the comman line parameter into the .actionScriptProperties
file but it does not seem to work (no vplayer.swf file is generated in
the root or output directory).   

I added "-o vplayer.swf" to the actionscript compiler options and this
file does not seem to be generated.  My output directory is bin-debug.
 If the -o option is left out, a Main.swf file is generated named
after the Main AS file.  

Thoughts anyone?  Thanks for the help.


--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Tuesday 25 Mar 2008, christiangrail wrote:
> > Does anybody know a way to do this?
> 
> You can add command line parameters (--output for instance) in the
project 
> properties.
> 
> -- 
> Tom Chiverton
> Helping to paradigmatically aggregate strategic metrics
> 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 Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  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
Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: understanding TitleWindow garbage collection

2008-03-27 Thread Aaron Miller
Ahh, never mind. all my pop up windows extend a custom TitleWindow class
which was defining an eventListener that was not getting cleaned up. All my
windows are garbage collecting now.

Sorry for the bother!
~Aaron

On Thu, Mar 27, 2008 at 3:05 PM, Aaron Miller <
[EMAIL PROTECTED]> wrote:

> Hello,
>
> I just started playing around with the Flex 3 profiler and I noticed that
> every time I open a pop up window, the number of instances keep increasing.
> I was aware that I had to remove any event listeners when closed, but is
> there more to it then that? I am worried because I have quite a bit of
> custom window components, most of which reference various singleton classes.
> Are these references keeping the window from being garbage collected? If so,
> would it be enough to destroy the references like this?
>
> private var myAuthUser:AuthUser = AuthUser.getInstance();
>
> on close:
> myAuthUser = null;
>
>
> Is there anything else I need to be careful of when using TitleWindows?
>
>
> Thanks for any input!
> ~Aaron
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com


Re: [flexcoders] need help capturing focus in a variable or using event to capture current target

2008-03-27 Thread Josh McDonald
Look into the focus events. I don't know if there's a global "focusChanged"
event or something like that, but you can definitely hook into "focusIn" and
"focusOut" on individual components.

-J

On Fri, Mar 28, 2008 at 7:30 AM, Teresa Howington <[EMAIL PROTECTED]>
wrote:

>   Hi everyone,
>
> I'm relatively new to Flex, and need help with targeting. I'm creating an
> app that has multiple text areas, shape, and image objects. I want the user
> to be able to click on one of these, have it show that it's "selected", and
> then use the control buttons I make to manipulate the objects, like changing
> font, rotating, etc.
>
> I'm using this Flex snippet from
> http://blog.paranoidferret.com/index.php/2007/08/14/flex-snippet-tutorial-using-the-textrange-class/
> but trying to avoid hardcoding the target.
>
> Look at this snippet in particular:
>
> **
>
> 
>   

Re: [flexcoders] Mp3 player causing 40% CPU power (thanks to rueter007)

2008-03-27 Thread Sajid Hussain
All ,
I was having issue with papervision code

- Original Message 
From: Nayan Savla <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Friday, March 28, 2008 5:41:40 AM
Subject: Re: [flexcoders] Mp3 player causing 40% CPU power

700 kbps videos, encoded using On2 no problems. They weren't HD 
videos though.

Nayan

On Thu, Mar 27, 2008 at 5:27 PM, Shiv Kumar <[EMAIL PROTECTED] com> wrote:
>
>
>
>
>
>
>
>
>
> It's not the file size of the video that makes the difference but rather the
> bitrate at which the video is encoded.
>
>
>
> Our site supports HD video but we have to cut down the bitrate quite a bit
> (losing the HD ness of the video).
>
>
>
>
>
> From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On
> Behalf Of Nayan Savla
>  Sent: Thursday, March 27, 2008 8:06 PM
>  To: [EMAIL PROTECTED] ups.com
>  Subject: Re: [flexcoders] Mp3 player causing 40% CPU power
>
>
>
>
>
>
>
> it would be the itunes art in bottom which would consume the cpu, We
>  have no problems with Video files being played and the files are as
>  large as 100 meg.
>
>  Nayan
>
>  On Thu, Mar 27, 2008 at 4:58 PM, Sajid Hussain 
> wrote:
>  >
>  >
>  >
>  >
>  >
>  >
>  > Hello ,
>  > I have done one mp3 player with flex 2 but during streaming its taking
> more
>  > cpu power any suggestion?
>  >
>  > http://www.synergyi .com/videos/ player2/MusicPla yer.html
>  >
>  > Sajid
>  >
>  >
>  >  _ _ __
>  > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
>  > now.
>
>  














  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: [flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Nayan Savla
700 kbps videos, encoded using On2 no problems. They weren't HD videos though.

Nayan

On Thu, Mar 27, 2008 at 5:27 PM, Shiv Kumar <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
>
>
>
> It's not the file size of the video that makes the difference but rather the
> bitrate at which the video is encoded.
>
>
>
> Our site supports HD video but we have to cut down the bitrate quite a bit
> (losing the HD ness of the video).
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Nayan Savla
>  Sent: Thursday, March 27, 2008 8:06 PM
>  To: flexcoders@yahoogroups.com
>  Subject: Re: [flexcoders] Mp3 player causing 40% CPU power
>
>
>
>
>
>
>
> it would be the itunes art in bottom which would consume the cpu, We
>  have no problems with Video files being played and the files are as
>  large as 100 meg.
>
>  Nayan
>
>  On Thu, Mar 27, 2008 at 4:58 PM, Sajid Hussain <[EMAIL PROTECTED]>
> wrote:
>  >
>  >
>  >
>  >
>  >
>  >
>  > Hello ,
>  > I have done one mp3 player with flex 2 but during streaming its taking
> more
>  > cpu power any suggestion?
>  >
>  > http://www.synergyi.com/videos/player2/MusicPlayer.html
>  >
>  > Sajid
>  >
>  >
>  > 
>  > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
>  > now.
>
>  


[flexcoders] Discrepancy between Video Players built with Flex and Flash

2008-03-27 Thread shivkxr
Anyone using Flex to build a video player?
Have you compared Full screen mode with a video player built using 
Flash?
Do you have issues with the full screen poping up on the wrong monitor 
(as compared to video players built using Flash).

I'd like to hear from you and compare notes.



RE: [flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Shiv Kumar
It's not the file size of the video that makes the difference but rather the
bitrate at which the video is encoded.

 

Our site supports HD video but we have to cut down the bitrate quite a bit
(losing the HD ness of the video).

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nayan Savla
Sent: Thursday, March 27, 2008 8:06 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Mp3 player causing 40% CPU power

 

it would be the itunes art in bottom which would consume the cpu, We
have no problems with Video files being played and the files are as
large as 100 meg.

Nayan

On Thu, Mar 27, 2008 at 4:58 PM, Sajid Hussain <[EMAIL PROTECTED]
 > wrote:
>
>
>
>
>
>
> Hello ,
> I have done one mp3 player with flex 2 but during streaming its taking
more
> cpu power any suggestion?
>
> http://www.synergyi.com/videos/player2/MusicPlayer.html
>
> Sajid
>
>
> 
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now. 

 



RE: [flexcoders] Overriding set itemRenderer

2008-03-27 Thread Alex Harui
You could test to see if it is a ClassFactory and introspect that.  You
could call newInstance() and see what you get back.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Thursday, March 27, 2008 4:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Overriding set itemRenderer

 

Within this code:
override public function set itemRenderer(value:IFactory):void 
{
super.itemRenderer = value;
}
what kind of data I can get about value? And how?

Thanks

 



RES: [flexcoders] Re: Rotate Button label without embedding fonts

2008-03-27 Thread Luciano Manerich Junior
If just set cacheAsBitmat = true, wouldnt work as o-value BlurFilter?



De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de joan_lynn
Enviada em: quinta-feira, 27 de março de 2008 17:51
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Re: Rotate Button label without embedding fonts



One of our developers suggested putting a 0-value BlurFilter on the
Button. This puts the button into bitmap mode, which will allow it to
be rotated, text and all. 

Joan

--- In flexcoders@yahoogroups.com  , 
"imjackson84" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am trying to create a custom Button class that can have its label
> text rotated (but not the button itself). I know that this can be
> achieved by embedding fonts, but ideally I don't want to have to do
this.
> 
> In my research I came across this site, which contains a method for
> rotating labels without embedding fonts:
> 
>
http://www.gonnen.com/2007/11/rotating-text-in-actionscript-3-without.html 
 
> 
> It's fairly simple, in the label's updateDisplayList(), a rotated
> Bitmap of the label is drawn.
> 
> I looked into following the same principle for the button text but
> this is much less straightforward (especially as the label is actually
> a UITextField). I've tried adding one of the custom labels as a new
> child of the button but that does not appear to do anything...
> 
> Does anyone have any ideas?
> 
> Thanks,
> 
> Iain
>



 


[flexcoders] need help capturing focus in a variable or using event to capture current target

2008-03-27 Thread Teresa Howington

Hi everyone,

I'm relatively new to Flex, and need help with targeting. I'm creating
an app that has multiple text areas, shape, and image objects. I want
the user to be able to click on one of these, have it show that it's
"selected", and then use the control buttons I make to manipulate the
objects, like changing font, rotating, etc.

I'm using this Flex snippet from
http://blog.paranoidferret.com/index.php/2007/08/14/flex-snippet-tutoria\
l-using-the-textrange-class/
   but trying to avoid hardcoding the
target.

Look at this snippet in particular:

**


   

[flexcoders] Reinitialize a renderer

2008-03-27 Thread cesarerocchi
Hi guys,

to save some memory, instead of adding and deleting, I use a fixed number of 
renderers, 
which I add to a vertical box.
My problem is the "reinitialization" of the single renderer, that is set to "" 
my text fields and, 
sometimes, delete some children added previously to a container.

I tried to call mycontainer.removeAllChildren() on different events:

- remove
- removed
- removedFromStage

nothing works?

Am I missing anything? which event should I exploit?

Thanks in advance,

-c.



[flexcoders] Having trouble understanding how to access a component from ActionScript

2008-03-27 Thread tomaugerdotcom
Hi! This is my first post. I hope I don't come off as too clueless, but then 
again, I am pretty 
clueless.

I'm trying to figure out a best practice framework, and in the process, am 
running into 
some pretty big gaps in my understanding of the interaction between what is 
being 
displayed (in  my mxml page) and the code that can manipulate that content.

I am using the code-behind technique because it seems to suit my philosophy of 
keeping 
presentation separate from functionality, but that's not what I'm writing about 
here. Below 
I have two examples, one working, the other one not. I'm trying to figure out 
what it is 
about the second example that makes it not work.

Here's the first example. First the MXML code:





http://www.adobe.com/2006/mxml"; 
xmlns:dform="com.tomauger.dform.*"
backgroundGradientColors="[0xdd, 0x8d5454]"
backgroundColor="0xCC"
horizontalAlign="center" verticalAlign="center"
viewSourceURL="./dform.mxml">   












This is a multiline, non-editable text component. 
If you need an editable multiline component, use TextArea.












---
notice that I'm using the mx:Application as my "hook" into the code behind, 
which is found 
below:
// Main.as
package com.tomauger.dform {
import mx.core.Application;

import mx.events.FlexEvent;
import mx.controls.Alert;
import mx.controls.Text;

public class Main extends Application {
public var text01:Text;

public function Main() {
trace("launching Main");
addEventListener(FlexEvent.CREATION_COMPLETE, 
initApplication);

}

protected function initApplication(event:FlexEvent):void {
trace ("Main application initialized");
text01.text = "This is a test";
}
}
}

The goal here is to change the text of text01. It works as expected. 

Now, here's the second MXML file:




http://www.adobe.com/2006/mxml";
xmlns:dform="com.tomauger.dform.*"
backgroundGradientColors="[0xdd, 0x8d5454]"
backgroundColor="0xCC"
horizontalAlign="center" verticalAlign="center"
viewSourceURL="./dform.mxml">   











This is a multiline, non-editable text component. 
If you need an editable multiline component, use 
TextArea.












---

As you can see, I've gone back to the standard mx:Application control, and I've 
transferred 
my code-behind to the mx:Panel control instead. I'm doing this because 
philosophically, I 
think this is a more accurate representation of how I want to be able to 
control the 
elements on my page. Regardless, here's the code behind dform:Panel

// Panel.as
package com.tomauger.dform {
import mx.containers.Panel;

import mx.events.FlexEvent;
import mx.controls.Alert;
import mx.controls.Text;

public class Panel extends mx.containers.Panel {
public var text01:Text;

public function Panel() {
trace("launching Panel");
addEventListener(FlexEvent.CREATION_COMPLETE, 
initPanel);

}

protected function initPanel(event:FlexEvent):void {
trace ("Panel initialized");
text01.text = "This is a test";
}
}
}

Here I get an error - apparently text01 is not yet initialized. At least that's 
how I'm reading 
this error :  Cannot access a property or method of a null object reference.

So I'm curious about why this is the case? Does the Text that is contained by 
my Panel not 
have to be initialized (created) in order for the Panel to trigger its 
creationComplete event? 
My understanding is that a panel is only created once all its child components 
are created. 
Is that not correct?

How would YOU access the text01 child component of the Panel from within this 
custom 
class?

Thanks in advance for your feedback! I hope I'm posting to the correct group.

Tom,
Toronto



[flexcoders] understanding TitleWindow garbage collection

2008-03-27 Thread Aaron Miller
Hello,

I just started playing around with the Flex 3 profiler and I noticed that
every time I open a pop up window, the number of instances keep increasing.
I was aware that I had to remove any event listeners when closed, but is
there more to it then that? I am worried because I have quite a bit of
custom window components, most of which reference various singleton classes.
Are these references keeping the window from being garbage collected? If so,
would it be enough to destroy the references like this?

private var myAuthUser:AuthUser = AuthUser.getInstance();

on close:
myAuthUser = null;


Is there anything else I need to be careful of when using TitleWindows?


Thanks for any input!
~Aaron


[flexcoders] RE: Yahoo! Groups: Welcome to flexcoders. Visit today!

2008-03-27 Thread Wendi Turner


Wendi Turner
Software Engineer (via Kelly IT Resources)
 
Western Digital
Strategic Programs, Process and Metrics
20511 Lake Forest Drive, Lake Forest, CA 92630
Phone: 949.672.7591 Cube: C212-E
Cell: 949.606.4877
-Original Message-
From: flexcoders Moderator [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 27, 2008 4:08 PM
To: Wendi Turner
Subject: Yahoo! Groups: Welcome to flexcoders. Visit today! 


Hello,

Welcome to the flexcoders group at Yahoo! Groups, a free, easy-to-use email
group service. Please take a moment to review this message.

To learn more about the flexcoders group, please visit
http://www.flexcoders.org or
http://groups.yahoo.com/group/flexcoders

To start sending messages to members of this group, simply send email to
flexcoders@yahoogroups.com

If you do not wish to belong to flexcoders, you may unsubscribe by sending
an email to 
[EMAIL PROTECTED]

To see and modify all of your groups, go to
http://groups.yahoo.com/mygroups


Regards,

Moderator, flexcoders

 


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

 






Re: [flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Nayan Savla
it would be the itunes art in bottom which would consume the cpu, We
have no problems with Video files being played and the files are as
large as 100 meg.

Nayan

On Thu, Mar 27, 2008 at 4:58 PM, Sajid Hussain <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hello ,
> I have done one mp3 player with flex 2 but during streaming its taking more
> cpu power any suggestion?
>
> http://www.synergyi.com/videos/player2/MusicPlayer.html
>
> Sajid
>
>
>  
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
> now. 


RE: [flexcoders] Re: Module Interfaces and Events

2008-03-27 Thread Alex Harui
My point was that while I can answer questions about how modules work, I
am not the person to explain how code hinting interfaces work.  I've
never even looked to see if it did work because I really don't create
that many module projects, I just own the internals of how the work.

 

I actually went and asked the FB QA folks before answering, and they
thought it should work.  I finally took the time and tried it and it
doesn't work and they verified that it doesn't too so I think you're out
of luck.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Thursday, March 27, 2008 4:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Module Interfaces and Events

 

If it worked I would not be asking.

Look Alex, I'm just looking for some support and I figured you were
the man.

This is my interface.

[Event(name="pagesRequired",
type="com.qmecom.common.events.EditItemsModuleEvent")]
public interface IEditItemsModule extends IBasicQmecomModule,
IEventDispatcher
{

I cant get Event metadata working with interfaces, only classes.

Have you guys ever had a solution for this.

--- In flexcoders@yahoogroups.com 
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> 1) Do not use the word "modules" in any question you need Flex
> Builder engineers to look at. It tends to scare them away.
> 
> 2) Make sure you've done the clean and rebuild
> 
> 
> 
> In theory, this should work.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Bjorn Schultheiss
> Sent: Thursday, March 27, 2008 3:15 PM
> To: flexcoders@yahoogroups.com  
> Subject: Re: [flexcoders] Module Interfaces and Events
> 
> 
> 
> any suggestions?
> 
> 
> 
> On 27/03/2008, at 11:57 AM, Bjorn Schultheiss wrote:
> 
> 
> 
> I'm using Interfaces to define the api of my modules currently but i
> also want to be able to define the event metadata as well.
> 
> What's the best way to tackle this?
> 
> At the moment i've tried extending my module interface with
> IEventDispatcher and defining the Event metadata in the interface,
> Except this does not provide code completion when using
> theaddEventListener() method on a var typed to the interface.
>

 



RE: [flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Shiv Kumar
Sajid,

 

No answer but I'd like to add that I find the same problem.

 

When flash player is downloading data (mp3 audio, flv video etc.) the CPU
utilization goes really high. Further, when playing back videos and
downloading at the same time PCs can't handle it.

 

The same video played back using Windows Media or Silverlight uses only 30%
for downloading and playing simultaneously.

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sajid Hussain
Sent: Thursday, March 27, 2008 7:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Mp3 player causing 40% CPU power

 

Hello ,
I have done one mp3 player with flex 2 but during streaming its taking more
cpu power any suggestion? 

http://www.synergyi.com/videos/player2/MusicPlayer.html

Sajid

 

  _  

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
  it now.

 



[flexcoders] Mp3 player causing 40% CPU power

2008-03-27 Thread Sajid Hussain
Hello ,
I have done one mp3 player with flex 2 but during streaming its taking more cpu 
power any suggestion? 

http://www.synergyi.com/videos/player2/MusicPlayer.html

Sajid




  

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

[flexcoders] Re: Adobe Updater quite unexpectedly

2008-03-27 Thread twcrone70
yes, I we have a proxy to go thru which I've managed to install
Subclipse and the kyrsoft plugin for memory usage but the Adobe
updater always fails.

Thanks for the heads up on the Eclipse update.  I figure as much.

- Todd

--- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Thursday 27 Mar 2008, twcrone70 wrote:
> > On Leopard, FB3 I always get Adobe Updater exception a minute or so
> > after I start up the IDE.  Any ideas how to fix this?
> 
> Do you have an internet connection, and the settings in the Eclipse 
> preferences for proxy etc set ?
> 
> > On that note is it okay to update Eclipse itself to 3.3.2 etc.
> > underneath the stand-alone FB3?
> 
> Woa, no, I wouldn't think so.
> 
> > I encounter some issues that I hear 
> > will be fixed in 3.4 a
> 
> Use Builder as a plug-in then.
> 
> -- 
> Tom Chiverton
> Helping to revolutionarily enhance exceptional communities
> 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 Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB.  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
Solicitors Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above
and may be confidential or legally privileged.  If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents.  If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
>




[flexcoders] Re: Module Interfaces and Events

2008-03-27 Thread Bjorn Schultheiss
If it worked I would not be asking.

Look Alex, I'm just looking for some support and I figured you were
the man.

This is my interface.

[Event(name="pagesRequired",
type="com.qmecom.common.events.EditItemsModuleEvent")]
public interface IEditItemsModule extends IBasicQmecomModule,
IEventDispatcher
{


I cant get Event metadata working with interfaces, only classes.

Have you guys ever had a solution for this.





--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> 1)   Do not use the word "modules" in any question you need Flex
> Builder engineers to look at.  It tends to scare them away.
> 
> 2)   Make sure you've done the clean and rebuild
> 
>  
> 
> In theory, this should work.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Bjorn Schultheiss
> Sent: Thursday, March 27, 2008 3:15 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Module Interfaces and Events
> 
>  
> 
> any suggestions?
> 
>  
> 
> On 27/03/2008, at 11:57 AM, Bjorn Schultheiss wrote:
> 
> 
> 
> I'm using Interfaces to define the api of my modules currently but i
> also want to be able to define the event metadata as well.
> 
> What's the best way to tackle this?
> 
> At the moment i've tried extending my module interface with
> IEventDispatcher and defining the Event metadata in the interface,
> Except this does not provide code completion when using
> theaddEventListener() method on a var typed to the interface.
>




[flexcoders] Overriding set itemRenderer

2008-03-27 Thread markgoldin_2000
Within this code:
override public function set itemRenderer(value:IFactory):void 
{
   super.itemRenderer = value;
}
what kind of data I can get about value? And how?

Thanks



RE: [flexcoders] Module Interfaces and Events

2008-03-27 Thread Alex Harui
1)   Do not use the word "modules" in any question you need Flex
Builder engineers to look at.  It tends to scare them away.

2)   Make sure you've done the clean and rebuild

 

In theory, this should work.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn Schultheiss
Sent: Thursday, March 27, 2008 3:15 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Module Interfaces and Events

 

any suggestions?

 

On 27/03/2008, at 11:57 AM, Bjorn Schultheiss wrote:



I'm using Interfaces to define the api of my modules currently but i
also want to be able to define the event metadata as well.

What's the best way to tackle this?

At the moment i've tried extending my module interface with
IEventDispatcher and defining the Event metadata in the interface,
Except this does not provide code completion when using
theaddEventListener() method on a var typed to the interface.

 

 



Re: [flexcoders] Re: HitTest - Sprite and Shape

2008-03-27 Thread Troy Gilbert
> To clarify this a bit... It's the root Sprite (the one at the top of the
> DisplayObject hierarchy) that doesn't receive mouse events.

Wait... so, the stage receives mouse events, but the root Sprite
(which is a child of the stage, right?) (your main class in an AS3
project) does not receive mouse events?

Troy.


Re: [flexcoders] Module Interfaces and Events

2008-03-27 Thread Bjorn Schultheiss

any suggestions?

On 27/03/2008, at 11:57 AM, Bjorn Schultheiss wrote:


I'm using Interfaces to define the api of my modules currently but i
also want to be able to define the event metadata as well.

What's the best way to tackle this?

At the moment i've tried extending my module interface with
IEventDispatcher and defining the Event metadata in the interface,
Except this does not provide code completion when using the
addEventListener() method on a var typed to the interface.







[flexcoders] Effect of Application Frame Rate on Videos

2008-03-27 Thread shivkxr
This question was prompted by what Luciano suggested on a reply to a 
resize issue I was having.

I'd like to know what (if any) effect changing the frame rate of a Flex 
application would have on videos (the Flex application is essentially a 
video player).

Is there a way to change/set the frame rate at run time?



[flexcoders] Re: Cairngorm for Flex 3

2008-03-27 Thread Todd
Just drop the Cairngorm.swc file into your Flex 3 project lib folder
and you're good to go.

BTW, I'm pretty sure Cairngorm actually references Flex specific
things, like the IResponder, so it's not that it's only Actionscript
3, like the person above suggested.  Its only referencing interfaces
that haven't changed from Flex 2.

(Someone who knows the innards more can chime in, I'm just using it.)

--- In flexcoders@yahoogroups.com, Leonardo Moreno
<[EMAIL PROTECTED]> wrote:
>
> Hi
> 
> I want to use Cairngorm for a project we are going to start but in this 
> site: http://labs.adobe.com/wiki/index.php/Cairngorm I only see
versions 
> for Flex 2.
> 
> I'd like to know if there is a new version for Flex 3 coming soon or 
> what's going to happen with Cairngorm.
> 
> Regards
> -- 
> Leonardo Moreno Guzmán
> Ingeniero de sistemas y telemática | Asesor soluciones informáticas
> *cell-phone:* 311-3390386
> *e-mail:* [EMAIL PROTECTED]
> *site:*   http://leo.logtar.com/profesional/
>




RE: [flexcoders] Resize very slow

2008-03-27 Thread Shiv Kumar
Yes, I understand how things work and why things are slow J

 

But I don’t agree that they should be slow.

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luciano Manerich Junior
Sent: Thursday, March 27, 2008 4:38 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Resize very slow

 

Hi,

 

Using that subtraction, you will have to wait to flex redraw the screen
(waiting the frame rate next step), after the redraw, it will update the
height properties of the objects, so it may take a couple of frames for that
update...

 

Using the bottom="0" you arent acessing some other properties, so, could be
faster...

 

Teorically, shouldnt be. As internally, flex its suppose to use the height
atribute of the parent for positions based on bottom constrains...

 

And by the way, you could try to increase the Frame Rate for a better
results, just add that option into the compiler arguments:

 

-default-frame-rate 60

 

  _  

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de Shiv Kumar
Enviada em: quinta-feira, 27 de março de 2008 17:24
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Resize very slow

Luciano,

Thanks! That actually fixed the slow motion effect. So I have a solution to
my current problem, but I wonder is something needs to be addressed in Flex?

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luciano Manerich Junior
Sent: Thursday, March 27, 2008 3:33 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Resize very slow

Hi,

cant you use bottom="0"?



You will not have to do that Math thing... But i dont believe that will
really speed up...

  _  

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de shivkxr
Enviada em: quinta-feira, 27 de março de 2008 16:30
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Resize very slow

I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this



This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?

 



[flexcoders] Re: Rotate Button label without embedding fonts

2008-03-27 Thread joan_lynn
One of our developers suggested putting  a 0-value BlurFilter on the
Button. This puts the button into bitmap mode, which will allow it to
be rotated, text and all. 

Joan

--- In flexcoders@yahoogroups.com, "imjackson84" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am trying to create a custom Button class that can have its label
> text rotated (but not the button itself). I know that this can be
> achieved by embedding fonts, but ideally I don't want to have to do
this.
> 
> In my research I came across this site, which contains a method for
> rotating labels without embedding fonts:
> 
>
http://www.gonnen.com/2007/11/rotating-text-in-actionscript-3-without.html
> 
> It's fairly simple, in the label's updateDisplayList(), a rotated
> Bitmap of the label is drawn.
> 
> I looked into following the same principle for the button text but
> this is much less straightforward (especially as the label is actually
> a UITextField). I've tried adding one of the custom labels as a new
> child of the button but that does not appear to do anything...
> 
> Does anyone have any ideas?
> 
> Thanks,
> 
> Iain
>




RES: [flexcoders] Resize very slow

2008-03-27 Thread Luciano Manerich Junior
Hi,
 
Using that subtraction, you will have to wait to flex redraw the screen 
(waiting the frame rate next step), after the redraw, it will update the height 
properties of the objects, so it may take a couple of frames for that update...
 
Using the bottom="0" you arent acessing some other properties, so, could be 
faster...
 
Teorically, shouldnt be. As internally, flex its suppose to use the height 
atribute of the parent for positions based on bottom constrains...
 
And by the way, you could try to increase the Frame Rate for a better results, 
just add that option into the compiler arguments:
 
-default-frame-rate 60



De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Shiv Kumar
Enviada em: quinta-feira, 27 de março de 2008 17:24
Para: flexcoders@yahoogroups.com
Assunto: RE: [flexcoders] Resize very slow



Luciano,

Thanks! That actually fixed the slow motion effect. So I have a solution to my 
current problem, but I wonder is something needs to be addressed in Flex?

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luciano 
Manerich Junior
Sent: Thursday, March 27, 2008 3:33 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Resize very slow

Hi,

cant you use bottom="0"?



You will not have to do that Math thing... But i dont believe that will really 
speed up...



De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de shivkxr
Enviada em: quinta-feira, 27 de março de 2008 16:30
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Resize very slow

I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this



This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?

 


Re: [flexcoders] Group Box

2008-03-27 Thread raghu kumar varma nadimpalli
Thank You Pat...!!!

On Thu, Mar 27, 2008 at 12:29 PM, Pat Buchanan <[EMAIL PROTECTED]> wrote:

>   You can find one in this library - source and all.
>
> http://code.google.com/p/jwopitz-lib/
>
> Thanks
> -Pat
> www.datanotion.com
>
>
> On 3/27/08, raghu kumar varma nadimpalli <[EMAIL PROTECTED]> wrote:
> >
> >   Thank you Robert for the response.
> >
> > The example you have provided draws a panel and within it, the label and
> > checkbox are drawn.
> >
> > The groupBox will have Lined Box with some text on the upperLine of the
> > Box. And within box we should be able to add some more components. The
> > GroupBox need to be in the following manner.
> >
> > TODO
> > ||
> > |test1 |
> > |test2 |
> > ||
> > -
> >
> > Thank you
> >
> >
> > On Wed, Mar 26, 2008 at 3:38 PM, Robert Stehwien <[EMAIL PROTECTED]>
> > wrote:
> >
> > >   The equivalent of a group box is a Panel in Flex.  Here is a quick
> > > example
> > >
> > > 
> > >   
> > >   
> > > 
> > >
> > > --Robert
> > >
> > >  On Wed, Mar 26, 2008 at 11:32 AM, Raghu <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > >
> > > >
> > > > Is there any possibility of having group box in flex? If possible
> > > > can
> > > > u please update how it can be done.
> > > >
> > > >
> > > >
> > >
> >
> >
> > >
> > > >
> > > > 
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
> > > > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > >
> > > > Search Archives:
> > > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo!
> > > > Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>  
>


[flexcoders] positioning a backgroundImage?

2008-03-27 Thread Anthony Ettinger
My bg image shows up centered, is there anyway to make it align left?

-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name


RE: [flexcoders] Resize very slow

2008-03-27 Thread Shiv Kumar
Luciano,

 

Thanks! That actually fixed the slow motion effect. So I have a solution to
my current problem, but I wonder is something needs to be addressed in Flex?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luciano Manerich Junior
Sent: Thursday, March 27, 2008 3:33 PM
To: flexcoders@yahoogroups.com
Subject: RES: [flexcoders] Resize very slow

 

Hi,

 

cant you use bottom="0"?

 



 

You will not have to do that Math thing... But i dont believe that will
really speed up...

 

  _  

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de shivkxr
Enviada em: quinta-feira, 27 de março de 2008 16:30
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Resize very slow

I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this



This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?

 



[flexcoders] Re: Legend Items Distributed in Columns

2008-03-27 Thread lucas_bwd
Any thoughts?

--- In flexcoders@yahoogroups.com, "lucas_bwd" <[EMAIL PROTECTED]> wrote:
>
> Hey all, I'm creating the printing module of my reports application.
> Some reports have charts, that must be printed. The problem is that I
> don't what's the data that is coming (since there are many different
> reports), so sometimes there isn't enough space in my page to print
> the legend. Is there a way to distribute my legend items into 2 or
> more columns?
> Thanks,
> Lucas
>




RE: [flexcoders] Re: HitTest - Sprite and Shape

2008-03-27 Thread Gordon Smith
> the main application class doesn't receive mouse events

 

To clarify this a bit... It's the root Sprite (the one at the top of the
DisplayObject hierarchy) that doesn't receive mouse events. A Flex
 does receive mouse events; the root Sprite is an
instance of SystemManager and the Application instance is one of its
children.

 

Gordon Smith

Adobe Flex SDK Team

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Thursday, March 27, 2008 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: HitTest - Sprite and Shape

 

Turns out the main application class doesn't receive mouse events
(O'Reilly AS3 Cookbook recipe 1.6). Not sure why that is.
The problem in my game was that the localToGlobal call was incorrect.
If you mousedown on a Sprite the event target will be the sprite. If
you mousedown on a Shape, the target will be the parent.
I wrote it all up at blog.flexygen.com.

On Wed, Mar 26, 2008 at 2:07 PM, Richard Rodseth <[EMAIL PROTECTED]
 > wrote:
> I'm clearly missing something basic. In the example below, the
> mouseDown handler is only reached when I click in the green Sprite,
> not in the red shape, even though the listener is added to the root.
> Is there some sort of mask in effect? Or do the Sprite and Shape
> affect the size of the parent in different ways?
>
> In the game that I'm working on, I actually have a UIComponent
> subclass with children which are subclasses of Sprite (because they
> themselves need a child text object). There, I was finding that the
> hitTestPoint method wasn't succeeding on the Sprite, but if I made it
> a Shape, it did succeed. That led me to create this test case.
>
> Thanks in advance!
>
> - Richard
>
> package {
> import flash.display.Shape;
> import flash.display.Sprite;
> import flash.events.MouseEvent;
> import flash.geom.Point;
>
> public class hittest extends Sprite
> {
> private var _circleSprite:Sprite;
> private var _circleShape:Shape;
>
> public function hittest()
> {
> super();
> graphics.beginFill(0xFF);
> graphics.drawRect(0,0,500,500);
> graphics.endFill();
> this.width = 500;
> this.height = 500;
>
> _circleSprite = new Sprite();
> _circleSprite.graphics.beginFill(0x00FF00);
> _circleSprite.graphics.drawRect(0,0,100,100);
> _circleSprite.graphics.endFill();
> _circleSprite.x = 10;
> _circleSprite.y = 10;
> addChild(_circleSprite);
>
> _circleShape = new Shape();
> _circleShape.graphics.beginFill(0xFF);
> _circleShape.graphics.drawRect(0,0,100,100);
> _circleShape.graphics.endFill();
> _circleShape.x = 200;
> _circleShape.y = 200;
> addChild(_circleShape);
>
> this.addEventListener(MouseEvent.MOUSE_DOWN, handleMouseDown);
> }
>
> private function handleMouseDown(event:MouseEvent):void{
> trace("mousedown");
> var selectPoint:Point = localToGlobal(new
> Point(event.localX, event.localY));
> if (_circleSprite.hitTestPoint(selectPoint.x, selectPoint.y, false)) {
> trace("hit sprite");
> }
> if (_circleShape.hitTestPoint(selectPoint.x, selectPoint.y, false)) {
> trace("hit shape");
> }
> }
> }
> }
>

 



[flexcoders] Re: HitTest - Sprite and Shape

2008-03-27 Thread Richard Rodseth
Turns out the main application class doesn't receive mouse events
(O'Reilly AS3 Cookbook recipe 1.6). Not sure why that is.
The problem in my game was that the localToGlobal call was incorrect.
If you mousedown on a Sprite the event target will be the sprite. If
you mousedown on a Shape, the target will be the parent.
I wrote it all up at blog.flexygen.com.

On Wed, Mar 26, 2008 at 2:07 PM, Richard Rodseth <[EMAIL PROTECTED]> wrote:
> I'm clearly missing something basic. In the example below, the
>  mouseDown handler is only reached when I click in the green Sprite,
>  not in the red shape, even though the listener is added to the root.
>  Is there some sort of mask in effect? Or do the Sprite and Shape
>  affect the size of the parent in different ways?
>
>  In the game that I'm working on, I actually have a UIComponent
>  subclass with children which are subclasses of Sprite (because they
>  themselves need a child text object). There, I was finding that the
>  hitTestPoint method wasn't succeeding on the Sprite, but if I made it
>  a Shape, it did succeed. That led me to create this test case.
>
>  Thanks in advance!
>
>  - Richard
>
>  package {
> import flash.display.Shape;
> import flash.display.Sprite;
> import flash.events.MouseEvent;
> import flash.geom.Point;
>
> public class hittest extends Sprite
> {
> private var _circleSprite:Sprite;
> private var _circleShape:Shape;
>
> public function hittest()
> {
> super();
> graphics.beginFill(0xFF);
> graphics.drawRect(0,0,500,500);
> graphics.endFill();
> this.width = 500;
> this.height = 500;
>
> _circleSprite = new Sprite();
> _circleSprite.graphics.beginFill(0x00FF00);
> _circleSprite.graphics.drawRect(0,0,100,100);
> _circleSprite.graphics.endFill();
> _circleSprite.x = 10;
> _circleSprite.y = 10;
> addChild(_circleSprite);
>
> _circleShape = new Shape();
> _circleShape.graphics.beginFill(0xFF);
> _circleShape.graphics.drawRect(0,0,100,100);
> _circleShape.graphics.endFill();
> _circleShape.x = 200;
> _circleShape.y = 200;
> addChild(_circleShape);
>
> this.addEventListener(MouseEvent.MOUSE_DOWN, 
> handleMouseDown);
> }
>
> private function handleMouseDown(event:MouseEvent):void{
> trace("mousedown");
> var selectPoint:Point = localToGlobal(new
>  Point(event.localX, event.localY));
> if (_circleSprite.hitTestPoint(selectPoint.x, 
> selectPoint.y, false)) {
> trace("hit sprite");
> }
> if (_circleShape.hitTestPoint(selectPoint.x, 
> selectPoint.y, false)) {
> trace("hit shape");
> }
> }
> }
>  }
>


[flexcoders] Re: Actionscript/Flex 3 - Communicating with an itemRenderer from the main appli

2008-03-27 Thread jeffreyr6915
Is myComboValueProperty the id of the combobox(Example -->
 wrote:
>
> Rarely is this the way to go.
> 
>  
> 
> You should go through the dataProvider for all data access.  You should
> use the dataProvider for all renderer UI updates as well.
> 
>  
> 
> Your renderers must be updating the dataProvider items or they wouldn't
> be working.  So do:
> 
> var myComboValue:String = MyDG.selectedItem.myComboValueProperty;
> 
>  
> 
> Tracy
> 
>  
> 
>  
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jeffreyr6915
> Sent: Thursday, March 27, 2008 1:44 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Actionscript/Flex 3 - Communicating with an
> itemRenderer from the main applicati
> 
>  
> 
> I know that if you want to communicate with the main application from
> within the itemRenderer component, you have to use "outerDocument"
> first...Example:
> 
>  editorDataField="text" editable="true">
> 
> 
> 
>  change="myMethod(dg.instanceIndex)" id="cbItemRenderer"/>
> 
> 
> 
> 
> 
> My question is:
> ---How do you communicate with an itemRenderer from within the main
> application? It seems like the main app does not have scope to the
> itemRenderer, because when I add an id attribute to the 
> tag, I cannot refer to it...Example:
> 
> cbItemRenderer.getSelectedItem().label)
> 
> Thanks
>




Re: [flexcoders] Cairngorm for Flex 3

2008-03-27 Thread Leonardo Moreno
Sorry, I asked because in the Cairngorm site says "2.2.1 Cairngorm 2.2.1 
for Flex 2 
".
That maked me think that had something specific for flex 2

Thanks


Merrill, Jason wrote:
>
> Cairngorm is just an AS3 framework, I don't think there is anything in 
> there specific for Flex 2 or 3, or even Flex for that matter.  The 
> current version should work fine.  Someone correct me if I am wrong...
>  
>
> Jason Merrill
> *Bank of America *
> GT&O and Risk L&LD Solutions Design & Development
> eTools & Multimedia
>
> *Bank of America Flash Platform Developer Community*
>
>
> /Are you a Bank of America associate interested in innovative learning 
> ideas and technologies?
> Check out our internal / _GT&O Innovative Learning Blog_ 
>  & 
> _subscribe_ 
> .
>  
>
>
>
>
>
>  
>
> 
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Leonardo Moreno
> *Sent:* Thursday, March 27, 2008 3:06 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Cairngorm for Flex 3
>
> Hi
>
> I want to use Cairngorm for a project we are going to start but in
> this
> site: http://labs.adobe.com/wiki/index.php/Cairngorm
>  I only see versions
> for Flex 2.
>
> I'd like to know if there is a new version for Flex 3 coming soon or
> what's going to happen with Cairngorm.
>
> Regards
> -- 
> Leonardo Moreno Guzmán
> Ingeniero de sistemas y telemática | Asesor soluciones informáticas
> *cell-phone:* 311-3390386
> *e-mail:* [EMAIL PROTECTED]
> 
> *site:* http://leo.logtar.com/profesional/
> 
>
>  

-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:*   311-3390386
*e-mail:*   [EMAIL PROTECTED]
*site:* http://leo.logtar.com/profesional/

begin:vcard
fn:Leonardo Moreno
n:Moreno;Leonardo
adr:;;;Cali;;;Colombia
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ingeniero de sistemas y telem=C3=A1tica
tel;cell:3113390386
x-mozilla-html:FALSE
url:http://leo.logtar.com
version:2.1
end:vcard



Re: [flexcoders] Re: Fwd: Security setup for a Flex application

2008-03-27 Thread Fidel Viegas
Hi all,

Thank you for taking the time to reply. I wasn't aware of those AS3
libraries. I just want to encrypt password related data for the time
being, as I figured the data being sent across is not a secret. I
have, though, a records management system for police work, and that
one requires more encryption as the data is very sensitive. It was
originally created using webservices, but we are porting it to
BlazeDS.

I will have a look at the libraries you guys suggested.

Thank you once again.

Fidel.

On Thu, Mar 27, 2008 at 2:13 PM, प्रवीन उत्तरवार
<[EMAIL PROTECTED]> wrote:
>
>
>
>
>
>
> Hi Fidal,
> What type of data you want to send over http??
> you can use MD5 algo for encryption but remember it cant return you the
> original data.
>
>
>
>
> On 27/03/2008, valdhor <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> >
> > This article may help -
> >
> http://www.jeffryhouser.com/index.cfm/2007/12/6/Encrypt-in-Flex-and-Decrypt-in-ColdFusion
> >
> > --- In flexcoders@yahoogroups.com, "Fidel Viegas" <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi Andrew,
> > >
> > > Thanks for taking the time to reply. But, that is not really what I am
> > > looking for.
> > > I guess my question was a bit vague.
> > > I am looking for ways to send encrypted data over HTTP as opposed to
> > > HTTPS. That is one of the requirements of the client.
> > > I have found a solution that requires an installation on the client
> > > side as well as on the server side. That is not good either.
> > >
> > > I am just looking for a secure way that will sort of secure any data
> > > flowing from the swf client to the server and vice-versa without
> > > running the risk of someone using packet sniffers.
> > >
> > > The url you pointed me to is nice if you are providing a product that
> > > requires licensing as well as security. What I am after really is some
> > > encryption scheme.
> > >
> > > But thanks for pointing that out.
> > >
> > > Fidel.
> > >
> > >
> > > On Wed, Mar 26, 2008 at 5:08 PM, andrewwestberg
> > > <[EMAIL PROTECTED]> wrote:
> > > > Look into nitrolm.com
> > > >
> > > > -Andrew
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Fidel Viegas" 
> > > > wrote:
> > > >
> > > >
> > > > >
> > > > > Hello folks,
> > > > >
> > > > > I have finished implementing a Flex application and now the
> > client has
> > > > > requested that it is made available publicly. I am using
> > BlazeDS in
> > > > > the backend, and I was wondering what the best security setup
> > would be
> > > > > to make it a secure application.
> > > > >
> > > > > Does anyone have any suggestion on how to best secure the
> > > > application setup?
> > > > >
> > > > > Thanks in advance,
> > > > >
> > > > > Fidel.
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
>  


[flexcoders] Re: path of code?

2008-03-27 Thread Greg Morphis
Application works fine if the user isnt scheduled at another location
during the same time frame.
So the problem HAS to be in the way it's suppose to exit on the Oracle
error and return control to the user.
Has anyone else done anything like that?

Any examples, etc would be great



On Thu, Mar 27, 2008 at 12:38 PM, Greg Morphis <[EMAIL PROTECTED]> wrote:
> It never makes it back to Flex.. I put an Alert() in the onResult() of
>  the command that sends to Java..
>  There's log.debug()'s all over the place but I can't seem to find
>  them. They do not appear in the console..
>  Is there some way I can force an Alert or something in Java?
>  I want to find where this craps out..
>
>  thanks
>
>
>
>  On Thu, Mar 27, 2008 at 9:39 AM, Greg Morphis <[EMAIL PROTECTED]> wrote:
>  > BTW the end of the updateSchedule() function looks like this
>  >
>  > } catch (SQLException e) {
>  > log.error("WeeklyScheduleDAO.updateWeeklySchedule 
> () failed", e);
>  > connection.rollback();
>  > throw new Exception(e);
>  > } catch (Exception e) {
>  > log.error("WeeklyScheduleDAO.updateWeeklySchedule 
> () failed", e);
>  > connection.rollback();
>  > throw new Exception(e);
>  > } finally {
>  > try { csDelete.close(); } catch (Exception e) {};
>  > try { csInsert.close(); } catch (Exception e) {};
>  > try { csNote.close(); } catch (Exception e) {};
>  > releaseConnection(connection);
>  >
>  >
>  > }
>  > }
>  >
>  >
>  >
>  >
>  >  On Thu, Mar 27, 2008 at 9:21 AM, Greg Morphis <[EMAIL PROTECTED]> wrote:
>  >  > I have this app that is used to schedule employees, for a while we
>  >  >  we're using timestamps to record start and end times of shifts.
>  >  >  We started having issues with daylight savings and the client's
>  >  >  time/server's time being different.
>  >  >  Anyways we recently changed that to numbers so for example 5pm = 17,
>  >  >  such-and-so-forth.
>  >  >  Everything is working fine with that.
>  >  >  But, I was informed of an error, if you try to schedule someone at one
>  >  >  location when they are scheduled another during the same time it's
>  >  >  suppose to warn the user and reload the schedule. However the
>  >  >  application just hangs..
>  >  >
>  >  >  We generate the error in Oracle and bubble it up..
>  >  >
>  >  >  Looks like this:
>  >  >  --first we will validate that this record can be inserted.
>  >  >  validation involves checking for time overlaps
>  >  >  FOR cr_row IN c_rowcheck LOOP
>  >  >   BEGIN
>  >  >IF( (v_starttime BETWEEN cr_row.starttime_num AND
>  >  >  cr_row.endtime_num)
>  >  > OR  (v_endtime BETWEEN cr_row.starttime_num AND
>  >  >  cr_row.endtime_num )
>  >  >   OR (v_starttime < cr_row.starttime_num AND v_endtime
>  >  >  > cr_row.endtime_num) ) THEN
>  >  > --the start42 and end42 are for the UI
>  >  > errDay := 
> to_char(getDateFromNum(cr_row.day,cr_row.week,cr_row.year),
>  >  >  'Day');
>  >  > errMsg := 'START42 Employee ' || emplName || ' is
>  >  >  already on the schedule on ' || errDay || ' from ' ||
>  >  >  militaryToStandardTime(cr_row.starttime_num) || ' to ' ||
>  >  >  militaryToStandardTime(cr_row.endtime_num) || ' at location ' ||
>  >  >  cr_row.descr || ', ' || cr_row.city || ', ' || cr_row.state ||
>  >  >  'END42';
>  >  > RAISE_APPLICATION_ERROR(-20002,errMsg );
>  >  >   END IF;
>  >  >   END;
>  >  >  END LOOP;
>  >  >
>  >  >  I believe this part of the code to be working fine. I can run this
>  >  >  manually, plug in some variables in Oracle and bam, I get an error
>  >  >  message if the user is elsewhere.
>  >  >  The problem I'm having is when you do this in Flex.. you get the error 
> message
>  >  >
>  >  >  Mar 26, 2008 5:07:32 PM com.dao.WeeklyScheduleDAO updateWeeklySchedule
>  >  >  SEVERE: WeeklyScheduleDAO.updateWeeklySchedule () failed
>  >  >  java.sql.SQLException: ORA-20002: START42 Employee Bob Hope is already
>  >  >  on the schedule on Sundayfrom 10:45 to 7:45 at location 1234 ST,
>  >  >  Sumcity, ALEND42
>  >  >  ORA-06512: at "AOPSCHEDULE.INSERTSCHEDULEENTRY_NEW", line 38
>  >  >  ORA-06512: at line 1
>  >  >
>  >  >  The user sees the error message they click okay and we have a popup
>  >  >  "Processing..." when it should load the schedule.. It hangs there..
>  >  >  With "Processing..." stuck on the screen, the user never regains
>  >  >  control of the screen and has to reload the page.
>  >  >  I do not see where the error is coming from.
>  >  >  So I'm trying to follow the code up to Flex and see where t

RES: [flexcoders] Resize very slow

2008-03-27 Thread Luciano Manerich Junior
Hi,
 
cant you use bottom="0"?
 

 
You will not have to do that Math thing... But i dont believe that will really 
speed up...



De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de shivkxr
Enviada em: quinta-feira, 27 de março de 2008 16:30
Para: flexcoders@yahoogroups.com
Assunto: [flexcoders] Resize very slow



I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this



This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?



 


RE: [flexcoders] call a function from a pop up title window.

2008-03-27 Thread joe . g . james
Thanks , that was helpful. I am still looking to dispatch an event from a 
title window. The mypopup.addEventListener does not seem to recognize the 
event  being dispatched from the title window.

I'm not sure if this matters, but the event is being dispatched when I get 
results back from a remoteObject.

NOTICE TO RECIPIENT:  If you are not the intended recipient of this 
e-mail, you are prohibited from sharing, copying, or otherwise using or 
disclosing its contents.  If you have received this e-mail in error, 
please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or 
saving them.  Thank you.




"Tracy Spratt" <[EMAIL PROTECTED]> 
Sent by: flexcoders@yahoogroups.com
03/27/2008 11:46 AM
Please respond to
flexcoders@yahoogroups.com


To

cc

Subject
RE: [flexcoders] call a function from a pop up title window.






Hee is an example that shows several ways.  It does not use events..
http://www.cflex.net/showFileDetails.cfm?ObjectID=558
Tracy
 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
Behalf Of kpjj31
Sent: Thursday, March 27, 2008 2:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] call a function from a pop up title window.
 
Can I please get some ideas on how to best call a function from a title 
window. So if data is changing in the popup window I can call a function
from the container that opened the window. I have a tried to dispatch 
an event and parent.everything. I'm sure this is simple and I am 
missing something. Thanks
 
<><>

[flexcoders] Resize very slow

2008-03-27 Thread shivkxr
I have a canvas and a few controls within the canvas. On of these is an 
image.

Essentially, what I want is that the image appear towards the bottom of 
the canvas, so what I do is this



This works, except that when the canvas is sized to a different size it 
looks like I have a slow motion effect in place. It takes quite a few 
seconds (3-10) depending on the difference between the old and new 
height of the canvas.

So is there a way to speed this up?



[flexcoders] Can a SWF be hosted on server "A" and have access to server "B" which does remoting?

2008-03-27 Thread Mark Lapasa
On one domain, the .swf is hosted

On another domain, resides Blaze DS server.

User accesses the .swf from the first one so it can take advantage of 
remoting on the other.

The reason for this arrangement is that the place where the .swf is 
hosted not available to install BlazeDS.
Haven't been able to find out in the documentation how to redirect the 
remote object to a different URL.


Help anyone?

Thx,

-mL


Notice of confidentiality:
The information contained in this e-mail is intended only for the use of the 
individual or entity named above and may be confidential. Should the reader of 
this message not be the intended recipient, you are hereby notified that any 
unauthorized dissemination, distribution or reproduction of this message is 
strictly prohibited. If you have received this message in error, please advise 
the sender immediately and destroy the e-mail.



[flexcoders] Re: flex ant compc include-file tags

2008-03-27 Thread toofah_gm
Is anyone else using 'compc' and Ant?  How are you including asset files?

--- In flexcoders@yahoogroups.com, "toofah_gm" <[EMAIL PROTECTED]> wrote:
>
> I am creating an Ant script to compile my flex project.
> 
> In my compc task is there a way to give a directory for the
>  tags instead of listing out each individual asset and
> css file that I want to include?  I have used "pathconvert" to build
> my 'include-classes' property dynamically. 
> 
> There must be a way to do this since it would be very unwieldy to
> always have to update the script every time you add a new resource.
> 
> Thanks,
> 
> Gary
>




[flexcoders] Re: pass in url or form variable

2008-03-27 Thread shivkxr
--- In flexcoders@yahoogroups.com, "Chad Gray" <[EMAIL PROTECTED]> wrote:
>
> Ah... good idea!
> 
> I could change the html page with the  tag to Coldfusion and 
grab the URL/Form vars and pass them into the FlashVars.
> 
> Thanks,
> Chad

Yup that'll work.



RE: [flexcoders] pass in url or form variable

2008-03-27 Thread Chad Gray
Ah... good idea!

I could change the html page with the  tag to Coldfusion and grab the 
URL/Form vars and pass them into the FlashVars.

Thanks,
Chad




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shiv 
Kumar
Sent: Thursday, March 27, 2008 3:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] pass in url or form variable

Chad,

You can do this using FlashVars or QueryStrings.

FlashVars is simpler but requires that your server side includes these 
parameters in the  tag at the time of serving the application.
QueryStrings requires that you have code/class on your application that can 
extract these values.

Have you tried any of these methods?

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chad 
Gray
Sent: Thursday, March 27, 2008 3:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] pass in url or form variable

Is there any way to pass in a URL or Form variable to a flex application when 
it starts up?

Like if a user clicks an HTML form and it launches the flex app as the action 
page. Can the flex app pick up on the form variables?

 



RE: [flexcoders] Cairngorm for Flex 3

2008-03-27 Thread Merrill, Jason
Cairngorm is just an AS3 framework, I don't think there is anything in there 
specific for Flex 2 or 3, or even Flex for that matter.  The current version 
should work fine.  Someone correct me if I am wrong... 
 

Jason Merrill 
Bank of America 
GT&O and Risk L&LD Solutions Design & Development 
eTools & Multimedia 

Bank of America Flash Platform Developer Community 


Are you a Bank of America associate interested in innovative learning ideas and 
technologies?
Check out our internal  GT&O Innovative Learning Blog 
  & 
subscribe 

 . 




 




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
Leonardo Moreno
Sent: Thursday, March 27, 2008 3:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cairngorm for Flex 3



Hi

I want to use Cairngorm for a project we are going to start but in this 
site: http://labs.adobe.com/wiki/index.php/Cairngorm 
  I only see versions 
for Flex 2.

I'd like to know if there is a new version for Flex 3 coming soon or 
what's going to happen with Cairngorm.

Regards
-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:* 311-3390386
*e-mail:* [EMAIL PROTECTED]  
*site:* http://leo.logtar.com/profesional/ 
 



 



RE: [flexcoders] pass in url or form variable

2008-03-27 Thread Shiv Kumar
Chad,

 

You can do this using FlashVars or QueryStrings.

 

FlashVars is simpler but requires that your server side includes these
parameters in the  tag at the time of serving the application.

QueryStrings requires that you have code/class on your application that can
extract these values.

 

Have you tried any of these methods?

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Chad Gray
Sent: Thursday, March 27, 2008 3:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] pass in url or form variable

 

Is there any way to pass in a URL or Form variable to a flex application
when it starts up?

Like if a user clicks an HTML form and it launches the flex app as the
action page. Can the flex app pick up on the form variables?

 



Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-27 Thread Josh McDonald
Same, but if you run IE5 it's a power app and runs in an emulator, which
(hopefully) would isolate it from whatever's bringing the machines to a
halt...

-J

On Thu, Mar 27, 2008 at 11:23 PM, Willy Ci <[EMAIL PROTECTED]> wrote:

>   I don't know, all we have here is MacBook Pro with OS X 10.5
> Willy
>
>
>
> On Tue, Mar 25, 2008 at 6:50 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
> >   If it happens in both FF and Safari, the bug is most likely in OS X or
> > Flash / Flex (or all three), so I don't see Opera helping. IE5 might though,
> > as it runs in Rosetta. Can you get the latest player on PowerPC?
> >
> > -J
> >
> >
> > On Wed, Mar 26, 2008 at 3:14 AM, Willy Ci <[EMAIL PROTECTED]> wrote:
> >
> > >   or  you can try Opera,
> > > if that still give you problem I think IE 5 is your lost hope.
> > >
> > > Willy
> > >
> > >
> > >
> > > On Mon, Mar 24, 2008 at 7:07 PM, Josh McDonald <[EMAIL PROTECTED]>
> > > wrote:
> > >
> > > >   There's definitely some problems with the debug flash player on OS
> > > > X. I get hard lockups (nothing but the mouse working, not a kpanic) 
> > > > several
> > > > times a week, in Safari and Firefox.
> > > >
> > > > -J
> > > >
> > > >  On Mon, Mar 24, 2008 at 11:43 PM, Willy Ci <[EMAIL PROTECTED]>
> > > > wrote:
> > > >
> > > > >   thank, just tried with Safari, much faster now.
> > > > > I am using FireFox 2.0.0.12 and FP 9,0,115,0
> > > > >
> > > > > Willy
> > > > >
> > > > >
> > > > >
> > > > > On Sun, Mar 23, 2008 at 10:36 PM, Mike Morearty <
> > > > > [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > >   I am have not seen this problem. What browser are you
> > > > > > debugging with? Try a different
> > > > > > one -- e.g. if you are debugging with a different one -- e.g. if
> > > > > > you are using Safari, try
> > > > > > debugging with Firefox, or vice versa. Let me know if that
> > > > > > helps.
> > > > > >
> > > > > > - Mike Morearty, Adobe Flex Builder team
> > > > > >
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com ,
> > > > > > "Willy Ci" <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > hi ,
> > > > > > >
> > > > > > > does anyone else having this problem?
> > > > > > > I just install flex builder 3 on my mac book pro, (use to have
> > > > > > flex builder
> > > > > > > 2, works fine)
> > > > > > > everything works fine, but if I try go into debug,
> > > > > > > the flex builder just went very very slow, a lot of times I
> > > > > > have to do the
> > > > > > > hard reboot
> > > > > > >
> > > > > > > is there anyway I can fix this? like change the memory in
> > > > > > plist?
> > > > > > >
> > > > > > > thanks
> > > > > > >
> > > > > > > --
> > > > > > > Willy
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Willy
> > > > > 617-606-3437
> > > > >
> > > > >
> > > > > --
> > > > > maybe today is a good day to write some code,
> > > > > hold on, late me take a nap first ... Zzzz
> > > > >
> > > > > Q: How do you spell "google"?
> > > > > A: Why don't you google it?
> > > > > --
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > "Therefore, send not to know For whom the bell tolls, It tolls for
> > > > thee."
> > > >
> > > > :: Josh 'G-Funk' McDonald
> > > > :: 0437 221 380 :: [EMAIL PROTECTED]
> > > >
> > >
> > >
> > >
> > > --
> > > Willy
> > > 617-606-3437
> > >
> > > --
> > > maybe today is a good day to write some code,
> > > hold on, late me take a nap first  ... Zzzz
> > >
> > > Q: How do you spell "google"?
> > > A: Why don't you google it?
> > > --
> > >
> > >
> >
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls, It tolls for
> > thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>
>
> --
> Willy
> 617-606-3437
>
> --
> maybe today is a good day to write some code,
> hold on, late me take a nap first ... Zzzz
>
> Q: How do you spell "google"?
> A: Why don't you google it?
> --
>  
>



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

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


Re: [flexcoders] Re: Any ideas for a Flex strip chart emulator?

2008-03-27 Thread Josh McDonald
Well that's easy enough :)

On Fri, Mar 28, 2008 at 3:41 AM, Jim Boone <[EMAIL PROTECTED]> wrote:

>   Josh,
>
> I was able to make the chart work nicely using a stock LineChart
> component and using the cursor from the ICollectionView interface
> implementation. I also profiled the code and didn't see any memory
> issues (other than what is associated with the ARLabelData class which
> is discussed elsewhere). The following are snippets of code that I
> used. I hope it helps someone.
>
> // In class definition
> [Bindable]
> private var metrics:ArrayCollection;
> private var cursor:IViewCursor;
> ...
>
> // In init function
>
> // Populate the array with place holder objects
> var i:int;
> var myArray:Array = new Array(ARRAY_SIZE);
> for (i = 0; i < ARRAY_SIZE; i++){
> myArray[i] = new MetricsVO();
> }
>
> metrics = new ArrayCollection(myArray);
>
> // Store cursor as an instance variable to minimize memory consumption
> cursor = metrics.createCursor();
>
> ...
>
> // In callback handler
> var msg:AsyncMessage = message.message as AsyncMessage;
> var data:MetricsVO = msg.body as MetricsVO;
>
> // Update chart data provider, remove the oldest and add
> // the newest data point
> cursor.seek(CursorBookmark.FIRST);
> cursor.remove();
> cursor.seek(CursorBookmark.LAST,1);
> cursor.insert(data);
>
>
> --- In flexcoders@yahoogroups.com , "Josh
> McDonald" <[EMAIL PROTECTED]> wrote:
> >
> > Just implement IList or ICollectionView or whichever interface is
> needed,
> > and keep a pointer to the actual data and "start" and "length"
> variables,
> > and all refresh() when any of those things is updated?
> >
> > I assume this would work, but somebody a little more familiar with the
> > internals of the iterable interfaces and/or charts might be able to
> clarify
> > :)
> >
> > -J
> >
> > On Thu, Mar 27, 2008 at 11:10 AM, Jim Boone <[EMAIL PROTECTED]> wrote:
> >
> > > Josh,
> > >
> > > Yes I actually have. I haven't tried it yet, but I believe if I
> > > initialize the list with a fixed number of entries the X axis delta
> > > will remain constant which is required by my application. The only
> > > thing that I have not figured out is how to efficiently shift the
> > > elements of the array without triggering lots of garbage collections.
> > > In the Java world I would use a linked list implementation of a
> > > collection. I just need to figure out what that same implementation
> > > looks like in ActionScript. Thanks for your your response.
> > >
> > > Jim
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> > > ,
>
> "Josh
> > > McDonald"  wrote:
> > > >
> > > > Have you considered using some sort of proxy IList that hooks
> into your
> > > > datastream but only shows the last n rows? That would allow you to
> > > use the
> > > > various existing chart components.
> > > >
> > > > -J
> > > >
> > > > On Fri, Mar 21, 2008 at 10:30 AM, Jim Boone  wrote:
> > > >
> > > > > I am attempting to write a dashboard application that shows
> > > real-time
> > > > > dynamic metrics of one of our production applications. I would
> like
> > > > > to plot parameters on graphs similar to what you see in the
> Windows
> > > > > task manager under the performance tab (basically an emulation
> of a
> > > > > moving strip chart). I have considered using the line chart
> component
> > > > > but it doesn't seem well-suited for showing historical trends.
> Does
> > > > > anyone have any ideas on how I should tackle this problem?
> Thanks in
> > > > > advance for your help.
> > > > >
> > > > > Jim
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > "Therefore, send not to know For whom the bell tolls, It tolls for
> > > thee."
> > > >
> > > > :: Josh 'G-Funk' McDonald
> > > > :: 0437 221 380 :: josh@
> > > >
> > >
> > >
> > >
> >
> >
> >
> > --
> > "Therefore, send not to know For whom the bell tolls, It tolls for
> thee."
> >
> > :: Josh 'G-Funk' McDonald
> > :: 0437 221 380 :: [EMAIL PROTECTED]
> >
>
>  
>



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

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]


[flexcoders] Cairngorm for Flex 3

2008-03-27 Thread Leonardo Moreno
Hi

I want to use Cairngorm for a project we are going to start but in this 
site: http://labs.adobe.com/wiki/index.php/Cairngorm I only see versions 
for Flex 2.

I'd like to know if there is a new version for Flex 3 coming soon or 
what's going to happen with Cairngorm.

Regards
-- 
Leonardo Moreno Guzmán
Ingeniero de sistemas y telemática | Asesor soluciones informáticas
*cell-phone:*   311-3390386
*e-mail:*   [EMAIL PROTECTED]
*site:* http://leo.logtar.com/profesional/


begin:vcard
fn:Leonardo Moreno
n:Moreno;Leonardo
adr:;;;Cali;;;Colombia
email;internet:[EMAIL PROTECTED]
title;quoted-printable:Ingeniero de sistemas y telem=C3=A1tica
tel;cell:3113390386
x-mozilla-html:FALSE
url:http://leo.logtar.com
version:2.1
end:vcard



[flexcoders] pass in url or form variable

2008-03-27 Thread Chad Gray
Is there any way to pass in a URL or Form variable to a flex application when 
it starts up?

Like if a user clicks an HTML form and it launches the flex app as the action 
page.  Can the flex app pick up on the form variables?



RE: [flexcoders] Memory Profiler - Memory Snapshot does automatically runs garbage collector?

2008-03-27 Thread Gaurav. Jain
I meant *before* capture the data.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gaurav. Jain
Sent: Thursday, March 27, 2008 2:43 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Memory Profiler - Memory Snapshot does
automatically runs garbage collector?

Yes the memory snapshot runs the GC capturing the data. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of alex
Sent: Thursday, March 27, 2008 2:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Memory Profiler - Memory Snapshot does
automatically runs garbage collector?

Because it looks like it does that. 
I have some increase in memory, then the moment I take memory snapshot
it goes down a bit which is the same effect with just running garbage
collector manually.
Otherwise the the memory won't change and the garbage collector won't
kick in by itself.




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






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





RE: [flexcoders] Memory Profiler - Memory Snapshot does automatically runs garbage collector?

2008-03-27 Thread Gaurav. Jain
Yes the memory snapshot runs the GC capturing the data. 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of alex
Sent: Thursday, March 27, 2008 2:26 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Memory Profiler - Memory Snapshot does
automatically runs garbage collector?

Because it looks like it does that. 
I have some increase in memory, then the moment I take memory snapshot
it goes down a bit which is the same effect with just running garbage
collector manually.
Otherwise the the memory won't change and the garbage collector won't
kick in by itself.




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





Re: [flexcoders] filterFunction - blows up when item field blank

2008-03-27 Thread Scott Melby

1) Can someone explain in words what indexOf does? Obviously it
compares the two and spits out a number, but I just don't fully grasp
what is going on. Why use it instead of just == ?

 - String.indexOf returns -1 if the specified sequence is not found in 
the target string (the one you are calling the method on) and returns 
the zero based index of the position within the target string if it is 
found.  You would use indexOf if you were interested in substring 
(partial) matches.  i.e. so your grid shows all titles with "ch" in them 
without requiring the title to BE "ch".


The problem you are having is that the filter calls methods on both 
title and docNumber without first checking if they are null.  So, if 
either is null you are going to get exceptions.


I would probably re-write that as something like: Note... this code may 
not compile, but should be close :)


public function processFilter(item:Object):Boolean
{
var result:Boolean=false;


//make sure there is a search term
if(term.text != null && term.text.length > 0)
{ 
  //get the search term as upper case

  var searchTerm:String = term.text.toUpperCase();

  //check against the title
  if(item.title != null && item.title.length > 0)
  {
 result = (item.title.toUpperCase().indexOf(searchTerm) != -1);
  }

  //no need to check doc number if title already matched or if there is no 
docNumber
  if(result == false && item.docNumber != null && item.docNumber.length > 0)
  {
 result = (item.docNumber.toUpperCase().indexOf(searchTerm) != -1);
  }
}

return result;
}

Though I may use RegExp and String.search() instead of indexOf...  Check out this 
page 

 for more info on string searches.


hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
http://blog.fastlanesw.com



Don Kerr wrote:

I've been using this code below for a long time...but don't fully
understand how it works:) It does work great, as long as both title
and docNumber are not null. But it blows up if docNumber is null.

1) Can someone explain in words what indexOf does? Obviously it
compares the two and spits out a number, but I just don't fully grasp
what is going on. Why use it instead of just == ?

2) The OR || isn't clicking either. Would I add !item.docNumber.length
as another || to prevent the error when docNumber is blank? I want it
to filter on one or more columns in the dataProvider, but not blow up
if any one of them are blank. If one is blank, it should still filter
on the others.

public function processFilter(item:Object):Boolean
{
var result:Boolean=false;
// If no filter text, or a match, then true
if (!item.title.length
|| item.title.toUpperCase().indexOf(term.text.toUpperCase()) >= 0	 
||item.docNumber.toUpperCase().indexOf(term.text.toUpperCase()) >= 0

)
result=true;
		
return result;

}

Thanks for the added insight into this borrowed code.:)
Don


  


RE: [flexcoders] call a function from a pop up title window.

2008-03-27 Thread Tracy Spratt
Hee is an example that shows several ways.  It does not use events..

http://www.cflex.net/showFileDetails.cfm?ObjectID=558

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kpjj31
Sent: Thursday, March 27, 2008 2:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] call a function from a pop up title window.

 

Can I please get some ideas on how to best call a function from a title 
window. So if data is changing in the popup window I can call a function
from the container that opened the window. I have a tried to dispatch 
an event and parent.everything. I'm sure this is simple and I am 
missing something. Thanks

 



RE: [flexcoders] Actionscript/Flex 3 - Communicating with an itemRenderer from the main applicati

2008-03-27 Thread Tracy Spratt
Rarely is this the way to go.

 

You should go through the dataProvider for all data access.  You should
use the dataProvider for all renderer UI updates as well.

 

Your renderers must be updating the dataProvider items or they wouldn't
be working.  So do:

var myComboValue:String = MyDG.selectedItem.myComboValueProperty;

 

Tracy

 

 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jeffreyr6915
Sent: Thursday, March 27, 2008 1:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Actionscript/Flex 3 - Communicating with an
itemRenderer from the main applicati

 

I know that if you want to communicate with the main application from
within the itemRenderer component, you have to use "outerDocument"
first...Example:











My question is:
---How do you communicate with an itemRenderer from within the main
application? It seems like the main app does not have scope to the
itemRenderer, because when I add an id attribute to the 
tag, I cannot refer to it...Example:

cbItemRenderer.getSelectedItem().label)

Thanks

 



[flexcoders] call a function from a pop up title window.

2008-03-27 Thread kpjj31
Can I please get some ideas on how to best call a function from a title 
window. So if data is changing in the popup window I can call a function
from the container that opened the window. I have a tried to dispatch 
an event and parent.everything. I'm sure this is simple and I am 
missing something. Thanks



[flexcoders] Memory Profiler - Memory Snapshot does automatically runs garbage collector?

2008-03-27 Thread alex
Because it looks like it does that. 
I have some increase in memory, then the moment I take memory snapshot
it goes down a bit which is the same effect with just running garbage
collector manually.
Otherwise the the memory won't change and the garbage collector won't
kick in by itself.



[flexcoders] Re: Actionscript/Flex 3 - Communicating with an itemRenderer from the main appli

2008-03-27 Thread jeffreyr6915
Thanks I'll try this
--- In flexcoders@yahoogroups.com, Scott Melby <[EMAIL PROTECTED]> wrote:
>
> If you are just trying to get the data from the selected item when the 
> change event fires, you should be able to do the following.
> 
> private function handleChangeEvent(event:ListEvent):void
> {
> var cBox:ComboBox = ComboBox(event.currentTarget);
>
> //assumes the items in your data provider are XML... seems like a 
> safe assumption
> var myXML:XML = XML(cBox.selectedItem);
>
> //access your xml attrs etc. using e4x as normal
> ...  
> }
> 
> 
> 
>  change="parentDocument.handleChangeEvent(event)" id="cbItemRenderer"/>
> 
> 
> 
> 
> hth
> Scott
> 
> Scott Melby
> Founder, Fast Lane Software LLC
> http://www.fastlanesw.com
> http://blog.fastlanesw.com
> 
> 
> 
> jeffreyr6915 wrote:
> > I know that if you want to communicate with the main application from
> > within the itemRenderer component, you have to use "outerDocument"
> > first...Example:
> >
> >  > editorDataField="text" editable="true">
> >
> > 
> > 
> >  > change="myMethod(dg.instanceIndex)" id="cbItemRenderer"/>
> > 
> > 
> >
> > 
> >
> >
> > My question is:
> > ---How do you communicate with an itemRenderer from within the main
> > application? It seems like the main app does not have scope to the
> > itemRenderer, because when I add an id attribute to the 
> > tag, I cannot refer to it...Example:
> >
> > cbItemRenderer.getSelectedItem().label)
> >
> >
> > Thanks
> >
> >
> >
>




Re: [flexcoders] I know that if you want to communicate with the main application from within the

2008-03-27 Thread Aaron Miller
That is not the correct use of an item editor. Instead, you should set the
DataGridColumn.editorDataField property and listen for the itemEditEnd
event. In your item renderer, you would then create a public getter method
by the same name as the editorDataField to retrieve
cbItemRenderer.getSelectedItem().label. I'm pretty sure you will also need a
getter method to set the correct selectedIndex of the ComboBox.

Here are some examples here:
http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_8.html

Best Regards,
~Aaron

On Thu, Mar 27, 2008 at 10:38 AM, jeffreyr6915 <[EMAIL PROTECTED]> wrote:

>   I know that if you want to communicate with the main application from
> within the itemRenderer component, you have to use "outerDocument"
> first...Example:
>
>  editorDataField="text" editable="true">
>
> 
> 
>  change="myMethod(dg.instanceIndex)" id="cbItemRenderer"/>
> 
> 
>
> 
>
> My question is:
> ---How do you communicate with an itemRenderer from within the main
> application? It seems like the main app does not have scope to the
> itemRenderer, because when I add an id attribute to the 
> tag, I cannot refer to it...Example:
>
> cbItemRenderer.getSelectedItem().label)
>
> Thanks
>
>  
>



-- 
Aaron Miller
Chief Technology Officer
Open Base Interactive, LLC.
[EMAIL PROTECTED]
http://www.openbaseinteractive.com


Re: [flexcoders] Actionscript/Flex 3 - Communicating with an itemRenderer from the main applicati

2008-03-27 Thread Scott Melby
If you are just trying to get the data from the selected item when the 
change event fires, you should be able to do the following.

private function handleChangeEvent(event:ListEvent):void
{
var cBox:ComboBox = ComboBox(event.currentTarget);
   
//assumes the items in your data provider are XML... seems like a 
safe assumption
var myXML:XML = XML(cBox.selectedItem);
   
//access your xml attrs etc. using e4x as normal
...  
}








hth
Scott

Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
http://blog.fastlanesw.com



jeffreyr6915 wrote:
> I know that if you want to communicate with the main application from
> within the itemRenderer component, you have to use "outerDocument"
> first...Example:
>
>  editorDataField="text" editable="true">
>
> 
> 
>  change="myMethod(dg.instanceIndex)" id="cbItemRenderer"/>
> 
> 
>
> 
>
>
> My question is:
> ---How do you communicate with an itemRenderer from within the main
> application? It seems like the main app does not have scope to the
> itemRenderer, because when I add an id attribute to the 
> tag, I cannot refer to it...Example:
>
> cbItemRenderer.getSelectedItem().label)
>
>
> Thanks
>
>
>   



Re: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

2008-03-27 Thread Sherif Abdou
ya i had trouble for some reason with Eclipse Plug-in on Vista, always crashing 
and running out of memory. I am using the Full once instead and not had a 
problem. It probably has to do with the fact that i am too lazy to play around 
with the eclipse.ini file and try out diffrent memory settings.

- Original Message 
From: Douglas Knudsen <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Thursday, March 27, 2008 12:51:33 PM
Subject: Re: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

gee, never saw that one coming, eh?

no issue here on Vista SP1, things compile just as fast or as slow as before.

DK


On Thu, Mar 27, 2008 at 1:39 PM, Merle Reine  wrote:
simple solution, ditch vista as it sucks.  Every vendor from 
dell, ibm, etc.  are all offering xp as an alternative because no one likes 
vista.  Flex 3 on XP works fine, compiles in seconds.

Better yet, get rid of windows and switch to Linux.


On Thu, Mar 27, 2008 at 7:20 AM,  <[EMAIL PROTECTED] com> wrote:
I guess I should note that I am using Vista Home Premium 32-bit 
SP1 with the Eclipse plugin of Flex Builder 3 Pro.










-- 
Merle Reine
Email Address: echo zreyr.ervar@ tznvy.pbz | perl -pe 'y/a-z/n-za-m/'







-- 
Douglas Knudsen
http://www.cubiclem an.com
this is my signature, like it?












  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

RE: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

2008-03-27 Thread Glenn Williams
works amazingly fast here - vista 64 sp1.  

i did find it was better using the latest eclipse (3.4m4 or m5 I think,
can't remember without looking)

geez - I always worry when people start shouting 'how crap something is' -
you really need to chill 

I think I'll stay with a well supported os for now

 

Glenn

 

 



 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Thursday, March 27, 2008 5:52 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

 

gee, never saw that one coming, eh?

no issue here on Vista SP1, things compile just as fast or as slow as
before.

DK

On Thu, Mar 27, 2008 at 1:39 PM, Merle Reine <[EMAIL PROTECTED]> wrote:

simple solution, ditch vista as it sucks.  Every vendor from dell, ibm, etc.
are all offering xp as an alternative because no one likes vista.  Flex 3 on
XP works fine, compiles in seconds.

Better yet, get rid of windows and switch to Linux.

 

On Thu, Mar 27, 2008 at 7:20 AM, <[EMAIL PROTECTED]> wrote:

I guess I should note that I am using Vista Home Premium 32-bit SP1 with the
Eclipse plugin of Flex Builder 3 Pro. 





-- 
Merle Reine
Email Address: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/' 




-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? 

 

<>

[flexcoders] Re: Camera / Video feed from iMac's Webcam is mirrored/reversed?

2008-03-27 Thread Abyss Knight
A ton of bitmap manipulation stuff:

http://www.insideria.com/2008/03/image-manipulation-in-flex.html

Just apply it as an effect to the container, or the video object and
it should do the trick. For some demos, I'll plug my own test code:

http://www.abyssknight.com/2008/02/20/flex-web-cam-effects-demo/

-- William

--- In flexcoders@yahoogroups.com, "Jason The Saj" <[EMAIL PROTECTED]> wrote:
>
> I wrote a little app using the Camera & Video components.  Everything
> works fine except for the fact that my video is reversed (mirrored)
> with right being left and vice versa.
> 
> My guess is something weird from the feed of the built in iSight cam
> in my iMac at work is providing reversed video.
> 
> Is there any way to correct this?  (ie: mirror the video component,
> feed, or a Flash Player setting?)
> 
> - Jason
>




[flexcoders] Re: Flex Data Services (of LiveCycle Data Services)

2008-03-27 Thread Alexander Tsoukias
This really does sound what needs to be done (in theory). Practically
how would i go about doing this?

Is there some documentation I can reference? I'm new to this topic
(even tho I own the licenses) just trying to make some good use of them.

With Flash Media Server i'm assuming this would be done using server
side Shared Objects?

Thanks
Alexander


--- In flexcoders@yahoogroups.com, "Jeff Vroom" <[EMAIL PROTECTED]> wrote:
>
> Take a look at the subtopics feature of the Consumer or the
> MultiTopicConsumer if you want to receive multiple subscriptions from a
> single message stream.   You'd have one destination for the seats as a
> whole and probably a separate subtopics for each seat.  If you need to
> route messages to players individually, you could have a another
> destination for players and a subtopic based on the user's session or
> user id.   Subtopics are created lazily the first time someone
> subscribes to them and are removed when the last user unsubscribes.
> 
>  
> 
> Actually, this type of thing is probably easier to do using data
> management since that will do all of the subscriptions for you.   In
> that case, you'd do a fill to get the list of seats (which would then be
> sync'd with the server so as new seats come and go the client would
> automatically be updated).   Once you select a seat you'd do a query to
> get the view of data for that seat... again that is sync'd automatically
> with the server if you leave autoSyncEnabled=true on the DataService.
> Each user could also create records for their per-user info which other
> users might share by getting a reference to... maybe the seat would have
> a reference to public view of the users at that table.   
> 
>  
> 
> Jeff
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Alexander Tsoukias
> Sent: Thursday, March 27, 2008 10:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex Data Services (of LiveCycle Data Services)
> 
>  
> 
> I am trying to create a multiplayer game, in which at first i need to
> show a tables list of available seats.
> 
> Each table, should be a new destination on FDS server? or am i missing
> something here?
> 
> If thats the case, how do i automatically create and delete
> destinations?
> 
> (I'm using RTMP - if I was using Flash Media Server, I would create
> server side shared objects).
> 
> Thanks,
> Alexander
>




RE: [flexcoders] Re: BUMP: Support for HP-UX? - Adobe engineers maybe you know?

2008-03-27 Thread Carl-Alexandre Malartre
Executing Flash on HP-UX, with a wrapper is imho asking for inconsistent and
hard to debug troubles.

 

Thanks,
Carl

Carl-Alexandre Malartre
Directeur de projets, Scolab
514-528-8066, 1-888-528-8066

Besoin d'aide en maths?
www.Netmaths.net

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Chotin
Sent: Thursday, March 27, 2008 12:17 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: BUMP: Support for HP-UX? - Adobe engineers
maybe you know?

 

Correct that LCDS should run on HP-UX (from the sys reqs: HP-UX 11i v2
(Itanium only)).

I don't know of any wrappers, others might.

Matt

On 3/26/08 6:26 PM, "wayne_badu_johnson" <[EMAIL PROTECTED]
 > wrote:

Thanks Matt. So we would need to move the client off the server for
this app. However LCDS or BlazeDS will run on HP-UX OS within an app
server. Is this correct?

Are there any 'wrappers' that could execute Flash9 on a HP-UX box?

Cheers
Wayne

--- In flexcoders@yahoogroups.com 
 ,
Matt Chotin <[EMAIL PROTECTED]> wrote:
>
> I see. OK, so the supported OS's for Flash Player are here:
http://www.adobe.com/products/flashplayer/productinfo/systemreqs/#os
>
> HP-UX unfortunately isn't on there, I don't know of any plans for
it either... Doesn't mean there aren't workarounds out there, but
it won't be from Adobe.
>
> Matt
>
>
> On 3/26/08 6:12 PM, "wayne_badu_johnson" <[EMAIL PROTECTED]>
wrote:
>
>
>
>
>
> Looking at Remote Desktop access to the HP-UX server, so the
> application (client) needs to run on the HP-UX server, preferable
> standalone (non-browser). The app server on the HP-UX will have
some
> services (java at this stage) that the app talks to.
>
> So LCDS (2.5.1) can run on the HP-UX OS within an app server?
> But currently there is no flash player 9 for the client on HP-UX?
>
> Thanks for responding Matt.
> Cheers
> Wayne
>
> --- In flexcoders@yahoogroups.com 

 , Matt
Chotin  wrote:
> >
> > Do you mean LiveCycle DataServices? Are the end-users supposed
to
> be running on HP-UX or just the app server? Are you talking about
> the webtier compiler or just the data portion?
> >
> > The system requirements for the product you care about would
> indicate whether it's officially supported. I believe HP-UX is on
> the LCDS list.
> >
> > Matt
> >
> >
> > On 3/26/08 3:19 PM, "wayne_badu_johnson" 
> wrote:
> >
> >
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com 


 40yahoogroups.com> 40yahoogroups.com> , "wayne_badu_johnson"
> >  wrote:
> > >
> > >
> > > Hi
> > >
> > > I'm wondering if anyone has deployed (or knows if it's
possible)
> a
> > > Flex application under JBOSS app server on HP-UX OS(assuming
> it's the
> > > latest version of HP-UX)?
> > >
> > > Or does a wrapper/projector exist that could be deployed under
> HP-UX
> > > to run standalone flex app (like AIR)?
> > >
> > > I have found flash player plugin support for Firefox/Mozilla on
> HP-UX
> > > but haven't been able to confirm what version of flash player
> this is.
> > > The preference would be a standalone app but on HP-UX. It
could
> even
> > > run through a non-browser flash player and talk to JBOSS
> services.
> > >
> > > I've been looking around without getting the definitive
answers.
> > >
> > > Any ideas?
> > >
> > > Thanks
> > > Wayne
> > >
> >
>

 



Re: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

2008-03-27 Thread Douglas Knudsen
gee, never saw that one coming, eh?

no issue here on Vista SP1, things compile just as fast or as slow as
before.

DK

On Thu, Mar 27, 2008 at 1:39 PM, Merle Reine <[EMAIL PROTECTED]> wrote:

>   simple solution, ditch vista as it sucks.  Every vendor from dell, ibm,
> etc.  are all offering xp as an alternative because no one likes vista.
> Flex 3 on XP works fine, compiles in seconds.
>
> Better yet, get rid of windows and switch to Linux.
>
>
> On Thu, Mar 27, 2008 at 7:20 AM, <[EMAIL PROTECTED]> wrote:
>
> >   I guess I should note that I am using Vista Home Premium 32-bit SP1
> > with the Eclipse plugin of Flex Builder 3 Pro.
> >
>
>
>
> --
> Merle Reine
> Email Address: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/'
> 
>



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


[flexcoders] Custome itemRenderer and properties

2008-03-27 Thread markgoldin_2000
Here is  fragment of my code to add a custom itemRenderer to ADG 
(simplified):

codeDestinationRenderer = new ClassFactory(destinationGrid);
codeDestinationRenderer.properties = {someSetter:"1234"};
trainSymbolColumn.itemRenderer = codeDestinationRenderer;
ClassFactory(trainSymbolColumn.itemRenderer).properties = 
{anotherSetter:trainSymbolColumn};

My question is about accessing itemRenderer's methods (setters) via a 
property "properties". In a way code is shown first call (someSetter) 
will not be made. If I remove a call to second setter then first works 
fine. Can someone inlight me please on how these setters work?

Thanks



RE: [flexcoders] Flex Data Services (of LiveCycle Data Services)

2008-03-27 Thread Jeff Vroom
Take a look at the subtopics feature of the Consumer or the
MultiTopicConsumer if you want to receive multiple subscriptions from a
single message stream.   You'd have one destination for the seats as a
whole and probably a separate subtopics for each seat.  If you need to
route messages to players individually, you could have a another
destination for players and a subtopic based on the user's session or
user id.   Subtopics are created lazily the first time someone
subscribes to them and are removed when the last user unsubscribes.

 

Actually, this type of thing is probably easier to do using data
management since that will do all of the subscriptions for you.   In
that case, you'd do a fill to get the list of seats (which would then be
sync'd with the server so as new seats come and go the client would
automatically be updated).   Once you select a seat you'd do a query to
get the view of data for that seat... again that is sync'd automatically
with the server if you leave autoSyncEnabled=true on the DataService.
Each user could also create records for their per-user info which other
users might share by getting a reference to... maybe the seat would have
a reference to public view of the users at that table.   

 

Jeff

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexander Tsoukias
Sent: Thursday, March 27, 2008 10:42 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Data Services (of LiveCycle Data Services)

 

I am trying to create a multiplayer game, in which at first i need to
show a tables list of available seats.

Each table, should be a new destination on FDS server? or am i missing
something here?

If thats the case, how do i automatically create and delete
destinations?

(I'm using RTMP - if I was using Flash Media Server, I would create
server side shared objects).

Thanks,
Alexander

 



[flexcoders] Re: Any ideas for a Flex strip chart emulator?

2008-03-27 Thread Jim Boone
Josh,

I was able to make the chart work nicely using a stock LineChart
component and using the cursor from the ICollectionView interface
implementation. I also profiled the code and didn't see any memory
issues (other than what is associated with the ARLabelData class which
is discussed elsewhere). The following are snippets of code that I
used. I hope it helps someone.

// In class definition 
[Bindable]
private var metrics:ArrayCollection;
private var cursor:IViewCursor;
...

// In init function 

// Populate the array with place holder objects
var i:int;
var myArray:Array = new Array(ARRAY_SIZE);
for (i = 0; i < ARRAY_SIZE; i++){
  myArray[i] = new MetricsVO();
}

metrics = new ArrayCollection(myArray);

// Store cursor as an instance variable to minimize memory consumption
cursor = metrics.createCursor();

...

// In callback handler
var msg:AsyncMessage = message.message as AsyncMessage;
var data:MetricsVO = msg.body as MetricsVO; 

// Update chart data provider, remove the oldest and add
// the newest data point
cursor.seek(CursorBookmark.FIRST);
cursor.remove();
cursor.seek(CursorBookmark.LAST,1);
cursor.insert(data);

--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> Just implement IList or ICollectionView or whichever interface is
needed,
> and keep a pointer to the actual data and "start" and "length"
variables,
> and all refresh() when any of those things is updated?
> 
> I assume this would work, but somebody a little more familiar with the
> internals of the iterable interfaces and/or charts might be able to
clarify
> :)
> 
> -J
> 
> On Thu, Mar 27, 2008 at 11:10 AM, Jim Boone <[EMAIL PROTECTED]> wrote:
> 
> >   Josh,
> >
> > Yes I actually have. I haven't tried it yet, but I believe if I
> > initialize the list with a fixed number of entries the X axis delta
> > will remain constant which is required by my application. The only
> > thing that I have not figured out is how to efficiently shift the
> > elements of the array without triggering lots of garbage collections.
> > In the Java world I would use a linked list implementation of a
> > collection. I just need to figure out what that same implementation
> > looks like in ActionScript. Thanks for your your response.
> >
> > Jim
> >
> >
> > --- In flexcoders@yahoogroups.com ,
"Josh
> > McDonald"  wrote:
> > >
> > > Have you considered using some sort of proxy IList that hooks
into your
> > > datastream but only shows the last n rows? That would allow you to
> > use the
> > > various existing chart components.
> > >
> > > -J
> > >
> > > On Fri, Mar 21, 2008 at 10:30 AM, Jim Boone  wrote:
> > >
> > > > I am attempting to write a dashboard application that shows
> > real-time
> > > > dynamic metrics of one of our production applications. I would
like
> > > > to plot parameters on graphs similar to what you see in the
Windows
> > > > task manager under the performance tab (basically an emulation
of a
> > > > moving strip chart). I have considered using the line chart
component
> > > > but it doesn't seem well-suited for showing historical trends.
Does
> > > > anyone have any ideas on how I should tackle this problem?
Thanks in
> > > > advance for your help.
> > > >
> > > > Jim
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > "Therefore, send not to know For whom the bell tolls, It tolls for
> > thee."
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: josh@
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls, It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald
> :: 0437 221 380 :: [EMAIL PROTECTED]
>




[flexcoders] Actionscript/Flex 3 - Communicating with an itemRenderer from the main applicati

2008-03-27 Thread jeffreyr6915
I know that if you want to communicate with the main application from
within the itemRenderer component, you have to use "outerDocument"
first...Example:












My question is:
---How do you communicate with an itemRenderer from within the main
application? It seems like the main app does not have scope to the
itemRenderer, because when I add an id attribute to the 
tag, I cannot refer to it...Example:

cbItemRenderer.getSelectedItem().label)


Thanks



[flexcoders] Flex Data Services (of LiveCycle Data Services)

2008-03-27 Thread Alexander Tsoukias
I am trying to create a multiplayer game, in which at first i need to
show a tables list of available seats.

Each table, should be a new destination on FDS server? or am i missing
something here?

If thats the case, how do i automatically create and delete destinations?

(I'm using RTMP - if I was using Flash Media Server, I would create
server side shared objects).

Thanks,
Alexander



Re: [flexcoders] FlexBuilder Linux

2008-03-27 Thread Maciek Sakrejda
Of course. We're just too principled for that kind of thing. ;)


-Original Message-
From: Matt Chotin <[EMAIL PROTECTED]>
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] FlexBuilder Linux
Date: Thu, 27 Mar 2008 09:54:51 -0700

You Linux folks know how to change the clock back for a day or two,
right? :-P

On 3/27/08 2:58 AM, "Tom Chiverton" <[EMAIL PROTECTED]>
wrote:

On Wednesday 26 Mar 2008, Matt Chotin wrote:
> We will have another alpha soon. It's possible we'll miss by a day or
two
> but it won't be forever.

In the mean time, just don't close Builder once the trial has
expired :-)

--
Tom Chiverton
Helping to augmentatively improve bricks-and-clicks initiatives
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 Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB. 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 Solicitors
Regulation Authority.

CONFIDENTIALITY

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

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



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




 




[flexcoders] I know that if you want to communicate with the main application from within the

2008-03-27 Thread jeffreyr6915
I know that if you want to communicate with the main application from
within the itemRenderer component, you have to use "outerDocument"
first...Example:












My question is:
---How do you communicate with an itemRenderer from within the main
application? It seems like the main app does not have scope to the
itemRenderer, because when I add an id attribute to the 
tag, I cannot refer to it...Example:

cbItemRenderer.getSelectedItem().label)


Thanks



Re: [flexcoders] Re: Flex 3 Builder Pro slow with Vista SP1

2008-03-27 Thread Merle Reine
simple solution, ditch vista as it sucks.  Every vendor from dell, ibm,
etc.  are all offering xp as an alternative because no one likes vista.
Flex 3 on XP works fine, compiles in seconds.

Better yet, get rid of windows and switch to Linux.

On Thu, Mar 27, 2008 at 7:20 AM, <[EMAIL PROTECTED]> wrote:

>   I guess I should note that I am using Vista Home Premium 32-bit SP1 with
> the Eclipse plugin of Flex Builder 3 Pro.
>  
>



-- 
Merle Reine
Email Address: echo [EMAIL PROTECTED] | perl -pe 'y/a-z/n-za-m/'


[flexcoders] Re: path of code?

2008-03-27 Thread Greg Morphis
It never makes it back to Flex.. I put an Alert() in the onResult() of
the command that sends to Java..
There's log.debug()'s all over the place but I can't seem to find
them. They do not appear in the console..
Is there some way I can force an Alert or something in Java?
I want to find where this craps out..

thanks

On Thu, Mar 27, 2008 at 9:39 AM, Greg Morphis <[EMAIL PROTECTED]> wrote:
> BTW the end of the updateSchedule() function looks like this
>
> } catch (SQLException e) {
> log.error("WeeklyScheduleDAO.updateWeeklySchedule () 
> failed", e);
> connection.rollback();
> throw new Exception(e);
> } catch (Exception e) {
> log.error("WeeklyScheduleDAO.updateWeeklySchedule () 
> failed", e);
> connection.rollback();
> throw new Exception(e);
> } finally {
> try { csDelete.close(); } catch (Exception e) {};
> try { csInsert.close(); } catch (Exception e) {};
> try { csNote.close(); } catch (Exception e) {};
> releaseConnection(connection);
>
>
> }
> }
>
>
>
>
>  On Thu, Mar 27, 2008 at 9:21 AM, Greg Morphis <[EMAIL PROTECTED]> wrote:
>  > I have this app that is used to schedule employees, for a while we
>  >  we're using timestamps to record start and end times of shifts.
>  >  We started having issues with daylight savings and the client's
>  >  time/server's time being different.
>  >  Anyways we recently changed that to numbers so for example 5pm = 17,
>  >  such-and-so-forth.
>  >  Everything is working fine with that.
>  >  But, I was informed of an error, if you try to schedule someone at one
>  >  location when they are scheduled another during the same time it's
>  >  suppose to warn the user and reload the schedule. However the
>  >  application just hangs..
>  >
>  >  We generate the error in Oracle and bubble it up..
>  >
>  >  Looks like this:
>  >  --first we will validate that this record can be inserted.
>  >  validation involves checking for time overlaps
>  >  FOR cr_row IN c_rowcheck LOOP
>  >   BEGIN
>  >IF( (v_starttime BETWEEN cr_row.starttime_num AND
>  >  cr_row.endtime_num)
>  > OR  (v_endtime BETWEEN cr_row.starttime_num AND
>  >  cr_row.endtime_num )
>  >   OR (v_starttime < cr_row.starttime_num AND v_endtime
>  >  > cr_row.endtime_num) ) THEN
>  > --the start42 and end42 are for the UI
>  > errDay := 
> to_char(getDateFromNum(cr_row.day,cr_row.week,cr_row.year),
>  >  'Day');
>  > errMsg := 'START42 Employee ' || emplName || ' is
>  >  already on the schedule on ' || errDay || ' from ' ||
>  >  militaryToStandardTime(cr_row.starttime_num) || ' to ' ||
>  >  militaryToStandardTime(cr_row.endtime_num) || ' at location ' ||
>  >  cr_row.descr || ', ' || cr_row.city || ', ' || cr_row.state ||
>  >  'END42';
>  > RAISE_APPLICATION_ERROR(-20002,errMsg );
>  >   END IF;
>  >   END;
>  >  END LOOP;
>  >
>  >  I believe this part of the code to be working fine. I can run this
>  >  manually, plug in some variables in Oracle and bam, I get an error
>  >  message if the user is elsewhere.
>  >  The problem I'm having is when you do this in Flex.. you get the error 
> message
>  >
>  >  Mar 26, 2008 5:07:32 PM com.dao.WeeklyScheduleDAO updateWeeklySchedule
>  >  SEVERE: WeeklyScheduleDAO.updateWeeklySchedule () failed
>  >  java.sql.SQLException: ORA-20002: START42 Employee Bob Hope is already
>  >  on the schedule on Sundayfrom 10:45 to 7:45 at location 1234 ST,
>  >  Sumcity, ALEND42
>  >  ORA-06512: at "AOPSCHEDULE.INSERTSCHEDULEENTRY_NEW", line 38
>  >  ORA-06512: at line 1
>  >
>  >  The user sees the error message they click okay and we have a popup
>  >  "Processing..." when it should load the schedule.. It hangs there..
>  >  With "Processing..." stuck on the screen, the user never regains
>  >  control of the screen and has to reload the page.
>  >  I do not see where the error is coming from.
>  >  So I'm trying to follow the code up to Flex and see where this is 
> bombing..
>  >  So where does the code go from the DAO? The BO? Then to the Delegate?
>  >  Then off to Flex? I tried to google a few times but was getting no
>  >  where.
>  >  If someone can explain the path of code using Cairngorm I'd appreciate it.
>  >
>  >  The logs stop dead at:
>  >
>  >  [Flex] 03/27/2008 09:15:31.438 Serializing AMF/HTTP response
>  >  Version: 3
>  >   (Message #0 targetURI=/7/onStatus, responseURI=)
>  > (Typed Object #0 'flex.messaging.messages.ErrorMessage')
>  >   rootCause = (Typed Object #1 'java.lang.Exception')
>  > localizedMessage = "java.sql.SQLException: ORA-200

Re: [flexcoders] FlexBuilder Linux

2008-03-27 Thread Matt Chotin
This is trivial enforcement logic I think, mostly meant to get you to not use 
betas forever.  I haven't tested this though.


On 3/27/08 10:06 AM, "Tom Chiverton" <[EMAIL PROTECTED]> wrote:

On Thursday 27 Mar 2008, Matt Chotin wrote:
> You Linux folks know how to change the clock back for a day or two, right?
> :-P

That works ?!?
There's no
  if (timeNow() < lastStartTime()) { exit();}
buried in there ?!?

--
Tom Chiverton
Helping to conveniently revolutionize prospective meta-services
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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

CONFIDENTIALITY

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

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



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






Re: [flexcoders] FlexBuilder Linux

2008-03-27 Thread Tom Chiverton
On Thursday 27 Mar 2008, Matt Chotin wrote:
> You Linux folks know how to change the clock back for a day or two, right?
> :-P

That works ?!?
There's no
  if (timeNow() < lastStartTime()) { exit();}
buried in there ?!?

-- 
Tom Chiverton
Helping to conveniently revolutionize prospective meta-services
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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

CONFIDENTIALITY

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

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



--
Flexcoders Mailing List
FAQ: 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/

<*> 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] How to remove space at the end of line chart when using disabledDays = "[6,0]"!

2008-03-27 Thread Tom Chiverton
On Thursday 27 Mar 2008, Jim Cheng wrote:
> https://bugs.adobe.com/jira/browse/FLEXDMV-963

Looking at the code there, you've given ColumnChart a width of 400, so it 
shouldn't be surprising that the axis extends all the way across, should it ?

-- 
Tom Chiverton
Helping to continuously orchestrate sticky bandwidth
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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

CONFIDENTIALITY

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

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



--
Flexcoders Mailing List
FAQ: 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/

<*> 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] FlexBuilder Linux

2008-03-27 Thread Matt Chotin
You Linux folks know how to change the clock back for a day or two, right? :-P


On 3/27/08 2:58 AM, "Tom Chiverton" <[EMAIL PROTECTED]> wrote:

On Wednesday 26 Mar 2008, Matt Chotin wrote:
> We will have another alpha soon.  It's possible we'll miss by a day or two
> but it won't be forever.

In the mean time, just don't close Builder once the trial has expired :-)

--
Tom Chiverton
Helping to augmentatively improve bricks-and-clicks initiatives
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 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  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 Solicitors Regulation Authority.

CONFIDENTIALITY

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

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



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






[flexcoders] filterFunction - blows up when item field blank

2008-03-27 Thread Don Kerr
I've been using this code below for a long time...but don't fully
understand how it works:) It does work great, as long as both title
and docNumber are not null. But it blows up if docNumber is null.

1) Can someone explain in words what indexOf does? Obviously it
compares the two and spits out a number, but I just don't fully grasp
what is going on. Why use it instead of just == ?

2) The OR || isn't clicking either. Would I add !item.docNumber.length
as another || to prevent the error when docNumber is blank? I want it
to filter on one or more columns in the dataProvider, but not blow up
if any one of them are blank. If one is blank, it should still filter
on the others.

public function processFilter(item:Object):Boolean
{
var result:Boolean=false;
// If no filter text, or a match, then true
if (!item.title.length
|| item.title.toUpperCase().indexOf(term.text.toUpperCase()) >= 0
||item.docNumber.toUpperCase().indexOf(term.text.toUpperCase()) >= 0
)
result=true;

return result;
}

Thanks for the added insight into this borrowed code.:)
Don



[flexcoders] Common cursors

2008-03-27 Thread thirtyfivemph
I'm always a bit surprised when I'm building a Flex app and remember
that there are no common cursors provided... considering that the web
browser provides common cursors (which those AJAX people get to use
for their RIAs!) and the OS provides common cursors (which those
desktop people get to use for their RIAs!), I'd think Flash could
provide some native cursor functionality.

So, I'm looking to solve that problem and am curious what's worked for
folks...

- I'd love to see Adobe provide a native, common cursors API in a
future Flash Player. Doing cursors within the Flash engine is great
from a flexibility perspective, but its pretty obvious (in many apps)
when the cursor "disappears" over the Flash content and becomes an
in-Flash cursor (affected by the app's framerate, etc.). The big
advantage of native cursors is that they are silky smooth and the user
is guaranteed to be familiar with them (since their the OS's common
cursors).

- In lieu of Adobe providing a native cursor API, there's obviously
the DisplayList-based cursor API. For that API, I'm curious if anyone
has a good source of common cursor SWF/GIF/PNGs? Sure, I could go grab
some from the web somewhere, but I figured there was an "official" set
of images somewhere that's used by open-source products like Firefox
or used by the Linux crowd... googling "cursors" is fairly frustrating
with all the MySpace-nausea animated GIFs out there.

- I did have a crazy idea of how to get native cursors in Flash, and
I'm curious if anyone has tried this or could suggest its viability
before I start doing the grunt work. If I set the "cursors" CSS style
for my Flash embed (the object/embed element in the HTML), is the
Flash Player going to respect that or override it with its own cursor
management? If it respects it, a possibility would be to call from
Flash to JavaScript and ask it to change the cursor on the embed, thus
getting my native (or at least browser-native, which virtually always
maps to the OS native) cursors...

Any ideas, suggestions, tips, links... all appreciated and welcomed!

Troy.




[flexcoders] Autoresizable columns

2008-03-27 Thread markgoldin_2000
Is there a way of sizing dataGrid columns to always show their headers 
no matter how wide they are and if it needed then show a horizontal 
scrollbar? Something like column.insureHeaderIsShown = true :)

Thanks



Re: [flexcoders] How to remove space at the end of line chart when using disabledDays = "[6,0]"!

2008-03-27 Thread Jim Cheng
It's a Flex 3 charting bug alright.  This was originally reported about 
9 months ago during the beta cycle on the Flex bugbase and was later 
closed by Adobe with a resolution of Cannot Fix for what I believe to be 
a rather spurious reason, see:

https://bugs.adobe.com/jira/browse/FLEXDMV-963

Contrary to what's reported in the comments on that bug, the problem is 
actually not too difficult to fix provided you have access to the source 
code (e.g. using Flex Builder 3 Pro) and are willing to do a little bit 
of subclassing or monkey-patching to fix the issue.  Read on if you're 
interested.

The basic problem is that the DateTimeAxis class does not correctly 
calculate the total space available for charting when disabledDays 
and/or disabledRanges is enabled.  This is always taken to be the 
difference between computedMaximum and computedMinimum (as seen in the 
transformCache, buildLabelCache and buildMinorTickCache methods).

However, this calculation becomes wrong when there are disabled ranges, 
as it yields a total span that's now too large (not accounting for the 
ranges that have been removed).  The visual consequence of this is that 
the chart now appears to be condensed to the left.

The available space should instead be taken to be the difference between 
computedMaximum and computedMinimum, with the following term also 
subtracted (in the context of the DateTimeAxis class):

   dateRangeUtilities.calculateDisabledRange(computedMinimum,
 computedMaximum);

This additional term accounts for the space that is removed by the 
disabled ranges (or days), and consequently allows the chart's axis and 
elements to correctly take up the full available width.

To make a simple monkey-patch to fix this, you can copy the contents of 
Adobe's DateTimeAxis class into your own class path, doing a search and 
replace on all instances in the file like so (removing quotes and excess 
whitespace for formatting):

Find: "computedMaximum - computedMinimum"

Replace with: "computedMaximum - computedMinimum -
   dateRangeUtilities.calculateDisabledRange(computedMinimum,
   computedMaximum);"

You can also do this as a subclass, but that's somewhat trickier since 
the methods that you'll need to override make references to a number of 
private variables and methods of DateTimeAxis.

As an aside, perhaps someone at Adobe might want to consider evaluating 
this patch for possible inclusion into the Flex 3 Charting codebase.  I 
haven't found any other side effects in testing and my own use of this 
change, and it correctly handles the test case from the JIRA bug listed
at the top of message.

Jim



buithanhtuu wrote:

> I'm using chart of flex 3. When I use Linechart with DateTimeAxis
> tag, in this tag i used property disabledDays = "[6,0]" then weekend
> days did not show on chart, but a lot of white space are show at the
> end of chart. So, the width of line chart is not scale full the width
> of chart.
> 
> I used sample from this link 
> http://livedocs.adobe.com/flex/3/html/help.html?content=charts_displayingdata_04.html
>  
> 
> 
> 
> Could you please help me fix this problem or this is bugs of chart in
>  flex 3 ?


  1   2   >