Has anyone got any advice as to how one might allow a user to copy a
graph to their clipboard (or save it as a file)?
I'm sure I'm not the first person to ask this, so if there is an
authoritative copying data from Flex FAQ somewhere please let me know.
We'll be building this app in Flex 3.
Another question
We have an app that has a number of parts that are not all required
for all customers. What's the best way to build it to minimise file
size and for ease of building and code maintenance?
We currently keep the code separated in different classes and mxml
components, so we
Anybody ? Plese...
Are you sure the getNewsArray variable contains more than 2 records the
first time? Did you try to add a break point in the afficheNews() function
and inspect the content of getNewsArray ? Otherwise I need the whole code, I
can't see a possible cause from what you sent.
On Sat, Sep 13, 2008 at
Well, from the sources I read it from it was Norman Walsh. He is the creator
of DocBook and one crazy XSL, XSLT master programmer. Very smart guy.
The quote was referring to DocBook 5+.
Mike
On Fri, Sep 12, 2008 at 8:47 PM, Maciek Sakrejda [EMAIL PROTECTED]wrote:
Who is that quote from? I'm
Thank you for replay!
I can't do that. Because the value is actually timestamp to detect
confliction. Therefor the value should be changed after creation.
h ok, I have to change something
thanks
Shigeru Nakagaki
--- In flexcoders@yahoogroups.com, João Fernandes
[EMAIL
Shigeru,
so that property is a read only property?is it just a timestamp for
conflict resolution? You shouldn't need that since that's what the sync
method is all about, to detect possible conflicts and throw them. How
could your bean at creation be in a conflict anyway?
João Fernandes
Adobe
When you originally said that if you came back to the view that it
worked, it threw me a bit. But, in thinking about it, I think that it's
a scope issue. Just like a List, you have to reference the
parentDocument, of the repeater, for the radio group. Instead of
statusType, try
As an AIR app, it should definitely be much easier. With it, you have
access to flash.desktop.Clipboard. When flash is running in the browser,
it's subject to a lot more restrictions. You can call System.setClipboard
to copy a string to the clipboard, but that's pretty much it.
Different
Using Modules is the one way to reduce the size of swf's from one to many.
But, it's a big hassle while you are developing your application. As every
build time is more as other modules are also part of your application and if
many dev working on different modules, then dependency increases on
Sorry, I was half asleep :D It never conflict on creation.
I tried your way.
cfset new.hoge = 123
cfset new = dao.create(new)
cfset co.setNewVersion(new)
cfset co.processed()
But hoge of result data was NOT changed although the debugged data
was changed on server-side. However identity value
Yes, it's fairly easy to do with a custom sort function. Here is an example
function that assumes you set a summaryRow property on the last row
object:
private function compareWithSummary(obj1:Object, obj2:Object):int
{
if (obj1.summaryRow)
return -1
else if (obj2.summaryRow)
Sorry again. It was totally my misunderstanding.
However addChangedPropertyName didn't affect result data although it
affected changeObject on server-side.
I think I should set dummy data at client-side
thanks
Shigeru Nakagaki
--- In flexcoders@yahoogroups.com, João Fernandes
[EMAIL
You need to register your event handler with the object actually dispatching
events.
t:TestOverride id=mytest/
...
mytest.addEventListener(testEvent, handleIt)
On Wed, Sep 10, 2008 at 1:39 PM, Dan [EMAIL PROTECTED] wrote:
I have a class TestOverride that implements IOverride. This class is
addChangedPropertyName is used to inform the changeObject that
additional fields were updated besides the ones sent by the client.
If during the update process, you decide to update a new field based on
some condition, you change it, you commit it and then notify the change
object that property
It would probably help a lot if you can post a small test app the shows what
you're talking about. Keep it as simple as possible to illustrate your
problem.
But my first instinct is that it's kind of an age-old problem in programming
with scrollbars. Say you have an element that is 500 pixels
Hi Haykel,
thx for helping.
Yes I'm sure all datas are retrieved, I made some traces() in the
loop, and everything is ok and getNewsArray.length is 4 the first time...
My whole code is not with me for now, I can post it on Monday if
you're still around :-)
I think I should do a custom event, but
This shouldn't really be hard at all. Have you actually tried it and are
running into difficulties? You need to make sure your x values are in the
format that Date() likes, and if using a DateTimeAxis doesn't work, you can
use a LinearAxis and a custom axis label function. If you want a
--- In flexcoders@yahoogroups.com, pratikshah83 [EMAIL PROTECTED]
wrote:
Hi Amy,
Thanks for the reply. I could not find anything in the link you
provided. They specify how to arrange the legend Item.
I would just like to wrap the legend text(label) if it is long.
I am not sure if i
I believe you're just running into how different browsers handle embedded
flash objects. Once you click on a flash app, firefox generally lets it
have every keystroke after that until you actually click somewhere outside
it. IE is less permissive and continues to listen for keystrokes even when
Conditional Compilation?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy
Morton
Sent: Friday, September 12, 2008 11:24 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Modularising a flex app
Another question
We have an app that has a number of parts that
There are several ways you could go about doing it, though nothing built in
to support it.
One way would be to make your data so that 30 is actually 0 in the
underlying data. You'd write an axis label function that would add 30 to
the values for labelling. If you wanted datahints, you'd have to
For #2, look at ArrayCollection.sort. You can create a sort object and use
a slightly modified version of your date_sortCompareFunc for the
compareFunction of the Sort object.
I've never really found a good way to do #1, so I'd be interested in that if
you or anyone else finds a way.
On Thu,
I am looping through the columns and comparing headerText with this
clickHandler:
private function clickHandler(event:MouseEvent):void
{
var colObj:Array = DataGrid(listData.owner).columns;
for(var col:String in colObj){
trace(data.dataField = +data.dataField);
Even after calling the contextMenu.hideBuiltInItems() function the
Show Redraw Regions and Debugger menu options are still visible
upon a right mouse click (the Debugger option is disabled, but
visible). So is this method completely broken or what? It seems like
this used to work.
Has anyone
Okay, I think I figured it out. I had the same problem in the 3.1 SDK. You
were definitely being stumped because you didn't have the Pro source code.
I went ahead and created a bug and entered the reason it's broken and how
you can go about working around it. If you vote for the issue, there's
Ooops, the bug report is at:
https://bugs.adobe.com/jira/browse/FLEXDMV-1879
On Sat, Sep 13, 2008 at 2:12 PM, Pan Troglodytes [EMAIL PROTECTED]wrote:
Okay, I think I figured it out. I had the same problem in the 3.1 SDK.
You were definitely being stumped because you didn't have the Pro source
I have been looking everywhere but I havent seen what the method
override public function drawFocus(isFocused:Boolean):void
{
}
Actaully does? I tried overriding it on the Button,, calling
super.drawFocus(false), super.drawFocus(true), leaving it blank but I havent
noticed any change to
I'm attempting to intercept the NativeWindowBoundsEvent dispatched
whenever a NativeWindow is dragged in AIR, and am running into a bit
of a problem. If I add an Event listener for
NativeWindowBoundsEvent.MOVING to the initial application nativeWindow
and call preventDefault(), the window behaves
The problem is your line:
addChild(win);
Omit that and you should stop getting that error.
On Wed, Sep 3, 2008 at 4:26 PM, lynnkuh [EMAIL PROTECTED] wrote:
I'm using the Flex MDI Explorer and instead of using
flexmdi:MDICanvas id=mdiCanvas horizontalScrollPolicy=off
First off, which menu do you mean at the website? I only saw a menu at the
top, and all the nodes were all one color as far as I can tell.
But if you just wanted to specific a lit of colors for different levels, I
believe the depthColors style of Tree would be what you wanted.
On Tue, Sep 2,
Thank Alex, I put a conditional around my value object so that if there is no
data it is ignored.
Now once my list loads the items are colored accordingly.
- Original Message
From: Alex Harui [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Friday,
I believe I got it. I use the added sortEventHandler event listener
to set the style textDecoration to none and the clickHandler to reset
the textDecoration to underline.
private function sortEventHandler
(event:DataGridEvent):void
{
if
The ProgressBar is on the first frame. I'm setting the value property
tied to some custom progress calculation as I'm preloading a handful
of SWF's up front.
I have a bit more experience with flex than I do with pure Flash so
its very possible that I'm approaching this entirely wrong.
--- In
The ProgressBar is on the first frame. I'm setting the value property
tied to some custom progress calculation as I'm preloading a handful
of SWF's up front.
I have a bit more experience with flex than I do with pure flash so
its very possible that I'm approaching this entirely wrong.
--- In
I couldn't drag either window...
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael
Sent: Saturday, September 13, 2008 12:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AIR NativeWindow Event.preventDefault() unexpected
behavior
I'm attempting to
showFocusIndicator has to be true. Usually that happens after you start
tabbing.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif
Abdou
Sent: Saturday, September 13, 2008 12:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] drawFocus Method Example?
I
Haven't seen it, but I think those are both debugger player options and I thing
hideBuiltIns is really for the release player options
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
miltonclyde2000
Sent: Friday, September 12, 2008 10:10 PM
To: flexcoders@yahoogroups.com
OK, but I would think your solution would have to be data-driven on not
event-driven. Even header renderers get recycled and will need to recompute
the style on the fly.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
cjcuccaro
Sent: Saturday, September 13, 2008 4:33
A pre-loader cannot show anything until all of the bytes for its code is
downloaded. The more stuff you put in the pre-loader, the longer it will be
before something shows up. Mx.controls.ProgressBar brings in UIComponent and a
lot of other code, delaying the appearance of the preloader much
Well thought I had it licked but not!
It works great until I make my HTTPService call to the Spring
controller on the server to get the sorted result. Just like the sort
arrow the underlining disappears after the service call.
I only show 20 records out of a much larger result set so when
As I tested preventDefault() work for testWindow as well.
George
Michael wrote:
I'm attempting to intercept the NativeWindowBoundsEvent dispatched
whenever a NativeWindow is dragged in AIR, and am running into a bit
of a problem. If I add an Event listener for
NativeWindowBoundsEvent.MOVING
Hi All
I am trying to display icon in the menu. I am using example from livedocs
language reference. I have added
icon attribute to dataprovider
myMenu.iconField=@icon
but icons are not displayed.
Any pointers are highly appreciated.
Thanks
Rajan
I think it should just be ( no curlys ):
mx:XML id=myMenuData
root
menuitem label=MenuItem 1 eventName=copy
icon=imgdeleteClass/
menuitem label=MenuItem 2 eventName=paste
icon=imgeditClass/
/root
/mx:XML
From: flexcoders@yahoogroups.com
See my reply from today. You need to be data-driven. I still think getting
the collection's Sort and comparing the sortField against the column's
dataField is the right plan.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
cjcuccaro
Sent: Saturday, September 13, 2008
You may have already figured this out, but just in case - you need to use
the stroke style of the LineSeries:
mx:series
mx:LineSeries id=series yField=@open form=curve
displayName=Open stroke={circleStroke} /
/mx:series
/mx:LineChart
mx:Stroke id=circleStroke color=0x00FF00/
On Thu, Aug 28,
46 matches
Mail list logo