Hi Alex,
I stopped playing with ViewHelpers in the 80% of the cases. I was
overloading the use of ViewHelpers and thank God I soon realized of
that. To make more reusable components, I prefer embeding script code
into the mxml file, use reusable commands (this was discussed in another
thread)
Hi all,
Is it possible that I can merge the dataGrid Tree components to
make a single custom component. I have a scenario where I need to
simulate the MS Outlook inbox section when the mails are grouped as
per a specific field.
Please help...
Thanks.
--
Flexcoders Mailing List
FAQ:
Hi all,
When using Cairngorm (usually for middle-large developments), lots of
events, services, commands, etc start to move behind the scenes:
new Delegates, new Events, etc... so my question is, when are these
objects removed from memory?
Imagine I have a screen that loads products depending
Hi
A couple of times this has happened. I've been playing with the
shortcut keys and somehow my keyboard has ended up being in US
keyboard format (i'm used to UK). I don't know how it got like this
(but i'm monitoring the situation). Interestingly, if i open up
another app (eg Notepad) it
I am using DateField control in my application, my problem is that when I click a date then it shows date perfectly fine..but, when I click somewhere at the end towards right side of the control it shows value :NaN/NaN/NaNas selected date. Please refer to the attached datefield.jpg file.Thanks
Matt,
Yes, the value my_cb.selectedIndex is a integer value and is not -1 , its sure...coz this value gives me the auto increament ID value from themysql database table...and accordingly i store this value to other database, and i get the perfect result.
Infact thethere is no effect
hi jason,
this was not the problem. look at my example i responsed to
Matt.
Cheers
Sönke
the return from your
dataForFormat call is anarray or a collection.
so try
trace("data " + data[0].toString());
where the
[0] is the first item in the collection or array.
actually my problem is
their
will two webservices
1. one for fetching data from
thedatabase andfilling the datagrid.
example: response
data
Namesathish/Name
AddressChennai/Address
/data
data
Nameselva/Name
Addressdelhi/Address
/data
/response
2. anothor for saving the data to
the
Hi Matt,
What I need is to callback a function at the object that
instantiated my class.
My class wraps the flex webservice object, it calls the webservice
operations e drives the result event so that the operation can be
executed synchronously.
The class needs a reference of a function to
Hello,
I tried following issues for several days but failed.
1.add a lable on the top of each column in a column chart.
2.set the color of a specified row in datagrid, I found it is possible
to set the color of the column.
Thanks in advance!
John
--
Flexcoders Mailing List
FAQ:
Problem fixed. Here is the code. It seems a little stupid but it
works. var colors value is same with the value in chart series
render, so we can get the same color.
mx:Legend dataProvider={countryList} initialize=initLegend()
direction=horizontal markerHeight=5 markerWidth=5 width=100%/
Try
this node label="Test" data=""/node I
structure my xml this way, so this might verywell be a
bug.
jason
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part
de Sönke RohdeEnvoyé: jeudi 23 février 2006
11:59À:
Hi Matt,
This really looks like a bug. I have made a simple example. Try to drag the
leaf of the tree and there will be traced that the array has length 1 but
the trace of the item itself is empty.
Cheers,
Sönke
?xml version=1.0 encoding=utf-8?
mx:Application
I
really see no prob with this i traced
isArray l 1
doDragDrop Title label="Intern"
Name label="Kapil Virdi"/
/Title
Seems to
work, what exactly are you expecting ? as a result other then the
above
jason
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL
never
mind i see now the leaf is the problem give me a couple secs
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part
de Jason HawrylukEnvoyé: jeudi 23 février 2006
13:56À: flexcoders@yahoogroups.comObjet: RE:
[flexcoders] Tree
Hi,
We have a menu that needs to be displayed right below a label. The menu
shows up on mouse over of the label.
It works well with fixed x and y positions in menu.show(). But the menu
shows in the wrong place if we resize the window. The menu would show at
the original x and y positions and not
hi,somebody can tell me how to get the BitmapData/Bitmap of flex controls,such as the Button.-- 闲云孤鹤 - 清冷香中抱膝吟
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Hello Flex Coders,
I know this question was discussed earlier, but I can't find the
working source code.
So please if anyone has source for working ObjectCopy class, please
send it to me.
Best regards
Stanislav
--
Flexcoders Mailing List
FAQ:
hi group,anybody plz tell me that, the applications build on flex 2.0 beta version will run only on Flash 8.5 or it can run on lower versions of Flash.Flex 2.0 is backward compatible with flash or not?? regards,raviGreat people talk about ideas, average people talk about
somebody can tell me how to get the Bitmap/BitmapData of a
control,such as the Button's BitmapData?
i know the Image control's Bitmap is the first child of it,so where is
it of other controls?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Hello Flex Coders,
I have next question:
For example we have declared in mxml Button with width property set to N%.
So I'm wondering how I can find at runtime that this Button is N% width?
Best regards
Stanislav
--
Flexcoders Mailing List
FAQ:
Exactly! Seems like a bug doesn't
it?
Cheers,
Sönke
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im Auftrag von Jason
HawrylukGesendet: Donnerstag, 23. Februar 2006 14:02An:
flexcoders@yahoogroups.comBetreff: RE: [flexcoders] Tree
DragAndDrop no data for
I
think is has to do with our lack of knowledge I have it working inc.. in 2 mins
got to clean it up
jason
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part
de Sönke RohdeEnvoyé: jeudi 23 février 2006
14:37À:
I have
to assume that if this works
var
data:Object = event.dragSource.dataForFormat("treeItems");trace("doDragDrop
" + data[0].parent());
the
xml or return object thinks no children exist there are only attributes not a
full xml string value, so you have to access the attributes. I
hi,
Could you please send in the code of the itemRenderer that you are
using in this code?
Thanks
Harish
Flex-QA
Adobe India.
[EMAIL PROTECTED]
--- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED]
wrote:
Wow, we're even getting weirder here. If I reference the dataGrid *at
Hello Stanislav,
Thursday, February 23, 2006, 3:16:59 PM, you wrote:
So please if anyone has source for working ObjectCopy class, please
send it to me.
As a true ActionScript programmer you better subscribe to Flashcoders
mailing list too :)
Taken From FlashCoders:
use mx.utils.ObjectCopy:
Yeah, Ive got that working now with
individual row heights changed. I guess I just wanted a way to take one
datagrid and copy the heights to another a bindable solution for
datagrids with different row heights. It seems the only way to make an
individual row height different is by a
Hi,
I have a mx:XML component in the 'application' mxml file that I want to
access from another mxml file, how do I do that? The other mxml is a form
that's part of a viewstack in the 'application' mxml file:
Main.mxml:
mx:Application ...
...
mx:XML id=my_xml .../
Flex 2.0 would not be supported in older
flash players, but older content created in Flex 1.5 should work in Flash 8.5
player.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ravi
mishra
Sent: Thursday, February 23, 2006
12:12 AM
To:
I think there is method on the Box container called pixelsToPercent.
Other than that just do the math yourself.
Button.width/parent.width that should give you a percentage.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Stanislav Zayarsky
Hello all;
I'm getting a error that i can't seem to trap when dragging an item
into a folder that has no child items yet. The tree uses a
XMLListCollection for a datasource. If there is at least one item
(leaf) it works fine.
Has anyone noticed any issue here, and/or a possible solution?
Hi Jason,
thanks a lot! this works. Anyway I would expect a different
behaviour but now I can go on with the real problem.
Cheers,
Sönke
Von: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] Im Auftrag von Jason
HawrylukGesendet: Donnerstag, 23. Februar 2006 14:57An:
Thanks Matt, that worked great! However, I am creating a new
component with my add function. That component is an HBox with
various text inputs and a delete button to handle a delete function
for that particular HBox. How do I get the newly created component to
recognize what number it is in
Hi Jan,
You can define a variable in TestPage.mxml and then assign it a value
as a property of TestPage in your main application. Example below
passes a String object.
- Doug
TestPage.mxml:
mx:Form ...
mx:Script
public var myVar: String;
/mx:Script
...
Hey everyone, has anyone come across a problem while
attempting to a compile a flex application, and the builder freezing, and then
coming back with an error stating a flex server couldnt be found
at the url?
I know its not my java memory, as I have increased it to
256m, and when I
Id like to know that too! Lets
hope Glenn Ruehle is reading this and would be so kind to post his example ;)
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: dinsdag 21 februari 2006
17:45
To: flexcoders@yahoogroups.com
I have the J2EE version of CFMX7 server installed on my home pc. Note
that this is a special CFEverywhere version of CFMX7, running on
top of the Jetty http server. For all intensive purposes, however, .. it is a
working installation of CFMX7 that's powered by JRun, .. which, as I
Hi all.
I've talked to Glenn, and he says that because of an
unfortunate late breaking bug that was introduced right before beta 1, two of
the three demos he did on the video don't actually work on beta
1.
His plan is to get the bugs fixed and to post the source in
time for beta 2.
Speaking of which, is there any sort of
timeline for beta2? Next week, next month, next year? J
_
Jonathan Miranda
Flexible Master of the Web
In the
game of chess, it's important to never let your opponent see your pieces.
HealthGrades:
Is this thing on?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Hello,
i have a problem.
Please, help...
if:
...
var s:Sprite = new Sprite();
var b:Box = new Box(); // box - mx.core.Container.Box
then:
b.addChild(s);// - ERROR: cannot convert
flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent
i know (from debugger) that method
Hi Everyone,
I'm having the same problem as Ian, here. The example works great on
a single-server CF7 install but I can't get the example to run
correctly on a multi-server CF7 install.
The test.cfm page runs correctly on the multi-server CF7 but the
Flex app returns the following errors when I
So is there no way to to scroll to an arbitrary location within a TextArea in AS3/Flex 2?-andrewOn 2/22/06, Andrew Cacioppo
[EMAIL PROTECTED] wrote:I'm programtically selecting text in a TextArea component by calling setSelection( startIndex, endIndex ), but often times, the selection is
var s:Sprite = new Sprite();
var b:Box = new Box(); // box - mx.core.Container.Box
then:
b.addChild(s);// - ERROR: cannot convert
flash.display::[EMAIL PROTECTED] to mx.core.IUIComponent
i know (from debugger) that method 'addChild(val:DisplayObject)' in
mx.core.Container
You can wrap your Sprite inside an UIComponent (code not tested):
var s:Sprite = new Sprite();
var c:UIComponent = new UIComponent();
c.addChild(s);
var b:Box = new Box();
b.addChild(b);
I meant b.addChild(c) of course...
--
Flexcoders Mailing List
FAQ:
Hi all,
just did some experimenting with Cairngorm 2 for Flex 2. You might take a look at my blog for the sample and it's source.
check it out at everflash.com
Have fun !!!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
--- In flexcoders@yahoogroups.com, Jens Halm [EMAIL PROTECTED] wrote:
You can wrap your Sprite inside an UIComponent (code not tested):
var s:Sprite = new Sprite();
var c:UIComponent = new UIComponent();
c.addChild(s);
var b:Box = new Box();
b.addChild(b);
I meant
I leveraged the new Cairngorm Framework (C2) recently on a Flex enabled Flickr app. Functionally, it's pretty similar to the hundreds of other Flickr apps, but the point of the app was to immerse myself in the new vr of C2, rather than to get bogged down in functionality. NOTE: loosely
Does giving your TextArea the focus with setFocus() inside a
callLater() scroll the selection into view? I have no direct
experience with this in AS3, so take it for what it's worth...
Doug
--- In flexcoders@yahoogroups.com, Andrew Cacioppo
[EMAIL PROTECTED] wrote:
So is there no way to
Probably worthy of an entire other
discussion, but what was the benefit of using Cairngorm Framework with this
application? This could be done a lot simplier outside unless Im missing
something. I guess Im in the mood for a framework versus overkill
discussion J
Try this:
myTextArea.text = newText;
myTextArea.validateNow();
myTextArea.vPosition = myTextArea.maxVPosition;
Dirk.
Von: flexcoders@yahoogroups.com im Auftrag von Andrew Cacioppo
Gesendet: Do 23.02.2006 19:18
An: flexcoders@yahoogroups.com
Betreff:
Hey, Nick, No, I use FB 1.5 regularly and
I have not seen this. FB 1.5 has a few quirks I have learned to live with, but
not that one. (yet!)
Sorry to be no help.
Tracy
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sauro, Nick
Sent:
Someone has done this and there is example code available. I believe
the name is TreeGrid. Check out FlexAuthority, I think that is where I
saw it. If not, google.
Tracy
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Robs
Sent: Thursday,
Jonathan,
I think it's important to separate when people are using
Cairngorm in an application (such asa Flickr application) in order to
immerse oneself in or learn/understand the framework, or when people are
applying the framework to leverage benefits in much larger application
Oops, sorry - seems as if I misinterpreted your inquiry.
Maybe if you read the TextMetrics (lineheight etc.)? I don't have the
documentation in front of me but I'm sure there's such a thing.
Dirk.
Von: flexcoders@yahoogroups.com im Auftrag von Andrew
Oh of course, I didnt mean to come
across as dogging his application efforts I was asking mostly if he
found benefits to using Cairngorm besides a learning experience. I probably
should have started another discussion instead of coat-tail his application, it
probably came off as
Hello,
This just seems like a dumb question but, I have the code below;
[code]
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml xmlns=*
layout=vertical
creationComplete=addHoldsToList();
mx:Script
![CDATA[
import HandHold;
var
--- In flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED]
wrote:
Probably worthy of an entire other discussion, but what was the benefit
of using Cairngorm Framework with this application? This could be done a
lot simplier outside unless I'm missing something. I guess I'm in the
--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] wrote:
Jonathan,
I think it's important to separate when people are using Cairngorm in an
application (such as a Flickr application) in order to immerse oneself
in or learn/understand the framework, or when people are
I have a cfc function that I am using to search my db and it returns
results as a query. This works fine with my testing.
The issue that I have run into is. How I can use two returned db
fields in one dg column.
Right now I am testing this.
mx:DataGrid x=10 y=67 id=ASDG click= width=85%
Have a look at DataGridColumn.labelFunction in the docs. You can
specify a function for the column that returns a concatenation of
your two fields.
Doug
--- In flexcoders@yahoogroups.com, Jeremy Rottman [EMAIL PROTECTED]
wrote:
I have a cfc function that I am using to search my db and it
When I try to compile with -strict, I get the error:
Implicit coercion of a value of type 'String' to an unrelated type 'int'
The line it refers to reads package packagename {
Any ideas?
Also:
Is there a convenient way to create objects from JSON in AS3?
--
Flexcoders
Is there any way to get an application developed using Flex Builder
2.0 to be viewable with version 8 (not 8.5) of the player?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Roger,
Speaking of
factories - I am missing something on object initialization when cloning
instantiated classes - is it going to be possible in Flex 2 final? Something
like this:
package {import
mx.core.IFactory;import mx.utils.ObjectUtil;
public class ObjectClassFactory implements
How are you reading data from ColdFusion?
If you are using CFC's connected to remote objects then you can already
easily do everything you mentioned.
Once you have a remote object tag in flex pointing to a CFC you can any of
its methods just like you could using cfinvoke.
There is a working
On your remote object try setting
makeObjectsBindable=false. Maybe its one of our known bugs? Otherwise this
doesnt make sense without seeing it in action.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jignesh Dodiya
Sent: Thursday, February
This is probably a known bug but I'll forward it on. Not sure if
there's a workaround.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sourcecoderia
Sent: Thursday, February 23, 2006 7:52 AM
To: flexcoders@yahoogroups.com
Subject:
Declare a variable in comp2 of type integer. Then simply set it on the
created child with the counter value. When you delete you simply pass
that back through.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of rgwilson26
Sent: Thursday,
Try setting direction to horizontal. With
the direction vertical if you had more than one column youd see it go
down first and then right which means extra stuff goes off to the right. In
the horizontal case you go right and then down, so the extra stuff goes off the
bottom and the
I think there must be another problem in your file and the compiler just
can't line it up correctly. Can you break the file down further and see
what happens? I'm assuming you did this in an AS file and not MXML?
As for JSON I don't think anyone has tried it yet.
Matt
-Original
70 matches
Mail list logo