Re: [flexcoders] itunes clipboard format not understood in AIR

2009-05-26 Thread Paul BH
Hey Kevin, thanks for this. Its a shame I can't get a reference to the file so I can work with it. cheers Paul On Tue, May 26, 2009 at 11:03 AM, Kevin F. Benz kb...@kbenz.com wrote: The clipboard in AIR is text only. It’s not going to work for a binary file. I have asked Adobe about

[flexcoders] itunes clipboard format not understood in AIR

2009-05-24 Thread Paul BH
Hi there, I've been trying to drag a song from itunes into my app, but the clipboard (in AIR) doesn't seem to have any format acceptable to AIR. Does anyone have any idea how to overcome this? thanks! Paul

Re: [flexcoders] Re: ASDoc now available on Labs

2006-08-14 Thread Paul BH
I'm getting the same too - I seem to be getting in particularly on interface definitions - I'll try and make a simple reproducable case when I get a spare minute or two...taPBH On 8/14/06, Brian Deitte [EMAIL PROTECTED] wrote: Hi, I would just stick to

[flexcoders] setting chart vaxis to visible range rather than entire dataProviderRange

2006-08-11 Thread Paul BH
Hi there,I have a chart which is only displaying a portion of the data in the dataProvider (by setting the min / max for the x axis). Is there a simple way to get the chart to scale the y-axis to decide its min / max based on the visible data rather than the range over the entire dataProvider?

Re: [flexcoders] Re: setting chart vaxis to visible range rather than entire dataProviderRange

2006-08-11 Thread Paul BH
The problem I'm finding is that the autoscale is across the entire dp, so, for example, if i have the following:x: -10 , y: -5x:0, y: 0x: 10 , y:5x: 20, y: 10x:30, y: 15and set the minimum for x to 10 and the maximum for x to 20, the range for the y axis is still -5 to 15, not 5 to 10... I'm

Re: [flexcoders] multi-axis charts

2006-08-10 Thread Paul BH
you can have two vertical axes - look at secondVerticalAxis property (i think)but as far as I can see, only two axes allowed...On 8/10/06, dadrobson [EMAIL PROTECTED] wrote: Eric Anderson's intro to F2B3 indicates that Flex's Charting components provide

[flexcoders] display dataTip depending on series

2006-08-10 Thread Paul BH
Hi there,trying to buidl a chart where dataTips are only rendered under certain circumstances, for example, a chart has two series - I want to always display the datatips on one series, but on the other, only if certain conditions are met (say, the value 100, whatever..) theproblem is that the

Re: [flexcoders] request for adobe: stop being so private

2006-08-10 Thread Paul BH
I second thatOn 8/10/06, Pan Troglodytes [EMAIL PROTECTED] wrote: Time and again, I have tried extending components only to find that the important stuff is marked private. I suggest this approach for adobe: mark things as protected by default, not private.

Re: [flexcoders] Re: Search Flex2 LiveDocs Bookmarklet

2006-08-10 Thread Paul BH
hi steve - dunno if you saw my post about a similar thing yesterday - lets you search livedocs flexcoders at the same time...http://www.eyefodder.com/blog/2006/08/finding_flex_facts_faster.shtml now if I could only get livedocs pages to load quicker...On 8/10/06, Steve Gustafson [EMAIL

Re: [flexcoders] hitTestObject on ChartElements

2006-08-10 Thread Paul BH
I'm doing similar digging at the moment- what are you trying to find? so a rollover event on a chart (or mouseup or whatever) sends a ChartItemEventthat has a hitData property (also hitSet which is an array of hitDatas) when you're at hitData you can get everything you need from there on

[flexcoders] elliptical pie charts anyone?

2006-08-08 Thread Paul BH
Hi there,just wondering if anyone has made an elliptical piechart, or if there is a uick way I'm missing to do that?taPBH __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] Cairngorm separation of action script and mxml

