>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Friday, June 06, 2008 11:52 AM
> To: flexcoders@yahoogroups.com
&g
ldren
> listen for?
>
>
>
> Gordon Smith
>
> Adobe Flex SDK Team
>
>
>
> ____
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, June 11, 2008 6:41 PM
>
Can I create a class library that would look like this:
package modulecode
{
public class Classes
{
public function Classes()
{
}
public function Function1():void
{
}
pub
I am creating an application that is hosted in an HTA page. My main
Flex container is a TitleWindow with a close button that actally closes
the HTA page. Is there a way of min/max the HTA page from the Flex app?
Thanks
us what errors you get.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, June 17, 2008 10:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Class library
>
>
>
> Can
Is it possible to override a border of a row in a dataGrid? I want to
show a row with a ticker border then other rows.
Thanks
How can I remove all builtin items?
Thanks
uot; <[EMAIL PROTECTED]> wrote:
>
> hideBuiltInItems
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Saturday, June 21, 2008 1:08 PM
> To: flexcoders@yahoogroups.
Can I access a cell in the dataGrid using its coordinates:
columndIndex, rowIndex? Or I need a custom renderer?
Thanks
Here is my context menu handler:
private function contextMenuHandler(e:ContextMenuEvent):void
{
DataGridItemRenderer(e.mouseTarget).setStyle("backgroundColor",
1000);
}
But I dont see any changes on the screen. What am I doing wrong?
Thanks
> drawHighlightIndicator
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Monday, June 02, 2008 3:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] S
n article by Peter
Ent
>
<http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.h
tm\
> l> , that has a lot of DataGrid background color info.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> &
Here is mmy code:
override protected function drawSelectionIndicator(indicator:Sprite,
x:Number, y:Number, width:Number, height:Number, color:uint,
itemRenderer:IListItemRenderer):void
{
super.drawSelectionIndicator(indicator, x, y, width, height, color,
itemRenderer);
}
ahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, June 24, 2008 7:26 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Question about drawSelectionIndicator
>
>
>
> Here is mmy code:
> override protected funct
hic and not call super.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, June 24, 2008 10:02 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Question about drawSelectionIndicator
>
X to start the fill from.
Almost there :)
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Var g:Graphics = indicator.graphics
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL P
I have seen some examples of this and these samples I've seen all are
implementing drawRowBackground which works fine but not in my case. I
need to change row's background after I have applied columns
background. But drawRowBackground runs at a time dataGrtid is created
so my row background tha
ly supported, but some sort of
>
>
>
> getChildByName("lines") and getChildByName("rowBGs") and testing
> getChildIndex and using setChildIndex might allow you to switch the
z
> order.
>
>
>
>
>
> Fro
wrote:
>
> Should work. Debug into it. Make sure it has been created. You
might
> be asking too soon.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Su
t; wrote:
>
> Not the DG, the actual displayObject with the name "rowBG". Please
read
> up on the component lifecycle. Things are often created on demand.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]
Here is code:
var popupWindow:TitleWindow = new TitleWindow;
popupWindow = showPopupWindow(boxingArea, jobMaintenance);
popupWindow.addEventListener("close", jobActions);
public function jobActions(event:Event):void
{
trace(event.target);
}
I am getting into jobActions when I click on P
ility. The object
> is still available for reuse.
>
> Using the PopUpManager to remove a popup destroys the object and
> removes it from the display list. It hasn't just been closed, it's
> been blown away.
>
>
>
> --- In flexcoders@yahoogroups.com, "markg
Yes, Close event is dispatched in both cases now.
But I have another issue: Both clicks: titlewindow close and a
regular button run same code:
Close button:
close="actionSelected = 'test';PopUpManager.removePopUp(this);"
regular button
click="dispatchEvent(new CloseEvent(CloseEvent.CLOSE));
PopUp
I am trying to use this function to change row's color in DG:
public function setColor(row:Number, color:Number, Width:Number):void
{
var g:Graphics = graphics;
g.clear();
g.beginFill(color);
g.drawRect(x, y, Width, 35);
g.endFill();
}
I am calling this function after I have asiigned dataSource.
D
@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Best way to color a row is to override drawRowBackground
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
rticle about coloring
DataGrids:
>
>
http://weblogs.macromedia.com/pent/archives/2007/02/coloring_the_ba.ht
ml
>
> PS In case you didn't know, Peter Ent rocks.
>
>
> - Original Message
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> To: flexcoders@yah
:void {
> // Do something
> closeMe();
> }
>
> private function handleCloseFromButton(event:MouseEvent):void {
> // Do something similar
> closeMe();
> }
>
> private function closeMe():void {
> PopUpManager.removePopUp(this);
> }
>
>
>
owBackground to be called.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Monday, June 30, 2008 1:38 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Draw colored shape
>
>
>
&
ger dispatch the CloseEvent when the button is
clicked, then handleCloseFromTitleWindow shouldn't get clicked.
>
>
>
> - Original Message
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Monday, June 30, 2008 2:11:3
TitleWindow is removed by PopUpManager.
>
> The only reason I recommended that you dispatch the "close" event
yourself, was BEFORE you told us that you wanted different behavior
depending on whether the user clicks on the TitleWindow's closeButton
or on some other button
item = (dataProvider as
ArrayCollection).getItemAt(dataIndex);
> }
>
> color = rowColorFunction( item, rowIndex,
dataIndex, color );
> }
> super.drawRowBackground
(s,rowIndex,y,height,color,dataInde
; var colBGIndex:int = listContent.getChildIndex
(listContent.getChildByName("colBGs"));
>
> if (colBGIndex > rowBGIndex) {
> listContent.swapChildrenAt(rowBGIndex, colBGIndex);
> }
> }
> }
> }
>
I am geting different results if I override updateDisplayList:
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
var rowBGIndex:int = listContent.getChildIndex
(listContent.getChildByName("rowB
l Message
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Tuesday, July 1, 2008 4:47:44 AM
> Subject: [flexcoders] Re: Draw colored shape
>
>
> Yes, it will show row background, but, .. no column background
> anymore. So, it
on the data is
> coming off a server and isn¢t ready right away, you could be going
> through updateDL when there aren¢t any rows to draw so the rowBG and
> colBG don¢t exist yet
>
>
>
>
> From:[EMAIL PROTECTED] ups.com [mailto: [EMAIL P
In my program when user clicks on a DG's cell I am changing cell's
color to show which cell was clicked. Now, they want to implement a
ContextMenu on the grids. Can I highlight a cell in the same manner but
from the right mouse click, just before the ContextMenu popups?
Thanks
I am coloring rows in DG with the following code:
color = 0xFF;
var g:Graphics = s.graphics;
g.clear();
g.beginFill(color);
g.drawRect(x, y, width, rowHeight);
g.endFill();
The columns in DG have different colors. So, how do I restore cells
from colored row back to columns colors?
Thanks
My DG is enabled = false and both drawSelectionIndicator and
drawHighlightIndicator are overridden to completely hide the selection
indicator. Is there a way of knowing what item/row were clicked?
Thanks
lick the row with enabled = false. But if you set
enabled =
> true, and hid the two indicators, you could easily use the
itemFocusIn event
> to know what you clicked.
>
> On Wed, Jul 2, 2008 at 2:03 PM, markgoldin_2000
<[EMAIL PROTECTED]>
> wrote:
>
In where? In contextmenu handler? How would I do that?
--- In flexcoders@yahoogroups.com, "Sean Clark Hess" <[EMAIL PROTECTED]>
wrote:
>
> Can you bind to selectedItem?
>
>
> On Wed, Jul 2, 2008 at 2:54 PM, markgoldin_2000
<[EMAIL PROTECTED]>
> wro
If I know a rowIndex in DG can I change a border of that row or
border's color?
Thanks
My production box is Server 2003 R2.
I am expecting to have a logs folder in c:\Documents and
Settings\mgoldin\Application Data\Macromedia\Flash Player.
But it's not there, nor anywhere.
Any idea, what's wrong?
my mm.cfg looks like this:
ErrorReportingEnable=1
TraceOutputFileEnable=1
and it is i
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Thursday, July 03, 2008 11:55 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Problem with run time tracing
>
>
>
> My production box is Server 2003 R2.
> I
I got everything working with row highlighting on demand. Here is
mine (mostly yours) code:
override protected function drawRowBackground(s:Sprite, rowIndex:int,
y:Number, height:Number, color:uint, dataIndex:int):void
{
if (selectedItem != null && rowIndex <= dataProvider.length - 1 &&
dataProv
e the rowbackground go away
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Thursday, July 03, 2008 1:39 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: override updateDisplayList
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> >
> > Not sure I understand. Clear() as a function of what? And how do I
> > tell it what's to clear? Sorry, if I am missing something obvious.
>
> The graphics object. Essentially, that would r
I am having some strange (for me) results when I run my program. Here
are some parts of the code:
My DG declaraton. Note ContextMenuSelected.
public class TrainReceivingGrid extends destinationGrid
{
[Bindable]
private var cm:ContextMenu;
private va
I am starting Flex Bulder 3 and it's not going. It says: "Loading
project ." and a progress bar is not moving. I have waitind for a
very long time. Anything I can do to rcover from that?
Thanks
icate variable definition.
I dont see any real error though.
--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> I am starting Flex Bulder 3 and it's not going. It says: "Loading
> project ." and a progress bar is not moving. I have waitind for
a
> very long time. Anything I can do to rcover from that?
>
> Thanks
>
;
>
> - Original Message
> From: markgoldin_2000 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Monday, July 7, 2008 12:46:19 PM
> Subject: [flexcoders] Re: Starting Builder problem
>
>
> It finally started. But now when I try to export Releas
It started working.
Filter on errors? What's that?
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> >
> > No, this is not a warning. The release
I am trying to come up with a container to hold a form in. I want to
use as much space of the container as possible. So, I dont want to have
any space on left, right, top, and bottom of the container.
Also I want to have formitems stuck to the left of the form. Is that
possible?
Thanks
;
> Search for "Using constraints to control component layout" in the
help
> docs.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> >
> > I am trying to come up with a container to hold a form in. I want
to
> >
l/
>
>
>
> B.
>
> --- In flexcoders@yahoogroups.com, "Ben" wrote:
> >
> > I am in need of something like this as well.
> >
> > --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> > wrote:
> > >
> > > In
I have this simple form:
http://www.adobe.com/2006/mxml"; width="150"
verticalScrollPolicy="off"
height="128" verticalCenter="true" horizontalCenter="true"
horizontalScrollPolicy="off">
> air app. I'm not sure where to go from here. Are you sure you are
not
> getting any compiler errors?
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> >
> > I have this simple form:
> >
> > http://www.adobe.com/2006/mx
zontalCenter= "true"
> horizontalScrollPolicy="off" >
> borderThickness= "2"
> backgroundColor= "#DD" paddingTop=" 0"
> borderStyle= "solid"
> top="0"
> left="0"
> height="100% &qu
If you are looking for a true push solution take a look at
Lightstreamer push server. They have examples for Flex. I have created
a push solution based on the Lightstreamer push server, .Net data
adapter, Flex JS bridge, and a few more things. Took me some time but
it works very good. I haven't te
Well, Flex and FP are presentation layers. You would need to have
something running on the server. I am using a traditional ASP that
calls OLE servers that in turn talk to the SQL back-end.
Mark
--- In flexcoders@yahoogroups.com, "litesh_b321" <[EMAIL PROTECTED]> wrote:
>
> How to design a 3 tier
New TitleWindow comes with a white area inside. Is it possible to get
rid of it completely?
Thanks
I have desgined ContextMenu for DG which pops up every time the user
user uses right mouse click, but now they want to see the ContextMenu
only if a cell has a value. How can supress it in case the cell does
not have a value?
Thanks
It looks like if I implement mouseOverHandler then itemRollOver event
is not fireing, or at least it's not getitng into its handler.Can I use
both events somehow?
Thanks
Yes, that was the problem. Thanks!
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Did you call super.mouseOverHandler?
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL P
Is there a way of highlighting a cell that was right mouse clicked on
right before contextmenu showed up?
Thanks
Not a chance?
--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> Is there a way of highlighting a cell that was right mouse clicked on
> right before contextmenu showed up?
>
> Thanks
>
What are the ways of triggering that event programmatically?
Thanks
t; <[EMAIL PROTECTED]> wrote:
>
> Most folks select instead of highlight. There should be examples
in the
> archives
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_20
t; invalidateDisplayList() and the next frame, updateDisplayList()
will be
> called AFTER measure() if invalidateSize() was called OR
measurements became
> invalid for some other reason.
>
> Mike
>
> On Tue, Jul 22, 2008 at 8:25 AM, markgoldin_2000
<[EMAIL PROTECTED]>
> wro
Is there a way of centering the title?
Thanks
If I subclass Error class like this:
public class AppError extends Error
{
public function AppError(message:String, errorID:int)
{
super(message, errorID);
}
}
do I need to do anything else to get all errors into my custom error
handler?
Thanks
But in where? Anywhere I expect the error to occur?
--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Throw it and catch it.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL P
If I have a click listener on DG's cell can I execute cell's click
programmatically, something like:
cellObject.click()
or somehow else to excute listener?
Thanks
How exaclty is Flex sending data back?
Is it possible to send an XML string back to server so I can restore it
there into an xml string?
Thanks
lexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, August 12, 2008 2:49 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Sending data back
>
>
>
> How exaclty is Flex sending data back?
> Is it possible to
var http:HTTPService = new HTTPService();
> http.url = serverURL;
> http.contentType = "application/xml";
>
> MXML:
>
>
> That's of course in general terms - you'd have to add code to each
to
> really make it work properly...
>
> Hope this helps!
&
bug the string here to see if it has your xml in it
>
> ...
>
> oDom.loadXML(sXML)
>
>
>
> Again, you *should* be able to use XML instead of string, but is
seems
> harder.
>
>
>
> Tracy
>
> ____
>
> From: f
on>
<trainsymbol>MCCHU 12</trainsymbol>
<bnumber1>470</bnumber1>
<bnumber1w>0</bnumber1w>
<carsb1>89</carsb1>
<bnumber2>Total</bnumber2>
<bnumber2w>0</bnumber2w>
<carsb2>89</carsb2>
<trainplan>f
I am posting a large amount of XML data using HTTPService. It looks
like my server starts processing of Request object before the data is
trasmitted in full. Same code works fine with a smaller data.
Any idea?
Thanks
Found the problem.
IIS6 POST limitation of 200K.
--- In flexcoders@yahoogroups.com, "markgoldin_2000"
<[EMAIL PROTECTED]> wrote:
>
> I am posting a large amount of XML data using HTTPService. It looks
> like my server starts processing of Request object before the data
My apps. consists of a large number of DGs. Number of these DGs and
their columns are completely data driven. The users want to be able to
save screen configuration data with a later load. How can I remove
everything from the player without actual browser refresh before I can
load data and rebu
Yes.
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Are you setting the method="POST"?
>
> Tracy
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED
O, I am doing it too.
But I am using an ASP page as just a connector between a front-end
and a back-end. The real stuff is going in the com servers that are
called from an asp page.
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, Matt Ch
How would be possible to reload the whole application programmatically?
Thanks
public function setPlan(resultXML:XML):void
{
Alert.show(resultXML.toString());
//ExternalInterface.call("window.location.reload(true)");
}
If I uncomment ExternalInterface.call then reload goes with Alert box
being shown. Is that right?
Thanks
If I have two large xml objects can I compare them whether they are
identical?
Thanks
I have DGs and I am assigning dataProviders to these controls at run-
time. All these datProviders are XML. The xml has more data that is
being shown in DGs. I am changing some of that non visible data
programmatically like this:
DataGrid(DGObject).dataProvider[selectedIndex].trainplan = addToPla
wait for the Alert box to be closed before reloading
the page,
> you'll need to listen out for the CloseEvent.CLOSE event.
>
>
>
> On Sun, Aug 17, 2008 at 10:08 PM, markgoldin_2000
<[EMAIL PROTECTED]
> > wrote:
>
> > public function setPlan(resul
I have a complex screen that consists of a number of DGs shown side by
side that creates an illusion of a single very wide DataGrid. The users
are able to select a row in one of the DG and all grids will have the
same row highlighted.
I am using this as a custom item renderer:
public class block
dg.isItemSelected(data) What exactly data is? I am changing dg's
underlying data in code, but I am checking it in updateDisplayList with
dg.isItemSelected(data) and data is not changed.
Any idea?
Thanks
I am using the following code to highlight a cell:
override protected function updateDisplayList(unscaledWidth:Number,
unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth,
unscaledHeight);
var blockNum:int = d
I am using updateDisplayList to highlight cells in DG.
Users can select some cells and these cells will have different
background color. In the underlying data I am setting up some flags
that repersent cell's state. Here is a fragment of my code:
override protected function updateDisplayList(unsc
;
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Wednesday, August 20, 2008 8:36 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Force updateDisplayList
>
>
>
> I am using updateDisplayList to highlight
I am doing it here:
override public function set dataProvider(value:Object):void
{
super.dataProvider = value;
if (dataProvider.length != 0)
{
var cursor:IViewCursor = (dataProvider as
ICollectionView).createCursor();
var recNum:int = 0;
Is there a way to get an xml element name?
100
1
I want to know if an i element has a name "car".
Thanks
Any suggestions about how to make things look good in every Browser?
XP + IE7 = bad
W 2003 + IE7 = good
Vista + FireFox = nothing better that this
I am trying to use percentage as much as possible but not every
component can be sized using a percent value.
Any hints?
Thanks
stently across
> browsers and platforms, so if you're having a problem with this
aspect
> of the player you should file a bug with Adobe.
>
> --- In flexcoders@yahoogroups.com, "markgoldin_2000"
> wrote:
> >
> > Any suggestions about how to make thin
Kill me, dont see how.
--- In flexcoders@yahoogroups.com, "Sherif Abdou" <[EMAIL PROTECTED]> wrote:
>
> Yes you can attatch images
> - Original Message -
> From: markgoldin_2000
> To: flexcoders@yahoogroups.com
> Sent: Saturday, August 23, 200
I have a DG with three rows. I am setting up a dataProvider for it
like this:
override public function set dataProvider(value:Object):void
{
super.dataProvider = value;
if (dataProvider != null && dataProvider.length != 0)
{
var cursor:IViewCursor = (dataProvider as
ICollectionView).createCurso
;t see the code
that
> broke in your exaple.
>
>
>
>
>
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, August 26, 2008 9:09 AM
> To: flexcoders@yahoogroups.com
> Subject:
How do we sort Grids on a numeric value while clicking on a column
header? It looks like Flex uses string logic for that.
Thanks
1 - 100 of 634 matches
Mail list logo