[flexcoders] Bar chart horizontal date-time axis

2008-02-09 Thread hworke


   Hi,

   I am trying to create a bar chart which has a horizontal
   date-time axis. Each bar will have two dates and the length
   of the bar will indicate the duration of an item in terms
   of days. BTW the vertical axis of the graph is a category 
   axis. Any suggestions...

   Regards



Re: [flexcoders] GOLD color for a bad chart

2008-02-09 Thread Vivian Richard
Thanks for the link. I guess in this page they are just using one
yellow color which is closest to gold color. I have seen Ely's
code where he used color combination which is more close
to gold color. Here is the link:

   http://demo.quietlyscheming.com/ChartSampler/app.html

  please click the style folder and click the Fills-
  as you can see the columns looks very much
  like 3D gold bard but not exactly like GOLD.

 I am sure someone with very good idea about color can combine
 colors to make it exactly look like gold BARS...

 The color combination that Ely used for the above example is:









 regards





On Feb 9, 2008 9:29 PM, Sherif Abdou <[EMAIL PROTECTED]> wrote:

>   look all the way down, it might help
> http://en.wikipedia.org/wiki/Gold_(color
> )
>
> - Original Message 
> From: hworke <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, February 9, 2008 11:18:28 PM
> Subject: [flexcoders] GOLD color for a bad chart
>
>
>
> Hi, I am not a color specialist but trying to
> make the bars of my barchart look like GOLD
> bars, just metallic gold color. Which color
> combination do I need for that? Please suggest.
>
> Best regards...
>
>
>
> --
> Never miss a thing. Make Yahoo your 
> homepage.
> 
>


RE: [flexcoders] Re: PopUp Containers and Scrolling Issues

2008-02-09 Thread Alex Harui
Try adding minHeight=0 to the HBox as well.  Think of minHeight=0 as
"you can be smaller than your measured height".   This propagates down
from the top so the TitleWindow will ask the HBox for its measuredHeight
which will include the tallest VBox, so the HBox needs to allow itself
to be shrunk below that value and the VBox does as well and when it
does, it should sprout scrollbars.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Friday, February 08, 2008 4:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: PopUp Containers and Scrolling Issues

 

it is very strange to me indeed. I tried setting minHeight to 0 to no
avail. I am thinking it has to do with being inside of a popup box but
even so, a local variable declaration should override the container
declaration , correct?
here is an abbreviated version of the code. Currently the scrollbar
wont show up unless I enable verticalScrollpolicy in the titleWindow
header:


http://www.adobe.com/2006/mxml
 "
layout="absolute" minWidth="740" 
maxWidth="780" maxHeight="580" themeColor="haloBlue" 
backgroundColor="#E1E1E1" 
creationComplete="defaultButton=watchMovieButton;
watchMovieButton.setFocus(); onInit()"
showCloseButton ="false" horizontalScrollPolicy="off"
verticalScrollPolicy="off">
















/* THIS IS THE VBOX I WANT TO SCROLL */ 






 that gets scrollbars. Set minHeight=0 on whatever container you want
to
> have the scrollbar.
> 
> 
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of Corey Smaller
> Sent: Friday, February 08, 2008 2:28 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] PopUp Containers and Scrolling Issues
> 
> 
> 
> ok, I have two VBoxes in my popup. and if the content on the left Vbox
> is greater than the hieght of the popup window a Vscroll bar should
> be present. So, I only want the VBox on the right to scroll, not all
> the popup content. 
> 
> When I change the  NO
> Vscrollbars are allowed, even if at a local level in the VBox i enable
> the VScrollpolicy. anyone know how to get around this?
>

 



Re: [flexcoders] GOLD color for a bad chart

2008-02-09 Thread Sherif Abdou
look all the way down, it might help
http://en.wikipedia.org/wiki/Gold_(color)


- Original Message 
From: hworke <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 11:18:28 PM
Subject: [flexcoders] GOLD color for a bad chart



Hi, I am not a color specialist but trying to
make the bars of my barchart look like GOLD
bars, just metallic gold color. Which color
combination do I need for that? Please suggest.

Best regards...





  

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


[flexcoders] GOLD color for a bad chart

2008-02-09 Thread hworke


   Hi, I am not a color specialist but trying to
   make the bars of my barchart look like GOLD
   bars, just metallic gold color. Which color
   combination do I need for that? Please suggest.

   Best regards...



RE: [flexcoders] Re: Not getting runtime errors

2008-02-09 Thread Alex Harui
Make sure you have a debugger player installed

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of tomeuchre
Sent: Saturday, February 09, 2008 4:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Not getting runtime errors

 

--- In flexcoders@yahoogroups.com 
, "Larry Mahar" <[EMAIL PROTECTED]> wrote:
>
> I have been using Flex for 6 months and suddenly this week I am no 
> longer getting runtime errors which is making it very dificult to 
> debug. Does anyone know what would cause runtime errors to be 
disabled?
>
Yes. After six months, perhaps you have fixed all of your bugs. I know 
that having error-free code can be a hard thing to handle, and most 
programmers will never see that day. So, enjoy it while you can.

 



RE: [flexcoders] Bug when extending in Flex a component created in Flash CS3 ??

2008-02-09 Thread Alex Harui
Try

 

public dynamic class TestExtended extends Test



 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João
Sent: Saturday, February 09, 2008 8:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bug when extending in Flex a component created in Flash 
CS3 ??

 

After some hours fighting, I've tried to create the simplest test case
to solve one problem I was having with a component created in Flash
CS3 and exported to Flex.

I have created in Flash CS3 a very simple component:

- One MovieClip "Test" (without code or graphics)
- Inside that MovieClip, another one (without code or graphics) with
an instance name set "myMC"

Then I used Flex Component Kit for Flash CS3 to export the SWC of the
"Test" component. 

