Has anyone really benchmarked this? It seems that when I return an
http request as an Object my parse results are faster than trying to
do a similar parse in e4x.
This seems to be particularly true when the XML has structure than can
be returned as an ArrayCollection vs assigning the same xml
How about using an XSLT to take care of the merge for you? If this is
a web app, that would probably be the best way. If you're writing a
desktop app to be compiled under Zinc or Janus, you could easily do it
with a custom DLL and then call your code in AS.
Wayne
--- In
did you forget to register your event handler with the
DataGrid? Just a thought.
Cheers,
Lach
On 30/11/2006, at 1:07 AM, wayneposner wrote:
I'm trying to drag-and-drop from a tree to a datagrid. I've followed
the examples to try to achieve this, but whenever I drag over
.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent: Tuesday, December 05, 2006 9:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: ListBase.as getting called after Drop to
Datagrid--Preventing the Drop???
Hi Lach
I'm trying to drag-and-drop from a tree to a datagrid. I've followed
the examples to try to achieve this, but whenever I drag over the
datagrid, it refuses to accept the drop. The datagrid acts like the
dropEnabled flag is set to false. I've traced the code and despite
the fact that I have a
Howdy all
I've been searching and reading and trying just about every example I
can find to delete a tree node, but nothing seems to work. I've
looked at Peter Ent's code, but couldn't get that to work. There was
also a posting on the Adobe forums where someone was doing something
very
Howdy all!
I've got a question regarding best practices for data sets--lets say an
arraycollection object to keep it simple: Store in in the ModelLocator
class or pass it around via Events?
Is there a best practice recommendation? When is doing one more
appropriate than the other? Are
Howdy all...
Is it possible to have a checkbox in a datagrid act as the method for
making multiple selections (updating the selectedItems array)?
I want to add a column of checkboxes to my datagrid that is not bound
to any data provider and use the checkboxes to simply select multiple
items.
Bokelberg
[EMAIL PROTECTED] wrote:
You could write a dll to be used in zinc.
Cheers,
Ralf.
On 10/7/06, wayneposner [EMAIL PROTECTED] wrote:
So is there no way to do this in flex when dealing strictly with
a
client side app?
Wayne
--- In flexcoders@yahoogroups.com, wayneposner
So is there no way to do this in flex when dealing strictly with a
client side app?
Wayne
--- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED]
wrote:
The XML is generated on the client and resides on the client.
There
is no server for this app. It is a desktop application
I've been scouring the web tyring to find information on XML
validation using an XSD file, but the only results I keep finding
relate to the MXML schema which is not what I'm looking for.
Has anyone written any code that validates an XML file against it's
schema? Or is this of of the coding
Unfortunately, for the app I'm writing, there is no server side
logic. It's all client based and being wrapped by Zinc.
Wayne
--- In flexcoders@yahoogroups.com, Bela Hajzer [EMAIL PROTECTED]
wrote:
--- In flexcoders@yahoogroups.com, wayneposner wayne.posner@
wrote:
I've been
Take a look at the zip file at the following URL:
http://macmartine.com/blog/flexsource/2.0/beta2/2006_04_04/
It's got a custom tree item renderer to display images instead of
folders. You will have to port some if it to AS3 though.
Wayne
--- In flexcoders@yahoogroups.com, aerospc04 [EMAIL
to
validate the
XML before sending it to Flex? That's probably the simpler
solution.
Sam
-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent: Friday, October 06, 2006 9:29 AM
To: flexcoders@yahoogroups.com
Subject
This problem just came up all of a sudden. I trying to run my app in
debug mode to trace some variable values and everytime the code
execution gets to my break point I get the following error appear in
an IE popup window:
The following add-on was running when this problem occured:
File:
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent: Thursday, September 28, 2006 9:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: issue with progress bar loader becoming
stuck
Is there a method
Is there a method or some call to use that forces the UI to
refresh. I actaully tried staging the call to my recursive function
so that it wouldn't get called until three events later--
creationComplete dispatched to a render event which then dispatched
to my event which called the recursion.
Hi Dan-
Just to let you know you're not alone, I've been having issues with my
progress bar not displaying at all. I've got code that is supposed to
pop up my progress bar when the user clicks on a tree node. After
that I dispatch an event that my tree node has been clicked and pass
the
Depending on how you are calling that code, you may need to add a
try catch block around it. I originally had my app loading XML data
during the initialize process. It then fed that data directly into
a tree. Since the tree had data right away, that line of code
worked fine.
I've recently
If you're looking to create a desktop application, you can write to
the file system using Zinc. Just google MDM Zinc and you'll get the
information you're looking for.
wayne
--- In flexcoders@yahoogroups.com, Luis Arias [EMAIL PROTECTED]
wrote:
If I create a Flex App that is locally
Has anyone implemented a cookie trail for a Tree? What I mean is lets
say we have a tree of:
top
--node1
--node2
node2a
--node2aa
So if you selected node1 the cookie trail would show:
top:node1
and if you selected node2aa the trail would show:
top:node2:node2a:node2aa
Idealy the
You really don't need to do all that. Try this:
private function autoExpand():void
{
assemblyTree.expandChildrenOf(tree.dataProvider[0],true);
}
Wayne
--- In flexcoders@yahoogroups.com, Darin Kohles [EMAIL PROTECTED]
wrote:
I encountered the same problem and wrote my own version.
public
keep getting Timer could not be found error when tyring to view your
source. Your custom tree item renderer is kind of like what I need
only I need the icon to appear at the end of the label. HELP!
Wayne
--
Flexcoders Mailing List
FAQ:
Hi all...
I've been playing around with the code that's been floating around
to put render a checkbox next to each item in a tree control, but
I'm not having any luck accomplishing the task of getting an image
to display after a label in a tree control.
I'm using a shared object to store
?
Thanks!
Wayne
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Tuesday 29 August 2006 00:56, wayneposner wrote:
my datagrid to appear as part of my printed output when using the
PrintJob class with a non-visible sprite?
As I said, you can't.
You must make
what I need to do to get the contents of
my datagrid to appear as part of my printed output when using the
PrintJob class with a non-visible sprite?
Thanks!
Wayne
--- In flexcoders@yahoogroups.com, wayneposner [EMAIL PROTECTED]
wrote:
i've tried setting the height/width on the datagrid
;
this.height=600;
to the constructor of my class. Still no luck. What am I doing
wrong???
Thanks!
Wayne
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Monday 21 August 2006 22:41, wayneposner wrote:
I'm tyring to add a datagrid to a sprite class that doesn't
oute of duplicating what the PDF looks like in a flex canvas.
As for AS code, i'm not really sure what to send. Nothing I have works and I've got code commented all over the place with the different routes I've tried. So let me do this...I'll highlight the overall workflow here in this post.
a
lot of CPU resources. But, I'm sure that you can find a balance
here.
Hope this helps,
Tim
--- In flexcoders@yahoogroups.com, wayneposner wayne.posner@
wrote:
I've been trying to figure this one out for about a week now
with
no
success.
I'm trying to load a bunch
:
Yeah, I'm not saying load all of the images at one time, just the
ones that you want to print. Possible use of cacheAsBitmap here
too.
-TH
--- In flexcoders@yahoogroups.com, wayneposner wayne.posner@
wrote:
I thought about doing that, but am concerned about the
possiblity
I've been trying to figure this one out for about a week now with no
success.
I'm trying to load a bunch of images dynamically from an XML file,
pass each image, one at a time, to a Canvas and then print that
Canvas, but only being prompted with the print dialog for the first
image. If I
?
If they are small images, I think Embeding the images in the swf
should do
the trick.
thanks,
-sam
On 8/10/06, wayneposner [EMAIL PROTECTED] wrote:
After going back and adding an event listener for the complete
action on the image I was able to get the image to print. Having
to
use
I think you're trying to do something I just did.
Add the following mxml lines to your component (just change the
values as necessary):
mx:NumericStepper id=resultStepper focusOut=updateSlider()
value=100 change=updateSlider() maximum=1000 minimum=0
stepSize=10 textAlign=left x=168 y=18
I was having the same problem until I added:
pp.width=printjob.pageWidth;
pp.height=printjob.pageHeight
where pp is the object that I want printed.
Not to hijack this thread, but is there a limitation in Flex that
prevents the printing of jpegs that have been loaded dynamically
onto a canvas?
Tom,
I set the width/height for the whole component. I also tried
setting it for the image. Setting it for the image actually gives
me nothing but a blue background when I view the print via Microsoft
Document Imaging. Adding a callLater to the mix still does not
yield a jpeg in the print
@yahoogroups.com, wayneposner [EMAIL PROTECTED]
wrote:
Tom,
I set the width/height for the whole component. I also tried
setting it for the image. Setting it for the image actually gives
me nothing but a blue background when I view the print via
Microsoft
Document Imaging. Adding a callLater
Line 5010 of the ListBase.as file contains a trace line that
says didn't find all selected items. There is no try/catch block
around it or anything...it just simply always outputs this trace
statement.
Is this an oversight from the adobe developers?
Thanks!
Wayne
--
Flexcoders
around the issue. Not sure what was causing it, but at least I
got it fixed.
Thanks!
Wayne
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Saturday 05 August 2006 14:21, wayneposner wrote:
running. Selecting localhost never seems to work for me as it
just
keeps
running via a URL. This is pretty darn
frustrating :-)
Wayne
--- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote:
How about just adding a TextArea control to the stage then trace
to it ?
On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:
If I trace it locally
stored
in the
sharedobject and see if all data are kept there ?
Jeremy.
On 8/5/06, wayneposner [EMAIL PROTECTED] wrote:
Howdy all...
I trying to use a SharedObject to keep user entered search
strings in
a drop-down box like the Google IE Toolbar. This works fine when
I'm
mySO:SharedObject = SharedObject.getLocal(soName, /);
Also, you might want to check out this link:
http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/htm
l/wwhelp.htm?context=LiveDocs_Partsfile=2665.html
good luck
--jason
--- In flexcoders@yahoogroups.com, wayneposner
Howdy all...
I trying to use a SharedObject to keep user entered search strings in
a drop-down box like the Google IE Toolbar. This works fine when I'm
running the app locally, but as soon as I move it to a server and
access it via a URL, it stops working.
Does anyone know what might be
Howdy all...
I'm hoping someone can clear up a little confusion of mine:
In the photoviewer example that comes with Flex 2, why can you only
get to the data of the instatiated PhotoService class via mx tags,
but when you try to access any of the object via actionscript they
always show up as
User Interface Engineer
Due to continued growth, Right Hemisphere, Inc.
(www.righthemisphere.com) has an immediate opening for a User
Interface Engineer for either the Fremont, CA or Dallas, TX region.
Right Hemisphere, Inc. provides Product Graphics Management (PGM)
solutions to industrial
Right Hemisphere, Inc. is looking for someone who is proficient in
developing ActiveX controls to communicate with a Flex Application.
This is contract work. Anyone interested please contact me via the
Send Email link found by clicking on my profile.
Yahoo!
Howdy all...
Is the following possible:
I've got a tree where each node represents a single page pdf file.
I'd like to loop through the tree, get each PDF file and send it to
the printer without having to click OK or Print more than once for the
entire job.
I know there are some solutions
Howdy all!!
Take the following blurb of XML:
item id=0006 qty=2.000 uom=EA matnr=347565
bismt=DBT347565 name=ASSY, SPLIT CLUTCH COVER hasBom=X
path=pdf/347565.pdf image=pdf/thumbnails/347565.jpg
item id=0001 qty=1.000 uom=EA matnr=347564
bismt=DBT347564 name=SPLIT CLUTCH COVER hasBom=X
PROTECTED]
wrote:
Is there anyway to post that xml so it stays formatted? I really
do not
like that part of the new yahoo groups.
Tracy
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent: Wednesday, June 21
];
trace ([EMAIL PROTECTED]);
aNodes.push(xmlNode);
}
trace(aNodes.length);
}
]]/mx:Script
/mx:Application
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of wayneposner
Sent
Howdy all!
I've been searching and searching and trying to figure out how to
convert the code floating around out there that fully
expands/collapses a tree. Can someone give me a hand with this.
I've got the following:
function expandTree(t:mx.controls.Tree) : Void {
var
--- In flexcoders@yahoogroups.com, Michael Schmalle
[EMAIL PROTECTED] wrote:
Oh yeah,
Implementation;
tree.expandChildrenOf(tree.selectedItem, true);
The first param is whatever node you want all the children opened or
closed
of.
Peace, Mike
Wow! Thanks for such a fast
@yahoogroups.com, wayneposner [EMAIL PROTECTED]
wrote:
My code was working fine in B2. Now, since upgrading to B3, when
I
open a popup window that contains a list, clicking on the list no
longer does anything. Orignially I had change=someMethod
(event).
I tried changing it to itemClicked
My code was working fine in B2. Now, since upgrading to B3, when I
open a popup window that contains a list, clicking on the list no
longer does anything. Orignially I had change=someMethod(event).
I tried changing it to itemClicked but that didn't do anything.
I've tried catching the
I want to thank everyone who threw a comment at me for my previous
question about handling large XML datasets. I think I'm going to
follow the suggestion of splitting up the XML into smaller files and
then reading the data in based on the user search criteria.
One of the things that I'll need
NevermindI figured out that if I wrote a special clearPanel
function which looped through the selected items and set
selected=false followed by a call to layouttiles, it worked exactly
as i needed to.
Now I just need to figure out how to prevent any of the thumbnails
from displaying if
--- In flexcoders@yahoogroups.com, Evert | Collab [EMAIL PROTECTED] wrote:
Is there any chance you can split up the xml in multiple categories.
Or
maybe with a 'global xml index' of some kind?
Evert
Could you please explain what you mean by global xml index?
Wayne
--
Flexcoders
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED]
wrote:
I had some of the same issues reading XML over HTTP. If your XML is
dynamically generated by a server (via JSP, CF, ASP, etc.), you can
do what I did, which is to essentially pass your search values as
parameters
I've been searching and searching, but haven't been able to find the
answer, so I'm posting here as a last resort.
I am working on a Flex application that must read in a fairly large
XML file (1.5 to 3 megs depending).If I were to base my
application off of the flexstore example, I'd just
58 matches
Mail list logo