Has anyone experienced this:
I have a tree that is being populated by an xml object -- treeDataXML,
using databinding.
Situation:
Adding a new node to the treeDataXML via the appendChild(newNode)
Case1: Add to a branch node -- works
Case2: Add to a leaf node -- browser crashes.
The crashing i
I am studying the phones example, the documentation, and all web resources I
know of as fast as I can in order to get my 25 year old procedural head around
these new Flex/OO concepts.
My goal is to create a working mockup of an existing application I wrote in
CFML\HTML a few years ago. I am ha
Hi,
It is probably not worth doing this now. As Darrel
pointed out on this thread somewhere there is an AS3 library for JSON coming out
soon.
-David
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Doug
LowderSent: Friday, February 24, 2006 5:57 PMTo:
Regarding JSON, have you tried the parser at
http://www.theorganization.net/work/jos/JSON.as to see if it will
compile in AS3? Since the eval() function has been removed, I think
parsing is the only approach left.
Doug
--- In flexcoders@yahoogroups.com, "dhirshbe" <[EMAIL PROTECTED]> wrote:
>
Aww…and I thought it was 42 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: Guiding America to Better Healthcare™
NASDAQ:
HGRD
w (720)
963-383
147 J
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, February 24, 2006
2:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Another
charting bug
If you use a mx:Legend in the control-bar of a panel
Yes, a for..in loop will return the properties as strings, you'll want
to use a regular for loop (for (var i:int=0; i < someArray.length; i++)
if you want the int access.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dhirshbe
Sent: Friday,
If you use a mx:Legend in the control-bar of a panel that
holds a graph and you don’t specify width=”100%”, the legend
will not wrap in the control-bar and go off the screen (with no scrolling so you
can’t see the edge of the legend). So either the Legend isn’t
correctly reading it’s defa
Thanks, it was somewhere else in the file. I wasn't aware that arrays
still had string indices. The error was: for(var i:int in someArray)
--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> I think there must be another problem in your file and the compiler just
> c
One other solution would be involving
ExternalInterface and microsft web components - we will release toolkit for
customizable export to Excel at the time of Flex 2 release - however,
crude html for export to excel can be used with microsoft web
components.
Thank you,
Anatole Tartakovsky
Well I should have just done some
research. For the rest of the flexcoders group, here goes:
1) http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=298
2) http://cfdj.sys-con.com/read/46790.htm
_
Jonathan M
There's an AS2/Flex 1.5 example for Internet Explorer/Windows OSes
over at CFlex that exports a datagrid to Excel.
http://www.cflex.net/showfiledetails.cfm?ObjectID=298
Since an IE-only solution wasn't an option for me, I use a LoadVars
class to post the contents of the grid's dataprovider to a
Hi All,
>>> don't need that in
2.0 because we have closures which means that the function will maintain
the correct "this" pointer <<<
Sorry for perhaps silly questions... It sounds like AS3 Function object now
becomes something like thunks in C++, delegates in .NET or mx.utils.Delegate
in Flex
Flex 1.5 has serious problems with document style web
services that use complex types. Are you possibly using complex
types?
On a related note, an Adobe engineer ( Matt Chotin I
believe ) posted a note last week saying that a bug with document style web
services had been fixed that would
Good day all...I have been using flex1.x for about a year now..and for all that time I have been consuming RPC style web services.The situation has arised. where i need to consume web service that of document style..when i try calling the web service using the same method that i use for RPC
Title: TreeGridCellRenderer
Agha,
Use a handler function for the ‘mouseUp’
event of the tree
In the function:
check if the selectedNode
is a branch
if it is -
check if it’s open|closed
if
it’s closed – open it
if it’s open – close it
Hi Brendan
I had the same situation and I noticed that the x,width... are reset
only after the columnStretch event is finished. I handled it in the
draw event.. it worked fine since the draw event fires after the
columnStrech is finished.
Thanks,
Anu
--- In flexcoders@yahoogroups.com, "Brenda
Before I go off and research, wondering if anyone has
tackled these before so thought I’d ask here.
-Anyone exported a datagrid’s data out to an excel file or printer?
-Anyone tried connecting with MDX/Cube technology directly?
_
Jonathan Mir
Title: TreeGridCellRenderer
First of all I'd like to thank James for this great contribution. I am using it in pre-production mode of one of my apps and everyone loves it. How can I make it so that users can also expand the node by clicking on the item and not just the arrow?
Thanks
Agha M
Its seems to be really a helpfull material, keep posting such links Brendan
On 2/25/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
Pat,Have a look at the object inspector tool in the FAST toolkit...
http://www.macromedia.com/devnet/flex/articles/fast_userguide.htmlPa
IIS standard compression filter works only "second
time" - ie it compresses the resource for future requests while sending the
first one out - not good for dynamic requests. You would need to set it up on
PHP layer - please see if the options are available in your
packages/gateway.
Thanks,
Hi Carolyn,
Thanks for assumption. Yes, I can define function return type other than
void and it also works fine. It's not critical issue for me, there are few
workarounds. But out of curiosity, why the "return ;" statement throws
runtime error in the original example, but works well outside o
Pat,
Have a look at the object inspector tool in the FAST toolkit...
http://www.macromedia.com/devnet/flex/articles/fast_userguide.html
Pay attention to:
EchoConsole.mxml
EchoConsoleconnection.as
EchoAppConnection.as
You'll have to figure out your remote calls, but this does show the
dynamic c
If you can find a way to find out
rowHeight by actionscript with variableRowHeight=true, more power to you –
I’m still stumped on this.
_
Jonathan Miranda
Flexible Master of the Web
"In the
game of chess, it's important to never let your oppon
What did you use for number? What about height=”{(dg.dataProvider.length
* dg.rowHeight) + 2}”… you might need the + 2 there to account for
the 1px border on top and bottom. For the variableRowHeight, you will have to
do a lot more work. It will be very tough since you cannot just loop
Just a guess here...
You defined the function as void. When you call the return
statement with no value it probably gets the * type.
You could define your function to have a return type you do not use, or
drop the void return type.
At 01:04 PM 2/24/2006, you wrote:
Hi João,
>> Isn't missing a
I think this is what you are looking for:
On 2/24/06, rgwilson26 <[EMAIL PROTECTED]> wrote:
> I would like to know if there is a way to allow a link that has been
> clicked to stay highlighted with relation to what viewstack item is
> displayed? I have all forms under one viewstack (on the right
Hi João,
>> Isn't missing a { after the if( i==2 )? <<
In my understanding missed { will cause compilation error, but this code
compiles w/o any problem and throws exception at runtime. Probably it's
mxmlc or AS3 engine bug, similar code worked well with previous Flex
1.5/AS2. Anyway surroun
Ok.. It's a way.Do you know how to set compression filter at IIS ? I'm using PHP.It will work on IE and Firefox?thanks,Gustavo (from Brazil)On 2/24/06,
Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
Why do not just set compression filter on the
server and list URLs worth compressing
Hello fellow Flex coders! Greetings from the frozen state of Utah.Well, I'm stuck. I see a lot of people asking for examples of how to do a dynamic tree. Dynamic as in JUST loading the first level of nodes, and when the user opens a node, it calls back to the server, gets it's children, and a
No, I don’t unfortunately, you might
be better off creating your own renderer, they are pretty simple to make, shouldn’t
be much of a problem.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, February 24, 2006
12:02 PM
To: fl
Isn’t missing a { after the if(
i==2 )?
João Fernandes
Sistemas
de Informação
Programador
Informático
Cofina media
Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]
From:
flexcoders@yahoogroups.
Hi All,
I've got runtime ActionScript
error when "return" statement placed inside try/finally block. Small test
case attached below, it reports me:
VerifyError: Error
#1068: void and * cannot be reconciled.
Is it correct AS3
behaviour?
http://www.macromedia.com/2005/mxml" xmlns="
Hi,
I have a method which calculates the width/position of my column
headercells within my datagrid. If the datagrid resizes, and i call
my method, it re-calculates the widths/positions just fine.
private function determineTopDividerX():Void
{
topDividerX_left =
periodDataGrid.getColumnAt(per
I would like to know if there is a way to allow a link that has been
clicked to stay highlighted with relation to what viewstack item is
displayed? I have all forms under one viewstack (on the right), with
multiple navigation menus/linkbars (in another viewstack on the
left...vertical alignment
Do you know the FQO for the combobox cell render. I searched the
livedocs and could not find it.
--- In flexcoders@yahoogroups.com, "Sauro, Nick" <[EMAIL PROTECTED]> wrote:
>
> I had a similar problem, and using the fully qualified object
> name(mx.controls) worked.
>
>
>
> ___
I had a similar problem, and using the
fully qualified object name(mx.controls….) worked.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Rottman
Sent: Friday, February 24, 2006
11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unable
I recently had a colleague recommend not using the Embed tag for
loading SWF files into html. I personally use swifs generated from
multiple applications and I've currently got FP 8.5 on my main browser
apps (IE/Moz-FF). I'm wondering if there is a definitive statement
from someone who develops the
I have this datagrid
In it I am trying to use the cellerRenderer ComboboxCellerRenderer,
and populate it with the bindable array agentType. I have imported the
mx tools below. Does anyone know
oups, i've just seen a previous post from Jason Graham
giving me a possible solution (i do have static final
properties in my Java class..:))
Sorry for this repost.
Antoine
--- Barrau Antoine <[EMAIL PROTECTED]> a écrit :
-
Hi,
i'm currently experiencing a probl
Hi,
i'm currently experiencing a problem with the
conversion of an actionscript class to a java class
during a service call with Flex 1.5.
I get a the following error when trying to call an
update service :
"The expected argument types are (myPackage.UserData)
but the supplied types were (flashgat
You have something in your class that the serialization layer is having
a problem with. Make sure in your class you don't have any static final
fields. This will cause a problem because the serialization layer going
from java to flex sends these fields across, when you send the object
back to jav
If you set the “Detect Flash Version
8.5” and check “Express Install” in the Flex 2 builder, it
doesn’t work at all (I’ve had to have clients manually install the
player…which also requires admin rights, which is annoying) – they just
see a solid blue screen. Is this working as intended
I’d love to figure this out also,
especially if you use variableRowHeight=true
_
Jonathan Miranda
Flexible Master of the Web
"In the
game of chess, it's important to never let your opponent see your pieces."
HealthGrades: Guiding America to B
Why do not just set compression filter on the
server and list URLs worth compressing there ? The http protocol will transport
compressed info over wire and deliver uncompressed information to the
player. Seems you would get larger benefit with much less work and transparent
solution.
Thank
Hi
Please go through the attached file. Hopefully this
must solve your problem. however, the selectedRanges
property is capable of returning multiple ranges as an
array of objects. The example I have attached will
handle only one range. For getting values across
ranges you must loop through the ar
Hi.. I would like to compress a String and send it to a server.I used compress() function of ByteArray and worked fine.But I need to do reverse, and the uncompress() function did not works.The uncompress() function only works in the SAME instance of ByteArray. (arrggh)
Is there another way t
Hi all,
Is there any property on the DataGrid component to automatically resize
the datagrid to show the number of items of its dataProvider?
I use height="dataProviders.length * Number" but it's not exact enough
Thanks
--
Alberto Albericio Salvador
Aura S.A. Seguros
Departamento Informática
I am integrating a Flex frontend with a J2EE backend using Cairngorm
Framework and RemoteObjects. I am able to successfully retrieve
information from my java services, but when they are sent back after
changes are made to the Java Service doesn't always recognise them
as the correct type of Ob
Thanks for the code snippet. I have logged this as a
bug for investigation .
Thanks
Harish
Flex-QA
Adobe India.
--- Teoti Graphix <[EMAIL PROTECTED]> wrote:
> Hello,
>
> This just seems like a dumb question but, I have the
> code below;
>
> [code]
>
>
> xmlns:mx="http://www.macromedia.com/
hi, i am new user of flex2. now i am doing one module which requires range start date and range end date of selectedRanges of date chooser control. if u specify multipleselection property is "true" in date chooser it selects range of date. i want start range date and end range date.
Hello all:
I tried to run the following codes in flex builder 2 :
import mx.rpc.AsyncToken;
import mx.rpc.events.*;
import mx.messaging.events.*;
import mx.utils.ObjectProxy;
private var ds:DataService;
public var noteObj:Object = new Object();
public var getToken:AsyncToken;
public var noteProxy:O
Have a look at the attached files. This is a sample
implementation of a labelField in datagrid. This picks
up data from an xml, concatenates the first name and
last name into a single datagrid column and displays.
Have a look at the getName() functio implementation.
Hope this helps,
Harish
Flex-
I am integrating a Flex frontend with a J2EE backend using Cairngorm
Framework and RemoteObjects. I am able to successfully retrieve
information from my java services, but when they are sent back after
changes are made to the Java Service doesn't always recognise them
as the correct type of Ob
hi guys...
I just want to check a couple of quick details about setting up
Flex2.0 on a Mac.
(1) Even tho I've got Eclipse (and the CFEclipse plugin) working OK
on the Mac (10.4.5), there isn't FlexBuilder for Mac yet? not even as
a plug-in? this means using ANT scripts or whatever to use the co
You can find details on this topic on below URL
http://labs.macromedia.com/technologies/cf_flexconnectivity/
hope it helps
Jyoti Kishnani
([EMAIL PROTECTED])
On 2/24/06, Dekayd Media Inc. <[EMAIL PROTECTED]> wrote:
How are you reading data from ColdFusion?If you are using CFC's connected
Thanks Carson. I found that MyEclipse also came with the TcpMonitor
and it doesn't cause extra character.
-Julian
--- In flexcoders@yahoogroups.com, "Carson Hager" <[EMAIL PROTECTED]>
wrote:
>
> You don't have to change the wsdl. It only specifies the default
location. You can override that i
if flex2.0 supports or recommed flash player 8.5, then we should use the same recommended versions, unless some features will not be working, or some tags of mxml will be depreciated in the older versions -ashish grover On Fri, Feb 24, 2006 at 7:31 AM, Stephane B. wrote:Is there any way to get
Matt Chotin wrote:
> As for JSON I don't think anyone has tried it yet.
Nope, it's been done. :-) I wrote a JSON library that is part of a
larger AS3 library set which will be announced at FlashForward. See the
earlier JSON Support thread...
Usage will be as follows:
// package might change
59 matches
Mail list logo