In Flex Builder, I've started creating an instance of the Flash CS3
component on an empty MXML Application file. Compiled. Worked fine.

Then, I decided to create the extended version of my component. So:

package pt.webfuel.view.components
{
public class TestExtended extends Test
{
}
}

Then I changed my MXML Application file so that is calls the extended
version:



Compiled without errors. But after opening on the browser, I get an
exception: 

ReferenceError: Error #1056: Cannot create property myMC on
pt.webfuel.view.componentes.TestExtended.
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at
mx.flash::UIMovieClip()[E:\dev\flex_3_beta3\sdk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:475]

[etc. If you need the full message, please ask]

Am I missing something here, or is this a bug? 
Should I file this on the Flex bugbase?

Also, is there a solution? This is creating us a lot of troubles :|

Thanks, 

João Saleiro

 



RE: [flexcoders] DataGrid limit on amount of records or data?

2008-02-09 Thread Merrill, Jason
As a side note, taking a step back, why would you want to present that
many records at a time to the user?  It seems anything above a few
hundred is overly cumbersome to wade through, and should perhaps instead
be filtered further.   No?
 

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

Bank of America Flash Platform Developer Community 



 




From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui
Sent: Saturday, February 09, 2008 11:12 PM
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: RE: [flexcoders] DataGrid limit on amount of records or
data?





The only limit should be the amount of memory, not some number.
What problem did you see when you got above 5000?







From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Luke Vanderfluit
Sent: Saturday, February 09, 2008 4:36 PM
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcoders] DataGrid limit on amount of records or
data?



Hi.

Im using flex with a hibernate backend.
I have tables in a db that Id like to show using Datagrid.
I have done tests and found that there is a limit to the number
of 
records shown in the datagrid.

Is this a limitation of the datagrid?
How do I get around this?

I currently am able to show around 5000 records.
When I have tables of say 1 or 10 records, how do I show
them?

Thanks.
Kind regards.
Luke.





 



[flexcoders] How to implement the ItemRenderer container?

2008-02-09 Thread Manuel Saint-Victor
Good morning flexcoders.  I'm trying to figure out how I would create a
subclass of the Canvas component that would be able to contain
itemrenderers.  Can someone please direct me to a tutorial or resource about
what requirements the container must meet to be able to do this?

Thanks,
Mani


RE: [flexcoders] Browser Sensitive Editable DataGrid

2008-02-09 Thread Alex Harui
Please use a debug build so we get line numbers in the stack trace, then
post the stack trace.

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jon Harris
Sent: Saturday, February 09, 2008 10:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Browser Sensitive Editable DataGrid

 


This is my own response to my sourpuss missive re mx:DataGrid and it
erupting in a RTE on a simple "hold down the tab key stress test"

My app WORKS* in MSIE 6.z  (that is, no RTE dialog)

The same URL fails in Mozilla Firefox 2.0.0.12   and Opera 9.25 - pretty
much identically.


I am unwilling to present the URL here because it's a work in progress
and I don't have time to slice out the minimal code to produce the
error.

However, let it be known, "computers suck" and they suck more or less
depending on what software you're running.


* well, on this test MSIE goes into a mode where it starts
tabbing-backtabbing between columns one, two and three on the second
data row, but after clicking away from there, the test runs normally.


==

How can ppl confuse "their" and "there"  - "there" has "here" in it, and
tho! se are both prepositional pronouns (i.e., places).  That should be
enough clue.  Likewise with "were" and "where"

I have many more grammar lessons, but no-one cares.












TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at mx.controls::DataGrid/itemEditorItemEditBeginHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::DataGrid/commitEditedItemPosition()
at mx.controls::DataGrid/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
&nbs! p;   at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

  



Looking for last minute shopping deals? Find them fast with Yahoo!
Search.
 

 



RE: [flexcoders] autoscroll base on control with focus

2008-02-09 Thread Alex Harui
Watch for "focusIn" on the canvas.  Any child that gets focus will
bubble that to the canvas and then you can find its position and scroll
to it

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dbronk
Sent: Saturday, February 09, 2008 8:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] autoscroll base on control with focus

 

I have an input page where the inputs go off the bottom of the canvas
causing a vertical scroll bar. How can I auto scroll so that which
ever control has focus is in the viewable area?

Thanks,
Dale

 



RE: [flexcoders] DataGrid limit on amount of records or data?

2008-02-09 Thread Alex Harui
The only limit should be the amount of memory, not some number.  What
problem did you see when you got above 5000?

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Luke Vanderfluit
Sent: Saturday, February 09, 2008 4:36 PM
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Subject: [flexcoders] DataGrid limit on amount of records or data?

 

Hi.

Im using flex with a hibernate backend.
I have tables in a db that Id like to show using Datagrid.
I have done tests and found that there is a limit to the number of 
records shown in the datagrid.

Is this a limitation of the datagrid?
How do I get around this?

I currently am able to show around 5000 records.
When I have tables of say 1 or 10 records, how do I show them?

Thanks.
Kind regards.
Luke.

 



[flexcoders] autoscroll base on control with focus

2008-02-09 Thread dbronk
I have an input page where the inputs go off the bottom of the canvas
causing a vertical scroll bar.  How can I auto scroll so that which
ever control has focus is in the viewable area?

Thanks,
Dale



Re: [flexcoders] Re: Getting values from a tileList to appear on a popup

2008-02-09 Thread Sherif Abdou
All Right so here is what you need to do


http://www.adobe.com/2006/mxml"; 
layout="vertical" width="900" height="900">



10 Cane
Rum
White
 the description
assets/ pictures/ 10cane_rum. png
1






 

itemClick="showPopUp();" 
/>



http://www.adobe.com/2006/mxml"; 
creationComplete= "popUpCenter( );" showCloseButton= "true" 
close="PopUpManager .removePopUp( this)" 
width="200" height="450" 
title="{data.brand}">









