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 binary clipboard support and I don’t expect
 it anytime soon. It’s pretty dicey working with the iTunes library anyway
 since iTunes will move files around to balance it’s directory tree (unless
 you plan on duplicating the file which isn’t a great idea either).


 On 5/26/09 7:54 AM, paulbhoston eyefod...@gmail.com wrote:






 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!






 Kevin F. Benz
 kb...@kbenz.com425-785-7100
 http://www.kbenz.com

 *We can't solve problems by using the same kind of thinking we used when
 we created them - Albert Einstein
 *
  



[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 doc-classes then.  :)  Well, I'm not sure why
you'd get that with doc-sources.  The compiler believes that you have
something similar to a class A which extends B which extends A.  If you
could send me the files you use to reproduce this or a smaller test
case, I can look into this for a later release.  -Brian 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Geoffrey Williams
 Sent: Monday, August 14, 2006 3:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: ASDoc now available on Labs
 
 Any Idea what would fire off the following:
 
 Error: The definition is in circular inheritance.
 
 I can get it going by specifying individual classes but when I use -
 doc-sources I get an output of a few of those errors.
 
 --- In flexcoders@yahoogroups.com, Brian Deitte [EMAIL PROTECTED] wrote:
 
  And I'll be trying to awaken myself from my hibernation on 
 flexcoders,
  so if you have any questions about it, fire away.  -Brian
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 

 Yahoo! Groups Links
 
 
 
  
 
 
 
 

  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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?
txsPBH

__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 just wondering if Im missing something glaringly obvious here, or if I need to go digging...PBHOn 8/11/06, dadrobson 
[EMAIL PROTECTED] wrote:













  



If you don't set the minimum  maximum values, the default behavior is
to auto-scale the y-axis. If you set the minimum  maximum values to
anything other than NaN, you effectively disable the auto-scale feature.


  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 advanced charting capabilities including multi-axis
charts. Does this mean that a chart can have more than one Y-axis? 

I'm building an app with a LineChart where the ideal situation would
be to have a separate Y-axis for each line series, so that each series
could be displayed on its own scale. So far, the information I have
found in the docs would lead me to believe that you can only have one
Y-axis. I also know that the compiler throws an error if you have more
than one verticalAxis tag inside a LineChart tag. 

Can anyone point me to the right place in the docs, or a tutorial or
sample app or anything that might shed light on this?

Jim


  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 showDataTips function is chart based, not series based. I could build a custom dataTip renderer, and decide what to do based on the hitData, but the problem there is that the drawing of the callout stroke is in the chartBase, not the DataTip...
anyone have any ideas on this? my head is fuggy...

__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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. Only mark something as private if you're really, really sure it should never be overridden by someone extending the class.
This has really thwarted some of my attempts to extend the base classes. Makes the component SDK a bit less useful.-- Jason

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 PROTECTED]
 wrote:












  



Oops.It occurred to me that saving the bookmarklet from some peoples email program may not work, so I put up a quick webpage that should work for anyone. You should be able to test and load the Flex2 LiveDocs search bookmarklet from the link below.
http://www.jaxfusion.org/gus/flexbookmarklet.htmlGus
On 8/10/06, Steve Gustafson
 [EMAIL PROTECTED] wrote:

Greetings,I've created a bookmarklet that uses Google to search the Flex 2 Live Docs. I find this to be the fastest way to deal with Live Docs.Firefox users:Right click this link, and save as a bookmark. I keep mine on my bookmarks toolbar for quick access.
IE Users:Right click this link, click Add To Favorites, you will get a security alert, Click Yes. Again, I keep mine on the links toolbar for quick access.
Search Flex Live DocsYou can click the link to test it.I hope some of you find this useful.Gus



  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 in...hthPBHOn 8/10/06, Brendan Meutzner 
[EMAIL PROTECTED] wrote:












  



Hey,I'm trying to write an annotationLayer for Charts in which I can run a hitTestObject call for the individual chart elements... eg. Columns, data points, etc...I've been digging through the docs, and tracing out the generated objects, but haven't had any luck finding a way to access the DisplayObject instances that make up the Chart.
I'm sure it's staring me straight in the face... any help?Thanks,Brendan

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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:













  



