Hi, Grae, its working now.
I don't know whats the problem but it works only when i uninstall then re-install FP9
I used IE-6 firefox, working fine
On 5/23/06, grae_hall [EMAIL PROTECTED] wrote:
Hey hey,I've never actually published any of Flex apps to the web before, so it's
mx:Tree x=0 y=0 width=506 height=590 nodeOpen=open(event) nodeClose=close(event) labelField=@label id=treeView/mx:Tree
I have 2 questions really:1. Why won't this work? treeView.addEventListener(nodeOpen, open);2. Can I assign a static class method in the nodeOpen= attribute of the xml? Like
what kinda errors it shows?then we can understand the problem on which section rite??and describe more about ur exact problemreply soon.Gareth Edwards [EMAIL PROTECTED] wrote:Been working on a little something, and I decided to attempt to style some of what I'm working on. I have
Does it mean I can't do such a thing using Flex 1.5 (I see some message
here talking about SWFOBJECT with Flex 2beta) ?
Could someone tell me the exacr limitations of swf's integrations on a
Flex ?
- I use a mx.Image, I also tried with mx.Loader, source="file" and
sourc="Embed('file')"
Sorry to bump this, but I'm giving a presentation later this day and I'd
like to get this styled..
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jonas Windey
Sent: dinsdag 23 mei 2006 18:24
To: flexcoders@yahoogroups.com
Subject: RE:
On Tuesday 23 May 2006 16:53, Jean-Luc ESSER wrote:
I meant that i need to know the component name because the command is
gonna change things in this component (and thus pass it as a param in my
dispatch event). That's why initially it was a view function.
You should refactor things so this
so in picking up flex. I find that having mxml everywhere is really
confusing. I have a coding mind and when I see mxml all over I get
totally confused by it. I can't even explain really how I get confused.
I just don't like it. It doesn't make sense to me. It's not code.
Does anyone know
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
ENTER_FRAME is prior to every frame. RENDER is only when the components
ended up invalidating and requiring a draw.
Unfortunately, it appears that invalidation does NOT merely force a
RENDER of the invalidated
Hi,
I am really grateful for your reply to my post. I have 2
confirmations that it can be achieved with Flex2. I think its the
right technology for these tasks.
When they going to Release Flex 2?
Thanks alot
Regards
Pirzada
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL
On Tuesday 23 May 2006 22:30, Eduardo Dias wrote:
The FlexBuider don't show mx.effects package;
Write the code anyway.
What happens ?
--
Tom Chiverton
This email is sent for and on behalf of Halliwells LLP.
Halliwells LLP is a limited
On Tuesday 23 May 2006 17:28, Michael Montagna wrote:
Does the process have permission to read/write to that location?
Yup. It's running as the user who owns the wine 'c' drive, and that user has
rwx on the folder.
You might try creating the empty file (default name is flashlog.txt),
and
- Original Message -
From: Bryan Choi
To: flexcoders
Sent: Tuesday, May 23, 2006 9:33 PM
Subject: [BETA3] I found how can remove the selected item of
mx.controls.Tree.
Hi, all.
var treeItem :Object = mxTree.selectedItem;var
parentItem :Object =
On Tuesday 23 May 2006 23:38, Peter Watson wrote:
2. precompile your application so you deploy just swf files and the
I imagine most Flex2 apps will be deployed this way as it's one less server to
run and keep an eye on.
--
Tom Chiverton
On Tuesday 23 May 2006 17:22, Scott Romer wrote:
Out of curiousity:
Is this better or worse than creating a custom renderer to format
the data?
Better, as it's less work.
But it was even less work in 1.5 :-)
--
Tom Chiverton
This
On Wednesday 24 May 2006 07:32, p_pirzada wrote:
When they going to Release Flex 2?
June, apperently - though nothing fixed-in-stone-offical yet.
We're plumbing for Flex 2 over 1.5 for our next app, and devloping using the
beta, for instance.
--
Tom Chiverton
hi,
i want to implement a swf file inside flex 1.5 and the control it from
flex.
i want to tell this swf to gotoAndPlay(10), gotoAndStop(98)... etc.
how do i do this?
can u point me to an example?
--
Flexcoders Mailing List
FAQ:
Tom and others,
I agree with all the theory out there, but i cannot seem to put it into a
working example.
Let's try to be practical here with some trivail code:
myComp :
mx:Script
![CDATA[
import mx.controls.*;
public function addLabel(value:String):void
{
var myNewLabel:Label = new
in Flex 1.5, you use the Loader to load SWF's at runtime.
Things too look out for:
1. Do not use Flash MX components in the SWF's that will be loaded.
There are conflicts with Flex.
2. To access a loaded SWF, you use
myLoader.content.someFunctionOnLoadedSWF() (mx:Loader id=myLoader /)
3. Use
On Wednesday 24 May 2006 11:10, Jean-Luc ESSER wrote:
But how do i trigger addLabel() each time data in modelLocator changes ?
That is how do i bind the data to the trigerring of a Function. This is
what i'm missing, it is probably obvious, but i don't see it !
Ahh, OK :-)
Following is my code and I am trying to capture the change event.
But it seems that the change event does not trigger for menu bar
controls only.
mx:MenuBar labelField=@label showRoot=false width=100%
change={mainViewStackHelper.getSearchResultView(event)}
mx:dataProvider
mx:XMLList xmlns=
MXML
is not that confusing at all, but then again - it's a metter of personal
"taste".
You
can build an AS oriented project that has nothing to with MXML except the main
project's application tag.
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL
Remove the braces.
change=mainViewStackHelper.getSearchResultView(event)
--- In flexcoders@yahoogroups.com, deepu_verma [EMAIL PROTECTED]
wrote:
Following is my code and I am trying to capture the change event.
But it seems that the change event does not trigger for menu bar
controls
Hi all,I have 2 swf. SWF1 loads SWF2 by using an SWFLoader component.When loaded SWF2, I add its contents inside a canvas. Also swf1 contains a button which gets, casting to an interface, a reference to an instantiable an visible component. The instantiation is working really fine, but I'm
hi,
I want to create components like buttons , textboxes into my
application thorugh an actionscript file.
Is it possible for me to send the reference to teh application though
teh application object. i tried doing it , but to no success.
Then i tried accessing teh application's stage area.
Well.since i have moved to flex 2.0 since the past month, i alos
find it irritating to write mxml tags everywhere. what i would liek is
create controls from my actionscript class and access it int he main
mxml file.
Is there a way where i could control the arrangement of my controls
and
Does it mean clearing ur ASO and chache???
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
It means you are running an old swf from beta2.
flash.util.Timer is now, flash.utils.Timer. This error is actually
happening
in precompiled mx classes not your class.
Hi,
You know what, I have no idea.
As Irony has it, my current project which is BIG(and wans't imported
from Beta2), is now giving me the same frekin errors. So times wasting
once again.
This happend to me last night also. The only way I found to reconcile
this problem is create a new
Hi,How to load PDF files in Flex2.0 application. In otherwords how to launch PDF reader in Flex Application ( like in browser with pdf plugin).Thanks Venu
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min with Yahoo! Messenger with Voice.
--
Thanx Tom but is "Dynamically repeating
components"the answer to my issue?
I agree that in my exemple, and probably most of
the times, it could do the work, but does that mean there is no way to trigger a
function by listenning to a change of value in a data ?
Or am i still missing
Hi,
I am new to Flex, have been a J2EE person for a longtime. I have
developed an application which queries the database and returns me a
value object which has a list and vector. Now I need to use Flex as a
user interface. I have called the class using the remote-object, but
then how do I
Hi,How to load PDF files in Flex2.0 application. In otherwords how to launch PDF reader in Flex Application ( like in browser with pdf plugin).Thanks Venu
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
--
Flexcoders Mailing List
FAQ:
Hi,Like fileIO functionality in Flex , call one JSP pass ur file name there from Flex . From JSP call your Java file where u will wirte ur Java logic to open PDFfunction preview(){var url="">var fileName = "abc"; url= ""> }where config is,mx:Model id="config"
On Wednesday 24 May 2006 13:57, Jean-Luc ESSER wrote:
the work, but does that mean there is no way to trigger a function by
listenning to a change of value in a data ? Or am i still missing something
?
Some better way to reduce coupling betwen the two functions would be very
good.
--
Tom
I changed it to using actionscript to populate the comboBox and all is well..
Still don't know what caused the below issue but it's corrected.
On 5/22/06, Greg Morphis [EMAIL PROTECTED] wrote:
I've got a combo box being populated via code:
mx:ComboBox width=150 id=comboSearchType
I'm trying to add a button to a textinput as follows
myTextInput.mxml
mx:TextInput initialize='startUp()'/
mx:Script
public btn1:Button;
private function startUp():void
{
btn1 = new Button();
btn1.label = xx;
btn1.width = 20;
btn1.visible = true;
addChild(btn1);
}
My
I've been able to solve it by using borderStyle=none. But I don't understand the different behaviours and why by default isn't getting none...Thanks Carlos ;-)X.
On 5/24/06, Xavi Beumala [EMAIL PROTECTED] wrote:
The code is at: http://www.code4net.com/crossLibrary right click and view source
I missed your original post, but this does
look like a bug. The player doesnt seem to know what to do with the
empty String tag. When I place anything in that first String tag (in addition
to or instead of the empty space) the problem goes away.
This works:
mx:ComboBox width=150
You're wellcome, Xavi :)Maybe, is a bug in the framework and a developer shouldn't worry to set the style to noneMannish or others at Adobe could throw some light into this issue.
2006/5/24, Xavi Beumala [EMAIL PROTECTED]:
I've been able to solve it by using borderStyle=none. But I don't
For better understanding I am sending you the files:
package transparency;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.List;
import java.util.ArrayList;
import
Sandip,
Thanks a lot for the reply, that helped. My question is how do I
populate the combobox with the values from a value object.
for eg: (A.java)
public class A
{
private List list;
private Vector vector;
public List setList()
{
this.list = list
}
public List getList()
{
return
Any ideas on this?
I've tried setting filterData to true on the lineseries (should be
by default anyhow) but it still seems to try to plot these null
values.
Thanks.
--- In flexcoders@yahoogroups.com, pasflex [EMAIL PROTECTED] wrote:
We are populating a line chart with some data returned
Matt,
We have extended the TreeNode class provided in Flex1.5 and we are
in the process of migrating to Flex2.0. As pointed by you,there is
no equivalent of TreeNode class in Flex2.0 beta3.
You are suggesting to use ITreeDataDescriptor instead. Can you
please give an example using
I would also be interested and appreciate advice on this topic
On 5/23/06, Graham Weldon [EMAIL PROTECTED] wrote:
Hi all,
I'm messing with Cairngorm 2.0 beta, and Flex 2.0 beta 3. I've got a
mx:Tree / that contains a structured set of data. This data can be
subjected to an insert at any
Hi Karthi,
I just posted an example descriptor a few days ago. Let me know if
you need more info.
Since you have TreeNode and a hierarchical model already implemented,
you can have your Descriptor wrap the methods on your TreeNodes, or
else you can abandon the TreeNode implementation and
Howdy Gordon,
I did look into this and put together a first cut attempt. It does
display the lines correctly and is aesthetically pleasing. Although
the code to make the lines seems to be working, there is a bug in the
tree display mechanism. Folder nodes which have child nodes that are
also
You're tripping over some of the conversion rules AS3 has inherited (by necessity) from EcmaScript. The LineSeries can correctly render missing data, but unfortunately the XML API never reports the data as missing, only as an empty stringwhich converts to the numeric value 0.
The bug
Thanks a lot guys, works just fine!On 5/24/06, tyombria [EMAIL PROTECTED] wrote:
Hi, Misael.
When you define a labelFunction for the DateField component to
format date for output you must also define parseFunction. Inverse
function to labelFunction.
For example:
private var dateField :
hie, well i came across some example which can help u. but niether it has combo box nor classes but it uses event listeners.. and also uses custom components [if u r very new to flex, might be u dont get it] custom component is nothing but some component which is designed on ur needs/.
Thanks Ely, that'll work for now.
--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED]
wrote:
You're tripping over some of the conversion rules AS3 has
inherited (by necessity) from EcmaScript. The LineSeries can
correctly render missing data, but unfortunately the
Oh I see, I thought that I had to make an itemrenderer for the
DataGrid object, I didn't know that DataGridColumn also had an
itemrenderer property.
Thanks
--- In flexcoders@yahoogroups.com, Joan Tan [EMAIL PROTECTED] wrote:
If you want a button for one column of a DataGrid, you can do
Hi,
I am wondering is Flash player is PDF aware like browser?
Thanks
Venu
--
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
Thanks for the tip. The issue is that I also need the container
features from the Canvas. I'm trying to build a control that has a
mixture of drawn elements with other components that are sited in the
control.
So if I subclass the UIComponent I think I will loose the ability to
add child
In your example, your menuBar items do not
have any submenus. The change event is only triggered when a submenu item is
selected. If a menu has no submenus, the only event that gets triggered when
you click the item is the menuShow event.
Joan
From:
Jean-Luc,
Doesn't the Binding tag solve your problem? The mx:Binding
tag that's available in MXML components can help you listening to a property
change in your business logic. You can execute a method of the view in the
setter function that the Binding tag specifies as
destination.
Hello,
Wondering if someone can help with E4X XML commands.
I'm working on a second cut for the Tree with lines. What would be
the equivalent of the legacy XML object lastChild command. Also, if
possible, would love a list of XML object's properties converted to E4X.
Any help on this will
I'm trying to use an internal Java Web Service.When I call from cf using cfinvoke, all is well.When I try to call from flex, however, I get this runtime error (see below) on app startup. No calls to the ws yet, just error on parsing the wsdl.
I was under the impression they (CF and Flex) both
Hey,
Thanks for that, I had tried that earlier.
hitch
--- In flexcoders@yahoogroups.com, poonam vora [EMAIL PROTECTED] wrote:
hie,
well i came across some example which can help u.
but niether it has combo box nor classes
but it uses event listeners.. and also uses custom components
vvasireddyflex wrote:
I am wondering is Flash player is PDF aware like browser?
No, not really... the Adobe Flash Player is popular because it is small,
and import filters add to filesize. There is not even basic PDF reading
in Flash Player, much less full PDF reading.
I know of a few ways
What's up Flex peoples. I got one for you. Ok, here's the thing. I
have a swf that I am loading into a SWFLoader component, which loads
up ok. However, when a custom component is used, the controls for the
component fail to render i.e. the up and down arrows on the
NumericStepper do not render
Dear Highly regarded Flex Team,
Been Testing the Tree Control and noticed that when the various
folders of the tree is opened and closed the tree starts to display
the listItems at the wrong Indentation. It seems that the problem
appears after the Tree's scrollbar shows up.
I had this
I'm not Adobe but I saw this code in a thread further down.
Then in as:
mySwf.content.gotoAndPlay(10);
So you could conceivably use (off the top of my head):
mySwf.content.size(myWindow.width, myWindow.height);
You could add a listnerer to the content that listens for the window
resize
Perhaps you need to event.currentTarget? It sounds like mosue events are coming from the skin and bubbling up to the component.
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gareth Edwards
Sent: Tuesday, May 23, 2006 8:19 PM
To:
Just wondering if anyone is thinking about various resolutions i.e.
800x600 1024x768 etc..
Even though we work on large 19+ screens I find most companies
(future clients) do not have this size screen thus not a resolution
optimal for screen space. I did notice that a size 8 default font on
mx:Tree x=0 y=0 width=506 height=590 nodeOpen=open(event)
nodeClose=close(event) labelField=@label
id=treeView/mx:Tree
I have 2 questions really:1. Why won't this work? treeView.addEventListener(nodeOpen, open);2. Can I assign a static class method in the nodeOpen= attribute of the xml? Like
Approach four:- Use blazepdf : see it at http://www.blazepdf.com/I never use it, so I can't say nothing good or bad about it
2006/5/24, John Dowdell [EMAIL PROTECTED]:
vvasireddyflex wrote:
I am wondering is Flash player is PDF aware like browser?
No, not really... the Adobe Flash Player
I looked into what you're doing and I don't think the background is
causing the problem, because by default a Container doesn't have a
background DisplayObject.
You show a subclass of Canvas, but not how you're using it in an
Application. I tried the following:
MyApp.mxml:
--
?xml
Hi Rick, Graham,
>From an MVC point of view, you should really be updating your model, and
the tree should detect those updates and display them (via binding).
However, there are two known bugs in beta 3 that may cause you problems:
1) The tree does not respond correctly to update events from
An easy way to do this in MXML is as follows.
in your application MXML file:
mx:Style source=myCSS.css/
mx:Box styleName=myBox/
In your CSS file:
.myBox {
color: #FF;
backgroundColor: #FF;
}
If you want to do it purely in AS, you'll have to use setStyle.
-TH
--- In
I would think that if you don't want to replicate the server-side
logic, you could just refresh the XMLListCollection data (new call)
after the insertion has occured. The binding would update the
view. If you are using the view to allow an insertion point, you
would have to use
Hi Tim,
I can refresh the XMLListCollection with a TreeDataCommand. This
contacts the server and requests a full tree XML, which is then
converted to a new XMLListCollection. If I use this method, the tree
collapses to its initial state, which is undesirable.
addChildAt() is the method I
Anything in Flex that is done with MXML can also be done in AS3. In
fact, the MXML is converted to AS by the compiler when you create
the swf. You could start by reading the Action Script section of
the help documentation. I personally, like the MXML tags. They
they act as wrappers that can
Yeah, I see your issues. I haven't needed to work with trees yet,
so I wish you good luck. :)
Tim
--- In flexcoders@yahoogroups.com, Graham Weldon [EMAIL PROTECTED]
wrote:
Hi Tim,
I can refresh the XMLListCollection with a TreeDataCommand. This
contacts the server and requests a full
Fellow Flexors,
Here's an updated Tree with lines. I have it working in my actual
Flex App. It seems that everything is working.
Happy TreeLining.
Note: The Flex tree without lines has bugs when the scrollbar shows
up. So when you are using the tree with lines and you get errors at
runtime,
Jason
FYI
According to these guys, as of Jan. 2006, 64% of users are using
a screen resolution 1024 x 768 or greater.
http://www.w3schools.com/browsers/browsers_stats.asp
Scroll down until you see Display Resolutions.
I have seen other research but can not find it where as of March
it
Carlos Rovira wrote:
2006/5/24, John Dowdell [EMAIL PROTECTED]:
I know of a few ways to merge these technologies today:
-- Print the PDF to FlashPaper and display in Flash Player.
-- Invoke Flash Player from Adobe Reader (works with ActiveX, and I'm
not sure at the moment of Netscape
Special Thanks To:
Anatole Tartakovsky and Theodore E Patrick for giving me pointers a
while ago when the flex project I was working on needed tree lines. It
was during Flex Alpha time.
Shortly after getting tips for the tree lines, we had to drop flex due
to the alpha's data remoting and
and here's the correct link:
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1059.html#177314
Best,
Alex
Alex UhlmannConsultant (Rich
Hi John,
The company I work for are interested in methods we can use to
communicate to the parent document. (ie HTML document where the PDF is
embedded).
Could you elaborate on how it is currently possible to Invoke flash
player from Adobe Reader? Is this done via _javascript_ in the pdf
I guess you are not updating bounded object "XMLListcollection" with insert xml. Though it is not strictly equivalent to "addNode" in flex 1.5,-Venu Rick Schmitty [EMAIL PROTECTED] wrote: I would also be interested and appreciate advice on this topicOn 5/23/06, Graham Weldon [EMAIL
Hi,Flex2.0 is strictly typed, it is giving "type coercion error" - where CF is loosely typed. Another reason could be axis version and wrappers in one product or other.Thanks Venugopal Vasireddy From JSP call your Java file where u will wirte ur Java logic to open PDF
I guess you are not updating bounded object "XMLListcollection" with insert xml. Though it is not strictly equivalent to "addNode" in flex 1.5,-Venu Rick Schmitty [EMAIL PROTECTED] wrote: I would also be interested and appreciate advice on this topicOn 5/23/06, Graham Weldon [EMAIL
I thought that the AsyncToken was always supposed to be available in
the ResultEvent?
After a call to createItem (on a DataService), the token data I set is
not in the token property of the event when the ResultEvent function
executes. The result is an AcknowledgeMessage.
But in the debug
Title: is delete really the best/only way to remove a node in e4x?
If this is the final API, I can deal with it, it is just inconsistent and undocumented, and a bit of a shock when the rest of the api is so clean and logical.
I admit I have not read the e4x specification.
Tracy
--
Gareth Edwards wrote:
The company I work for are interested in methods we can use to communicate to
the parent document. (ie HTML document where the PDF is embedded).
Could you elaborate on how it is currently possible to Invoke flash player from
Adobe Reader? Is this done via
Hi all,
I'm wondering if anyone has had any experience or has some samples for
searching an XMLListCollection for a particular item?
I have a nested structure of element's, each having an id attribute.
I would like to be able to do something like:
var myXmlListCollection : XMLListCollection
In addition to the post below, I can operate on this XML document with
the XMLList type in place of the XMLListCollection type. I cannot see
any difference for the implementation I have presently.
Regards,
Graham Weldon
Graham Weldon wrote:
Hi all,
I'm wondering if anyone has had any
Title: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?
I need to modify the xml node names and text nodes so I cant use the XMLListCollection API.
In 1.5, we could dispatch a modelChanged event to update a control.
What is the 2.0 style way to cause a Tree
Hi, Graham Weldon.
I am a Korean.
I explained it on my community.
You can see from the url ( http://cafe.naver.com/flexcomponent/665 )
Actually, I was helped flexcoders members.
So I'll show you and many Korean.
I don't know how many it'll help you to know it.
Thank you,
While it is documented here:
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/operators.h
tml#delete_(XML)
There should be some sort of reference to it in the XML/XMLList
docs. The syntax is compliant with the spec.
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED]
Hi Bryan,
Thanks for that link. Unfortunately I don't read Korean too well (at all).
Do you know if there is an English translation for this discussion, or
do you have some code samples that are commented in English?
Regards,
Graham Weldon
\
Bryan Choi wrote:
Hi, Graham Weldon.
I am a
Title: is delete really the best/only way to remove a node in e4x?
I don't know whether it is the best or only
way, but it seems consistent with the use of the 'delete' operator to remove a dynamic
property of an Object.
- Gordon
From: flexcoders@yahoogroups.com
Hi Graham,
As you can see that my english is not good.
If I can tell you in english well, might be is not now in Korea.
So I told you how many it'll help you...
I am so sorry.
However, I think that you can understand it, if you know that AS 3.0 syntax.
Any way, I am sad and
Title: F2b3: e4x XML object as Tree dataprovider, how to refresh tree display?
Well, I figured it out already:
myTree.invalidateList();
cleanly updates my display.
If there is a better way, let me know.
Tracy
From: flexcoders@yahoogroups.com
Title: is delete really the best/only way to remove a node in e4x?
I am not really fussing very hard, it is
just that we have:
XML.appendChild()
XML.insertChildAfter()
XML.insertChildBefore()
XML.prependChild()
but no XML.removeChild?
delete is a completely different style
Title: is delete really the best/only way to remove a node in e4x?
A further note: Normally, we will use
XMLListCollection to manipulate dataProviders, and that interface DOES have a
removeItemAt(), so this is again not a big deal.
Tracy
From: flexcoders@yahoogroups.com
Hi Graham,
I'm not sure if it works, but have you tried this approach?
var myTreeData:ICollectionView = new XMLListCollection();
var myCursor:IViewCursor = myArrayCollection.createCursor();
myCursor.findFirst([EMAIL PROTECTED]:9998});
// maybe just Id?. According to the docs, this only
I'll show you about somthing.
==
// import and declare ITreeDataDescriptor
import mx.controls.treeClasses.*;
private var treeDD:ITreeDataDescriptor;
. omission ..
// initialize
treeDD = mxTree.dataDescriptor;
. omission ..
//
Nice work Bryan. Don't worry, your English is understood. :)
Tim Hoff
--- In flexcoders@yahoogroups.com, Bryan Choi [EMAIL PROTECTED] wrote:
I'll show you about somthing.
==
// import and declare ITreeDataDescriptor
import mx.controls.treeClasses.*;
private
Hi Tim,
A good suggestion. Unfortunately my collection is not sorted, and a
sort would cause some issues with the display of the Tree that uses my
collection as a dataProvider.
Bryan,
Your code example is good, but I feel that it will only work for 2
levels of nodes.
My XML structure has
I forgot to add one line.
var parentItem :Object = mxTree.getParentItem ( treeItem );
var items :ICollectionView = treeDD.getChildren (parentItem); == !!!
var len :int = items==null?0:items.length;
Regards,
Bryan Choi.
- Original Message -
From: Tim Hoff [EMAIL
1 - 100 of 111 matches
Mail list logo