- Original Message 
From: Ben Dover <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 5:44:03 PM
Subject: [flexcoders] Re: Getting values from a tileList to appear on a popup

My xml file looks like this:


10 Cane
Rum
White< /subtype>
 the description< /description>
assets/ pictures/ 10cane_rum. png
1


Basically, i have a lot of  tags with all their relevant
information stored in the same manner, and the image appears on the
tileList, so when I click on each image I want it to open up a popup
with the description etc.

--- In [EMAIL PROTECTED] ups.com, Sherif Abdou <[EMAIL PROTECTED] ..> wrote:
>
> what does ur xml look like
> 
> 
> - Original Message 
> From: Ben Dover <[EMAIL PROTECTED] ..>
> To: [EMAIL PROTECTED] ups.com
> Sent: Saturday, February 9, 2008 12:50:56 AM
> Subject: [flexcoders] Getting values from a tileList to appear on a
popup
> 
> Hello, I'm very new to flex, and I'm trying to develop an application
> that acts lik an online store. In my program I am laying out my items
> using tileList, and what I want it to do is that when I click each
> object in the tileList, I want a pop up window to show up with
> information about the product. 
> 
> I'm having trouble understanding how to bind the selectedItem and
> passing values from that to the popup window, pointing me in the right
> direction or some form of an example would be extremely helpful. 
> 
> Thanks in advance!!
> 
> -Hoi
> 
> --
> 
> Code for my main application "Test.mxml":
> 
>  xmlns:mx="http://www.adobe. com/2006/ mxml" 
> horizontalAlign= "center" verticalAlign= "middle"
> width="960" height="540"
> layout="absolute"
> backgroundColor= "white"
> >
> 
> 
> 
> 
> 
> 
> 
>  id="mainPanel1"
> width="700" height="100% " 
> layout="horizontal"
> headerHeight= "0" borderStyle= "solid"
> shadowDistance= "0" borderThickness= "1" cornerRadius= "0" alpha="1"
> borderColor= "#00" > 
> 
> 
>  id="List"
> 
> width="100%" height="100% " 
> rowHeight="200" columnWidth= "85"
> verticalAlign= "middle" horizontalCenter= "5"
> rollOverColor= "#00" selectionColor= "#FF"
> 
> dataProvider= "{products. bottle}"
> itemRenderer= "TileListItemRen derer"
> itemClick="showPopU p();" 
> />
> 
> 
> 
>  
> 
> Code for my pop up window "ViewWindow. mxml":
> 
> 
>  xmlns:mx="http://www.adobe. com/2006/ mxml" 
> creationComplete= "popUpCenter( );" showCloseButton= "true" 
> close="PopUpManager .removePopUp( this)" 
> width="800" height="450" 
> title="{data. selectedItem. brand}">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
 _ _ _ _ _ _
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile. Try it now. 
http://mobile. yahoo.com/ ;_ylt=Ahu06i62sR 8HDtDypao8Wcj9tA cJ
>





  

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


[flexcoders] Re: Getting values from a tileList to appear on a popup

2008-02-09 Thread Ben Dover
My xml file looks like this:


10 Cane
Rum
White
the description
assets/pictures/10cane_rum.png
1


Basically, i have a lot of  tags with all their relevant
information stored in the same manner, and the image appears on the
tileList, so when I click on each image I want it to open up a popup
with the description etc.

--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> what does ur xml look like
> 
> 
> - Original Message 
> From: Ben Dover <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, February 9, 2008 12:50:56 AM
> Subject: [flexcoders] Getting values from a tileList to appear on a
popup
> 
> Hello, I'm very new to flex, and I'm trying to develop an application
> that acts lik an online store. In my program I am laying out my items
> using tileList, and what I want it to do is that when I click each
> object in the tileList, I want a pop up window to show up with
> information about the product. 
> 
> I'm having trouble understanding how to bind the selectedItem and
> passing values from that to the popup window, pointing me in the right
> direction or some form of an example would be extremely helpful. 
> 
> Thanks in advance!!
> 
> -Hoi
> 
> --
> 
> Code for my main application "Test.mxml":
> 
>  xmlns:mx="http://www.adobe. com/2006/ mxml" 
> horizontalAlign= "center" verticalAlign= "middle"
> width="960" height="540"
> layout="absolute"
> backgroundColor= "white"
> >
> 
> 
> 
> 
> 
> 
> 
>  id="mainPanel1"
> width="700" height="100% " 
> layout="horizontal"
> headerHeight= "0" borderStyle= "solid"
> shadowDistance= "0" borderThickness= "1" cornerRadius= "0" alpha="1"
> borderColor= "#00" > 
> 
> 
>  id="List"
> 
> width="100%" height="100% " 
> rowHeight="200" columnWidth= "85"
> verticalAlign= "middle" horizontalCenter= "5"
> rollOverColor= "#00" selectionColor= "#FF"
> 
> dataProvider= "{products. bottle}"
> itemRenderer= "TileListItemRen derer"
> itemClick="showPopU p();" 
> />
> 
> 
> 
>  
> 
> Code for my pop up window "ViewWindow. mxml":
> 
> 
>  xmlns:mx="http://www.adobe. com/2006/ mxml" 
> creationComplete= "popUpCenter( );" showCloseButton= "true" 
> close="PopUpManager .removePopUp( this)" 
> width="800" height="450" 
> title="{data. selectedItem. brand}">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  

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




Re: [flexcoders] DataGrid limit on amount of records or data?

2008-02-09 Thread Sherif Abdou
I think that is a the limit for the flash player, i remb someone made a post a 
while back on the same thing. Alot of people just said to do a paged since 
there is no way someone is going to look at 5000 or 10 records. So maybe 
load up 1000 then page the DataGrid.


