[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
>




[flexcoders] Re: Panel Skinned With Flash Has Content Area Too Big

2008-03-26 Thread joan_lynn
When using a custom Panel skin, you often have to set the area of the
content using the styles borderThicknessLeft, borderThicknessRight,
borderThicknessTop and borderThicknessBottom. 

Joan

--- In flexcoders@yahoogroups.com, "henry_navarro" <[EMAIL PROTECTED]>
wrote:
>
> I have instances of the Panel component that was skinned using the
> Flex Skin Component Kit for Flash. The problem is that the content
> areas of these panels occupy the entire panel area. An unskinned panel
> has a content area that is within the panel's edges and header. For my
> skinned panels, the content area extends to all four edges of the
> panel (top, bottom, left, right). Any components placed inside the
> panel goes beyond the usual white content area and crosses into the
> header. In Flash file, I only touched the panel base layer and left
> the content area and shadow layers as in the original distribution.
> 
> How can I fix this content area size problem? Please help. Thanks.
>




[flexcoders] Re: scrolling question

2008-03-24 Thread joan_lynn
When you advance to the next page, set the verticalScrollPosition
property of your List to 0.

Joan

--- In flexcoders@yahoogroups.com, "Body Works Studio"
<[EMAIL PROTECTED]> wrote:
>
> I have a report using a list component with a custom renderer. We have
> a paging controller on the page that when you click it , the data set
> will advance to the next page. 
> 
> What happens is the new data set is inserted in the the list view, and
> keeps the viewer exactly same position where they where on the page
> when they clicked the button .
> 
> So say you scrolled to the bottom of the first page and you click to
> view the next page, the data gets loaded in, but the list view still
> is at the bottom of the page.
> 
> Is there a way to make the component scroll back to the top when the
> user clicks to a different page?
> 
> 
> thanks
> 
> Jeff
>




[flexcoders] Re: Flex2 versus Flex3 font size

2008-03-21 Thread joan_lynn
I'm pretty sure that your problem with Button labels is not because of
a font change, but, rather, a change in our default Button. In Flex 2,
the styles paddingLeft, paddingRight, paddingTop and paddingBottom
didn't work. So, Button had some hacky code to figure out how much
spacing there was around Button labels. Depending on your label, the
space around the label varied. In Flex 3, these padding styles now
work and the default for paddingRight and paddingLeft is 10 pixels. As
a result, for Buttons that had less space on the left and right of the
label, the labels became truncated when migrating to Flex 3. 

To fix this problem, you can change the styles of your Button to use a
smaller value for paddingLeft and paddingRight. I wrote a bit about
this migration issue here:

http://butterfliesandbugs.wordpress.com/2008/03/04/understanding-flex-3-migration-issues-part-i/

Unrelated to these Button changes, we also updated the font engine
used by our compiler. However, this change only changed fonts by a few
pixels and should not have affected the components and their size very
much. Internally, on our QA team, we had hundreds of bitmap test
failures when we did this change, but, the font differences were all
very minor (just a few pixels here and there)

Joan
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote:
>
> On Thu, Mar 20, 2008 at 05:57:35PM -, dougco2000 wrote:
> 
> > I switched to Flex3 the other day and found that the font sizing for
> > the default font has changed! So on most of my applications where I
> > painstakingly sized buttons so that they exactly fit the text label, I
> > know see the text does NOT FIT anymore and has "..." at the end!
> 
> Same thing here, text wouldn't fit buttons, bottom of windows were
cutting off controls, controls that were previously horizontally
aligned were no 
> longer in line, listboxes without default selections that previously
returned 0 as the selected index returned -1 in Flex 3.  We went
through all the 
> apps and adjusted everything, it was far from a drop-in-place
upgrade for us and we don't really have any complicated code or layouts.
> 
> 
> Jeff
>




[flexcoders] Re: Adding parallel transition effect or filter to target when create on Base St

2008-02-15 Thread joan_lynn
Your code works fine for me. I tried it in Flex 3 and Flex 2.0.1. What
build are you using. Please be sure that you have the panLogin object
in your application. Here is the entire application that I compiled:


http://www.adobe.com/2006/mxml"; 
layout="vertical" creationComplete="createEffect(event)">










Hope this helps,
Joan



[flexcoders] Re: DragManager broken in beta 3? Or my code broken?

2008-02-08 Thread joan_lynn
This is probably because the item you are dragging is not serializable.

You need to add:

[RemoteClass("com.my.company.Product")] metadata to their Product class.

Joan 

--- In flexcoders@yahoogroups.com, "ckjones84" <[EMAIL PROTECTED]> wrote:
>
> im having similar problems with DragManager in beta 3
>




[flexcoders] Re: SoundEffectInstance Bug on Resume in Flex 2

2008-02-04 Thread joan_lynn
I am not seeing the bug with this simple code:

http://www.adobe.com/2006/mxml";
horizontalAlign="left">


  [Bindable]
  [Embed (source="../assets/jazz.mp3")]
  public var soundClass:Class;










If I play, pause and then resume the pause, the SoundEffect seems to
do the right thing. If you have another scenario where pausing the
SoundEffect doesn't work, please file a bug at bugs.adobe.com/flex.

Joan



[flexcoders] Re: DataGrid last column is not showing the full data.

2007-03-13 Thread joan_lynn
Sanjay,

We fixed a bunch of bugs around DataGrid columns and scrolling in the
Flex 2.01 update. Are you using this update and still seeing this
issue or are you on Flex 2.0? If you are using Flex 2.0.1, then, you
may be seeing a bug that we still haven't fixed. If that is the case,
please file the bug on our Adobe Support site at:

http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=20

Thanks,
Joan Lafferty
Flex Framework QE

--- In flexcoders@yahoogroups.com, "sanjaypmg" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> In my application, there are 22 columns in my dataGrid. I have fixed 
> dataGrid width to 800 and put on the horizontalScrollPolicy. When the 
> data is populated in Grid and i move scroll at the end i.e. 22nd 
> column but 22nd column doesnt show the full data in column. If I click 
> on header of that particular column, it increase the width and show 
> the data.
> 
> I dont know wht could be the problem. pls help me out.
> 
> thanks in advance,
> Sanjay
>




[flexcoders] Re: Passing data from TitleWindow to application

2007-03-02 Thread joan_lynn
I believe that you need to dispatch an event from the PopUp with all
of the information that you want to pass to the main Application. Here
is an example of what I think you want to do:

FILE: heightEvent .as
package
{
import flash.events.Event;

public class heightEvent extends flash.events.Event
{

public var heightProperty : int;
   
public function heightEvent(_heightProperty:int)
{
super("changeHeight");
heightProperty = _heightProperty;
}

}
}

FILE: MyTitleWindow.mxml


http://www.adobe.com/2006/mxml";
title="Details" showCloseButton="true" close="closeDialog();">










FILE: test.mxml

http://www.adobe.com/2006/mxml";
layout="absolute" creationComplete="initApp()">















I hope this helps.
Joan 

--- In flexcoders@yahoogroups.com, "jmfillman" <[EMAIL PROTECTED]> wrote:
>
> I've attempted to model this after an Adobe example found here: 
> 
> http://livedocs.adobe.com/flex/201/html/textcontrols_060_19.html
> 
> I'm trying to take that example and apply it to set the height of a 
> control, based on logic in the TitleWindow popup. When you close the 
> TitleWindow, I want the height value of the List to be updated.
> 
> FILE: test.mxml:
> 
> 
> http://www.adobe.com/2006/mxml"; 
> layout="absolute" creationComplete="initApp()">
> 
> 
>   
> 
> 
>dropEnabled="false" x="10" y="10">
>dragMoveEnabled="true" dragDrop="slotDetails(box001A)" 
> dragEnabled="true" id="box001A" rowCount="1" columnCount="1" 
> height="25" width="162">
>   
>   
>width="82"/>
>   
>   
> 
> 
> 
> 
> FILE: MyTitleWindow.mxml
> 
> 
> 
> http://www.adobe.com/2006/mxml"; 
> title="Details" showCloseButton="true" close="closeDialog();">
> 
> 
> 
> 
> 
> 
> 
> 
> 
>




[flexcoders] Re: Strange issue with drag and drop between Lists

2006-07-21 Thread joan_lynn
We got the bugs from Todd and Jeff and are looking at the issue now.
You will run into the problem with any Drag and Drop operation in
PopUps.  I'll report back if we come up with a workaround.

Thanks,
Joan

--- In flexcoders@yahoogroups.com, "gotgoose09" <[EMAIL PROTECTED]> wrote:
>
> I've submitted a bug report now.
> --- In flexcoders@yahoogroups.com, "jeff tapper"  wrote:
> >
> > I'm running into a similar issue.  I can tell you that the height of
> > the dead space is directly related to the header height of the Panel
> > (or title window in your case).  To prove this out, try adding
> > headerHeight="100" to the root titleWindow tag.
> >
> > --- In flexcoders@yahoogroups.com, "Pan Troglodytes"
> > chimpathetic@ wrote:
> > >
> > > Well, I can certainly confirm what you're seeing.  It's not just a
> > dead area
> > > at the top, it seems it's thinking you're still in the box when
> > you're
> > > actually below it.  So it seems like there's something screwed up
> > in its
> > > detection of where the mouse is that only comes out in popups.
> > >
> > > I'd say you have a pretty solid test case to submit to
> > > http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
> > >
> > > On 7/20/06, gotgoose09 thegoosmans@ wrote:
> > > >
> > > >   I'm beginning to think that this is a bug. Is there something
> > I'm
> > > > missing here?
> > > >
> > > > --- In flexcoders@yahoogroups.com ,
> > > > "gotgoose09"  wrote:
> > > > >
> > > > > In one of my projects, I create a new TitleWindow that has two
> > Lists
> > > > in
> > > > > which can drag items from one to the other. However, when I try
> > > > > dragging items from one to the other, there is a blank space
> > at the
> > > > top
> > > > > of each list that I can not drop items into - I have to drop
> > the items
> > > > > in the bottom of the list. If I have the same two lists not in
> > a
> > > > > TitleWindow, dragging and dropping works fine, with
> > no "barrier." You
> > > > > can view the problem at the link below, and recreate the
> > problem with
> > > > > the steps below.
> > > > >
> > > > >
> > http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf
> > > > >
> > 
> > > > >
> > > > > Hi, to recreate my problem:
> > > > >
> > > > > 1. Create a new project (basic)
> > > > >
> > > > > 2. In the application mxml file, paste this code in:
> > > > > 
> > > > > http://www.adobe.com/2006/mxml";
> > > > > layout="vertical">
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > >  > > > > dropEnabled="true" width="100" height="100">
> > > > > 
> > > > > Item 1
> > > > > Item 2
> > > > > 
> > > > > 
> > > > >  > > > > dropEnabled="true" width="100" height="100" />
> > > > > 
> > > > > 
> > > > >
> > > > >
> > > > > 3. Create a new MXML Component, base it off of TitleWindow,
> > call it
> > > > > MyPopup.mxml
> > > > >
> > > > > 4. Paste this code into that file:
> > > > > 
> > > > > http://www.adobe.com/2006/mxml";
> > > > > layout="vertical">
> > > > > 
> > > > >  > > > > dropEnabled="true" width="100" height="100">
> > > > > 
> > > > > Item 1
> > > > > Item 2
> > > > > 
> > > > > 
> > > > >  > > > > dropEnabled="true" width="100" height="100" />
> > > > > 
> > > > > 
> > > > >
> > > > > 5. Run the application.
> > > > >
> > > > > 6. Try dragging items from list to list on the main
> > application.
> > > > Then,
> > > > > click the button and try dragging and dropping, notice the
> > difference
> > > > in
> > > > > where you can drop items.
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Jason
> > >
> >
>







 Yahoo! Groups Sponsor ~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: Menu - handle sub-menu clicks

2006-07-11 Thread joan_lynn
Dmitry,

You can try to keep track of the last menu item that your mouse rolled
over by using the itemRollOver event. Then, in the menuShow event,
check this value. See if that works.

Joan

--- In flexcoders@yahoogroups.com, "chrislee943" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "Deepa Subramaniam" 
> wrote:
> >
> > What build of Flex are you using? I see MenuEvent.ITEM_CLICK  being
> > dispatched for sub-menu selections as well as root menu selections.
> 
> Basically I need to get CategoryID after click on sub-menu item on any
> level, which, in turn, has own sub-menu (has a child). But I can do it
> only for normal menu items (without sub-menus).
> 
> Thank you,
> 
> Dmitry.
>







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

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

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

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

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





[flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-15 Thread joan_lynn
This is a bug logged in our system and it should be fixed in upcoming 
builds of Flex2.

Joan

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> If your test case is that simple it may be that TileList has a 
bug.  
> 
> It mostly worked when I just tested it on a local build now, though 
I
> noticed that it was off by one at first and required a slight 
resize to
> get correct (it showed 6 instead of 7).
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of keishichi2001
> Sent: Monday, December 12, 2005 6:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: columnCount prop doesn't work in
> TileList(Flex2.0)
> 
> --- In flexcoders@yahoogroups.com, "keishichi2001"
> <[EMAIL PROTECTED]> wrote:
> >
> > any info?
> > 
> In case if you guys are confused with my explanation, i would 
explain
> it more simply
> 
>  ...
> 
> 
> With above code, the TileList should have 7 columns, but 4 
columns...
> 
> Is it a bug on Flex2?
> 
> 
> -k
> 
> 
> > -k
> > 
> > --- In flexcoders@yahoogroups.com, "keishichi2001"
> > <[EMAIL PROTECTED]> wrote:
> > >
> > > My application has a TileList as following.
> > > 
> > >  columnCount="7"
> > > borderStyle="none" dataProvider="{myService.getData.result}"
> > > listItemRenderer="myCellRenderer" showEffect="Dissolve" >
> > > 
> > > myCellRenders is a custom component based on Canvas, and it has 
no
> > > definition both on height and width.
> > > 
> > > The problem is, the TileList displays only 4 columns and 5th 
element
> > > is displayed in next row.
> > > I want that to be showed as 7 x N.
> > > 
> > > Note that the TileList shows a monthly calendar.
> > > 
> > > 
> > > Thanks,
> > > Keishichi
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






 Yahoo! Groups Sponsor ~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
~-> 

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

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

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

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