[flexcoders] Re: Gantt Chart

2007-02-01 Thread napearson99
Hmmm..so i guess that only got me 10% of the way there.

Is there a way to put dates on the linear access?  I also want custom
labels for those dates.  I.E.  10/1/2007 would equal Q1 2008.  

I also want the axis labels to appear at the top and bottom.

Doug - I'm interested in those click and drag style bars that Ely
described how to do.  I will build those with you if your interested.



[flexcoders] Re: Gantt Chart

2007-02-01 Thread napearson99
I'm kind of a newbie to flex. Do you have any links of examples on how
to use the labelfunction?  

--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 Hi,
 
 You can accomplish the dates on the linear axis by defining what value 0
 would be as a date (eg. Today)... then just use a labelFunction on
the axis
 to return the date based on how many days before/after value 0.
 
 Same thing with for the custom labels... labelFunction...
 
 Not sure about the axis at the top of the chart... might have to
leave that
 one to Ely.  I do remember seeing a post a couple months back about
multiple
 axis on one side, so perhaps there was a solution there that might
help.  If
 you haven't already, you should take a look at Ely's charting sampler...
 more than a few ideas for me have been inspired by what he's done there.
 
 http://demo.quietlyscheming.com/ChartSampler/app.html
 
 HTH,
 
 Brendan
 
 On 2/1/07, napearson99 [EMAIL PROTECTED] wrote:
 
Hmmm..so i guess that only got me 10% of the way there.
 
  Is there a way to put dates on the linear access? I also want custom
  labels for those dates. I.E. 10/1/2007 would equal Q1 2008.
 
  I also want the axis labels to appear at the top and bottom.
 
  Doug - I'm interested in those click and drag style bars that Ely
  described how to do. I will build those with you if your interested.
 
   
 
 
 
 
 -- 
 Brendan Meutzner
 Stretch Media - RIA Adobe Flex Development
 [EMAIL PROTECTED]
 http://www.stretchmedia.ca





[flexcoders] Re: Gantt Chart

2007-02-01 Thread napearson99
Clint, you're a genius.  I just downloaded the sample pack and tried
it out.  Functionally it looks like it could work!  I haven't look at
the code yet and I'm going home for the night.

Does anyone have any experience with the scheduler?  The executives at
my company are going to use this tool and I'm kind of scared to use an
.01 alpha version.  If anyone wants to dredge through it with me and
exchange code that would be great!

Thanks for the suggestion Clint.

-Nate

--- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote:

 Just a shot in the dark here, but you could use the scheduling frame
work to
 use it as a Gantt chart...
 
 On 2/1/07, Brendan Meutzner [EMAIL PROTECTED] wrote:
 
Hi,
 
  You can accomplish the dates on the linear axis by defining what
value 0
  would be as a date (eg. Today)... then just use a labelFunction on
the axis
  to return the date based on how many days before/after value 0.
 
  Same thing with for the custom labels... labelFunction...
 
  Not sure about the axis at the top of the chart... might have to leave
  that one to Ely.  I do remember seeing a post a couple months back
about
  multiple axis on one side, so perhaps there was a solution there
that might
  help.  If you haven't already, you should take a look at Ely's
charting
  sampler... more than a few ideas for me have been inspired by what
he's done
  there.
 
  http://demo.quietlyscheming.com/ChartSampler/app.html
 
  HTH,
 
  Brendan
 
  On 2/1/07, napearson99 [EMAIL PROTECTED] wrote:
  
 Hmmm..so i guess that only got me 10% of the way there.
  
   Is there a way to put dates on the linear access? I also want custom
   labels for those dates. I.E. 10/1/2007 would equal Q1 2008.
  
   I also want the axis labels to appear at the top and bottom.
  
   Doug - I'm interested in those click and drag style bars that Ely
   described how to do. I will build those with you if your interested.
  
  
 
 
  --
  Brendan Meutzner
  Stretch Media - RIA Adobe Flex Development
  [EMAIL PROTECTED]
  http://www.stretchmedia.ca
   
 
 
 
 
 -- 
 http://indeegrumpee.spaces.live.com/





[flexcoders] Re: Gantt Chart

2007-02-02 Thread napearson99
Nice Doug.  What about dates?  In theory how would that part hook up?
 I would argue that a time line of dates might be the most important part.

I like what you did a lot.  If we could combine what you did with the
sliders with how the scheduler works I think we would have a really
useful Gantt chart.  I'm going to try it out.  I'm only on day 11 of
my Flex career though ;).  

If we do start building a Gantt chart as a community is there a place
where we can post and share code/examples?  Should I just post links
to this mailing list?  When we make something cool should we just send
it to Doug to put on his blog? ;)  I'm really a .NET developer and we
would use Codeplex if we wanted to do a project like this.  I was
wondering if flex had anything like that.

I'm going to start a feature list.  Please adjust/add/subtract to it
depending on what you want/need in a Gantt chart.