- Original Message 
From: Luke Vanderfluit <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com; [EMAIL PROTECTED]
Sent: Saturday, February 9, 2008 6:36:14 PM
Subject: [flexcoders] DataGrid limit on amount of records or data?

Hi.

Im using flex with a hibernate backend.
I have tables in a db that Id like to show using Datagrid.
I have done tests and found that there is a limit to the number of 
records shown in the datagrid.

Is this a limitation of the datagrid?
How do I get around this?

I currently am able to show around 5000 records.
When I have tables of say 1 or 10 records, how do I show them?

Thanks.
Kind regards.
Luke.




  

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


[flexcoders] DataGrid limit on amount of records or data?

2008-02-09 Thread Luke Vanderfluit
Hi.

Im using flex with a hibernate backend.
I have tables in a db that Id like to show using Datagrid.
I have done tests and found that there is a limit to the number of 
records shown in the datagrid.

Is this a limitation of the datagrid?
How do I get around this?

I currently am able to show around 5000 records.
When I have tables of say 1 or 10 records, how do I show them?

Thanks.
Kind regards.
Luke.


[flexcoders] FB watch expression for a singleton object

2008-02-09 Thread Mike Chabot
In FB3 debug mode I want to be able to observe the value of my
singleton object at any time. However, if I write
"ModelLocator.getInstance()" as a watch expression I get the error of
"No such variable: ModelLocator," which is true since this is not a
local variable to the page, unless my breakpoint is inside of the
ModelLocator file.

How do I watch this value without having to put a breakpoint in the
ModelLocator file and without having to put in a throw-away local
variable such as x = ModelLocator.getInstance(), which would allow me
to watch x.

The debug watch Expression box allows for typing many lines of code,
but I'm not exactly sure what I'm allowed to type in terms of actual
programming code in this box and the manual wasn't of much help.

Thank you,
Mike Chabot


[flexcoders] cairngorm generator

2008-02-09 Thread markflex2007
Hi,

I try one online but it hard to use.

Do you know which one is easy to use? the tool only create site structure.

Thanks

Mark



[flexcoders] Browser Sensitive Editable DataGrid

2008-02-09 Thread Jon Harris

This is my own response to my sourpuss missive re mx:DataGrid and it erupting 
in a RTE on a simple "hold down the tab key stress test"

My app WORKS* in MSIE 6.z  (that is, no RTE dialog)

The same URL fails in Mozilla Firefox 2.0.0.12   and Opera 9.25 - pretty much 
identically.


I am unwilling to present the URL here because it's a work in progress and I 
don't have time to slice out the minimal code to produce the error.

However, let it be known, "computers suck" and they suck more or less depending 
on what software you're running.


* well, on this test MSIE goes into a mode where it starts tabbing-backtabbing 
between columns one, two and three on the second data row, but after clicking 
away from there, the test runs normally.


==

How can ppl confuse "their" and "there"  - "there" has "here" in it, and those 
are both prepositional pronouns (i.e., places).  That should be enough clue.  
Likewise with "were" and "where"

I have many more grammar lessons, but no-one cares.












TypeError: Error #1009: Cannot access a property or method of a null object 
reference.
at mx.controls::DataGrid/itemEditorItemEditBeginHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls::DataGrid/commitEditedItemPosition()
at mx.controls::DataGrid/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()


   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[flexcoders] Re: mx:Image memory leak

2008-02-09 Thread Damien Legros
Thanks for your replies :)

After doing some investigations and tests, i arrive to these results:


Test: Browsing 10 pictures (+/- 400Kb/pic)

With flex 3:

- System.totalMemory = 20Mb
- Task manager (IE7) = Stabilized around 94Mb


With flex 2.0.1:

- System.totalMemory = 19Mb
- Task manager (IE7) = Stabilized around 165Mb

The only difference between both versions is thats i'm calling the
System.gc() every 10 seconds with the flex3 version.


So i'm feeling better now, i was scared that i would have to recreate
all these image-intensive modules, fortunately that won't be necessary!


Damien


--- In flexcoders@yahoogroups.com, "Eric Cancil" <[EMAIL PROTECTED]> wrote:
>
> Also, if youre using even listeners make sure you clean those up /
use weak
> references.  This issue can most likely be significantly tamed with
some due
> diligence on your behalf
> 
> On Feb 8, 2008 10:29 PM, Gaurav Jain <[EMAIL PROTECTED]> wrote:
> 
> >   Hi Damien,
> >
> > High memory usage doesn't necessarily mean memory is leaking. You can
> > use the profiler in Flex Builder 3 and investigate if the memory is
> > getting reclaimed or not. If you find the memory is leaking, you can
> > use the object references panel to investigate why the objects are not
> > getting GCed.
> >
> > Profiler in FB3 can be used even if swf is compiled with Flex 2.0.1
> > (as long as it is compiled in debug mode).
> >
> > Also before the load() method, you may try the following:
> >
> > imgPic.source = "";
> >
> > Thanks,
> > Gaurav
> >
> > --- In flexcoders@yahoogroups.com ,
"Damien
> > Legros" 
> >
> > wrote:
> > >
> > > Hi there!
> > >
> > > We are in the last development step of our new cms product. We
> > > developed it with flex (2.0.1) and it is time to improve its
> > > performances a little bit ;)
> > >
> > > When used intensively we noticed an abnormal memory usage (over
1Gb in
> > > both IE7 and FF).
> > > The memory leak has been located in our code near the mx:Image
loading
> > > procedures.
> > >
> > >
> > >
> > > Basically, we have a "picture viewer", with next/previous
buttons etc.
> > > The loading code looks like that:
> > >
> > > var url:String = ;
> > > imgPic.load(url + "/" + _listPics[_curPic]);
> > >
> > > And the Image component:
> > >
> > >  > > completeEffect="{effFade}" />
> > >
> > >
> > >
> > > After some researches, it seems that this is a known issue, so my
> > > question is: will it be fixed in flex 3 or/and is there a "hack" to
> > > prevent this memory leak?
> > >
> > > Thanks in advance,
> > > Damien
> > >
> >
> >  
> >
>




