Hi,
Not tested at all, but I would in my fill function:
1/ get the original item:
var data:Object = item.item;
2/ get the value in the field I'm interested in:
var value:Object = data.myfield;
3/ do whatever coloring I want to do with it.
Is that what you are doing and is failing?
--
You might want to set condenseWhite=true on the textfield as well, it
quite often puts a stop to that kind of nonsense.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of iilsley
Sent: 03 January 2008 05:19
To: flexcoders@yahoogroups.com
Subject:
One way can be to add an event listener of each ball instance with the
parent
application using the parentapplication handle.
parentapplication.addEventListener(customevent, handler);
you can do it in the creationcomplete method of the ball instance.
When you capture the mouse event, just
Hey there,
I hope you all had a great new years.
I have got a problem with a button skin.
The skin contains a white area and it seems
that it doesn't recognize that area when I
roll over with my mouse. The Skin always
jumps back to the normal state (instead of
keeping the over skin).
Can I
Hi Drew,
just FYI: Adam and I talked about this some days ago. I pointed him to the
fact that you could easily convert the Haxe code to AS3 using a flag for the
Haxe compiler. In case you are interested, I have uploaded the hxasm code
and the as3 version here:
why do you wish to continue using b2 sdk?
On Jan 2, 2008 9:34 AM, Scot [EMAIL PROTECTED] wrote:
I have a new installation of Flex Builder 3 b 3. I would like to use
this version (beta 3) to
continue developing projects with the beta 2 SDK.
I have set the location to the beta 2 SDK in the
I have the following code that *should* fail :
public class Bar {
public function connect1():void {
trace(t1);
var sock:Socket = new Socket();
sock.addEventListener(IOErrorEvent.IO_ERROR, ioerr_handler);
I'm having this weird issue that never happened before.
Sometimes, totally randomly, after deleting a managed item in a
arraycollection, instead of getting the arrayCollection resized by -1,
my arraycollection keeps the same size and I get a null object where the
managed item was previously.
The white is probably not the color of the button skin, but the color of the
parent container showing through. The skin has probably not painted those
pixels any color at all, so they're not generating mouseover events for the
skin/button.
I've solved this problem before by making sure
Is anyone interested in building a print function for a small reward -
$100 ??
I need a function that will take any objects from the current screen
(text areas of varying/dynamic size, labels, charts and legends) and
place them sequentialy on some type of invisible/hidden container that
then can
anthony_morsey escreveu:
Is anyone interested in building a print function for a small reward -
$100 ??
I need a function that will take any objects from the current screen
(text areas of varying/dynamic size, labels, charts and legends) and
place them sequentialy on some type of
Frederico,
Can this easily be modified to arrange/combine different types of
objects such as textareas and charts? This looks like it is only
printing 1 object. I can print one object now. What I need is to be
able to arrange and print any number of different objects sequentialy
without
Thanks
So do you need to do
-services C:\CFusionMX7\wwwroot\web-inf\flex\services-config.xml
Because you selected a basic project rather than a CF project?
Regards
Dale Fraser
http://learncf.com
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of
I'm still stumped, can't get this working at all and don't know why.
I've tried the Mapped drive method but the output folder must be beneath the
web root. That seems to be telling me that I can only have my projects
underneath the wwwroot, surely that can't be correct?
Regards
Dale
Hey all,
I am building up a flex tree and wanna get the xml structure form mx:XML
source.
But the url cannot be determined at compile time so I used a [Bindable] for
it and initialized it at mx:Application's initialize property.
So there is no url specified at compile time and I'm getting this
Hi Christophe,
Ohh neatness! Thanks for the heads up, I had no idea Haxe had that
feature.
I'm going to spend some time on this tonight tomorrow.
cheers,
Drew
On 03/01/2008, at 9:53 PM, Christophe Herreman wrote:
Hi Drew,
just FYI: Adam and I talked about this some days ago. I pointed
Hi Guys,
I think webservice handling is really tough task in flex.
After working for so many days in webservice integration with flex,
I still get nuts with these errors.
I am getting the following error when I try to call a webservice. My
web service is authenticated and I make sure that I
Socket.connect is non-blocking, which in this situation means the
rest of the execution chain for your method will continue to run
while the socket attempts to connect. The IOError will only be thrown
when there is no host specified. The security restrictions that
trigger the SecurityError
thank you iilsley. Your suggestion to use CDATA works.
However, I have a large number of these input XML files and rather
than changing each one of them, I was hoping to be able to specify
globally which tags should be ignored (b, a, etc) and that they
could be ignored in all of the XML files.
Flex 2 seems like a stretch for offline support, though it is possible. The
reason being that while they are offline, they won't be able to download the
flex application either. If the flex app runs local from their computer you
are going to run into security/sandbox issues. However, AIR
Hello,
I'm having a problem where input fields that fail validation don't
pick up a borderColor style from a runtime stylesheet. I've got a
small test case below with a NumberValidator hooked up to a TextInput
and two buttons that load/unload some styles.
If you type a number in the field
anthony_morsey escreveu:
Frederico,
Can this easily be modified to arrange/combine different types of
objects such as textareas and charts? This looks like it is only
printing 1 object. I can print one object now. What I need is to be
able to arrange and print any number of different
--- In flexcoders@yahoogroups.com, Drew Bourne [EMAIL PROTECTED] wrote:
Socket.connect is non-blocking, which in this situation means the
rest of the execution chain for your method will continue to run
Ok makes sense.
Also, I had my nameservers set to opendns's servers. So the
Dale,
you can use runtime definition without the services-config.xml. please
see Mike Nimer's blog for details:
http://blog.mikenimer.com/index.cfm/2007/1/10/Bye-bye-services
HUa
On Jan 2, 2008 11:01 PM, Dale Fraser [EMAIL PROTECTED] wrote:
Thanks
So do you need to do
Are you using HTTPS? Check this post http://blog.fastlanesw.com/?p=9
on my blog for a workaround.
hth
Scott
Scott Melby
Founder, Fast Lane Software LLC
http://www.fastlanesw.com
coder3 wrote:
Hi All,
I need an auto refresh feature in my flex application, my code is like
this:
var
In the flex app, I have a panel and that is set to a width and height
of 100%. I'm also using states and on a state, I've built a really
long form. When the user clicks the form, it goes to a different state
but the vertical scrollbar does not move. I need to invoke or force
that scrollbar so
Thanks Peter. My assumption was that if I'm loading via https, the
secure channel would be used. If not, the unsecure channel would be used.
I can try the TraceTarget, but where is the flashlog located?
Don
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
If you're
Vincent Rempp escreveu:
In the flex app, I have a panel and that is set to a width and height
of 100%. I'm also using states and on a state, I've built a really
long form. When the user clicks the form, it goes to a different
state but the vertical scrollbar does not move. I need to
Thank you for the suggestion,
I'm a newbie to Flex, and put together the following before I
saw your suggestion:
private function myWriteFillFunction(element:ChartItem,
index:Number):IFill {
var c:SolidColor = new SolidColor(0x88);
var item:Object = new Object();
I have a problem with flex RadioButtonGroup control, I want to binding
RadioButtonGroup from XML or DataBase but there are no dataprovider for
RadioButtonGroup, I do not know how I can bind it.
Not the case in my experience. If the swf is loaded over SSL and AMF is not
setup for SSL in CF land, AMF will go over non-SSL.
Peter, FWIW, I never got this supposed failover to work, maybe others have
by now dunno. I manually setup AMFChannel to use SSL in production
environments. Note that
Hi there,
I'm working right now on the basement of the new version of the main flash
app of my company.
This is quiet evolve chat that we plan to deploy with Flex for next version.
So i'm deep in MVC+C questionning.
I have deeply look at Cairngorm and PureMVC finding both interessting with
I wrote a sample application for using amfphp1.9 and easyMVC as shown to
me by Tom Bray.
Just figured I'd share it.
The Post is here http://themadadmin.com/wp/?p=1070
The Sample is here http://themadadmin.com/fl2/easyMVC_AMFPHP/
I hope it helps some people out.
Dave Finnerty
Can someone explain in detail how data binding text fields to an
ArrayCollection works, in layman's terms? I have 133 Data binding will
not be able to detect assignments to ___ errors, and I just
realized that it's getting the correct data the first time it connects
to the ArrayCollection, but
In my basic project wizard case, with using IIS, I had to make sure
my remoteObject source went back to webroot...
source=myDeptFolder.myFolder.myFlexProjectFolder.myCFC
(couldn't figure out how to get mappings to work for my cfc w/flex)
In my project properties, I just have bin as the output
If your destination refers to both a secure and non secure channel in
that order, and the non secure channel is being used, and you're not
specifying an endpoint property on the mx:RemoteObject tag, that
sounds like failover is working? To confirm, you could use
mx:TraceTarget level=0 / as I
Hi,
I have some problems using the RTMP push messaging of flex when
accessing the application from a environment with enhanced security.
Everything works fine when there are no firewall restrictions but as
soon as there are ports blocked in the environment the fallback to
RTMPT does not work.
I
I have two TextInput ( textIn1,textIn2), textIn2 bind to textIn1input
like
{textIn2.Text = textIn1.Text}.
I want textIn2 only bind to textIn2 and do not accept typing text. which
attribute of textInput can do this.
Thanks
Mark
If you use Flex Builder in debug mode then the Console panel will show
trace output. However, if you're using a debug Flash Player plugin in a
browser (or the debug standalone Flash Player), then so long as you have
setup a mm.cfg file in your user directory, the flashlog.txt file will
appear in
you have to make your variable bindable
here's the documentation
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1653.html
try
[Bindable]
private var arrayCollectionData:ArrayCollection= new ArrayCollection();
On 1/3/08, Clinton D.
Maybe these will help:
Flex CF Project setup:
http://muzakdeezign.com/flex2/cf_project/snap01.jpg
http://muzakdeezign.com/flex2/cf_project/snap02.jpg
http://muzakdeezign.com/flex2/cf_project/snap03.jpg
Flex Project setup - CF enabled:
http://muzakdeezign.com/flex2/cf_project/snap04.jpg
Hi all,
How can I remove displayed contents in the ADG?
For example ADG displays the results of the query - then after I
change the parameters of the query server replies with no rows result.
Dataprovider for grouping collection is null but the old contents of
the ADG are still displayed.
I
http://livedocs.adobe.com/flex/2/langref/mx/controls/TextInput.html
all properties are listed here.
DK
On Jan 3, 2008 11:54 AM, markflex2007 [EMAIL PROTECTED] wrote:
I have two TextInput ( textIn1,textIn2), textIn2 bind to textIn1input
like
{textIn2.Text = textIn1.Text}.
I want textIn2
Hi Folk,
There is a page in the docs on customizing console output, but it's very
rudimentary and just amounts to clicking a small set of preset check boxes
in preferences. I wonder if anyone is aware of how to truly customize that
output.
Specifically what I'm trying to do is figure out how to
1. I already have the [Bindable] meta tag in place. Do I need to
have it in front of each of my arraycollections, or is one at the
beginning of the first AC enough?
2. Don't they have to be public vars?
3. Whenever the webservices are called and the new data is applied
to the
Thanks Gordon. I can handle toolTipCreate in my main application. Is
there a way to build it into my custom component so that it always
shows tooltips this way?
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
Handle the toolTipCreate event and create whatever kind
I have built an AIR app using Flex and am attempting to load a SWF
that was included in the app build via SWF Loader. To this end, I am
using the AIR url schema, for example,
myLoader.load(app:/loadee.swf). I have verified that the swf that is
trying to be loaded is indeed in the application
Ok I solved it.
It was the 'Blob Buffer(bytes)' setting for the Data Sources entry for
that data base in the 'Data Service' section of the Cold Fusion
Administrator that the app was getting the data from.
Never mind! I discovered that if I ran arrayCollectionData.refresh();
somehow it kicks the propertychange event into action, and everything
works fine now.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Clinton D. Judy
Sent: Thursday, January 03, 2008 12:51 PM
To:
Hi people!
How to do call event close of MDIWindow?
thx
Bit
That will work but it can be more expensive (cpu processing and speed)
depending upon the size of your data.
I believe you will need to make your binding look like:
{MyDataObject(arrayCollectionData.getItemAt(0)).infoOne}
In this case replace MyDataObject with the Class that contains
myWindow.close();
:)
--- In flexcoders@yahoogroups.com, Bit [EMAIL PROTECTED] wrote:
Hi people!
How to do call event close of MDIWindow?
thx
Bit
Has anyone developed code to display per item strokes? I have a plot
chart with dots color coded by ethnicity. I'd like to create pink and
blue strokes around the dots conditional upon the gender of the
individual.
Thanks to all for this great resource,
MDIWindow id=name
name.close()
- Original Message
From: Bit [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, January 3, 2008 1:33:52 PM
Subject: [flexcoders] Close MDIWindow
Hi people!
How to do call event close of MDIWindow?
thx
Bit
thx
Course!!
sorry!!
Bit
--- In flexcoders@yahoogroups.com, ben.clinkinbeard
[EMAIL PROTECTED] wrote:
myWindow.close();
:)
--- In flexcoders@yahoogroups.com, Bit sandro_marques@ wrote:
Hi people!
How to do call event close of MDIWindow?
thx
Bit
Are you sure there isn't another datProvider set somewhere? I use
ADG.dataProvider = null to clear datagrids out in a couple different areas
and have never had a problem. also make sure you aren't reasigning the
original DP somewhere.
Greg
- Original Message
From: mitek17 [EMAIL
Pretty sure this cannot be done but wanted to confirm. This syntax
doesn't work but is anything similar possible?
.killerStyle
{
alpha: .5;
upSkin: Embed('../img/menuArrow.png');
}
Thanks,
Ben
There is also easyMVC. www.tombray.com www.tombray.com
the breakdown of who does what in MVC is like this:
MODEL---Stores Data, Can Store State of application.
Controller-- Reacts to events and updates the model.
View -- View Shows The screens to the user, and interacts with the
users. It
In summary: How does one differentiate between a column which is
sorting ascending and not sorting at all?
Detail:
Prior to Flex3 there was a property of a DataGrid (sortIndex) which
afforded one the ability to determine which column was the sort
column. This property was removed in Flex 3's
Is this property available for HTTPService that is set in ActionScript?
service = new HTTPService();
service.showBusyCursor = true; does not work for me.
Thanks
I use the flex builder 3 console, so I'll try that.
Do you know if there is a way to specify which CF channel I want to
force the RO to use? I tried the ro ChannelSet property, but that
didn't work or at least it didn't like me trying to set it to
my-secure-cfamf.
channels
channel
Please file a Feature Request:
http://bugs.adobe.com/flex
Send the list the bug number so that we can all go vote for it.
-James
On Wed, 2008-01-02 at 21:33 -0500, Anatole Tartakovsky wrote:
James,
You might want to consider to add [Enum... to thecompiler metatags
- henerated code
In /WEB-INF/flex/remoting-config.xml, you can either set the default
channel to be just my-secure-cfamf, or explicity configure the channels
on the destination in question.
If you set the RO channelSet property it will use that ChannelSet to
connect rather than the configuration (in fact, you
I have a check box for a user to check to change the visibility of a
control from false to true. After the user causes the invisible
control to be revealed, I'd like to move all succeeding interface
elements down the page so that their y coordinate increases by the
height of the newly visible
Check out mx:states, that's one solution. Define one state with your
control visible and another with it invisible and the rest of the
controls moved up a bit. This can be done in the design view in flex
builder.
Another way would be to put all your moving controls on a canvas with
positions
VBox does this layout automatically, why not use that?
To make a component completely appear/dissapear, you need to set both
the visible property and the includeInLayout property.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Or just use mx:Text for the slave control.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Douglas Knudsen
Sent: Thursday, January 03, 2008 11:59 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to limited input
Hello,
Did anyone succeed in calling the submit() method of a HTML form in a
document loaded in a HMTL component in Flex from ActionScript in Flex?
i'm trying something like
htmlComponent.domWindow.document.getElementById(form).submit();
i have a canvas with just a very wide button with a label component on
top of the button. (Note: label is different from the label property
of the button) i.e: Label is positioned over the right side of button
when i rollover the button its color becomes brighter as it should,
but when i rollover
mouseChildren = false;
properties panel
On Jan 3, 2008 11:58 PM, pfkellogg [EMAIL PROTECTED] wrote:
i have a canvas with just a very wide button with a label component on
top of the button. (Note: label is different from the label property
of the button) i.e: Label is positioned over the
Assuming that the children you want to move down come after (in child
index order) the one you're hiding, you could do
var n:int = numChildren;
for (var i:int = indexOfInvisibleControl; i n; i++)
{
var child:UIComponent = UIComponent(getChildAt(i));
child.y += deltaY;
}
Gordon Smith
Yes. If you're writing your custom component in AS, just set up your
event handler in your constructor with
addEventListener(ToolTipEvent.TOOL_TIP_CREATE, toolTipCreateHandler);
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com
I assume I'm going to capture a MouseEvent.CLICK on the stage
You would do that only if you want to be able to click anywhere on the
stage.
If you are only clicking a Button, just put a click handler on the
Button and have it loop over an array containing the balls you've
created and call a
Ali,
I need the button to work like a button and it doesn't have any
children, so unfortunately I don't see how mouseChildren will work
here is the code:
mx:Canvas id=buttonCanvas width=100%
mx:Button id=btnItem width=100% label={abcItem.title}
click=toggleState()
That was my guess too, but the keystrokes cause no notable actions in
IE, and will eventually get passed through to flex if I hold them long
enough.
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:
IE7 may have more keyboard shortcuts that conflict with yours. Just a
--- In flexcoders@yahoogroups.com, Frederico Garcia [EMAIL PROTECTED]
wrote:
pfkellogg escreveu:
i have a canvas with just a very wide button with a label component on
top of the button. (Note: label is different from the label property
of the button) i.e: Label is positioned over the
Folks,
I'm using Flex Builder 3 and trying to get the ECF datashare plugin
working with the flex editor. It works fine with the text editor but
I'm having some trouble getting it to behave for Flex.
The DataShare developer said I needed to add the following to the
plugin:
extension
I have a combobox in a form. I have also defined a set function for
that combo. I am assigning data to the control using:
combo.dataProvider = someXML. The data is shown with no problem, but
set function is not called. Am I doing something wrong?
Thanks
I need to have my app keyboard navigatable with the up/down/left/right
arrows. I have the left/right arrow assignments working but the
up/down not so much.
I am also using the constraintRows and constraintColumns instead of
the deprecated Grid class. I want to navigate to the object
Combo:
package CustomComponents
{
import mx.controls.*;
import mx.controls.listClasses.*;
import mx.collections.*;
import flash.events.Event;
import mx.events.*;
public class comboItemRenderer extends ComboBox implements
IDropInListItemRenderer
{
public function
Any one has an idea why I get the following error when I try to start
a new AIR Desktop Project in Flex Beta Builder 3 ?
Unable to locate specified base class 'mx.core.WindowedApplication'
for component class 'MyAir'.Air/src MyAir.mxml Unknown 1199416949109
6226
I think I need to
Hi,
I'm just wondering is it possible to upload file using web service in
flex?
I notice that if I upload file using the FileReference method I can
only Upload using URL Request.
Thanks in advance
Anthony Benjamin
Hi all,
I keep getting the same errors when i attempt to load a swc as a rsl
in my app if my rsl contains any references to IMXMLSupport or
IMXMLObject.
VerifyError: Error #1014: Class IMXMLObject could not be found
VerifyError: Error #1014: Class IMXMLSupport could not be found
If i merge
Unless comboItemRenderer is in a List or DataGrid or other
ListBase-derived class, the listData setter function will not be called.
Assigning the combo's dataprovider just tells its dropdown List what to
display.
From: flexcoders@yahoogroups.com
I think you'll have to keep your own list of focusable objects and sort
them by x,y then call setFocus on the right one.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Thursday, January 03, 2008 5:53 PM
To:
An rsl must contain all of its dependencies or have its dependencies
loaded via another rsl before it. If you use the framework cache rsl
and load your rsl after you should be ok.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bjorn
Hey all,
I've been trying to figure out a way to get rid of the panel that's shown
with the RichTextEditor either by:
- Changing the inheritance, which seems unlikely
- Disabling the Panel from showing, which seems difficult given the
fact that the core controls are
following e.g. finding x position of word Adobe flex.
if container of TextArea is not scaled then its giving correct value
but after doing zoomin/zoomout its giving incorrect value
Plz help me to figure out this.
Thanks
Kaushal
?xml version=1.0
Hello All,
Did anyone else see that Flash player navigateToURL API
ignores Content-Type header for POST HTTP request? E.g. when code
listed below deployed to some server boxes, I can see that Content-
Type header is not sent from client side (local sniffer). But for
some boxes it always works
mx:RichTextEditor
borderThicknessLeft=0
borderThicknessRight=0
borderThicknessTop=0
dropShadowEnabled=false
headerHeight=0
/
- Original Message -
From: Kevin Aebig [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, January 04, 2008 6:27 AM
90 matches
Mail list logo