Features wish list:
  Bar chart type representation
  Time line of dates at the top and/or bottom
  Have a mechanism to adjust the length and position of the bar (like
Doug's example)
  Zoom feature to look at the dates by hour/day/month/quarter/year
(like the scheduler does)

Please add to this list! :)

-Nate  

--- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote:

 Here's my attempt that uses the DataGrid approach:

http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-in-flex/
 
 It uses adjustable sliders, so you can adjust each item. It's by no 
 means complete, but maybe it can be a start...
 
 Doug
 
 
 Clint Tredway wrote:
 
  no problem, I figured it could work as a gantt chart even if it wasnt 
  originally designed to do so... hope it works out.
 
 





[flexcoders] Re: Gantt Chart

2007-02-02 Thread napearson99
Hey Clint, im having problems with the scheduler.  After reading up on
it some it seems that it can't handle large dates spans.  For example
I can't have an entry with a year between the start and end date.  I
guess this is because they used int where they should of used Number.  

Have you encountered this?  I'm thinking i might just do a find and
replace all through all the files

Im very desperate.

--- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote:

 yes, very cool. I have been using the scheduling framework a bit and
thought
 that it could be used for a gantt chart but I do like your approach
as well.
 
 very very nice.
 
 On 2/1/07, Andrew Trice [EMAIL PROTECTED] wrote:
 
 Nice work Doug.  I just threw that idea together a there a
while back.
   I'm glad to see you build off of it.  I like the sliders.
 
 
 
  -Andy
 
 
 
  _
 
  *Andrew Trice*
 
  Cynergy Systems, Inc.
 
  http://www.cynergysystems.com
 
 
 
  Blog: http://www.cynergysystems.com/blogs/page/andrewtrice
 
  Email: [EMAIL PROTECTED]
 
  Office: 866-CYNERGY
 
 
--
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Doug McCune
  *Sent:* Thursday, February 01, 2007 10:46 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* Re: [flexcoders] Gantt Chart
 
 
 
  Here's my attempt that uses the DataGrid approach:
 
 
http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-in-flex/
 
  It uses adjustable sliders, so you can adjust each item. It's by
no means
  complete, but maybe it can be a start...
 
  Doug
 
 
  Clint Tredway wrote:
 
   no problem, I figured it could work as a gantt chart even if it wasnt
  originally designed to do so... hope it works out.
 
 
 
   
 
 
 
 
 -- 
 http://indeegrumpee.spaces.live.com/





[flexcoders] Custom Charting Questions from Ely's Blog

2007-02-06 Thread napearson99
Dear Charting Gurus/Awesome People,

I was reading Ely's blog on easy custom charting (which i think is
great!) and read some interesting questions in his comment section.  It
turns out I have the same questions as these guys.  They haven't been
answered yet, so I thought I would post them here and see if anyone
could answer them.  Here is a link to Ely's blog post.
http://www.quietlyscheming.com/blog/2006/12/04/some-thoughts-and-exampl\
es-on-making-custom-flex-charts-simpler/

1) Arthur  12.26.06 / 11am
Can you suggest a good flex sample site, other than adobe, with some 
good examples, thanks

2) Michael  12.11.06 / 11am
Ely,

Where do you think would be the best place to learn more about creating
custom charts? I find a lot of your samples greatly useful, but I am
having trouble understanding how to create my own chart types. I have
recently found some code you did for a radar chart and I love it, but I
am having a hard time modifying it to do what I want it to just because
I am not very familiar with creating custom charts. Any direction would
be greatly appreciated. Thank you for all you do for the flex
community!!

3)Kazi  1.1.07 / 5pm

Hi Ely!!! Great job!!! I did like all your examples. Very very
helpful!!! I have a question, how can I have multiple y axes but one x
axis. Multiple means much more than 2, at least 30!!! This way I will be
able to stack many charts and then
will be able to compare all those with respect x axis. My last question
is if my x axis is a date/time axis then how I can mark the back ground
with multiple color. As an example suppose my x axis starts from 1/1/07
and ends at 31/12/07. From 1/1/07 to 3/31/07 back ground will be blue
and from 4/1/07 to 9/30/07 will be green and 10/1/07 to 12/31/07 will be
yellow This is just the back ground. How can I do that?? Thanks for
your time and all your help!! By the way Happy New Year and
hope to see some more excellent examples from you in coming days.

(I'm assuming that Kazi is using a bar chart.  I don't even know how to
get dates in on the x linear series!  I was just going to convert he
dates to numbers...any help would be appreciated.)

4)Joe  1.31.07 / 11am
Hi,

Love your work on the charting components and the useful tips on this
site. I'm very interested at the moment in being able to highlight a
particular bar on a column chart after it is clicked (to show the
currently selected chart item). I will try to use this library
to achieve that effect, since it seems to be the easiest way at the
moment to do this. There was some info on the Flex charting helpfile on
how to overlay a colored rectangle on a chart, but it didn't seem
like it would work properly when the browser is resized without a lot
more work on the coordinates handling.