Re: [flexcoders] Getting values from a tileList to appear on a popup

2008-02-09 Thread Sherif Abdou
what does ur xml look like


- Original Message 
From: Ben Dover <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 12:50:56 AM
Subject: [flexcoders] Getting values from a tileList to appear on a popup

Hello, I'm very new to flex, and I'm trying to develop an application
that acts lik an online store. In my program I am laying out my items
using tileList, and what I want it to do is that when I click each
object in the tileList, I want a pop up window to show up with
information about the product. 

I'm having trouble understanding how to bind the selectedItem and
passing values from that to the popup window, pointing me in the right
direction or some form of an example would be extremely helpful. 

Thanks in advance!!

-Hoi

--

Code for my main application "Test.mxml":

http://www.adobe. com/2006/ mxml" 
horizontalAlign= "center" verticalAlign= "middle"
width="960" height="540"
layout="absolute"
backgroundColor= "white"
>







 






 

Code for my pop up window "ViewWindow. mxml":


http://www.adobe. com/2006/ mxml" 
creationComplete= "popUpCenter( );" showCloseButton= "true" 
close="PopUpManager .removePopUp( this)" 
width="800" height="450" 
title="{data. selectedItem. brand}">















  

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


[flexcoders] where to set Styles

2008-02-09 Thread Sherif Abdou
Best practices is it done in the createChildren or doing it here is fine to set 
the styles of custom buttons etc..?

/**
* 
* Set the Style of the Button and Indicator here
*/
override public function styleChanged(styleProp:String):void{
super.styleChanged(styleProp);
if(closeButton && !closeButton.styleName){
closeButton.styleName =getStyle("tabCloseButtonStyle");
}
}
 



  

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

RE: [flexcoders] Changing defaultButton programatically

2008-02-09 Thread Carl Vorster
Yes, this is it, perfect.

 

Thanks guys !!!

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Saturday, February 09, 2008 7:38 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Changing defaultButton programatically

 

you mean like this or am i misunderstanding something

private function swapFunc():void

{

defaultButton=button2; 

}

 

- Original Message 
From: Carl Vorster <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 11:26:56 AM
Subject: RE: [flexcoders] Changing defaultButton programatically

Hi,

 

Maybe I'm not explaining properly.

 

Here's some code; I've got three buttons in the code. With creation the
default button is set to button1; so when I press enter, button1's function
is being called.

What I want to do is press the swap button and then change the default
button from button1 to button2 so when I press enter, button2's function is
being called.

 



http://www.adobe. com/2006/ mxml"
layout="absolute"

defaultButton="{button1}"

creationComplete="initApp()">





























 

 

Thanks

 

Car

 

  _  

From: [EMAIL PROTECTED] ups.com   [mailto:
[EMAIL PROTECTED] ups.com   ] On Behalf Of Sherif Abdou
Sent: Saturday, February 09, 2008 6:49 PM
To: [EMAIL PROTECTED] ups.com  
Subject: Re: [flexcoders] Changing defaultButton programatically

 

you can make that button invisible and the other visibile, have diffrent
skins.

- Original Message 
From: Carl Vorster http://gmail.com/> >
To: [EMAIL PROTECTED] ups.com  
Sent: Saturday, February 9, 2008 9:26:24 AM
Subject: [flexcoders] Changing defaultButton programatically

Hi,

 

I've got a Panel with a default button, but would like to change the default
button to another button when a certain event occurs.

 

Can someone point me in the right direction to do this?

 

Thanks in advance

 

Carl 

 

 

  _  

Never miss a thing. Make Yahoo your homepage.
  

 

 

  _  

Never miss a thing. Make Yahoo
  your homepage.


 



RE: [flexcoders] Changing defaultButton programatically

2008-02-09 Thread Dealy, Brian
sheriff: 

 my answer overlooked the obvious simple answer  you mentioned below:

the defaultbutton is available for the application control without
having to reference an id

as would be needed in other containers.  it's still early here in
California!

 

 

regards.

Brian

 

 

From:
[EMAIL PROTECTED]
hoo.com
[mailto:[EMAIL PROTECTED]
roups.yahoo.com] On Behalf Of Sherif Abdou
Sent: Saturday, February 09, 2008 9:38 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Changing defaultButton programatically

 

you mean like this or am i misunderstanding something

private function swapFunc():void

{

defaultButton=button2; 

}

 

- Original Message 
From: Carl Vorster <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 11:26:56 AM
Subject: RE: [flexcoders] Changing defaultButton programatically

Hi,

 

Maybe I'm not explaining properly...

 

Here's some code; I've got three buttons in the code. With creation the
default button is set to button1; so when I press enter, button1's
function is being called.

What I want to do is press the swap button and then change the default
button from button1 to button2 so when I press enter, button2's function
is being called.

 



http://www.adobe. com/2006/ mxml"
layout="absolute"

defaultButton="{button1}"

creationComplete="initApp()">





























 

 

Thanks

 

Car

 



From: [EMAIL PROTECTED] ups.com   [mailto:
[EMAIL PROTECTED] ups.com   ] On Behalf Of Sherif
Abdou
Sent: Saturday, February 09, 2008 6:49 PM
To: [EMAIL PROTECTED] ups.com  
Subject: Re: [flexcoders] Changing defaultButton programatically

 

you can make that button invisible and the other visibile, have diffrent
skins.