Hi,

I have a component that gets called in the view:component say.

Now this component has some functions that do operations to format the
data in the format that is required to display on screen. These
functions are quite large and ugly. I want to move them to a separate
scripts.as file, so they could be a little out of sight and also
reusable.

Any ideas how I can go about doing this.
1. How would I get access to scripts.as function returnXMLList(xml) say.
Is it something like
import view.scripts;

Scripts scripts = new Scripts();
scripts.returnXMLList(xml);

Does this make sense?

Thanks.


  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-08-01 Thread Paul BH



hehe well, this is where different people will give you different answers...I used to have an adapters package in the view package, but then i began to see these as being also of use outside the viewfor example if I wanted/ needed to adapt an instance to send to the server, or just to have to morph it into something else, so I created
a separate adapters package that sits at the same level as view or model.To me, something like this very much comes down to personal style, just ask yourself the questions:does it make sense to me being where it is
will it make sense to others where the packge is.do i find it annoying where it is (if yes, then it should probably be refactored somewhere)On 8/1/06, 
flxcoder [EMAIL PROTECTED] wrote:













  



Thanks - that works.

Now for package management, I have these scripts in the view folder, 
is this where you would 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:
 
 
 myList:XMLList = myAdapter.adaptXML(xml)
 
 then in myAdapter
 
 public static function adaptXML(inXML:XML):XMLList{
   //do ugly stuff
 }
 
 On 8/1/06, flxcoder [EMAIL PROTECTED] wrote:
 
Hi,
 
  I have a component that gets called in the view:component say.
 
  Now this component has some functions that do operations to 
format the
  data in the format that is required to display on screen. These
  functions are quite large and ugly. I want to move them to a 
separate
  scripts.as file, so they could be a little out of sight and also
  reusable.
 
  Any ideas how I can go about doing this.
  1. How would I get access to scripts.as function 
returnXMLList(xml) say.
  Is it something like
  import view.scripts;
 
  Scripts scripts = new Scripts();
  scripts.returnXMLList(xml);
 
  Does this make sense?
 
  Thanks.
 
   
 



  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 PROTECTED] wrote:













  



We are haveing a debate here at work regarding the the most performant
\ efficient \ best way of dealing with the casting of objects from one
form to another.

a) One person thinks that casting the object to the correct type each
time it is used is better because casting has a compile time penalty,
but at runtime does not incurr a cost.

b) The other person would have us believe that the creation of a
variable of the correct type and casting the object to it and then
using the local variable (thereby eliminating many casts)is better.

I side with a) on the basis that the creation of the variable and the
garbage collection of it costs more than the casting might.

Bearing in mind that either of these methods might be performed in
hundreds of places in the application. 

Is there a difference ? Will any one notice. Is one better ?. 

Are we being a little to retentive ?

thanks

BOb


  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 adaptDP(inArr:Array):Array{ var outArr:Array =[];var total:Number = 0for (var i:Number=0;iinArr.length
;++i){total += inArr.value;outArr.push(inArr[i]);}outArr.push({name:Total, value:total})return outArr;}this of course wont help with the sorting thing, but Im sure you could work a way around that too if you needed it...
On 7/27/06, flxcoder [EMAIL PROTECTED] wrote:













  



Thanks for the advice. I think I might look into setting up a data 
provider for a day and see how far I can take it. I have seen another 
example today of coloring row backgrounds so that will be useful.

The product demo you have out there is pretty impressive. Is it for 
sale/development? I guess you are planning on mktg to developers. 
good work!

--- In flexcoders@yahoogroups.com, Anatole 

Tartakovsky [EMAIL PROTECTED] wrote:

 Depends on the number of objects/customization needed .
 
 Stacking things manually is going to be quick and efficient - you 
will have
 working grid in a day
 You can have 100 working grids in 4 month
 
 Manipulation of data provider is less obvious. WIll take you at 
least few
 weeks to work out static solution
 Making it fully dynamic with grouping/sorting/filtering is a bit 
tedious.
 Here is what you can do with dataProvider approach:
 http://derby.faratasystems.com/fxReporter/presentation/

presentation.html
 
 Sorry, the live demo is available for Beta 3 player only - 