-Nate



[flexcoders] Animated Drag Tile

2007-02-12 Thread napearson99
Anyone know how to make an animated drag tile component?  I saw Ely's
posting at http://demo.quietlyscheming.com/DragTile/DragDrop.html and
I love it.  It won't let me download the code though so I can't figure
out how it's done.

-Nate



[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
When I right click to view source I get the error:

Routing Error

Recognition failed for /DragTile/DragDropViewSource/index.html

I'm going to try to adjust your drag tile so that the images get out
of the way in a vertical sense instead of horizontal like your demo
shows.  I'm also going to put just one item per line.  This will
create a sort of drag and drop list.  Do you think this will be hard
to do?

On a personal note I love love love your site.  I work at a fortune
500 company and upper management is really excited about the flex apps
with charting that I am making.  I've only been using Flex/AS for 20
days now and I have more than one functional app pulling data from SQL
Servers.  Management wants to use Flex as an enhanced GUI for SAP. 
Your blog greatly helped me make these cool apps.  Keep those posts
coming!

SO THANKS! :) 

oh yah, they think im a genius now and I'll probably get a raise ;).

--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote:

  
  
 Hi Nate.  The source should be downloadable. Please try again.
  
  
 My site has gone through some changes over the past few months which
 have resulting in some broken view source links. If people have been
 looking to download source and are getting errors, please post here or
 email me directly and I'll get them patched up. Sorry about the hassle.
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of napearson99
 Sent: Monday, February 12, 2007 10:46 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Animated Drag Tile
 
 
 
 Anyone know how to make an animated drag tile component? I saw Ely's
 posting at http://demo.quietlyscheming.com/DragTile/DragDrop.html
 http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
 I love it. It won't let me download the code though so I can't figure
 out how it's done.
 
 -Nate





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
I was able to dl the source with IE 6.  Firefox 2.0 throws that error.

--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:

 When I right click to view source I get the error:
 
 Routing Error
 
 Recognition failed for /DragTile/DragDropViewSource/index.html
 
 I'm going to try to adjust your drag tile so that the images get out
 of the way in a vertical sense instead of horizontal like your demo
 shows.  I'm also going to put just one item per line.  This will
 create a sort of drag and drop list.  Do you think this will be hard
 to do?
 
 On a personal note I love love love your site.  I work at a fortune
 500 company and upper management is really excited about the flex apps
 with charting that I am making.  I've only been using Flex/AS for 20
 days now and I have more than one functional app pulling data from SQL
 Servers.  Management wants to use Flex as an enhanced GUI for SAP. 
 Your blog greatly helped me make these cool apps.  Keep those posts
 coming!
 
 SO THANKS! :) 
 
 oh yah, they think im a genius now and I'll probably get a raise ;).
 
 --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@ wrote:
 
   
   
  Hi Nate.  The source should be downloadable. Please try again.
   
   
  My site has gone through some changes over the past few months which
  have resulting in some broken view source links. If people have been
  looking to download source and are getting errors, please post here or
  email me directly and I'll get them patched up. Sorry about the
hassle.
   
  Ely.
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of napearson99
  Sent: Monday, February 12, 2007 10:46 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Animated Drag Tile
  
  
  
  Anyone know how to make an animated drag tile component? I saw Ely's
  posting at http://demo.quietlyscheming.com/DragTile/DragDrop.html
  http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
  I love it. It won't let me download the code though so I can't figure
  out how it's done.
  
  -Nate
 





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
I cant find the BitmapTile file for the Drag Tile custom itemrenderer.
 Am i making a mistake?

--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:

 I was able to dl the source with IE 6.  Firefox 2.0 throws that error.
 
 --- In flexcoders@yahoogroups.com, napearson99 napearson99@ wrote:
 
  When I right click to view source I get the error:
  
  Routing Error
  
  Recognition failed for /DragTile/DragDropViewSource/index.html
  
  I'm going to try to adjust your drag tile so that the images get out
  of the way in a vertical sense instead of horizontal like your demo
  shows.  I'm also going to put just one item per line.  This will
  create a sort of drag and drop list.  Do you think this will be hard
  to do?
  
  On a personal note I love love love your site.  I work at a fortune
  500 company and upper management is really excited about the flex apps
  with charting that I am making.  I've only been using Flex/AS for 20
  days now and I have more than one functional app pulling data from SQL
  Servers.  Management wants to use Flex as an enhanced GUI for SAP. 
  Your blog greatly helped me make these cool apps.  Keep those posts
  coming!
  
  SO THANKS! :) 
  
  oh yah, they think im a genius now and I'll probably get a raise ;).
  
  --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@ wrote:
  


   Hi Nate.  The source should be downloadable. Please try again.


   My site has gone through some changes over the past few months which
   have resulting in some broken view source links. If people have been
   looking to download source and are getting errors, please post