- Original Message 
From: Carl Vorster http://gmail.com/> >
To: [EMAIL PROTECTED] ups.com  
Sent: Saturday, February 9, 2008 9:26:24 AM
Subject: [flexcoders] Changing defaultButton programatically

Hi,

 

I've got a Panel with a default button, but would like to change the
default button to another button when a certain event occurs.

 

Can someone point me in the right direction to do this?

 

Thanks in advance

 

Carl 

 

 



Never miss a thing. Make Yahoo your homepage.
  

 

 



Never miss a thing. Make Yahoo your homepage.
  

 



Re: [flexcoders] Changing defaultButton programatically

2008-02-09 Thread Sherif Abdou
you mean like this or am i misunderstanding something
private function swapFunc():void
{
defaultButton=button2; 
}



- Original Message 
From: Carl Vorster <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 11:26:56 AM
Subject: RE: [flexcoders] Changing defaultButton programatically

Hi,
 
Maybe I’m not explaining properly…
 
Here’s some code; I’ve got three buttons in the code. With creation the default 
button is set to button1; so when I press enter, button1’s function is being 
called.
What I want to do is press the swap button and then change the default button 
from button1 to button2 so when I press enter, button2’s function is being 
called.
 

http://www.adobe. com/2006/ mxml" layout="absolute"
defaultButton="{button1}"
creationComplete="initApp()">














 
 
Thanks
 
Car
 



From: [EMAIL PROTECTED] ups.com [mailto: [EMAIL PROTECTED] ups.com ] On Behalf 
Of Sherif Abdou
Sent: Saturday, February 09, 2008 6:49 PM
To: [EMAIL PROTECTED] ups.com
Subject: Re: [flexcoders] Changing defaultButton programatically
 
you can make that button invisible and the other visibile, have diffrent skins.
- Original Message 
From: Carl Vorster 
To: [EMAIL PROTECTED] ups.com
Sent: Saturday, February 9, 2008 9:26:24 AM
Subject: [flexcoders] Changing defaultButton programatically
Hi,
 
I’ve got a Panel with a default button, but would like to change the default 
button to another button when a certain event occurs.
 
Can someone point me in the right direction to do this?
 
Thanks in advance
 
Carl 
 
 



Never miss a thing. Make Yahoo your homepage. 



  

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

RE: [flexcoders] Changing defaultButton programatically

2008-02-09 Thread Carl Vorster
Hi,

 

Maybe I'm not explaining properly.

 

Here's some code; I've got three buttons in the code. With creation the
default button is set to button1; so when I press enter, button1's function
is being called.

What I want to do is press the swap button and then change the default
button from button1 to button2 so when I press enter, button2's function is
being called.

 



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

defaultButton="{button1}"

creationComplete="initApp()">





























 

 

Thanks

 

Car

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sherif Abdou
Sent: Saturday, February 09, 2008 6:49 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Changing defaultButton programatically

 

you can make that button invisible and the other visibile, have diffrent
skins.

- Original Message 
From: Carl Vorster <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 9:26:24 AM
Subject: [flexcoders] Changing defaultButton programatically

Hi,

 

I?ve got a Panel with a default button, but would like to change the default
button to another button when a certain event occurs.

 

Can someone point me in the right direction to do this?

 

Thanks in advance

 

Carl 

 

 

  _  

Never miss a thing. Make Yahoo
  your homepage.


 



Re: [flexcoders] Changing defaultButton programatically

2008-02-09 Thread Sherif Abdou
you can make that button invisible and the other visibile, have diffrent skins.


- Original Message 
From: Carl Vorster <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 9:26:24 AM
Subject: [flexcoders] Changing defaultButton programatically

Hi,
 
I’ve got a Panel with a default button, but would like to change the default 
button to another button when a certain event occurs.
 
Can someone point me in the right direction to do this?
 
Thanks in advance
 
Carl 



  

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

[flexcoders] Re: Remote Object Security

2008-02-09 Thread barry.beattie

"you can create a persistent instance
of a remote object, set credentials on it after the user successfully
logs in, and then continue to use it without fear of any session
timeout"

ah ha! sounds great.

thanks Jeff ... you wouldn't happened to have blogged this at all, by
chance?

 



RE: [flexcoders] Re: issues with multiple module and HTTPService

2008-02-09 Thread Seth Hodgson
I haven't worked with modules directly. It looks like you'll want to get
modules using the manager but then add listeners to the returned
IModuleInfo handles to wait for them to actually load and be properly
inited before attempting to use them. You could probably chain your
calls to getModule() in order to serialize their loading based on
listening for 'ready' events, or get all of them but use a guard
conditions to stall any dependent processing until you've heard back
that they're ready. Maybe others who work with modules day to day can
offer more guidance.

Best,
Seth 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ezderman
Sent: Saturday, February 09, 2008 6:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: issues with multiple module and HTTPService



Thanks Seth, It looks like the problem is loading them concurrently.
When I am loading them with Timer class 2 secs apart it behave fine.
The way I am loading my module is by loading the module instance once
with the ModuleManager and then getting its factory like that:
moduleEvent.module.factory.create() and going thru a for loop to
create the rest. how can I know when module is completely loading and
ready to load the next one. Is there any event that I can listen to
when the module completely loads??
Thanks

--- In flexcoders@yahoogroups.com 
, "Seth Hodgson" <[EMAIL PROTECTED]> wrote:
>
> Have you defined a useProxy attribute for your HTTPService: E.g.
>  ?
> 
> By default, this attribute is false. It sounds like you're not using a
> proxy and just making direct requests to your jhtml page from the
> player. I see one bug in the bugbase related to HTTPService and
modules
> which was closed as user error (a class loading issue). Have you tried
> loading your modules one at a time to confirm they behave correctly on
> their own? If that works, but loading and using them concurrently is
> failing, please log a bug here along with a simple test case if
> possible: https://bugs.adobe.com/flex/  
> 
> Thanks,
> Seth
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com 
] On
> Behalf Of ezderman
> Sent: Friday, February 08, 2008 7:07 PM
> To: flexcoders@yahoogroups.com  
> Subject: [flexcoders] Re: issues with multiple module and HTTPService
> 
> 
> 
> sorry but what do you mwan by proxied httpservice. It is jhtml page
> that produce xml. can you reffer me to a link that address this issue?
> 
> Thanks
> 
> --- In flexcoders@yahoogroups.com


