You can get rid of the border around the tabs, keep the border around the
tab body, and make the unselected tabs white like this:
TabNavigator {
tabWidth: 80;
tabHeight: 25;
horizontalAlign: right;
horizontalGap: 3;
backgroundColor: #EE;
tabStyleName: myTabs;
I've always had good results like this:
In your application.css file (or in a mx:Style block), add these kinds of
font statements:
@font-face {
src: url(fonts/MyriadWebPro.ttf) ;
fontFamily: Myriad;
unicodeRange:
U+0021-U+007E; /* Normal Chars */
}
@font-face {
src:
If it were me, I'd just change the name of the field in the SQL select
statement, like:
select
[ADDRESS_LINE#2] as addr2,
- .
.
from.
Then use addr2 in your app.
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of candysmate
Sent: Saturday,
You might take a look at this, too.
HYPERLINK
http://www.minifonts.com/tips.htmlhttp://www.minifonts.com/tips.html
The second major topic on the page deals with using pixel fonts with Flash.
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ary
Sent: Sunday,
First, there's no element type Lab in the mx namespace. Second, even if
there was, there is no tag ending to your mx:Lab statement.
Try this (assuming your Lab components are in a directory named lab):
?xml version=1.0 encoding=utf--8?
mx:Application
xmlns:mx=HYPERLINK
A quick and dirty way to do it would be to just add spaces to the XML that
provides the menubar items:
private var menubarXML:XMLList =
menuitem label= File data=file/
menuitem label= Edit data=edit/
menuitem label= Create data=create/
/;
~randy
_
From:
Just out of curiosity, why aren't you using flash remoting?
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent: Sunday, September 30, 2007 3:52 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTTPService Error event
why not
You might take a look at this:
HYPERLINK
http://www.3gcomm.fr/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.htmlhtt
p://www.3gcomm.fr/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.html
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of devworkit
Sent:
If you're running the standalone version of FB2, then you need to go to the
archives for CFEclipse and download v1.30. This version of CFEclipse will
install correctly with standalone FB2.
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sheriff
Sent:
Check out the AutoComplete component from Adobe Exchange:
HYPERLINK
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=e
n_usextid=1047291http://www.adobe.com/cfusion/exchange/index.cfm?event=ext
ensionDetailloc=en_usextid=1047291
I've been successful in extending this
In FB3 beta 2, only one swf gets built -- the debug version. When you're
done developing, you export the production swf (without debug). Click on
Project | Export Release Version...
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shaun
Sent: Saturday,
Here's the code for the Adobe BindableComboBox.mxml that's generated by
the ColdFusion Application Wizard. This will do what you want.
?xml version=1.0 encoding=utf-8?
!--
\
//
// Copyright (C) 2003-2006 Adobe
I never got any response to this email. If no one knows anything about
this problem, can anyone suggest where I might look?
TIA,
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
OK. I've been pulling my hair out over this for about two weeks. I
generated
I solved this problem by rearranging some of the code -- moving the
call to remoteObject to a function that is called later in the app.
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
I never got any response to this email. If no one knows anything
about
Can anyone point me to a good tutorial or documentation on how to create a
Flex 3 project using the built-in LCDS that comes with Coldfusion 8?
Thanks,
Randy
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.488 / Virus Database: 269.15.6/1086 - Release Date: 10/22/2007
Does anyone have an answer to this? Please. :)
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
Can anyone point me to a good tutorial or documentation on how to
create a
Flex 3 project using the built-in LCDS that comes with Coldfusion 8?
Thanks,
Randy
Will the PHP wizard work with MS SQL 2005? I've got Zend PHP running on
Windows Server 2003, along with CF 8. Is there some way to get this to
work with the PHP wizard in Flex Builder 3 beta 2?
TIA,
Randy
I'm talking about the LCDS that comes with CF8, the one you can opt to
install when you're doing the upgrade from CF7 to CF8.
What wizard are you talking about?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday,
There's an LCDS wizard in Flex Builder 3? I've been running FB3 for months,
and have not seen or read anything about an LCDS wizard.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Wednesday, October 31, 2007 4:50 AM
To:
The wizard finishes, and I have a nice set of AS classes from the WSDL.
However, when I try and use any of the classes, I get compile errors all
over the place.
Apparently, the wizard creates references to custom events in the main
service class like this:
/**
* Dispatches when a call
?
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
The wizard finishes, and I have a nice set of AS classes from the
WSDL.
However, when I try and use any of the classes, I get compile
errors all
over the place.
Apparently, the wizard creates references
I generated code using the webservice wizard, and then wrote a simple
mxml file to test the code. I get this error:
1061: Call to a possibly undefined method getClass through a reference
with static type Class.
It occurs in the following code:
/**
* Internal event handler to process a
with this until the next release by just making sure I always
select the soap1.1 port in the wizard.
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
OK. I found the cause of the problem. The webservice has two soap
ports -- a soap1.1 port and a soap1.2 port
Does anyone know anything about this? Can you point me in the right
direction?
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
I generated code using the webservice wizard, and then wrote a
simple
mxml file to test the code. I get this error:
1061: Call
The fact that FB3 beta 2 does not come with all the source code is driving
me crazy!! I can't run the debugger because invariably, somewhere during the
step-through, it comes to a point where it can't find the source code in the
framework.
When is this problem going to be resolved? I keep having
From the Flex docs for ComboBox:
prompt property
prompt:String
http://127.0.0.1:2522/help/topic/com.adobe.flexbuilder.help/langref/Str\
ing.html [read-write]
The prompt for the ComboBox control. A prompt is a String that is
displayed in the TextInput portion of the ComboBox when
I would definitely be interested. There are about 5-6 other developers who
work with me that would probably be interested, also. We're transitioning to
Flex/Flash for a lot of our Intranet apps. We've been ColdFusion coders for
years (since V2.0), and have just recently upgraded to CF8. So, let me
Consider using States. You can have the app in one state and the progress
meter for your downloading in another. Whenever you're downloading data,
just make the progress-meter state the currentState. When you're all done
with the data processing, switch back to the other state.
~randy
_
I'm having all kinds of problems printing from Flex. I know it's supposed to
be really easy -- just use the FlexPrintJob, etc. -- but I can't seem to get
the PrintDataGrid to do what I want. I want the rows in the grid to be
variable height and adjust to the data, so I set variableRowHeight = true
My suggestion is that you use FB3 beta 2 and use the WSDL wizard to generate
the classes necessary to use the webservice. I did this for two of our
webservices, and I had to do only minor tweaks of the generated code to get
it to work flawlessly. Pick from the menu in FB or Eclipse, Data | Import
This really isn't rocket science. Suppose you have an AS3 class defined
like this:
package controls {
import mx.controls.Alert;
public class MyAlerts extends Alert {
[Embed(source=../images/error.gif)]
private static var iconError:Class;
public static function
Check out the TextInputMask.as and the MaskFormatter.as components generated
by the FB Coldfusion Application Wizard. These might do what you want. Also,
there's a masked text input component on the Adobe Flex exchange that would
probably do what you want, too.
~randy
_
From:
I've just posted a little demo on my blog, http://www.martinized.us/, that
should answer some of your questions. The data entry form contains a date
field that allows both selection from the date chooser and direct entry with
validation into the date field. There is also a fair amount of code that
Why not a popup with a progressBar? If there's nothing to report progress
on, you can just use a Timer to increment the progress bar and have the
event listener handler get rid of the popup when whatever you're doing is
finished.
~randy
_
From: flexcoders@yahoogroups.com
You can have a function that starts the print job, gets the page width and
height, and then the last thing it does is attach an event listener for an
end-of-scaling event and fires off the scaling function. The scaling
function finishes and dispatches the end-of-scaling event, which runs your
In the code below, the event listerer function should have been:
private function finishPrint(event:CustomEvent)
Sorry, typing faster than I'm thinking.
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
You can have a function that starts the print job, gets
Try this:
mx:Button enabled={(variable1 amp;amp; variable2) ? true : false} /
Because of the way XML is parsed, if you want to use the ampersand () in a
data binding expression in MXML, you have to use the amp; equivalent
instead of the ampersand.
HTH,
Randy
_
From:
Try this:
var newPicWindow:TitleWindow =
TitleWindow(PopUpManager.createPopUp(UIComponent(this.parentApplication),
TitleWindow, true));
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rueter007
Sent: Friday, December 21, 2007 4:26 PM
To:
You can also set the selectedIndex to -1. That will not select anything.
When I'm using data binding with the comboBox, and I'm using a value object,
I usually set the initial values for the comboBoxes in the constructor for
the value object class.
~randy
_
From:
All you have to do is set the horizontalCenter=0 and verticalCenter=0 on the
outermost component (except Canvas) in your application. For example,
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:Canvas width=100% height=100%
mx:TitleWindow width=700 height=450
In my experience, that usually means that you have two files named the same,
like myInput.mxml and myInput.as.
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Sunday, December 30, 2007 8:22 AM
To: flexcoders@yahoogroups.com
I'm assuming you mean that you have a TextInput on the canvas. So you have
something like this:
mx:TabNavigator id=tabNav
mx:Panel id=tab1_panel
mx:Canvas id=myCanvas
mx:TextInput id=myText/
/mx:Canvas
/mx:Panel
/mx:TabNavigator
So, you can get to the text input from anywhere
You can implement a simple exit function for a flex app by putting this code
in the head of index.template.html:
script language=javascript type=text/javascript
!--
function closeWin() {
window.close();
}
//--
/script
Then, you can do this in your app:
mx:Script
![CDATA[
import
...
???
Its actually one level deeper.
TabNavigator--Canvas--Canvas-Text
I get a runtime error - TypeError: Error #1009: Cannot access a
property or method of a null object reference. on the line that I ref
that text object.
--- In HYPERLINK
mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], Randy
I think what you should do is create a model in mxml from the value object
and then bind the model to the visual display components and the visual
display components to the model. How the data gets into the value object
from your database, or wherever, is still the same. For example,
// value
You could just do the work in your SQL select statement:
select
(case
when status = 1 then 'open'
else 'close'
end) as acctStatus
from
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Friday, January 18,
Try this:
mx:states
mx:State name=Login/
mx:AddChild position=LastChild
view:Login id=login/
/mx:AddChild
/mx:State
/mx:states
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Monday, January 21, 2008 8:55 AM
To:
I'm assuming that your main.mxml contains your mx:Application tag, so try
this:
package mycontrol.container-s
{
import mx.controls.-Alert;
import flash.display.-DisplayObject;
import flash.events.-Event;
import flash.events.-MouseEvent;
import flash.events.-TimerEvent;
import flash.utils.-Timer;
Put a progress bar in a model popup window when you call the data provider
routine. Add a listener for the result event from the data provider routine,
and take the model popup down when you finish processing the result from
your data provider.
~randy
_
From:
Try using the WSDL wizard in FB3. It works a treat!
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Telmo Dias
Sent: Saturday, March 01, 2008 11:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex Soap Object Arrays
Hi all,
First of
Why not write Word XML directly? I write Excel XML directly from several
apps, and create spreadsheets with merged columns, subtotals, totals,
formulas, etc. directly with XML.
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Sunday, March
Object Arrays
Hi Randy,
I've just tested it on the final version of FB3 and I still get the same.
Can you please try to create it and show me how you do it ?
Thanks a lot.
Telmo
Randy Martin wrote:
Try using the WSDL wizard in FB3. It works a treat!
~randy
_
From: HYPERLINK
Define myTT outside the function. One other thing, if you define myTT as an
ImageToolTip, you can't return it from the function createTip because you
defined createTip as returning CustomToolTip. So, either you have to define
myTT as a CustomToolTip or you have to say that createTip returns an
You might want to check this:
HYPERLINK
http://deepuverma.wordpress.com/2008/01/10/datagrid-headerrenderer-checkbox
-to-select-checkboxes-in-the-row/http://deepuverma.wordpress.com/2008/01/10
/datagrid-headerrenderer-checkbox-to-select-checkboxes-in-the-row/
~randy
_
From:
Edit the index.template.html file in the html-template directory of your
project.
~randy
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Friday, March 21, 2008 11:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] HTML
You really need to take a look at the webservice introspection wizard in FB
3. The code it generates handles asynchronous calls to the webservice
automatically. Click on the Data menu and select Import Web Service
(WSDL)... Follow the directions in the wizard. Only SOAP 1.1 is supported by
the
I second this. The problems I had all went away after I got rid of the
config files for prior versions of FB. You might also try starting FB with
the -clean option. In the flexbuilder.ini file (or the eclipse.ini file if
you're using the FB plug-in), insert -clean as the first line and save the
Try this:
private var dbConn:SQLConnection;
private var dbFile:File;
private function init():void {
dbFile =
File.applicationStorageDirectory.resolvePath(contact.db);
dbConn = new SQLConnection();
dbConn.addEventListener(SQLEvent.OPEN, createContactTable);
I've found that Alistair Rutherford's iFrame component is by far the most
reliable and easiest to use. You can find it here
HYPERLINK
http://ccgi.arutherford.plus.com/blog/wordpress/?page_id=171http://ccgi.ar
utherford.plus.com/blog/wordpress/?page_id=171
~randy
_
From:
When I export release build in FB 3, if I leave Enable view source
unchecked, I get the error message:
Flex Builder could not publish the project source: the application file
Main.mxml was not found.
I click OK, and the project exports just fine. I shouldn't get this
error if I don't enable
I've never actually done this, but can't you encrypt the credentials
in Flex, send them to the webservice, and decrypt them in the service?
~randy
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Friday 25 Apr 2008, valdhor wrote:
We don't use Flex to access our
Check out the AS3Crypto library at http://crypto.hurlant.com/
http://crypto.hurlant.com/
~randy
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
I've never actually done this, but can't you encrypt the credentials
in Flex, send them to the webservice, and decrypt
You can include an ActionScript file in it's own script block. Then in the
.as file, you could just have the XML defined and nothing else.
// put this in books.as -- or whatever filename you choose
private var novel:XML = BOOKTITLEMy Book/TITLE/BOOK;
?xml version=1.0 encoding=utf-8?
with ActionScript .as files.
Any ideas?
--- In HYPERLINK
mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], Randy
Martin [EMAIL PROTECTED] wrote:
You can include an ActionScript file in it's own script block. Then
in the
.as file, you could just have the XML defined and nothing else.
// put
Actually, I do this all the time with a viewstack. The way I do it is I have
the main application check the security and setup a security level
parameter. Then, I pass this secLevel to the component that contains the
viewstack. In the viewstack component, each view in the viewstack is its own
OK. I've been reading this thread with some interest. After all, everyone
needs a little humor in their daily life. J I'm amazed that we, as human
beings, still let words anger us so much. So what if someone tells you to
FO? Sticks and stones may break your bones, but words. If you lived in New
Just put it in your application.css file:
Panel {
paddingTop = 0;
paddingRight = 0;
paddingBottom = 0;
paddingLeft = 0;
}
And, viola, no padding on any panels. If you need some panels to have
padding, you can add style classes to support that, or just use inline
styles on the
This is a strange problem that only seems to happen in Flex 3 (not 2).
I have a form that pops up in a panel that needs to scroll vertically.
If I use the wheel or click on the scrollbar arrows, the form scrolls
correctly. But, if I click and drag the scrollbar thumb, the display
goes haywire.
Anyone?? This is really driving me crazy!
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
This is a strange problem that only seems to happen in Flex 3 (not
2).
I have a form that pops up in a panel that needs to scroll
vertically.
If I use the wheel or click
Learn to use a css file in your applications. Then you can change the colors by
just changing the css file and recompiling the app. Try this:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#
Look at how to style the application tag. You should be able to
Here's the code for a BindableComboBox. Save it in a file called
BindableComboBox.mxml (borrowed this code from Adobe, modified slightly):
mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=initComponent()
mx:Script
![CDATA[
import mx.utils.ObjectUtil;
You can use an iframe to display html inside a flex app. Check out the
IFrame component from here:
http://ccgi.arutherford.plus.com/blog/wordpress/?p=133
Also, I'm toying around with using Adobe Captivate to generate flash help
files and then display them in flex. You might want to check
I have a custom item editor for a cell in a DataGrid that consists of two
ComboBoxes. Everything works perfectly, except I'd like a way to exit the
item editor as soon as the user selects from the second combo box.
That is, I'd like the item editor to dispatch the itemEditEnd event as if
the
I have a custom item editor for a cell in a DataGrid that consists of
two ComboBoxes. Everything works perfectly, except I'd like a way to
exit the item editor as soon as the user selects from the second combo
box.
That is, I'd like the item editor to dispatch the itemEditEnd event as
if the
The CheckBox has two styles that control the color of the actual
checkmark:
iconColor - the color of the checkmark
iconDisabledColor - the color of the checkmark when the control is
disabled
Just set these to the colors you want.
~randy
--- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL
@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of Randy Martin
Sent: Monday, October 20, 2008 7:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dispatching The itemEditEnd event from within
an
item editor
I have a custom item editor for a cell in a DataGrid that consists
OK. I've posted this at least a couple of times before in answer to this
same question. The simplest implementation of this (the iframe concept) is
by Alistair Rutherford. You can check his IFrame flex component out at (he
recently moved it from his blog to Google Code) :
Here you go:
http://flexpearls.blogspot.com/2008/02/row-background-color-in.html
~randy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Mark
Sent: Tuesday, October 28, 2008 10:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: row color in
So, what you want is:
10 11 12 etc.
Joesickworkplay
Bill workworkwork
John playplaywork
You need to check out the OLAPDataGrid. It's specifically designed to
support this kind of data. In Excel, you'd call this a pivot table.
~randy
I have an AdvancedDataGrid in an application in one of the states. The first
time I display it, everything is fine. If I subsequently enter another state
and then redisplay the AdvancedDataGrid, it shows up with any borders or
grid lines. As soon as I populate it (assign a data provider), the
Anyone?? This is really driving me crazy!
--- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote:
I have an AdvancedDataGrid in an application in one of the states.
The first
time I display it, everything is fine. If I subsequently enter
another state
As a side note, the code formatter is the Enterprise IDE plugin is adequate
but still needs some work. I tried it on several mxml files, and it gets
confused, especially on the ActionScript section of the file. For example,
if you have code like this:
private function
You should be able to find out something here:
http://lab.kapit.fr/display/kaplabhome/Home
~randy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Weyert de Boer
Sent: Thursday, November 20, 2008 10:37 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
How large an array collection? I have an autocomplete (search-as-you-type)
function working on an ArrayCollection of about 5000 records, and it's
almost instantaneous.
~randy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of cegarza2
Sent: Wednesday, December 10, 2008
I guess I really don't understand what the problem is here?? I have a
smalldatetime (or a datetime) in a MSSQL database. I setup a value object in
AS to have the date field as a Date object. I go get the date from
ColdFusion using RemoteObject. The cfc sets up a CF value object with the
date as a
Try this:
Public function findPath(items:Array, mypath:String): Object {
var mySort:Sort = new Sort();
var myItems:ArrayCollection = new ArrayCollection(items);
var itemCursor:IViewCursor = myItems.createCursor();
mySort.fields = [new SortField(path)];
myItems.sort =
Are you using the latest Zend framework? Adobe contributed AMF to Zend, and
there's a Zend_AMF component in V1.7 of the framework. This might solve your
problem.
HTH,
~randy
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Daniel Freiman
Sent:
Here you go:
http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.html
HTH,
~randy
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Gregor Kiddie
Sent: Thursday, January 29, 2009 9:17 AM
To: flexcoders@yahoogroups.com
Subject:
88 matches
Mail list logo