commercial
 version will be released second half of 2006
 
 Thank you,
 Anatole
 
 
 
 
 On 7/27/06, flxcoder [EMAIL PROTECTED] wrote:
 
 any advice on this. i am plan to start work on this today. i 
have
  seen examples of creating editable datagrids that have subtotals 
at
  the end of the column - so i know its possible by working only 
with
  the data provider and letting the datagrid handle just the 
display.
 
  so is it advisable to stick with one grid only and keep showing
  subtotals on the lines or create multiple grids and stack them
  together.
 
  Thanks.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,

  flxcoder flxcoder@ wrote:
  
   This topic is similiar to what I am looking for. A datagrid that
  has
   say 10 rows with the 3rd and say the 7th row showing subtotals 
and
   the 11th row showing the grand total.
  
   From what I read in this conversation thus far, it seems that 
the
   solution is to create multiple datagrids and calculate the 
totals
   from the dataproviders.
  
   So in the case that i described above, am i right in assuming 
that
  i
   will need 5 datagrids with 4 of them having their headers cut 
off,
   all lined up and pretty.
  
   am i heading in the right direction or is there a better way.
  
   Thanks.
  
   --- In flexcoders@yahoogroups.com 

flexcoders%40yahoogroups.com, Lisa
  Nelson ltwede@ wrote:
   
By the way on the background color. That was dumb. I was only
displaying the column headings of my totals datagrid.
   
-Original Message-
From: flexcoders@yahoogroups.com 

flexcoders%40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com 

flexcoders%40yahoogroups.com] On
Behalf Of Lisa Nelson
Sent: Friday, July 07, 2006 8:21
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com

Subject: RE: [flexcoders] Re: DataGrid Totals Row
   
I tried that after I saw your message. That didn't help.
   
Here's what else is funky. I can't seem to change the 
background
   color
of the totals datagrid. All I can figure is somehow the fact
  that
   it
only has 1 row affects it. You can see the problem in design
  view,
   and
also at run-time.
   
--Lisa
   
-Original Message-
From: flexcoders@yahoogroups.com 

flexcoders%40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com 

flexcoders%40yahoogroups.com] On
Behalf Of Tom Chiverton
Sent: Friday, July 07, 2006 8:02
To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com

Subject: Re: [flexcoders] Re: DataGrid Totals Row
   
On Friday 07 July 2006 15:37, Lisa Nelson wrote:
 I am pretty new to Flex. But I thought what you wrote would
  bind
   to
 the width of the overall grid, not the individual column 
widths.
   
It would, yeah :-)
I'm guessing you have to bind both the overall width and all 
the
   columns
to make it work.
   
--
Tom Chiverton
   

   
This email is sent for and on behalf of Halliwells LLP.
   
Halliwells LLP is a limited liability partnership registered 
in
   England
and Wales under registered number OC307980 whose registered 
office
address is at St James's Court Brown Street Manchester M2 

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:













  



Hi all,

I have a question as to the best way to center an image over a chart. 
Basically I'd like to place an image over a chart when no data is 
returned. I can't use absolute positioning because of the different 
resolution possibilities. Further, we have a zoom component that makes 
the chart full screen and the image would have to re-center itself. Can 
anyone point me in the right direction?

Thanks in advance!


  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-07-26 Thread Paul BH



yep, so you take the dataRegion rectangle, find the middle of it, and hey presto, all sorted - something like this:  override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
   super.updateDisplayList(unscaledWidth,unscaledHeight);   var rect:Rectangle = dataRegion;
   myImage.x = rect.left + (rect.width-myImage.width)/2 
   myImage.y = rect.top+ (rect.height-myImage.height)/2   }showing / hiding you can do when the data changes...On 7/26/06, 
parksch2 [EMAIL PROTECTED] wrote:













  



Hey,

Thanks for the response. It's an image that basically says No data 
for this chart so it won't have to scale or anything. I'm just 
trying to place it right in the middle of the chart. It doesn't have 
to be perfect, just relatively in the center of where the lines are 
drawn in the chart.

Thanks!

--- In flexcoders@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, parksch2 [EMAIL PROTECTED] wrote:
 
Hi all,
 
  I have a question as to the best way to center an image over a 