> , "Seth Hodgson"  wrote:
> >
> > Are these proxied or non-proxied HTTPServices?
> > 
> > If proxied, you need to use a shared set of destinations and
channels
> > defined in your root swf currently.
> > 
> > Best,
> > Seth 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com


> [mailto:flexcoders@yahoogroups.com


> ] On
> > Behalf Of ezderman
> > Sent: Friday, February 08, 2008 2:44 PM
> > To: flexcoders@yahoogroups.com 
 
> > Subject: [flexcoders] issues with multiple module and HTTPService
> > 
> > 
> > 
> > Hi,
> > 
> > I am loading the same 5 modules in my app. Each module is using 
> > HTTPService to get an xml file. Each module is waiting on
ResultEvent 
> > however only the first module get the result event. Actually the
first
> 
> > module get 5 ResultEvent from all the other module.
> > 
> > anyone came accross this issue?
> > 
> > Thanks
> > -mo
> >
>



 


[flexcoders] Bug when extending in Flex a component created in Flash CS3 ??

2008-02-09 Thread João
After some hours fighting, I've tried to create the simplest test case
to solve one problem I was having with a component created in Flash
CS3 and exported to Flex.

I have created in Flash CS3 a very simple component:

- One MovieClip "Test" (without code or graphics)
- Inside that MovieClip, another one (without code or graphics) with
an instance name set "myMC"

Then I used Flex Component Kit for Flash CS3 to export the SWC of the
"Test" component. 

In Flex Builder, I've started creating an instance of the Flash CS3
component on an empty MXML Application file. Compiled. Worked fine.

Then, I decided to create the extended version of my component. So:

package pt.webfuel.view.components
{
public class TestExtended extends Test
{
}
}

Then I changed my MXML Application file so that is calls the extended
version:



Compiled without errors. But after opening on the browser, I get an
exception: 

ReferenceError: Error #1056: Cannot create property myMC on
pt.webfuel.view.componentes.TestExtended.
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at
mx.flash::UIMovieClip()[E:\dev\flex_3_beta3\sdk\frameworks\projects\flash-integration\src\mx\flash\UIMovieClip.as:475]

[etc. If you need the full message, please ask]



Am I missing something here, or is this a bug? 
Should I file this on the Flex bugbase?

Also, is there a solution? This is creating us a lot of troubles :|

Thanks, 

João Saleiro



[flexcoders] [TextInput] Select the entire line of text by triple-clicking

2008-02-09 Thread Cédric DELTHEIL
Hi,

Does anyone has an elegant solution to make a TextInput emulates the  
behavior "triple click to select the whole line" ?

Thanks,

Cédric



[flexcoders] Getting values from a tileList to appear on a popup

2008-02-09 Thread Ben Dover
Hello, I'm very new to flex, and I'm trying to develop an application
that acts lik an online store.  In my program I am laying out my items
using tileList, and what I want it to do is that when I click each
object in the tileList, I want a pop up window to show up with
information about the product.  

I'm having trouble understanding how to bind the selectedItem and
passing values from that to the popup window, pointing me in the right
direction or some form of an example would be extremely helpful.  

Thanks in advance!!

-Hoi

--

Code for my main application "Test.mxml":

http://www.adobe.com/2006/mxml"; 
horizontalAlign="center" verticalAlign="middle"
width="960" height="540"
layout="absolute"
backgroundColor="white"
>







 
 

 

 

  




Code for my pop up window "ViewWindow.mxml":


http://www.adobe.com/2006/mxml"; 
creationComplete="popUpCenter();" showCloseButton="true" 
close="PopUpManager.removePopUp(this)" 
width="800" height="450" 
title="{data.selectedItem.brand}">













[flexcoders] Changing defaultButton programatically

2008-02-09 Thread Carl Vorster
Hi,

 

I've got a Panel with a default button, but would like to change the default
button to another button when a certain event occurs.

 

Can someone point me in the right direction to do this?

 

Thanks in advance

 

Carl 



[flexcoders] Re: Binding to an overridden property

2008-02-09 Thread reflexactions
data already dispatches a DataChange event and is declared bindable.

--- In flexcoders@yahoogroups.com, Sherif Abdou <[EMAIL PROTECTED]> wrote:
>
> try dispatching an event in the setter and binding that event in 
the getter
> 
> 
> - Original Message 
> From: reflexactions <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Saturday, February 9, 2008 8:24:33 AM
> Subject: [flexcoders] Binding to an overridden property
> 
> I am trying to bind a TextArea.text property to the data property 
in an 
> panel.
> 
> This works fine until I overrode the getter of panel data property, 
> even with a simple override that does nothing but return super.data 
the 
> binding seems to stop working.
> 
> Once overriden if I set data although it updates correctly, the 
> TextArea.text property does not get updated.
> 
> Any thoughts on why and how to resolve this 
> 
> 
> 
> 
> 
>   
__
__
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
>




[flexcoders] Re: issues with multiple module and HTTPService

2008-02-09 Thread ezderman
Thanks Seth, It looks like the problem is loading them concurrently.
When I am loading them with Timer class 2 secs apart it behave fine.
The way I am loading my module is by loading the module instance once
with the ModuleManager and then getting its factory like that:
moduleEvent.module.factory.create() and going thru a for loop to
create the rest. how can I know when module is completely loading and
ready to load the next one. Is there any event that I can listen to
when the module completely loads??
Thanks