here or
   email me directly and I'll get them patched up. Sorry about the
 hassle.

   Ely.

   
   
   
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of napearson99
   Sent: Monday, February 12, 2007 10:46 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Animated Drag Tile
   
   
   
   Anyone know how to make an animated drag tile component? I saw Ely's
   posting at http://demo.quietlyscheming.com/DragTile/DragDrop.html
   http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
   I love it. It won't let me download the code though so I can't
figure
   out how it's done.
   
   -Nate
  
 





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
Nice, use me all you like.  I enjoy it and I think I'll learn a lot.

Now I get: Error #2044: Unhandled IOErrorEvent:. text=Error #2035:
URL Not Found.

the page comes up but there aren't any tiles.

--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote:

  
  
 Hi Nate.  Now you get to be my guineapig :)  I think the zip file should
 now container all the files you need. Please clear your cache, download
 it again, and see if that works.
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of napearson99
 Sent: Monday, February 12, 2007 1:42 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Animated Drag Tile
 
 
 
 I cant find the BitmapTile file for the Drag Tile custom itemrenderer.
 Am i making a mistake?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , napearson99 napearson99@ wrote:
 
  I was able to dl the source with IE 6. Firefox 2.0 throws that error.
  
  --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , napearson99 napearson99@
 wrote:
  
   When I right click to view source I get the error:
   
   Routing Error
   
   Recognition failed for /DragTile/DragDropViewSource/index.html
   
   I'm going to try to adjust your drag tile so that the images get out
   of the way in a vertical sense instead of horizontal like your demo
   shows. I'm also going to put just one item per line. This will
   create a sort of drag and drop list. Do you think this will be hard
   to do?
   
   On a personal note I love love love your site. I work at a fortune
   500 company and upper management is really excited about the flex
 apps
   with charting that I am making. I've only been using Flex/AS for 20
   days now and I have more than one functional app pulling data from
 SQL
   Servers. Management wants to use Flex as an enhanced GUI for SAP. 
   Your blog greatly helped me make these cool apps. Keep those posts
   coming!
   
   SO THANKS! :) 
   
   oh yah, they think im a genius now and I'll probably get a raise ;).
   
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@
 wrote:
   


Hi Nate. The source should be downloadable. Please try again.


My site has gone through some changes over the past few months
 which
have resulting in some broken view source links. If people have
 been
looking to download source and are getting errors, please post
 here or
email me directly and I'll get them patched up. Sorry about the
  hassle.

Ely.




From: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com ] On
Behalf Of napearson99
Sent: Monday, February 12, 2007 10:46 AM
To: flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com 
Subject: [flexcoders] Animated Drag Tile



Anyone know how to make an animated drag tile component? I saw
 Ely's
posting at http://demo.quietlyscheming.com/DragTile/DragDrop.html
 http://demo.quietlyscheming.com/DragTile/DragDrop.html 
http://demo.quietlyscheming.com/DragTile/DragDrop.html
 http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
I love it. It won't let me download the code though so I can't
 figure
out how it's done.

-Nate
   
  
 





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
I think you just forgot the images in the img folder.  I put some in
named img1.jpg, img2.jpg ect and they came up, although these pictures
are at 1900x1680 so i might want to rescale them first to make sure it
works.

--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:

 Nice, use me all you like.  I enjoy it and I think I'll learn a lot.
 
 Now I get: Error #2044: Unhandled IOErrorEvent:. text=Error #2035:
 URL Not Found.
 
 the page comes up but there aren't any tiles.
 
 --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@ wrote:
 
   
   
  Hi Nate.  Now you get to be my guineapig :)  I think the zip file
should
  now container all the files you need. Please clear your cache,
download
  it again, and see if that works.
   
  Ely.
   
  
  
  
  From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
  Behalf Of napearson99
  Sent: Monday, February 12, 2007 1:42 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Animated Drag Tile
  
  
  
  I cant find the BitmapTile file for the Drag Tile custom itemrenderer.
  Am i making a mistake?
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
  , napearson99 napearson99@ wrote:
  
   I was able to dl the source with IE 6. Firefox 2.0 throws that
error.
   
   --- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , napearson99 napearson99@
  wrote:
   
When I right click to view source I get the error:

Routing Error

Recognition failed for /DragTile/DragDropViewSource/index.html

I'm going to try to adjust your drag tile so that the images
get out
of the way in a vertical sense instead of horizontal like your
demo
shows. I'm also going to put just one item per line. This will
create a sort of drag and drop list. Do you think this will be
hard
to do?

On a personal note I love love love your site. I work at a fortune
500 company and upper management is really excited about the flex
  apps
with charting that I am making. I've only been using Flex/AS
for 20
days now and I have more than one functional app pulling data from
  SQL
Servers. Management wants to use Flex as an enhanced GUI for SAP. 
Your blog greatly helped me make these cool apps. Keep those posts
coming!

SO THANKS! :) 

oh yah, they think im a genius now and I'll probably get a
raise ;).

--- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@
  wrote:

 
 
 Hi Nate. The source should be downloadable. Please try again.
 
 
 My site has gone through some changes over the past few months
  which
 have resulting in some broken view source links. If people have
  been
 looking to download source and are getting errors, please post
  here or
 email me directly and I'll get them patched up. Sorry about the
   hassle.
 
 Ely.
 
 
 
 
 From: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
   [mailto:flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of napearson99
 Sent: Monday, February 12, 2007 10:46 AM
 To: flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com 
 Subject: [flexcoders] Animated Drag Tile
 
 
 
 Anyone know how to make an animated drag tile component? I saw
  Ely's
 posting at
http://demo.quietlyscheming.com/DragTile/DragDrop.html
  http://demo.quietlyscheming.com/DragTile/DragDrop.html 
 http://demo.quietlyscheming.com/DragTile/DragDrop.html
  http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
 I love it. It won't let me download the code though so I can't
  figure
 out how it's done.
 
 -Nate

   
  
 





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
woohoo it works.  Now I'm going to try to edit ur program to do the
vertical shuffling.  gl to me.


--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:

 I think you just forgot the images in the img folder.  I put some in
 named img1.jpg, img2.jpg ect and they came up, although these pictures
 are at 1900x1680 so i might want to rescale them first to make sure it
 works.
 
 --- In flexcoders@yahoogroups.com, napearson99 napearson99@ wrote:
 
  Nice, use me all you like.  I enjoy it and I think I'll learn a lot.
  
  Now I get: Error #2044: Unhandled IOErrorEvent:. text=Error #2035:
  URL Not Found.
  
  the page comes up but there aren't any tiles.
  
  --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@ wrote:
  


   Hi Nate.  Now you get to be my guineapig :)  I think the zip file
 should
   now container all the files you need. Please clear your cache,
 download
   it again, and see if that works.

   Ely.

   
   
   
   From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On
   Behalf Of napearson99
   Sent: Monday, February 12, 2007 1:42 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Animated Drag Tile
   
   
   
   I cant find the BitmapTile file for the Drag Tile custom
itemrenderer.
   Am i making a mistake?
   
   --- In flexcoders@yahoogroups.com
 mailto:flexcoders%40yahoogroups.com
   , napearson99 napearson99@ wrote:
   
I was able to dl the source with IE 6. Firefox 2.0 throws that
 error.

--- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , napearson99 napearson99@
   wrote:

 When I right click to view source I get the error:
 
 Routing Error
 
 Recognition failed for /DragTile/DragDropViewSource/index.html
 
 I'm going to try to adjust your drag tile so that the images
 get out
 of the way in a vertical sense instead of horizontal like your
 demo
 shows. I'm also going to put just one item per line. This will
 create a sort of drag and drop list. Do you think this will be
 hard
 to do?
 
 On a personal note I love love love your site. I work at a
fortune
 500 company and upper management is really excited about the
flex
   apps
 with charting that I am making. I've only been using Flex/AS
 for 20
 days now and I have more than one functional app pulling
data from
   SQL
 Servers. Management wants to use Flex as an enhanced GUI for
SAP. 
 Your blog greatly helped me make these cool apps. Keep those
posts
 coming!
 
 SO THANKS! :) 
 
 oh yah, they think im a genius now and I'll probably get a
 raise ;).
 
 --- In flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com , Ely Greenfield egreenfi@
   wrote:
 
  
  
  Hi Nate. The source should be downloadable. Please try again.
  
  
  My site has gone through some changes over the past few months
   which
  have resulting in some broken view source links. If people
have
   been
  looking to download source and are getting errors, please post
   here or
  email me directly and I'll get them patched up. Sorry
about the
hassle.
  
  Ely.
  
  
  
  
  From: flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com 
[mailto:flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com ] On
  Behalf Of napearson99
  Sent: Monday, February 12, 2007 10:46 AM
  To: flexcoders@yahoogroups.com
   mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] Animated Drag Tile
  
  
  
  Anyone know how to make an animated drag tile component? I saw
   Ely's
  posting at
 http://demo.quietlyscheming.com/DragTile/DragDrop.html
   http://demo.quietlyscheming.com/DragTile/DragDrop.html 
  http://demo.quietlyscheming.com/DragTile/DragDrop.html
   http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
  I love it. It won't let me download the code though so I can't
   figure
  out how it's done.
  
  -Nate
 

   
  
 





[flexcoders] Re: Animated Drag Tile

2007-02-12 Thread napearson99
Ely, the tiles disappear when you rearrange inside the same data
provider. It happens your demos and in the code I downloaded.