chart.
  Basically I'd like to place an image over a chart when no data is
  returned. I can't use absolute positioning because of the 
different
  resolution possibilities. Further, we have a zoom component that 
makes
  the chart full screen and the image would have to re-center 
itself. Can
  anyone point me in the right direction?
 
  Thanks in advance!
 
   
 



  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 there 
was a way to create a function and pass optional arguments to it, and get them 
in the function using arguments[0].

private function 
foo():Void
{
 
var arg = arguments[0];
}

When I try it to do 
in Flex 2 I've got still an 'Inccorect number of arguments' 
error.
Have anyone an idea 
how I can do it in Flex 2?

Thanks, 
Artur

  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 PROTECTED] wrote:



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




-- Jason

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 direction of how I can find out how wide, in pixels, a day is represented on a given axis?
taPBH

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-07-25 Thread Paul BH



nevermmind - didnt have my mind in gear to think it through...if its any use to anyone, here's my quick  dirty solution:private function getPixelWidth(numDays:Number):Number{   var dAxis:DateTimeAxis = DateTimeAxis(horizontalAxis);
   var w:Number = dataRegion.width;   var min:Date = 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] wrote:
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 direction of how I can find out how wide, in pixels, a day is represented on a given axis?
taPBH



__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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] wrote:













  



Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long.
Something like lt;ligt; makes it break - amp; works though.
Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created.
Jonathan



  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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

2006-07-06 Thread Paul BH



gotcha - just wondered if the process of loading it in at compile time may have been the achilles heel...On 7/6/06, Jonathan Bezuidenhout 
[EMAIL PROTECTED] wrote:












  



Loading a XML file via mx:XML... source= is pretty much the same as having it inline - it is converted into an AS structure at compile time and that is where things go wrong.It is easy to show that it fails.
mx:XML id=test root  test1 desc=this little piggy does work amp; /  test2 desc=this little piggy does NOT work lt;ligt; for a list item at runtime /
  test3 desc=this little piggy does NOT even compile #13; / /root/mx:XMLIt works fine with loading the XML via HTTPService using the exact same XML - so I think it is a bug with the XML being converted at compile time. I think I remember there was a similar bug at the begining of time - like version 
1.0 or something very very long ago.J.
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 a file?
just curious...PBHOn 7/6/06, Jonathan Bezuidenhout 


[EMAIL PROTECTED] wrote:













  



Hi,No nasty characters - just escaped ones.It turns out that it is not that the string is too long - it is because it contains some escape sequences - it just happens to be that these strings are extra long.
Something like lt;ligt; makes it break - amp; works though.
Also, something like #60; fails. If you have something like #13; in your XML the app cannot even compile. All of these are perfectly good XML!The above is using the mx:XML source.../ construct where the XML is sucked in at compile time and the AS structure is created.
Jonathan



  















  
















  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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 - however, this shouldnt really affect it as afr as I can see...
On 7/5/06, Matt Horn [EMAIL PROTECTED] wrote:













  



the only thing I can think of is the location of the mm.cfg file. what
do you mean by root of my user folder?

It should be in the directory specified by a combination of the
HOMEDRIVE/HOMEPATH environment variables (to see their values, open a
command prompt and type set).

on windows xp, the default should be something like c:\Documents and
Settings\username\, which I suspect you mean, but I just wanted to be
sure. On Win NT, though, it's typically just c:\

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul BH
 Sent: Monday, July 03, 2006 9:39 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] change to mm.cfg setup in FP9?
 
 yep  - tried using the standalone player:
 C:\Program Files\Adobe\Flex Builder 2 
 Plug-in\Player\debug\saflashplayer.exe
 
 and both IE and FF plugins (debug)
 
 also tried removing the outputfilename parameter (at your 
 suggestion) so that any trace output would go to the default 
 location /me/flashlog.txt 
 
 still no dice
 
 the only way I can see my trace is when I do debug asflex 
 app and then I see the trace in the console.
 
 if anyone can offer any other clues I'd be really grateful 
 (or even just confirm that it works for them!) 
 
 ta
 
 PBH
 
 
 On 7/2/06, Johannes Nel [EMAIL PROTECTED] wrote:
 
 	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 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 
 	ErrorReportingEnable=1
 	TraceOutputFileEnable=1
 	MaxWarnings=0
 	
 	
 	pretty simple, but it just doesnt want to work for me...
 	
 	anyone have any pointers on any gotchas I might have overlooked?
 	
 	ta 
 	
 	PBH
 	
 	
 	
 	
 	
 	
 	 Yahoo! Groups Sponsor 
 ~--
 	Yahoo! Groups gets a make over. See the new email design.
 	
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM 
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM 
 	
 --
 --~-
 	
 	--
 	Flexcoders Mailing List
 	FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t

 xt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 
 	Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 	Yahoo! Groups Links 
 	
 	
 	
 	
 	
 	
 	
 
 
 
 	-- 
 	j:pn 
 	http://www.lennel.org
 	
 
 	
 
 	
 
 
  
 

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



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

