Ok... got it working the way i wanted. Maybe it's useful to someone else.
var dumm:ArrayCollection = new ArrayCollection(['Test1','Test2','Test3']);
var hhbox:HBox = new HBox();
hhbox.percentWidth = 100;
var list1:List = new List();
list1.percentWidth = 50;
list1.dataProvider = dumm;
list1.allow
I got this working, but if it doesnt use the builtin events when i
drop it. I just disapear with the items i'm dragging.
I don't want to create new function to the drop event, i want to use
the builtin one. Any idea why?!
Alex, anything you can help me with this code so i can keep using the
buil
AFAIK In an MXML component, document will usually point to the "defining"
instance, which may be the application, or it could be another component.
And in actionscript,
foo["bar"]
is the same as:
foo.bar
So it's just dereferencing a public property of the document object with the
name of whate
Try something like this:
var req:URLRequest = new URLRequest(url);
stream = new URLStream();
stream.addEventListener(Event.COMPLETE, writeAirFile);
stream.load(req);
private function writeAirFile(evt:Event):void {
var data:ByteArray = new ByteArray();
stream.readBytes(fileData,0,stream.bytesAvail
What does it mean when you see this code? document[somevalue]
Is that finding some value in your mxml with the name somevalue? Does document
reference
the parent application file or the current file you scope is in?
dragInitiator in the dragEvent
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Rafael Faria
Sent: Sunday, August 03, 2008 7:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple Lists
I have multiple lists and i want one dr
You'll need more code in keyFocusChangeHandler. It has to not call
preventDefault when it is time to transfer the tab to the next renderer.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Claudiu Ursica
Sent: Sunday, August 03, 2008 5:52 A
I have multiple lists and i want one drag to another.
The drag and drop is already working. My problem is that i have like
10 lists and any of them can drag to any other.
Is there an easy way to set what list it can come from?
like
list1 can just receive dragable item from list2 and vice-versa.
I mostly just like messing with Doug :-)
That PDF should cover things :-)
On 8/3/08 7:14 PM, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
Thanks for that Doug. It seems like I'm not going to have any troubles, which
is good to know :)
On Mon, Aug 4, 2008 at 11:56 AM, Doug McCune <[EMAIL PROT
Thanks for that Doug. It seems like I'm not going to have any troubles,
which is good to know :)
On Mon, Aug 4, 2008 at 11:56 AM, Doug McCune <[EMAIL PROTECTED]> wrote:
> I think it came across clearly in Matt's interview, but I'll just
> reiterate. The Flex dudes are nice and don't like being t
That PDF seems to be what I'm after, cheers :)
-Josh
On Mon, Aug 4, 2008 at 11:31 AM, Daniel Freiman <[EMAIL PROTECTED]> wrote:
> I'm sure you were looking for a plan English answer, but since I'm only
> an ex-proto-laywer myself, the best I'm going to do is this:
>
> http://www.adobe.com/misc/
I've used the code below in my AIR app to download a file from Java servlet on
the server, but I get a "Error #2044: Unhandled IOErrorEvent:. text=Error
#2038: File I/O Error." error...what am I doing wrong?
var req:URLRequest = new URLRequest( "http://localhost:8080/orion/pdfdown"; );
req.me
I think it came across clearly in Matt's interview, but I'll just reiterate.
The Flex dudes are nice and don't like being the bad guys. I've gotten
contacted by Matt before for getting into a little trouble (I posted the
Flex SDK codebase into a SVN repo before it was officially an open source
proj
I'm sure you were looking for a plan English answer, but since I'm only an
ex-proto-laywer myself, the best I'm going to do is this:
http://www.adobe.com/misc/pdfs/TM_GuideforThirdPartiesFinalPrint.pdf
- Daniel Freiman
On Sun, Aug 3, 2008 at 7:13 PM, Josh McDonald <[EMAIL PROTECTED]> wrote:
>
Hey guys,
Just finished listening to the latest Flexshow with Matt, and realised that
when I get around to uploading my new design, putting up more content and
launching my blog publicly I'm likely to run afoul of Adobe's crack team of
ninja lawyers. Dating a proto-lawyer is frankly all the lawyer
Ok, I managed to send the focus to the second numeric stepper, but when
I hit tab again I loose the tab and cannot sent the focus to the second
item in the list on the first numeric stepper.
Now my code looks something like this:
http://www.adobe.com/2006/mxml";
implements="mx.managers.IFocu
Ok, I managed to send the focus to the second numeric stepper, but when
I hit tab again I loose the tab and cannot sent the focus to the second
item in the list on the first numeric stepper.
Now my code looks something like this:
http://www.adobe.com/2006/mxml";
implements="mx.managers.IFocu
Hi Jon,
Thanks for you response, but basically i have the requirement to
load the complete tree.
Since am new, can you give me a snippet of code, which will load the
sub-nodes of the tree on demand ?
Thanks in advance.
arun
--- In flexcoders@yahoogroups.com, Jon Bradley <[EMAIL PROTECTED]>
Is there going to be an archived webcast afterwards? I'd love to go to
that but unfortunately; August is the busiest time of the year for me
and my clients.
Scott
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Westberg
Sent
I'll be speaking on this topic at 360 Flex San Jose. At the basic level,
you can embed or even encrypt secure information such as
usernames/passwords. If you need a full blown authentication and encryption
system, I'd look into nitrolm.com. This will be discussed at the 360
presentation along wi
In preparing for securing the site before I code the main site functions
I thought I'd read up a bit on security. I was thinking that flex/swf
code could not be decompiled. But then I found this:
http://blog.everythingflex.com/2008/02/29/check-you-as3-code/
I'd like to do some remote object va
Does anyone know if getRemote() works with CF8?
I'm looking for a good Flex/Cookie discussion blog somewhere if anyone
knows of one...
Also, are Flex cookies subject to the security settings in IE like HTML
cookies?
Thanks
Scott
It looks like you are trying to put something before the Application
Control Bar
if you just want to add it after the control bar, a simple
will work
if you try to make a lay out with anything before the control bar as in:
.
It puts the button AFTER the control bar
Eugene Lou
Hi Danny,
I've done this where I show thumbnails of the tab content in each tab.
The problem I faced originally was similar to what you allude to -
initially only the first tab's contents are drawn and the other tab
contents are not yet rendered. So how do you take a snapshot of
something that is
Dear all,
In the parent window I have a List targetComponent and in the pop up
window I also have a List component. The question is how do I add the
selectedItems in the popup window to the listData of the
targetComponent/parent window? Could anyone give me a hint on this?
Many thanks
--
Settin
Hi All,
This should be somehting extremely simple,
http://www.adobe.com/2006/mxml";
xmlns:views="views.*">
When I run the app and cl
Hi Danny,
Not sure about the snapshots; without seeing some code. But, the
children are disappearing because you're creating references (not
copies) to the original display objects and then reparenting them with
addChild(). You might try this instead; to make a copy:
cloneBarChart = BarChart(t
Well, here it would be interessting for me how and when the XML object creates
its
descendants. My approach might be a bit outdated, since i might have the old
DOM model
in mind.
Best regards
--- In flexcoders@yahoogroups.com, Boon Chew <[EMAIL PROTECTED]> wrote:
>
>
> Thanks Florian. Probl
Thanks Florian. Problem is the performance actually degrades quite a bit when
there are a lot of objects in memory. Instantiating a lot of objects is dog
slow as well. Also, there would really be no dependency with the datasource
even if we go XML (assuming this is the best option) because ei
I would choose the class hierachy approach. Write your own classes for
relationships,
people etc.
The pros of this approach:
* You do not depend on a datasource: it does not matter where the data comes
from
((different) XML sources, remoting [,...]).
* You have strong typed objects and you can
Hi,
I am building an app that deals with a fair bit of people relationship data
coming down as XML, so the hierarchical nature of XML actually comes in handy
here. I have a few options: one is to serialize each person XML node into an
object, and setup the appropriate data structure for hierar
31 matches
Mail list logo