-Nate
--- In flexcoders@yahoogroups.com, napearson99 [EMAIL PROTECTED] wrote:

 woohoo it works.  Now I'm going to try to edit ur program to do the
 vertical shuffling.  gl to me.
 
 
 --- In flexcoders@yahoogroups.com, napearson99 napearson99@ wrote:
 
  I think you just forgot the images in the img folder.  I put some in
  named img1.jpg, img2.jpg ect and they came up, although these pictures
  are at 1900x1680 so i might want to rescale them first to make sure it
  works.
  
  --- In flexcoders@yahoogroups.com, napearson99 napearson99@ wrote:
  
   Nice, use me all you like.  I enjoy it and I think I'll learn a lot.
   
   Now I get: Error #2044: Unhandled IOErrorEvent:. text=Error #2035:
   URL Not Found.
   
   the page comes up but there aren't any tiles.
   
   --- In flexcoders@yahoogroups.com, Ely Greenfield egreenfi@
wrote:
   
 
 
Hi Nate.  Now you get to be my guineapig :)  I think the zip file
  should
now container all the files you need. Please clear your cache,
  download
it again, and see if that works.
 
Ely.
 



From: flexcoders@yahoogroups.com
  [mailto:[EMAIL PROTECTED] On
Behalf Of napearson99
Sent: Monday, February 12, 2007 1:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Animated Drag Tile



I cant find the BitmapTile file for the Drag Tile custom
 itemrenderer.
Am i making a mistake?

--- In flexcoders@yahoogroups.com
  mailto:flexcoders%40yahoogroups.com
, napearson99 napearson99@ wrote:

 I was able to dl the source with IE 6. Firefox 2.0 throws that
  error.
 
 --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , napearson99
napearson99@
wrote:
 
  When I right click to view source I get the error:
  
  Routing Error
  
  Recognition failed for
/DragTile/DragDropViewSource/index.html
  
  I'm going to try to adjust your drag tile so that the images
  get out
  of the way in a vertical sense instead of horizontal like your
  demo
  shows. I'm also going to put just one item per line. This will
  create a sort of drag and drop list. Do you think this will be
  hard
  to do?
  
  On a personal note I love love love your site. I work at a
 fortune
  500 company and upper management is really excited about the
 flex
apps
  with charting that I am making. I've only been using Flex/AS
  for 20
  days now and I have more than one functional app pulling
 data from
SQL
  Servers. Management wants to use Flex as an enhanced GUI for
 SAP. 
  Your blog greatly helped me make these cool apps. Keep those
 posts
  coming!
  
  SO THANKS! :) 
  
  oh yah, they think im a genius now and I'll probably get a
  raise ;).
  
  --- In flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com , Ely Greenfield
egreenfi@
wrote:
  
   
   
   Hi Nate. The source should be downloadable. Please try
again.
   
   
   My site has gone through some changes over the past few
months
which
   have resulting in some broken view source links. If people
 have
been
   looking to download source and are getting errors,
please post
here or
   email me directly and I'll get them patched up. Sorry
 about the
 hassle.
   
   Ely.
   
   
   
   
   From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com ] On
   Behalf Of napearson99
   Sent: Monday, February 12, 2007 10:46 AM
   To: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com 
   Subject: [flexcoders] Animated Drag Tile
   
   
   
   Anyone know how to make an animated drag tile component?
I saw
Ely's
   posting at
  http://demo.quietlyscheming.com/DragTile/DragDrop.html
http://demo.quietlyscheming.com/DragTile/DragDrop.html 
   http://demo.quietlyscheming.com/DragTile/DragDrop.html
http://demo.quietlyscheming.com/DragTile/DragDrop.html  and
   I love it. It won't let me download the code though so I
can't
figure
   out how it's done.
   
   -Nate
  
 

   
  
 





[flexcoders] ArrayCollection Splice?

2007-02-14 Thread napearson99
I'm porting over one of Ely's component's data provider from accepting
an Array to accept an ArrayCollection.  He uses item.splice a lot
where item is typed as an array.  

I want the same functionality in an array collection.  Item[0].splice
works, but im not sure this is the right way to do it.  Should i use
item.list.addItemAt?

Thanks!

-Nate







[flexcoders] Calling a webservice on initilize()

2007-02-14 Thread napearson99
I'm trying to call a webservice.  I would usually call it under
Application creationComplete=dotNetService.GetCabinets()

That is not working in my situation, i think i have to call it like
this.  Application initialize=dotNetService.GetCabinets().  But if
I do that and debug it never hits the web service.  I think this is
because the code below does not get created.

Any ideas?


WebService id=dotNetService   
  
wsdl=http://localhost:2008/ServiceTrackit/roadmap.asmx?WSDL; 
useProxy=false  showBusyCursor=true
operation name=GetCabinets result=CabinetsHandler(event)   
/
  /WebService



[flexcoders] Cannot access a property or method of a null object reference

2007-02-16 Thread napearson99
I often get this error and I usually know why.  Does anyone know how
to check for a null reference?

i.e.

if (dataprovider[i].someValue is null){
 dothis();
}

Where dataprovider[i] does not have a someValue property.  I bet this
is pretty simple and I just don't know the syntax.  Thanks in advance!



[flexcoders] Re: Cannot access a property or method of a null object reference

2007-02-16 Thread napearson99
What if the property.someValue does not exist?  How do I check if the
reference to dataprovider[i].someValue property is null?