2006-07-03 Thread Paul BH



yep - tried using the standalone player:C:\Program Files\Adobe\Flex Builder 2 Plug-in\Player\debug\saflashplayer.exeand both IE and FF plugins (debug)also tried removing the outputfilename parameter (at your suggestion) so that any trace output would go to the default location /me/flashlog.txt
still no dicethe only way I can see my trace is when I do debug asflex app and then I see the trace in the console.if anyone can offer any other clues I'd be really grateful (or even just confirm that it works for them!)
taPBHOn 7/2/06, Johannes Nel [EMAIL PROTECTED] wrote:













  



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 cantget it to workmy mm.cfg file is in the root of my user filder and loks like this:TraceOutputFileName=c:/logs/flashlog.txt
ErrorReportingEnable=1TraceOutputFileEnable=1MaxWarnings=0pretty simple, but it just doesnt want to work for me...anyone have any pointers on any gotchas I might have overlooked?ta

PBH Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design.

http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
* To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
-- j:pn http://www.lennel.org

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=0


pretty simple, but it just doesnt want to work for me...

anyone have any pointers on any gotchas I might have overlooked?

ta

PBH





 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[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 anyone know where I might be able to change this in the preferences?

ta

PBH


 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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 couldn't think of a better one. The question is pretty straightforward though. I think it's best explained with an example. Let's say I have an image...
 mx:Image source=../pictures/banner.jpg/Now, let's say that if I click the banner, I want to do something with, say the source, like pass it to a function. I could do something like...
 mx:Image source=../pictures/banner.jpg click=SomeFunction('../pictures/banner.jpg')/BUT, I want to know if there is a way to do the same thing without hardcoding in the source again (for my application, the source is a variable, that's why...so I can't hardcode it). I'm looking for something similar to...
 mx:Image source=../pictures/banner.jpg click=SomeFunction(this.source)/ // ERROR - doesn't workIt seems like something that I should be able to do, but I just can't figure out how.
Thanks in advanceCharles

  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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


 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





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 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



  















__._,_.___





--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[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 to take an early peek:
http://www.eyefodder.com/blog/2006/05/continuous_integration_with_fl.shtml

thx

PBH






--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












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.

2006-03-17 Full Flex framework ActionScript source code released on
Adobe Flex 2.0 Beta1 CD - in
\extras\flex2_b1_framework+charts_source_01-30.zip. I don't see this
online yet, the CD was included with this months Java Developers
Journal magazine.
http://www.osflash.org/

and

(not sure the context of Dave's post at this link)
http://osflash.org/pipermail/osflash_osflash.org/2006-February/007132.html


Can anybody else confirm this or know where they source files will be
available?










--
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
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





  


















--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









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 on
Adobe Flex 2.0 Beta1 CD - in
\extras\flex2_b1_framework+charts_source_01-30.zip. I don't see this
online yet, the CD was included with this months Java Developers
Journal magazine.
http://www.osflash.org/

and

(not sure the context of Dave's post at this link)
http://osflash.org/pipermail/osflash_osflash.org/2006-February/007132.html


Can anybody else confirm this or know where they source files will be
available?










--
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
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  
















--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









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….
 
_
Jonathan Miranda
 
Flexible Master of the Web
 
In the game of chess, it's important to never let your opponent see your pieces. 


HealthGrades: Guiding America
 to Better Healthcare™
NASDAQ: HGRD
w (720) 963-3832
 
c (707) 761-0868
 

[EMAIL PROTECTED] 
_
The message contains confidential and/or legally privileged information and is intended for use only by the indicated addressee. If you are not the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Vadim MelnikSent: Monday, February 27, 2006 2:23 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Array based class throws error for splice method call


 There's a lot of stuff missing it seems in your class 
 Right, because I've cut source code as much as possible to simplify test case.
 AS3 is strong-type coding, so you need to code in everything you're assuming it understandsMy code compiles without errors/warnings in strict mode. 
my first guess is to have the set/get commands and call the splice/push methods on the actual array (maybe using this 
I've played with things like this/super and other variants, but did not find right solution. For me it sounds like a bug in Array.splice
 implementation, (unless Array class is final/sealed by design and is not allowed to be inherited).
--Thanks,Vadim.--- In 
flexcoders@yahoogroups.com, Jonathan Miranda [EMAIL PROTECTED] wrote:
 There's a lot of stuff missing it seems in your class. AS3 is strong-type coding, so you need to code in everything you're 
assuming it understands. I don't have the time to check it out, but my first guess
 is to have the set/get commands and call the splice/push methods on the actual array (maybe using this - think in AS2 to AS3 the 
 implementation of this changed).  _ 
  Jonathan Miranda  Flexible Master of the Web 
  In the game of chess, it's important to never let your opponent see
  your pieces.  HealthGrades 
 http://www.healthgrades.com/ : Guiding America to Better Healthcare(tm) 
 NASDAQ: HGRD  w (720) 963-3832
  c (707) 761-0868  [EMAIL PROTECTED] 
  _  The message contains confidential and/or legally privileged 
information and is intended for use only by the indicated addressee. If you are not 
 the named addressee you should not disseminate, distribute, or copy this e-mail. Please notify the sender immediately by e-mail if you have 
 received this e-mail by mistake and delete this e-mail from your system. E-mail transmissions cannot be guaranteed to be secure or error- 
free as information could be intercepted, corrupted, lost, destroyed,arrive late
  or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this 
message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. 
   
 From: flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com] On Behalf Of Vadim Melnik Sent: Monday, February 27, 2006 1:50 PM
 To: flexcoders@yahoogroups.com Subject: [flexcoders] Array based class throws error for splice 
method call  
  Hi All,  Got problem with my custom class inheriting default AS3 Array one. 
 Not sure it's allowed in AS3, but it worked well with previous  ActionScript 2.
  I've created small test case, it throws runtime error somewhere  inside Array.splice call. Also in real application I am getting IE 
 GPFs right after exception dialog closed.  P.S.: also reported this bug using web form - 
 http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform 
   [Error] 
 ReferenceError: Error #1069: Property length not found on MyArray  and there is no default value
 at Array/splice() at MyArray/bug() at test002::doTest()
  [test002.mxml]  ?xml version=1.0 encoding=utf-8? 
 mx:Application xmlns:mx=http://www.macromedia.com/2005/mxml 
  mx:Button click=doTest() label=doTest/
 mx:Script![CDATA[  import MyArray; 
 

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

2006-02-27 Thread Paul BH



thats what I get for half listening to stuff...
On 2/27/06, Doug Lowder [EMAIL PROTECTED] wrote:
That would be unfortunate if true. The current docs *do* say this, however:You can subclass Array and override or add methods; but specify the 
subclass as dynamic or you will lose the ability 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 PROTECTED] wrote:   In your code, you're not calling the Super constructor….* *
   _   *Jonathan Miranda*   *Flexible Master of the Web*   *In the game of chess, it's important to never let your 
opponent see your  pieces. *   HealthGrades 
http://www.healthgrades.com/: Guiding America to Better  Healthcare™ 
   NASDAQ: HGRD   w (720) 963-3832   c (707) 761-0868   [EMAIL PROTECTED] 
  _   The message contains confidential and/or legally privileged information  and is intended for use only by the indicated addressee. If you 
are not the  named addressee you should not disseminate, distribute, or copy this e-mail.  Please notify the sender immediately by e-mail if you have received this  e-mail by mistake and delete this e-mail from your system. E-mail
  transmissions cannot be guaranteed to be secure or error-free as information  could be intercepted, corrupted, lost, destroyed,arrive late or incomplete,  or contain viruses. The sender therefore does not accept 
liability for any  errors or omissions in the contents of this message which arise as a result  of e-mail transmission. If verification is required please request a  hard-copy version.
  --   *From:* flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] *On  Behalf Of *Vadim Melnik
  *Sent:* Monday, February 27, 2006 2:23 PM 
  *To:* flexcoders@yahoogroups.com  *Subject:* [flexcoders] Re: Array based class throws error for 
splice  method call  There's a lot of stuff missing it seems in your class   Right, because I've cut source code as much as possible to 
simplify  test case.AS3 is strong-type coding, so you need to code in everything  you're assuming it understands   My code compiles without errors/warnings in strict mode.
my first guess is to have the set/get commands and call the  splice/push methods on the actual array (maybe using this   I've played with things like this/super and other variants, but 
did  not find right solution. For me it sounds like a bug in Array.splice  implementation, (unless Array class is final/sealed by design and is  not allowed to be inherited).
--  Thanks,  Vadim.--- In 
flexcoders@yahoogroups.com, Jonathan Miranda jmiranda@  wrote: There's a lot of stuff missing it seems in your class. AS3 is   strong-type coding, so you need to code in everything you're
  assuming it   understands. I don't have the time to check it out, but my first  guess   is to have the set/get commands and call the splice/push methods
  on the   actual array (maybe using this - think in AS2 to AS3 the   implementation of this changed). _
 Jonathan Miranda Flexible Master of the Web In the game of chess, it's important to never let your opponent
  see   your pieces. HealthGrades  http://www.healthgrades.com/
 : Guiding America to  Better   Healthcare(tm) NASDAQ: HGRD w (720) 963-3832 c (707) 761-0868
 jmiranda@ _ The message contains confidential and/or legally privileged
  information   and is intended for use only by the indicated addressee. If you  are not   the named addressee you should not disseminate, distribute, or  copy this
   e-mail. Please notify the sender immediately by e-mail if you have   received this e-mail by mistake and delete this e-mail from your  system.   E-mail transmissions cannot be guaranteed to be secure or 
error-  free as   information could be intercepted, corrupted, lost,  destroyed,arrive late   or incomplete, or contain viruses. The sender therefore does not
  accept   liability for any errors or omissions in the contents of this  message   which arise as a result of e-mail transmission. If verification is   required please request a hard-copy version.
  From: 
flexcoders@yahoogroups.com  [mailto: flexcoders@yahoogroups.com] On   Behalf Of Vadim Melnik
   Sent: Monday, February 27, 2006 1:50 PM   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Array based class throws error for splice  method   call Hi All,  
   Got problem with my custom class inheriting default AS3 Array one.   Not sure it's allowed in AS3, but it worked well with previous   ActionScript 2.  
   I've created small test case, it throws

[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 components::SoundPlayer/loadSound()
at AS3Loader/AS3Loader$385$private::loadTheSound()
at AS3Loader/soundButton_click()


any ideas what I am doing wrong?

the function :

public function loadSound(url:String){
var request:URLRequest  = new URLRequest(url);
__snd.load(request);
__channel = __snd.play();
}

tia

PBH


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




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 container(extends off VBox)in which I create a large number of child controls by overriding the createChildren method.
The component is used in Main.mxml file inside a VBox which is set to 100% height and width like so (pseudo):

application width=980 height=695 margin=10
 vbox width=100% height=100%
 myContainer/
 /vbox
/application

The issue is when the scrollbars show up on the Application, rather than on the VBox where I would expect it to ! 
If I replace the parent vbox with a canvas scrollbars show up around the canvas as it should

My component code is:

MyContainer.as

class _test.MyContainer extends VBox{
function MyContainer(){ }public function createChildren():Void{ for(var i:Number=0;i100;i++){ this.createChild(Button,undefined,{label:a_+ i}); }}}


Anybody faced this before or know what I am doing wrong?
TIA
- superabe--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web. 
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 










--
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
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









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 Mailing List
 FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com


 
 YAHOO! GROUPS LINKS

  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/