I've been reluctant to post about this concept, mainly as I feel I am
missing some much needed OOP skills. None the less, here goes nothing.
Situation:
I have a MXML component (basically a container, with TextField, Search
Button ..or more...) that I want to re-use consistently throughout an
Hello, I have done some changes in the code you posted and now it's
working as you wish.. :)
I think the problem was that you were trying to modify the field
(i.e. reasonlist.dataProvider) which is not a field of the
datagrid's dataProvider.
Here in the xml i have added a node dxereasonid
SWCs are included automatically I think. A way to prevent is to use just
plain SWFs instead of components. (Which makes Flex just a very expensive
placeholder :) )
-Joost
-Original Message-
From: Waldo Smeets [mailto:[EMAIL PROTECTED]
Sent: dinsdag 12 juli 2005 23:17
To: alex_harui;
Hello, I was wondering :
Has anyone already mapped a different classname/package path between
Flex and Java DTO ?
Got plenty of them, but always one-to-one mapping !
Ciao, r0main
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Hello,
I would like to create children in my container (inherited from Box). I have
this code :
mx:Script
var tab : Array = [mypkg.myobj, mypkg.myobj, ...];
/mx:Script
...
mycontainer dataProvider={tab} ... /
and in mycontainer.as :
...
for (var i = 0; i
Hi David,
you need to initialize the tab Array inside a function. For example
inside your Box-subclass component do something like this
mx:Box initialize=initArray() ...
mx:Script
var tab:Array;
private function initArray():Void {
// fill you Array here
tab = [abc, def,
Hi all,
In my Flex application, I use XMLsocket to receive some server msgs.
onConnect, onClose, etc events work fine but, when I cant connect to the
socket, how can I tell mySocket to try reconnecting every, lets say, 20
seconds?
I want something like : .onNotConnected = function () { ... }
Hi all,
I am trying to find a way to replace the standard stroke in a LinkBar
component with an arrow I have made as a swf. The current code I am
using does not seem to replace each stroke and places just one at teh
top left corner of the movie. However, I could be wrong, they might
all be
Alberto,
The onConnect callback receives a Boolean flag True if connected and False
if not connected. When false just reconnect.
function onConnect(connected){
if (connected){
//connected
}else{
Sock.connect(
Hi,
I have a web service which is working fine. this web service does
not require any input parameters.
If i change the web service to accept some input parameters then
try to run my flex application which tries to connect to the web
service it gives some strange error like
Hi,
I have achieved the aim by using the setInterval function hehe
Greetings and thanks for your interest!
Theodore E Patrick escribió:
Alberto,
The onConnect callback receives a Boolean flag True if connected and False
if not connected. When false just reconnect.
function
Yep, you can use different packages/classnames with
Object.registerClass()
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of r0main
Sent: Wednesday, July 13, 2005 4:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Object.registerClass
I have change my environnement variables under windows 2000 for
jonas J2EE . It's OK except I can't save any more an edited file
under Flex Builder. I got this message :
line 75 JavaScript error
C:\Program Files\Macromedia\Flex Builder 1.5\Configuration\Menus\MM\
File_Save.js
ok, that's working ! thanks a lot but why does it work when classes are in a
package ?
-Message d'origine-
De : flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] la
part de Dirk Eismann
Envoyé : mercredi 13 juillet 2005 12:20
À : flexcoders@yahoogroups.com
Objet : RE:
There is a section in the doc on this
at:
http://livedocs.macromedia.com/flex/15/flex_docs_en/1040.htm
Stephen
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Sauro,
NickSent: Tuesday, July 12, 2005 1:49 PMTo:
flexcoders@yahoogroups.comSubject: RE:
Hi Matt,
Thanks...I did change the path to an absolute path as you and the
docs suggested...I'll re-check the url again...
Regards,
Rob
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED]
wrote:
I'm assuming that you are serving your SWF over http (and not
https).
This means
Thanks Matt. Now does anyone have the steps to view the controls
source in FlexBuilder? I remember seeing it posted here once but
can't find it searching.
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
Unfortunately this is something you'll have to build yourself. If
this is a known issue with DWMX.
http://www.google.com/search?q=File_Save.js
DKOn 7/13/05, pschirme [EMAIL PROTECTED] wrote:
I have change my environnement variables under windows 2000 forjonas J2EE . It's OK except I can't save any more an edited fileunder Flex Builder. I got this message :
Seems that the fillRect object (and, in
general, certain fills drawn onto a UI object) will not fill properly (e.g. they
bleed). An example below (called inside a custom renderer) should draw a small
red flag:
var left = 10;
var top = 10;
var flagSize = 6;
Seems fine to me. If you were going to go
truly OO (and potentially overboard depending on how many search types you
might have) on the back end you might implement your filter classes to know how
to actually do the search themselves. That way instead of having a switch
statement based
Looks like the Flex side didnt send
the web service request in the way that the web service expected it. What is
your web service engine? Can you share the WSDL and what Flex sent
(web-service-proxy-debug to true in flex-config.xml)?
Matt
From: flexcoders@yahoogroups.com
Hi
I
tink that you couldnt do it like dataTipField=anyString
you have to get the String of any dataProviderField e.g. dataTipField={dataProvider.nameOfAtribut}
but the DataTip will only appear if the Entry isnt shown in its whole
length.
flo
-Ursprüngliche Nachricht-
Any way to achieve custom tool tip
rendering on points in a chart?
-Ursprüngliche
Nachricht-
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im
Auftrag von Stephen Gilson
Gesendet: Mittwoch, 13. Juli 2005
16:00
An: flexcoders@yahoogroups.com
Betreff: RE: [flexcoders]
A good starting point.
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
I have used this as our team's development practices for Flash and Flex
development.
--
Derrick Grigg
Senior Solution Architect
Email: [EMAIL PROTECTED]
Tel: 416-204-0342
I know you CAN, but does anyone DO that ?
That is have a java class aaa.bbb.Cccc mapped to AS2
vvv.www.xxx.yyy.Zzzz ???
That is the question !
Ciao, r0main
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote:
Yep, you can use different packages/classnames with
Stacey was doing it in his example from
last night.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of r0main
Sent: Wednesday, July 13, 2005
9:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Object.registerClass different name ?
Start the app (a tiny test app is probably the easiest) with Debug. Use
the Menu - Debug - Files list to open and examine any class file you
want, including Combobox.as and ScrollSelectList.as.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Has anyone gotten the datatips to work on
a tree for elements whose text is wider than the tree component?
robert l. brueckmann
senior web developer
merlin securities
595 madison avenue
new york,ny 10022
p: 212.822.4821
f: 212.822.4820
From:
flexcoders@yahoogroups.com
To All:
I need to be able to place controls(combobox, textfield, etc.) on top
of a Panel container. Is that possible?
Much like you can with the ControlBar.
I tried to place a control on the Panel from Design View, but that did
not work either.
Thanks in advance,
Jack
--
Flexcoders
NevermindI created a label maker
function and set my tree components dataTipFunction to this function and
the val object sent to the label maker function is the entire tree node, so I
just return val.getProperty(label) (because the dataprovider of
my tree is XML) and my data tips work
Hello,
I have a menu bar in my application and I am
trying to not hard code the fact that the forth menu item is the tools menu
that I need to dynamically set the menu items on. Instead I would like to be
able to loop through all the MenuBarItems and look at their names to find the
To All:
For the past 2 days I have had problems with Flex Builder locking up.
I would reboot with no luck. I then uninstalled and reinstalled, ran
virus protection, etc.
Again no help.
Today I unchecked the Design View from Preferences and that has for
the time being, solved the problem.
Hi,
After a modaless window is opened how do I findout if the window is
still open (it has a close button) and the user has not closed it.
Rajesh J
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Well... On the click handler you could dispatch an event letting you
know when the popup is closed. Otherwise you would assume it's still open.
Rajesh Jayabalan wrote:
Hi,
After a modaless window is opened how do I findout if the window is
still open (it has a close button) and the user has
Ya, the Design View is only good if you want to purposely drain all
available memory. :)
jwc_wensan wrote:
To All:
For the past 2 days I have had problems with Flex Builder locking up.
I would reboot with no luck. I then uninstalled and reinstalled, ran
virus protection, etc.
Again no
I have the exact same setupbut
nothing is being passed to the dataTipFunctionwondering if its
because the dataprovider is not set until after the tree has initialized?
-Stace
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent:
Is anyone aware of a guid generation system for flex/flash? I'm building a system which does quite a bit on the client before a trip to the server, and it needs to make some references amongst objects that the server can understand, so a real guid generator would be the best way to do that.I
A long while ago, prior to message 8000, someone posted how to view
teh complete source for components in FlexBuilder while debugging, but
I was unable to find that post.
Does anyone have those steps?
--- In flexcoders@yahoogroups.com, Simon Fifield [EMAIL PROTECTED] wrote:
I asked the same
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
Start the app (a tiny test app is probably the easiest) with Debug. Use
the Menu - Debug - Files list to open and examine any class file you
want, including Combobox.as and ScrollSelectList.as.
Tracy
Thanks. I tried
Stacy,
I spoke too soonits not
working for me. I must have thought my following example was my
recompiled code with the getProperty callbut I mustnt have
refreshed to revuild my app to use the modified label maker function.
Very sad. Its very oddif I make the return value of my
Hi,
I am not sure how.
I did
var windFlag;
function showWindow(modal) {
Alert.show(windFlag);
if (popup == null || windFlag == true)
{
windFlag = false;
popup = mx.managers.PopUpManager.createPopUp(_root,
marketingrequest, modal, {deferred: true, windowClosed:windFlag});
}
}
in my
i have a datagrid myDg, and i am trying to make a cell focusable after
a particular column index loses focus. but it just isnt working and yes
the datagrid has editable columns and the indexes to be focused are
also editable.
am i missing something ?
function tabChecker(evtObj:Object):Void
{
yea, its a great undocumented feature they made available
to us =)
Nick
Sauro+R
O U N D
A R C H +
bus
212.909.2335+ mob 914.882.3687
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tarik
AhmedSent: Wednesday, July 13, 2005 2:09 PMTo:
All objects which are children of UIObject have a boolean
property called 'visible'. Try that. I haven't tried it, but I
think that is something you are interested in.
Nick
Sauro+R
O U N D
A R C H +
bus
212.909.2335+ mob 914.882.3687
From: flexcoders@yahoogroups.com
[mailto:[EMAIL
I call a remote object successfully. I can check that because I can dump
the result (XML) in a TextArea control:
mx:TextArea text={functions.getTypesListAll.result}/
However, I want to show the results in a ComboBox or a tree:
This is an example of functions.getTypesListAll.result
I have a whole group of mx:binding source = tags for each of my
screens. Some screens have the same field with the same name and are
fed by the same model. I want to either: put all thos tags into a
separate file and somehow include it into my .mxml file at compile
time; or, better yet, create a
in a Label component? like this:
mx:Label id="myLabel" htmlText="lt;a
href=''gt;http://www.macromedia.comlt;/gt;"
/
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Sauro,
NickSent: Wednesday, July 13, 2005 12:29 PMTo:
flexcoders@yahoogroups.comSubject:
Hi,
THanks Nick.
Rajesh J
--- In flexcoders@yahoogroups.com, Sauro, Nick [EMAIL PROTECTED] wrote:
All objects which are children of UIObject have a boolean property
called 'visible'. Try that. I haven't tried it, but I think that is
something you are interested in.
Nick Sauro + R O U
mx:Canvas
mx:Panel/
mx:ComboBox id=comboID
mx:TextField x={comboID.width+10}
/mx:Canvas
Will do the trick.
On 7/14/05, jwc_wensan [EMAIL PROTECTED] wrote:
To All:
I need to be able to place controls(combobox, textfield, etc.) on top
of a Panel container. Is that possible?
Much like
I recall Matt saying that you could not create bindings in AS.
You might search the archives to verify that.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Libby
Sent: Wednesday, July 13, 2005 5:43 PM
To: flexcoders@yahoogroups.com
Also, look into getURL()
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Joan Tan
Sent: Wednesday, July 13, 2005
5:42 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] external
links?
in a Label component? like this:
Use either labelField of labelFunction. It looks like labelField will
work in your case.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 5:01 PM
To: flexcoders@yahoogroups.com
Subject:
Sounds like maybe your site is not set up correctly? Can you debug at
all? Make sure you have the debug player installed.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of charlespaz1
Sent: Wednesday, July 13, 2005 2:29 PM
To:
I am not following your question. What do you mean by on top?
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jwc_wensan
Sent: Wednesday, July 13, 2005 1:30 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Placing controls on top of
Uh, no. SWCs are bags of definitions that get pulled in if there are
dependencies on the definitions. At the end of the day, the graph of
dependencies is traversed. Whatever is referenced goes into the SWF,
whatever isn't referenced doesn't.
The problem/issue is that the dependency graph
Thanks Tracy, it seems to be the right solution but I can not get it to
work.
I created a test.xml with the following:
?xml version=1.0 encoding=UTF-8?
FunctionTypes
FunctionType code=FUNC1 name=Function 1
DocType code=DOC1 name=DocDesc1/
DocType code=DOC2
Scott:
Thanks for the help.
Jack
--- In flexcoders@yahoogroups.com, Scott Barnes [EMAIL PROTECTED]
wrote:
mx:Canvas
mx:Panel/
mx:ComboBox id=comboID
mx:TextField x={comboID.width+10}
/mx:Canvas
Will do the trick.
On 7/14/05, jwc_wensan [EMAIL PROTECTED] wrote:
To All:
I
welcome
On 7/13/05, Sean McKibben [EMAIL PROTECTED] wrote:
Is anyone aware of a guid generation system for flex/flash? I'm
building a system which does quite a bit on the client before a trip to
the server, and it needs to make some references amongst objects that
the server can understand, so
Tracy:
Maybe I should have said placing within a Panel container instead
of on top of as you do for a ControlBar container.
Scott Barnes in an earler post gave me the solution. It appears the
it needed to be wrapped in the Canvas container.
Thanks,
Jack
--- In flexcoders@yahoogroups.com,
Hey Sean,
Check out ASCrypt at http://www.meychi.com/archive/31.php
It has the following classes: Base8, Base64, Goauld, LZW, GUID, RC4,
MD5, SHA1, ROT13, Rijndael and TEA.
I have used the GUID class at it creates exactly what you are after.
Also it is all written in Actionscript 2.0
Thank you, that works great !
CONFIDENTIALITY STATEMENT - This message and any files or text attached
to it are intended only for the recipients named above, and contain information
that may be confidential or privileged. If you are not an intended
recipient, you must not read, copy, use,
Thanks Andrew Clint. Oddly enough, within about 5 minutes, I:a)finished building my own class to do it (converting Branden Hall's SHA-1 algorithm to AS2)b)received Clint's classd)received Andrew's linkTook longer to research than to write the class, once I found an AS SHA-1 algorithm.I just
XML is a bit strange.
The dataProvider must be an array, so you need to do something like:
dataProvider={functionModel.childNodes}
I'll see if I can test it out later.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
In the latest I used a cartesian chart the first i think was
actually a bar chart. It worked just fine at one point but something
triggered it to stop and I dont know what and havnt been able to fix
it. Ill give a stroke a shot - though something is def off and not
sure what it would seem
Hi list,
One of the great things about Flash MX Components was that I could inspect the source code on
C:\Documents and Settings\~user~\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes\mx\*
This way that I could see better the internal implementation
Hi,
I have a DataGrid control and use addItem and removeItemAt method to
add and remove items. This works properly. At the same time, I need
to dynamically calculate the sum for certain field in the DataGrid and
bind the result to a text field.
I add a listener for modelChanged event of
I got some odd results with labelField, but labelFunction works fine:
Tracy
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Script![CDATA[
private function lblFuncCode(oItem:Object):String
{
return
I think it stems from the use of an array in databinding. One way to
fix this is to reassign your dataprovider. Also you could broadcast a
model change event upon completion of the changes. This would hopefully
then trigger the sum to change.
I had a similar issue a while back and Tracy helped
Try c:/Program
Files/Macromedia/Flex/resources/flexforflash/FlexforFlash.zip
-Kent
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Tiago Simões
Sent: Wednesday, July 13, 2005
6:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Hai Jack,
Ithink u mean placing controls on the panel header right? EvenI have tried doing it but could not arrive at a solution... but there's one way u can achieve it you can have a canvas right on top of the panel header and then place the combobox or anything on the Canvas... This is
Yeah, this is really poorly documented so
be aware this could easily change in 2.0. Note that even though the Menu
is supposed to use a TreeDataProvider I had to use the MenuDataProvider
interface which we havent even documented in the ASDoc from what I saw (but
essentially imagine the
71 matches
Mail list logo