my dataprovider is an arraycollection and holds different objects. 
Some objects have .someValue property and some do not.  When i try to
step through it it doesn't like it when it expects a property but it
is not there.

ReferenceError: Error #1069: Property Desc not found on
DragDrop_inlineComponent1 and there is no default value.

--- In flexcoders@yahoogroups.com, Paul DeCoursey [EMAIL PROTECTED] wrote:

 if (dataprovider[i].someValue == null){
 ...
 }
 
 --- In flexcoders@yahoogroups.com, napearson99 napearson99@ wrote:
 
  I often get this error and I usually know why.  Does anyone know how
  to check for a null reference?
  
  i.e.
  
  if (dataprovider[i].someValue is null){
   dothis();
  }
  
  Where dataprovider[i] does not have a someValue property.  I bet this
  is pretty simple and I just don't know the syntax.  Thanks in advance!
 





[flexcoders] Re: Item Renderer doesn't work with just one Item :-(

2009-09-15 Thread napearson99
Nope, I'm putting my data into an array collection before I bind it.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 If you are using the default resultFormat, this behavior is an issue.  I'd
 advise e4x.  Or, test the result to see what it contains and conditionally
 react.  ArrayUtil.toArray might also be helpful.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Nate Pearson
 Sent: Thursday, July 02, 2009 12:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Item Renderer doesn't work with just one Item :-(
 
  
 
 
 
 
 
 
 I have a filter function applied. Could that be part of it?
 
 --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 valdhor valdhorlists@ wrote:
 
  I seem to remember some time back (Although my memory is not what it used
 to be) that if returned data only has one item it is not converted to an
 array (ie. it is only a string). You may like to try checking to see if it
 is an array and, if not, coercing it to an array.
  
  I could be completely off track here though.
  
  --- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
 Nate Pearson napearson99@ wrote:
  
   I have a custom item render on a bar chart. 
   
   When my the data provider for my bar chart has just one item in it the
 set data function is never gets called. Updatedisplaylist doesn't trigger
 and my bar chart is blank.
   
   Any ideas? I've had this bug for a while but I need to figure it out
 now.
   
   Thanks!
   
   -Nate
  
 





[flexcoders] Re: Hot news! Adobe Opens iPhone to Flash Developers

2009-10-05 Thread napearson99
I hope someone from adobe can chime in here. 

Here's my take.  Flex is just a framework built on AS3.  This middleware 
compiler should be able to compile Flex AS3 code into native iPhone code no 
problem.

The new framework should also help reduce the weight of your app and make it 
run faster.

This is really great news.  Our skills just got a lot more valuable today.

--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote:

 You're welcome. My boss owns an iPhone and wants everything we build to run 
 on it. So I've been hunting high and low for any way to run Flash on the 
 iPhone without a jailbreak. 
 
 Some wording from the press release caught my eye: The Apple iPhone SDK 
 license terms do not allow runtime interpreted code, so Adobe is not able to 
 deliver Flash Player in Safari on the iPhone without support from Apple. 
 Applications for the iPhone built with Adobe Flash Professional CS5 do not 
 include any runtime interpreted code.
 
 So the apps built with CS5 will not include any runtime interpreted code. 
 Not sure what that means for Flex developers. Is that good/bad/indifferent?
 
 - Alex C
 
 --- In flexcoders@yahoogroups.com, Vivian Richard kanpsack@ wrote:
 
  Wow!!! Thanks for sharing the news. I also found this link in
  that news :
  
   http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/
  
  
  
  
  On Mon, Oct 5, 2009 at 12:25 PM, oneworld95 oneworld95@ wrote:
  
  
  
   This Adobe press release suggests that developers can build Flash apps
   (Flash CS5) for the iPhone:
   http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_viewnewsId=20091005006358newsLang=en
  
   Does this mean Flash Builder 4/Flex 4 will support the iPhone at some
   point?
  
   - Alex C
  

  
 





[flexcoders] Plotting lots of data on a line chart

2009-11-14 Thread napearson99
I have a dataset of about 10,000 points.  I want to plot the data in a line 
chart.  I don't need every single item to be plotted, i just need to shape of 
the data show up.

I thought I'd done something like this before...but when I hooked it up earlier 
today it went really slow.

Any thoughts?



[flexcoders] Re: Plotting lots of data on a line chart

2009-11-17 Thread napearson99
Bump.  Any ideas?  This is possible, right?

--- In flexcoders@yahoogroups.com, napearson99 napearso...@... wrote:

 I have a dataset of about 10,000 points.  I want to plot the data in a line 
 chart.  I don't need every single item to be plotted, i just need to shape of 
 the data show up.
 
 I thought I'd done something like this before...but when I hooked it up 
 earlier today it went really slow.
 
 Any thoughts?





[flexcoders] Select Region on Line Chart

2009-12-01 Thread napearson99
I have a line chart over time.  I want to select a region and get the data 
points under it (or at least the first and last).   I don't care about 
selection in the Y axis, just the x axis.