2006-08-01 Thread Paul BH
what you might want to look at is creating an adapter class to format your data, so it would be something like:myList:XMLList = myAdapter.adaptXML(xml)then in myAdapterpublic static function adaptXML(inXML:XML):XMLList{ //do ugly stuff}On 8/1/06, flxcoder [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Cairngorm separation of action script and mxml

2006-08-01 Thread Paul BH
recommend to keep such files are create a new scripts folder where such static functions can be stored? Thanks. --- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: what you might want to look at is creating an adapter class to format your data, so it would be something like

Re: [flexcoders] Cast or create local var - which is best \ performant

2006-07-27 Thread Paul BH
I would go for b personally because:it makes for more legible code (IMHO)it means you dont have to type as much (I'm lazy)in AS2, local variables were stored in a register that made access much faster - don't know if this is still the case in AS3 (anyone?) On 7/27/06, bobpardoe1959 [EMAIL

Re: [flexcoders] Re: DataGrid Totals Row

2006-07-27 Thread Paul BH
if i can suggest a slightly different approach, how about using a kind of adapter to acheive what you are after:in quick dirty code:mx:DataGrid dataProvider={adaptDP(theData)} mx:DataGridColumn dataField=name/ mx:DataGridColumn dataField=value//mx:DataGridprivate function

Re: [flexcoders] Centering an image over a chart

2006-07-26 Thread Paul BH
is this over the entire chart, or just the area where the lines are drawn (ie not including axes...)if its the latter, there is a protected dataRegion getter that will give you the size of the area you want to fill with your image... On 7/26/06, parksch2 [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Centering an image over a chart

2006-07-26 Thread Paul BH
@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: is this over the entire chart, or just the area where the lines are drawn (ie not including axes...) if its the latter, there is a protected dataRegion getter that will give you the size of the area you want to fill with your image... On 7/26/06

Re: [flexcoders] How to pass optional arguments to a function in Flex 2?

2006-07-25 Thread Paul BH
you need to use the 'rest' parameter its an ellipsis (...)details here:http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1834.html On 7/25/06, Artur Kordowski [EMAIL PROTECTED] wrote: In Flex 1.5

[flexcoders] draggable chart data

2006-07-25 Thread Paul BH
Hi All,just about to start building a chart where you can drag the data region left/right to view older / newer data, and before I get to work on the hardstuff, just wondering if there is a simple way to do this? thxPBH __._,_.___ -- Flexcoders Mailing List FAQ:

Re: [flexcoders] draggable chart data

2006-07-25 Thread Paul BH
Thats great, thanks!On 7/25/06, Pan Troglodytes [EMAIL PROTECTED] wrote: You might be interested in Ely's example where he did the same thing (among other things): http://www.quietlyscheming.com/blog/charts/interactive-bubble-chart/ On 7/25/06, Paul BH [EMAIL

[flexcoders] determining the width of a data Interval using DateTimeAxis

2006-07-25 Thread Paul BH
from the docs, the unitSize property represents: The width, in pixels, of a single data unit but looking at the code for DateTimeAxis, it actually represents the number of milliseconds in a day (thats the data unit Im using). I'm sure I'm missing something here, but cn anyone point me in the

[flexcoders] Re: determining the width of a data Interval using DateTimeAxis

2006-07-25 Thread Paul BH
= dAxis.minimum; var max:Date = dAxis.maximum; var delta:Number = max.time - min.time; var deltaDays:Number = delta / DateUtil.oneDay; // this is just the number of milliseconds in a day var pixelsPerDay:Number = w/deltaDays; return pixelsPerDay * numDays; } On 7/25/06, Paul BH [EMAIL PROTECTED

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Paul BH
hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from a file? just curious...PBHOn 7/6/06, Jonathan Bezuidenhout [EMAIL PROTECTED]

[flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Paul BH
Hi All, looking for doc generating tools for AS3/mxml, preferrably with the ability to provide intermediate XML output... just wondering what people are using? I tried VisDoc on some as3 files, but no dice... -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Flex release version: XML attribute string too long

2006-07-06 Thread Paul BH
. On 7/6/06, Paul BH [EMAIL PROTECTED] wrote: hmm interesting - I wonder if this happens because its xml source sucked in (ie it escaped characters get parsed when it gets sucked it)what happens if you have that sort of stuff inline as opposed to pulled in from

Re: [flexcoders] change to mm.cfg setup in FP9?

2006-07-05 Thread Paul BH
yeppers - my mm.cfg file is at $HOMEDRIVE\$HOMEPATH - ie :\Documents and Settings\{paul bh}\whts driving me nuts is that Ive set this up a number of times on different machines...the only thing that is different from my usual setup is that Im running winXP on a macbook pro using bootcamp

Re: [flexcoders] change to mm.cfg setup in FP9?

2006-07-03 Thread Paul BH
: make certain its the debug player you have installed otherwise it does not trace.On 6/30/06, Paul BH [EMAIL PROTECTED] wrote:hi all - having some trouble setting up log file tracing using FP9 standalone debug player...Ive done this a load of times befre, but this time round I just

[flexcoders] change to mm.cfg setup in FP9?

2006-06-30 Thread Paul BH
hi all - having some trouble setting up log file tracing using FP9 standalone debug player... Ive done this a load of times befre, but this time round I just cant get it to work my mm.cfg file is in the root of my user filder and loks like this: TraceOutputFileName=c:/logs/flashlog.txt

[flexcoders] content assist color change

2006-06-29 Thread Paul BH
quick question for anyone who knows much about eclipse... Im running Flexbuilder on Bootcamp, and it runs great - the only problem I have is with content assist where the highlight for the selected item comes through as a *very* pale orange and on my laptiop screen, I cant see it clearly. Does

Re: [flexcoders] How can I reference the particular item I am using?

2006-06-21 Thread Paul BH
try this:mx:Image source=../pictures/banner.jpg click=SomeFunction(event)/function someFunction (event:Event):void{ var refToMyComponent = event.target ;}On 6/21/06, Charles [EMAIL PROTECTED] wrote: Hi everyone,This post title isn't all that descriptive but I

[flexcoders] f2b3 setting width / height as a percentage in AS3

2006-06-15 Thread Paul BH
Hi, in Flex 1.5 I could write in my actionscript code something like: myUIObject.width = 100%; and it would display just as if I had written: whatever id=myUIObject width=100%/ is there a way to do this in AS3? The compiler isnt too happy with me trying to set width to a string... ta PBH

Re: [flexcoders] Re: f2b3 setting width / height as a percentage in AS3

2006-06-15 Thread Paul BH
lovely thanks for that...On 6/15/06, Jason [EMAIL PROTECTED] wrote: Try percentWidth/percentHeight instead of width/height. --- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: Hi, in Flex 1.5 I could write in my actionscript code something

[flexcoders] continuous integration with Flex (1.5) and ASUnit

2006-05-31 Thread Paul BH
Hi All, just a heads up - I finally got around to blogging the work that Peter, Johannes myself Ikezi did on getting CI up and running, would appreciate any comments where anything isnt clear (or Ive missed a step)... I'm going to blog the final part of the process tonight, but if you want

Re: [flexcoders] Flex Framework Source Code

2006-03-20 Thread Paul BH
thats for 1.5 btwOn 3/20/06, Paul BH [EMAIL PROTECTED] wrote: you might find this useful too: http://www.docsultant.com/site2/articles/flex_src.html On 3/20/06, Renaun Erickson [EMAIL PROTECTED] wrote: I am seeing some reports that the Flex Framework Source Code will become available

Re: [flexcoders] Flex Framework Source Code

2006-03-20 Thread Paul BH
you might find this useful too: http://www.docsultant.com/site2/articles/flex_src.htmlOn 3/20/06, Renaun Erickson [EMAIL PROTECTED] wrote: I am seeing some reports that the Flex Framework Source Code will become available. 2006-03-17 Full Flex framework ActionScript source code released

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Paul BH
I may be wrong - havent looked at AS3 in a while, and I couldnt find it after a 10 minute hunt, but I think I read somewhere you are no longer allowed to subclass Array On 2/27/06, Jonathan Miranda [EMAIL PROTECTED] wrote: In your code, you're not calling the Super constructor….

Re: [flexcoders] Re: Array based class throws error for splice method call

2006-02-27 Thread Paul BH
to store data in an array.--- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: I may be wrong - havent looked at AS3 in a while, and I couldnt find it after a 10 minute hunt, but I think I read somewhere you are no longer allowed to subclass Array On 2/27/06, Jonathan Miranda [EMAIL

[flexcoders] [Flex2] (re)loading sound

2006-01-16 Thread Paul BH
Hi there, I'm using the following function to load a sound file. It all works just fine the first time, but when I try loading a second file, I get the following error: IllegalOperationError: Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful. at

Re: [flexcoders] VBox scrollbar bug ?

2006-01-12 Thread Paul BH
what happens if you call super.createChildren() at the beginning of the createChildren method? On 1/12/06, superabe superabe [EMAIL PROTECTED] wrote: Hello list, This sounds like a really basic thing so I can't believe this is a bug, so probably am doing something wrong. I have a custom AS

Re: [flexcoders] Licensing and Offline Compiling

2006-01-05 Thread Paul BH
basically you're not allowed to with 1.5 new licensing with flex 2... On 1/5/06, dustin_speer [EMAIL PROTECTED] wrote: What are the licensing restrictions of offline compiling and distribution of Flex-generated Flash files? Any explanation of this in the general license? -- Flexcoders