--- In flexcoders@yahoogroups.com, "Seth Hodgson" <[EMAIL PROTECTED]> wrote:
>
> Have you defined a useProxy attribute for your HTTPService: E.g.
>  ?
> 
> By default, this attribute is false. It sounds like you're not using a
> proxy and just making direct requests to your jhtml page from the
> player. I see one bug in the bugbase related to HTTPService and modules
> which was closed as user error (a class loading issue). Have you tried
> loading your modules one at a time to confirm they behave correctly on
> their own? If that works, but loading and using them concurrently is
> failing, please log a bug here along with a simple test case if
> possible: https://bugs.adobe.com/flex/
> 
> Thanks,
> Seth
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ezderman
> Sent: Friday, February 08, 2008 7:07 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: issues with multiple module and HTTPService
> 
> 
> 
> sorry but what do you mwan by proxied httpservice. It is jhtml page
> that produce xml. can you reffer me to a link that address this issue?
> 
> Thanks
> 
> --- In flexcoders@yahoogroups.com 
> , "Seth Hodgson"  wrote:
> >
> > Are these proxied or non-proxied HTTPServices?
> > 
> > If proxied, you need to use a shared set of destinations and channels
> > defined in your root swf currently.
> > 
> > Best,
> > Seth 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of ezderman
> > Sent: Friday, February 08, 2008 2:44 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] issues with multiple module and HTTPService
> > 
> > 
> > 
> > Hi,
> > 
> > I am loading the same 5 modules in my app. Each module is using 
> > HTTPService to get an xml file. Each module is waiting on ResultEvent 
> > however only the first module get the result event. Actually the first
> 
> > module get 5 ResultEvent from all the other module.
> > 
> > anyone came accross this issue?
> > 
> > Thanks
> > -mo
> >
>




Re: [flexcoders] Binding to an overridden property

2008-02-09 Thread Sherif Abdou
try dispatching an event in the setter and binding that event in the getter


- Original Message 
From: reflexactions <[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com
Sent: Saturday, February 9, 2008 8:24:33 AM
Subject: [flexcoders] Binding to an overridden property

I am trying to bind a TextArea.text property to the data property in an 
panel.

This works fine until I overrode the getter of panel data property, 
even with a simple override that does nothing but return super.data the 
binding seems to stop working.

Once overriden if I set data although it updates correctly, the 
TextArea.text property does not get updated.

Any thoughts on why and how to resolve this 





  

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

[flexcoders] Binding to an overridden property

2008-02-09 Thread reflexactions
I am trying to bind a TextArea.text property to the data property in an 
panel.

This works fine until I overrode the getter of panel data property, 
even with a simple override that does nothing but return super.data the 
binding seems to stop working.

Once overriden if I set data although it updates correctly, the 
TextArea.text property does not get updated.

Any thoughts on why and how to resolve this 



[flexcoders] Re: Not getting runtime errors

2008-02-09 Thread tomeuchre
--- In flexcoders@yahoogroups.com, "Larry Mahar" <[EMAIL PROTECTED]> wrote:
>
> I have been using Flex for 6 months and suddenly this week I am no 
> longer getting runtime errors which is making it very dificult to 
> debug. Does anyone know what would cause runtime errors to be 
disabled?
>
Yes. After six months, perhaps you have fixed all of your bugs. I know 
that having error-free code can be a hard thing to handle, and most 
programmers will never see that day. So, enjoy it while you can.



Re: [flexcoders] Flex Component Kit (ContainerMovieClip scaling)

2008-02-09 Thread Carlos Rovira
Hi,

You can see an example of how to solve this in the following url:

http://www.madeinflex.com/2007/10/21/using-flash-and-flex-together/

In concrete, the example is this:

http://www.madeinflex.com/files/zip/max2007/wfl3_FlexComponentKit.zip

Hope this solve your problem.

Best,

Carlos Rovira.


2008/2/9, dkhvost <[EMAIL PROTECTED]>:
>
>   Hi All,
>
> I have tried everything that I can think of with no luck. When ever I
> scale my ContainerMovieClip the content also scales by changin the scaleX
> and ScaleY. How can I
> make it so that The size of the ContainerMovieClip only affects the width
> and height of the
> content.
>
> Dennis
>
>  
>



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


[flexcoders] Flex Component Kit (ContainerMovieClip scaling)

2008-02-09 Thread dkhvost
Hi All,

I have tried everything that I can think of with no luck. When ever I scale my 
ContainerMovieClip the content also scales by changin the scaleX and ScaleY. 
How can I 
make it so that The size of the ContainerMovieClip only affects the width and 
height of the 
content.

Dennis



[flexcoders] Flex Component Kit (ContainerMovieClip scaling)

2008-02-09 Thread dkhvost
Hi All,

I have tried everything that I can think of with no luck. When ever I scale my 
ContainerMovieClip the content also scales by changin the scaleX and ScaleY. 
How can I 
make it so that The size of the ContainerMovieClip only affects the width and 
height of the 
content.

Dennis



[flexcoders] Printing Receipts

2008-02-09 Thread Fidel Viegas
Hello folks,

I am wondering if any of you has had any experience printing to a
Receipt Printer. I have an Epson TM-U220 LPT printer, and I want to
send the data to the printer.
Does anyone have any idea or an example that does this?

Thanks in advance,

Fidel.


Re: [flexcoders] Upload with parameters

2008-02-09 Thread Fidel Viegas
Hi guys,

It seems to be working, but only with GET parameters. The POST
parameters never show up. I was wondering if it wasn't working because
of the frame rate. I am using the default frame rate generated. Does
the frame rate afect the transfer of the files?

Thanks in advance,

Fidel.