So if click the mouse and drag it right I want to select the area between 
x.mousestart to x.mouseend.

The selectionMode is kind of what I want to implement, but I want draw for the 
whole height of the chart.  Again, I don't care about selection in the Y axis, 
just the x axis.

Any ideas?

Thanks!

Nate



[flexcoders] Re: Select Region on Line Chart

2009-12-12 Thread napearson99
bump, anyone?

--- In flexcoders@yahoogroups.com, napearson99 napearso...@... wrote:

 I have a line chart over time.  I want to select a region and get the data 
 points under it (or at least the first and last).   I don't care about 
 selection in the Y axis, just the x axis.
 
 So if click the mouse and drag it right I want to select the area between 
 x.mousestart to x.mouseend.
 
 The selectionMode is kind of what I want to implement, but I want draw for 
 the whole height of the chart.  Again, I don't care about selection in the Y 
 axis, just the x axis.
 
 Any ideas?
 
 Thanks!
 
 Nate





[flexcoders] Line chart selection

2009-12-13 Thread napearson99
I asked this question before but I thought I'd rephrase because I had zero 
responses.

I want to do what's in this video 
http://www.youtube.com/watch?v=gWa89GWG_K8feature=channel

I want to do what he does at 5:30, which is click and drag and select an area 
on a graph.

I'm thinking I could just draw some expanding rectangle then transfer my point 
to a data point.  Not sure though.

thanks!



[flexcoders] Re: Line chart selection

2009-12-14 Thread napearson99
I found a solution at 
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/Flex/Q_23262342.html



--- In flexcoders@yahoogroups.com, napearson99 napearso...@... wrote:

 I asked this question before but I thought I'd rephrase because I had zero 
 responses.
 
 I want to do what's in this video 
 http://www.youtube.com/watch?v=gWa89GWG_K8feature=channel
 
 I want to do what he does at 5:30, which is click and drag and select an area 
 on a graph.
 
 I'm thinking I could just draw some expanding rectangle then transfer my 
 point to a data point.  Not sure though.
 
 thanks!





[flexcoders] Adding objects to new air windows

2009-12-19 Thread napearson99
Hi,

I'm opening a new window in air and adding a child component to it in the same 
function.  My child component is a grey overlay of the window to show that it's 
loading.

While that's loading, I make a database call.  When that data comes back I 
remove the loading overlay.

Here's my problem, I can't get it to work when I add the loading overlay at the 
same time that I open a new window.  If the window is already open, it works 
fine.  I'm guessing there's something in the way that the component is built 
but i don't know.

Does anyone have any ideas?

thanks,

Nate



[flexcoders] Can't get FlexUnit results to show up

2010-07-08 Thread napearson99
I have a flex 4 air project and I've set up a class with a simple method, a 
test class and a test suit class.

When I try to run my test cases nothing shows up in the FlexUnit results in the 
bottom.  I can get break points to hit in my test class, so I know it's hitting.

I also have an assert statement in my class.  

I've spent about 3 hours on this googling around.  I must be missing something 
simple.

Any ideas? Thanks!

-Nate



[flexcoders] Line Chart, I have a X value, how can I find the Y value?

2010-09-06 Thread napearson99
I have a line chart with time on the bottom and a linear axis for Y.

I have the user click on the graph and I get my X value, but I have to 
calculate the Y value since the user might click anywhere on the Y axis.

Any ideas how I could do this?

Thanks!

-Nate



[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread napearson99
I mean, you would think you could just give the line series the X value and it 
could tell you the current Y value.  Couldn't be that simple, right?

--- In flexcoders@yahoogroups.com, Mike msl...@... wrote:

 I did something like this for EBay.  I defined a hierarchy of Equation 
 classes, including linear, nth order polynomials, power law.  The base 
 Equation class provided common functionality such as data initialization and 
 solving for the unknown gien a variable.  Applications could then be written 
 that called the library function in real time, so a mouse could be tracked 
 while live X and Y intercepts were displayed, etc.  Sorry I can't offer the 
 source code.  Hopefully this gives you an idea of how you might proceed.
 
 Mike





[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread napearson99
*wshh*

That's the sound your post just made going by my noggin :).

I was hoping there was something built into flex for this.  Does anyone have a 
simple way of figuring this out?

Thanks for responding though mike, I appreciate even if I'm not smart enough to 
understand it :).

--- In flexcoders@yahoogroups.com, Mike msl...@... wrote:

 I did something like this for EBay.  I defined a hierarchy of Equation 
 classes, including linear, nth order polynomials, power law.  The base 
 Equation class provided common functionality such as data initialization and 
 solving for the unknown gien a variable.  Applications could then be written 
 that called the library function in real time, so a mouse could be tracked 
 while live X and Y intercepts were displayed, etc.  Sorry I can't offer the 
 source code.  Hopefully this gives you an idea of how you might proceed.
 
 Mike