[flexcoders] Re: Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-14 Thread gmoniey22
Thanks for the feedback, I will play with those ideas and see if I can get 
something going.

--- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
>
> I haven't been able to find an example of this, or any indication in the docs 
> of how to do this, but I would imagine it is possible.
> 
> I want to chart some data that is hierarchical. Essentially each parent has a 
> few children. I want the children to be clustered columns inside a big column 
> which indicates the parent (which is the sum of all the children)
> 
> I found this example image which kinda shows what I am thinking of:
> http://peltiertech.com/images/2009-02/MariBar_OverlapColumns.png
> 
> Thanks!
>




[flexcoders] Possible to create a chart with clustered & overlaid columns? (picture inside)

2009-07-13 Thread gmoniey22
I haven't been able to find an example of this, or any indication in the docs 
of how to do this, but I would imagine it is possible.

I want to chart some data that is hierarchical. Essentially each parent has a 
few children. I want the children to be clustered columns inside a big column 
which indicates the parent (which is the sum of all the children)

I found this example image which kinda shows what I am thinking of:
http://peltiertech.com/images/2009-02/MariBar_OverlapColumns.png

Thanks!



[flexcoders] Re: Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-09 Thread gmoniey22
I wasn't aware that you could do it through css. I like that solution better 
than mine (particularly because it works).

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> Here's a slightly different approach:
> 
> Chart Labeled Renderer Roll-Over Sample
> <http://www.timothyhoff.com/projects/ChartLabeledRendererSample/ChartLab\
> eledRendererSample.html>
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > Is it possible to change the fill color of 1 column when the mouse is
> over it? I can't seem to figure it out I have something along these
> lines:
> >
> > 
> > 
> >
> >  itemRollOver="updateHoverColor(event)" itemRollOut="updateColor(event)">
> > 
> > 
> > 
> >
> > 
> >  fill="{barColor}"/>
> > 
> > 
> >
> >
> > And my hover function looks like:
> >
> > private function updateHoverColor(event:ChartItemEvent):void {
> > var col:ColumnSeriesItem = ColumnSeriesItem(event.hitData.chartItem);
> > col.fill = hoverBarColor;
> > }
> >
> > Unfortunately, nothing happens. No errors are thrown, but the color of
> the column which is being hovered over is not changed.
> >
> > I also tried adding the mouseOver/rollOver callbacks to the
> ColumnSeries, and used a function as such:
> >
> > private function updateHoverColor(event:ChartItemEvent):void {
> > event.target.setStyle("fill", hoverBarColor);
> > }
> >
> > but that resulted in the color of all of the columns to change.
> >
> > Anyone have any ideas?
> >
> > Thanks!
> >
>




[flexcoders] Re: How to link effects so that one starts after one finishes?

2009-07-09 Thread gmoniey22
Thanks...I went with states & transitions. Seemed a bit cleaner.

--- In flexcoders@yahoogroups.com, Chet Haase  wrote:
>
> 
> There are a couple of ways you could make this work:
> 
> 
> 1)  Simplest: make your triggered effects do the right thing (the 
> appearing one waits for the disappearing one to finish, via a startDelay):
> 
> 
> 
> 
> This would ensure that the wipeUp effect (which always runs on the component 
> coming into view, in your example) will not run until the duration of the 
> wipeDown (used for the disappearing component) is finished.
> 
> 
> 2)  More involved: Use transitions
> Instead of triggers for these one-off effects, you could set up your 
> application to use states for your components. in one state, the DataGrid 
> would be there anre the List would not, in the other state the List would be 
> there and the DataGrid would not. Then you could set up transitions for these 
> states. It's a bit more involved, but might scale better than just running 
> individual effects on the components.
> 
> Chet.
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of gmoniey22
> Sent: Wednesday, July 08, 2009 6:29 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How to link effects so that one starts after one 
> finishes?
> 
> 
> 
> 
> 
> I have two components, and I want to swap between them using wipe down/up. 
> i.e. click a button, the visible panel slides down, and after that panel is 
> no longer visible, the other panel slides up and takes its place.
> 
> I have tried something like the following (please excuse the crude example), 
> but the effects occur at the same time, and it doesn't look that good.
> 
> 
> http://www.adobe.com/2006/mxml"; layout="absolute">
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  hideEffect="wipeDown" />
>  hideEffect="wipeDown"/>
> 
> 
> 
>




[flexcoders] How to link effects so that one starts after one finishes?

2009-07-08 Thread gmoniey22
I have two components, and I want to swap between them using wipe down/up. i.e. 
click a button, the visible panel slides down, and after that panel is no 
longer visible, the other panel slides up and takes its place.

I have tried something like the following (please excuse the crude example), 
but the effects occur at the same time, and it doesn't look that good.


http://www.adobe.com/2006/mxml"; layout="absolute">


















[flexcoders] Possible to change the Fill Color for ColumnSeries on itemRollOver?

2009-07-08 Thread gmoniey22
Is it possible to change the fill color of 1 column when the mouse is over it? 
I can't seem to figure it out I have something along these lines:







   



   




And my hover function looks like:

private function updateHoverColor(event:ChartItemEvent):void {  

   var col:ColumnSeriesItem = ColumnSeriesItem(event.hitData.chartItem);
   col.fill =  hoverBarColor;
}

Unfortunately, nothing happens. No errors are thrown, but the color of the 
column which is being hovered over is not changed.

I also tried adding the mouseOver/rollOver callbacks to the ColumnSeries, and 
used a function as such:

private function updateHoverColor(event:ChartItemEvent):void {
   event.target.setStyle("fill", hoverBarColor);
}

but that resulted in the color of all of the columns to change.

Anyone have any ideas?

Thanks!




[flexcoders] SWFLoader & Autoplay

2009-06-23 Thread gmoniey22
I am trying to display a SWF (from within my app) using something like:

var swf:SWFLoader = new SWFLoader();
swf.source = absolutePathToSwf;
panel.addChild(swf);

Now this seems to work fine, except for the fact that the swf starts playing 
immediately. I tried to put it inside a video display, but that didn't work.

Any ideas on how to turn autoplay off? thanks!



[flexcoders] Re: How to create an overlay on top of a list/datagrid

2009-06-09 Thread gmoniey22
Nevermind...figured out that the components needed to be wrapped in a canvas

--- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
>
> I haven't been able to find any examples of this, which is frustrating, since 
> I believe this should be an easy task.
> 
> I want to display a canvas (or any other sprite) which simply places a gray 
> overlay over the entire grid/list with some message in the middle.
> 
> In java this would be as easy as using the component's glasspane, but I 
> haven't been able to find anything similar.
> 
> Can someone point me in the right direction?
> 
> Thanks.
>




[flexcoders] How to create an overlay on top of a list/datagrid

2009-06-08 Thread gmoniey22
I haven't been able to find any examples of this, which is frustrating, since I 
believe this should be an easy task.

I want to display a canvas (or any other sprite) which simply places a gray 
overlay over the entire grid/list with some message in the middle.

In java this would be as easy as using the component's glasspane, but I haven't 
been able to find anything similar.

Can someone point me in the right direction?

Thanks.



[flexcoders] Is it possible to reference an external css file (from a library)

2009-05-07 Thread gmoniey22
If I want to reference an external mxml component, I do something like this:

http://www.adobe.com/2006/mxml"; 
xmlns:Base="com.mydomain.ui.*"/>

Is it possible to do the same for stylesheets? Lets say there is a stylesheet 
under: /com/mydomain/ui/style.css

How can I reference it? I tried things like:



but that didn't work. Is this even possible?



[flexcoders] Re: How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread gmoniey22
yea, I figured that was the case... I was just wondering if someone had a nice 
work around...

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> From Label.as:
> 
> // Plain text gets truncated with a "...".
> // HTML text simply gets clipped, because it is difficult
> // to skip over the markup and truncate only the non-markup.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > If you have a label such as:
> >
> > 

[flexcoders] How to get ellipsis on truncateToFit for htmlText

2009-04-22 Thread gmoniey22
If you have a label such as:


[flexcoders] Re: how can I get an application to grow as its children gro (example inside)

2009-04-20 Thread gmoniey22
Still stuck on this...does anyone have any ideas as to what i'm doing wrong? 
Thanks!

--- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
>
> I have an application which has a tabnavigator with a handful of VBoxes 
> inside of it. Those boxes can have dynamic content (which will grow 
> horizontally). The only problem is that I can't get the application to grow 
> horizontally as well.
> 
> My plan is to have the application grow, and then fire an event to JS with 
> the new application size, and have the JS resize the containing div (or 
> swfobject).
> 
> Essentially, i dont want to see any horizontal scrollbars. Here is a working 
> example:
> 
> 
> http://www.adobe.com/2006/mxml"; width="100%" 
> height="100%" layout="vertical">
>   
>   
>   
>   
>   
> 
>   
>   
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>width="100%">
>   
>   
>   
> 
> 
> 
> Thanks!
>




[flexcoders] Re: anyone know of a good (free) flex component for playing video/swfs?

2009-04-15 Thread gmoniey22
Either way, I ended up separating the two and creating some simple controls to 
handle either. Thanks for your help.

--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, Cole Joplin  wrote:
> >
> > 
> > Depending on what you are doing, this could be a very bad idea. Loading an 
> > FLV is simple and easy. SWFs are very different, especially if it is 
> > outward facing, like people loading their own SWFs. What if the SWF wants 
> > its own controls? Will your wrapper/player assume a timeline-based playback 
> > only? If it's actionscript-based, how would you control it, or show 
> > progress? 
> 
> If you make any swf you're trying to load implement the same interface, this 
> is pretty easy to handle.
> http://flexdiary.blogspot.com/2009/01/example-of-casting-contets-of-swfloader.html
> -Amy
>




[flexcoders] how can I get an application to grow as its children gro (example inside)

2009-04-14 Thread gmoniey22
I have an application which has a tabnavigator with a handful of VBoxes inside 
of it. Those boxes can have dynamic content (which will grow horizontally). The 
only problem is that I can't get the application to grow horizontally as well.

My plan is to have the application grow, and then fire an event to JS with the 
new application size, and have the JS resize the containing div (or swfobject).

Essentially, i dont want to see any horizontal scrollbars. Here is a working 
example:


http://www.adobe.com/2006/mxml"; width="100%" 
height="100%" layout="vertical">








  




















Thanks!
 



[flexcoders] Re: anyone know of a good (free) flex component for playing video/swfs?

2009-04-14 Thread gmoniey22
Yea, I found that one too, but there is no indication that is plays swfs...I 
will tinker with it a bit.

Thanks.

--- In flexcoders@yahoogroups.com, "smitade"  wrote:
>
> Tried this - not sure if it plays swf?
> 
> http://www.fxcomponents.com/flex-video-player/
> 
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > I'm looking for a simply (and reliable) flex component which can play a flv 
> > or a swf and has the basic controls (Play/Pause/Progress bar)
> > 
> > Any suggestions?
> > 
> > Thanks
> >
>




[flexcoders] anyone know of a good (free) flex component for playing video/swfs?

2009-04-13 Thread gmoniey22
I'm looking for a simply (and reliable) flex component which can play a flv or 
a swf and has the basic controls (Play/Pause/Progress bar)

Any suggestions?

Thanks



[flexcoders] Re: cant get the hand cursor to show up on the titleBar of the Panel

2009-04-01 Thread gmoniey22
Thank you...that did it.

I added the same thing for the statusTextField, and it works perfect.

Thanks again.

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> Hi, the text field is on top of the titleBar.  Try this:
> 
> package controls
> {
> import mx.containers.Panel;
> 
> 
> 
> public class MyPanel extends Panel
> {
>   override protected function createChildren():void
>   {
>super.createChildren();
> 
>titleBar.buttonMode = true;
>titleBar.useHandCursor = true;
>titleTextField.mouseEnabled = false;
>   }
> }
> }
> -TH
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > No luck. I kept buttonMode = true & useHandCursor = true, while
> toggling between ALL combinations of mouseEnabled & mouseChildren.
> >
> > I get the same results. only a hand cursor around the borders.
> >
> > --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
> > >
> > > Try twiddling mouseEnabled as well.
> > >
> > > Alex Harui
> > > Flex SDK Developer
> > > Adobe Systems Inc.<http://www.adobe.com/>
> > > Blog: http://blogs.adobe.com/aharui
> > >
> > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
> On Behalf Of gmoniey22
> > > Sent: Tuesday, March 31, 2009 3:28 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] cant get the hand cursor to show up on the
> titleBar of the Panel
> > >
> > >
> > > I am extending the Panel class, and I want the hand cursor to show
> up when the mouse if over the titleBar. I tried something such as:
> > >
> > > this.titleBar.useHandCursor = true;
> > > this.titleBar.buttonMode = true;
> > > this.titleBar.mouseChildren = false;
> > >
> > > And variations of each above, but nothing seems to work. I get a
> mouse cursor around the borders of the titleBar, but not within it. It
> seems that the contents of the titleBar (titleTextField,
> statusTextField, etc) are overriding my code.
> > >
> > > On way it to have mouse_over & mouse_events fire, and use the
> cursorManager to set the hand cursor, but that would require me to embed
> a custom hand cursor (I cant find a reference to flex's)
> > >
> > > Anyone have any suggestions?
> > >
> >
>




[flexcoders] Re: cant get the hand cursor to show up on the titleBar of the Panel

2009-04-01 Thread gmoniey22
No luck. I kept buttonMode = true & useHandCursor = true, while toggling 
between ALL combinations of mouseEnabled & mouseChildren.

I get the same results. only a hand cursor around the borders.

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Try twiddling mouseEnabled as well.
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.<http://www.adobe.com/>
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of gmoniey22
> Sent: Tuesday, March 31, 2009 3:28 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] cant get the hand cursor to show up on the titleBar of 
> the Panel
> 
> 
> I am extending the Panel class, and I want the hand cursor to show up when 
> the mouse if over the titleBar. I tried something such as:
> 
> this.titleBar.useHandCursor = true;
> this.titleBar.buttonMode = true;
> this.titleBar.mouseChildren = false;
> 
> And variations of each above, but nothing seems to work. I get a mouse cursor 
> around the borders of the titleBar, but not within it. It seems that the 
> contents of the titleBar (titleTextField, statusTextField, etc) are 
> overriding my code.
> 
> On way it to have mouse_over & mouse_events fire, and use the cursorManager 
> to set the hand cursor, but that would require me to embed a custom hand 
> cursor (I cant find a reference to flex's)
> 
> Anyone have any suggestions?
>




[flexcoders] cant get the hand cursor to show up on the titleBar of the Panel

2009-03-31 Thread gmoniey22
I am extending the Panel class, and I want the hand cursor to show up when the 
mouse if over the titleBar. I tried something such as:

this.titleBar.useHandCursor = true;
this.titleBar.buttonMode = true;
this.titleBar.mouseChildren = false;

And variations of each above, but nothing seems to work. I get a mouse cursor 
around the borders of the titleBar, but not within it. It seems that the 
contents of the titleBar (titleTextField, statusTextField, etc) are overriding 
my code.

On way it to have mouse_over & mouse_events fire, and use the cursorManager to 
set the hand cursor, but that would require me to embed a custom hand cursor (I 
cant find a reference to flex's)

Anyone have any suggestions?



[flexcoders] Re: why doesnt this work (custom drawing)

2009-03-30 Thread gmoniey22
hmm...I thought that my mx:Canvas line did instantiate, and that the script 
within the canvas tag's essentially overrode the updateDisplayList function.

Thanks for clearing this up.

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> The function never runs.
> 
> AFAIK you need to add this to a component implementation and then
> instantiate the component. Something like this...
> 
> MyComponent.as:
> package
> {
>  import mx.core.UIComponent;
> 
>  public class MyComponent extends UIComponent
>  {
>  public function MyComponent()
>  {
>  super();
>  }
> 
>  override protected function
> updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
>  {
>  super.updateDisplayList(unscaledWidth, unscaledHeight);
> 
>  graphics.clear();
> 
>  graphics.beginFill(0xD3D3D3);
>  graphics.drawRect(0, unscaledHeight/3, unscaledWidth, 2 *
> unscaledHeight/3);
>  graphics.drawRect(0, 0, unscaledWidth,unscaledHeight);
>  graphics.endFill();
> 
>  graphics.moveTo(0, 15);
>  graphics.lineStyle(1, 0xFF);
>  graphics.lineTo(50, 15);
>  }
>  }
> }
> 
> Now instantiate it...
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute" xmlns:MyComps="*">
>  
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > I'm sure its something stupid, but I cant figure out why this doesnt
> draw anything.
> >
> > I followed the example found here:
> http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.\
> htm?context=LiveDocs_Parts&file=1738.html
> >
> >
> > 
> > http://www.adobe.com/2006/mxml";
> layout="absolute">
> > 
> >   
> >
> >   
> >  
> > 
> >
>




[flexcoders] why doesnt this work (custom drawing)

2009-03-29 Thread gmoniey22
I'm sure its something stupid, but I cant figure out why this doesnt draw 
anything.

I followed the example found here: 
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1738.html



http://www.adobe.com/2006/mxml"; layout="absolute">










[flexcoders] Re:how to override multiselect in a datagrid

2009-03-27 Thread gmoniey22
I found an example of what I wanted here:

http://mitek.id.au/blog/2008/08/24/easy-multiple-items-selection-in-datagrid/

thanks...


--- In flexcoders@yahoogroups.com, Nicolas Noben  wrote:
>
> Have you tried simply ...
> 
> 
> 
> Which I'm pretty sure you can flip at runtime.
> 
> HTH
>




[flexcoders] how to override multiselect in a datagrid

2009-03-27 Thread gmoniey22
Hi,

I want to allow multiselects on my datagrid, but only conditionally. i.e. 
before the additional item is selected, I want to perform some logic and 
determine if it should be selected.

I have tried adding: itemClick, mouseDown, & click listeners which looked like 
the following:

private function clickListener(event:Event):void {   
   event.preventDefault();  
   _grid.selectedIndices.concat(new 
   Array(event.currentTarget.selectedIndex);
}

Obviously this doesn't work, but what I have noticed while debugging is that 
the grid's selectedIndices is already updated to include the current item (and 
exclude the existing item if, SHIFT or CONTROL was not depressed).

Am I not using the right listener? Is there no way to prevent the click, and 
then programmatically add the selection?

Thanks



[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I havent gotten a chance to play with it on anything but os x (10.5).

I ended up getting it working by following these instructions:

http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+10

--- In flexcoders@yahoogroups.com, Fotis Chatzinikos  
wrote:
>
> Any ideas why it was not working before? How did you fix it? Does it now
> play ok on win, osx + linuxes?
> 
> I am considering using this for an app i am making, but i am not sure if it
> worths the trouble if it only works on windows...
> 
> On Fri, Mar 27, 2009 at 7:32 PM, gmoniey22  wrote:
> 
> >   I was able to get it working on OS X...the biggest problem was getting
> > flexbuilder to use the FP 10 player, otherwise the load() function fails at
> > runtime.
> >
> >
> > --- In flexcoders@yahoogroups.com , Paul
> > Kukiel  wrote:
> > >
> > > Yes in FP10 and the 3.3 SDK you can load data client side. I have
> > > had trouble getting this to work on osx and linux though:
> > >
> > > http://blog.kukiel.net/2009/02/file-manipulation-client-side-with.html
> > >
> > > There are a few links on the entry to some decent references.
> > >
> > > Paul.
> > >
> > >
> > > On 26/03/2009, at 8:34 PM, gmoniey22 wrote:
> > >
> > > > yes it will, using the FileReference.load(), and then accessing
> > > > FileReference.data.
> > > >
> > > > I got this working on FP10 & sdk 3.3. It took a while to get
> > > > flexbuilder to play nice however.
> > > >
> > > > --- In flexcoders@yahoogroups.com ,
> > "Tracy Spratt"  wrote:
> > > > >
> > > > > I have heard that FP 10 will allow access to the file contents.
> > > > >
> > > > >
> > > > >
> > > > > Tracy Spratt,
> > > > >
> > > > > Lariat Services, development services available
> > > > >
> > > > > _
> > > > >
> > > > > From: flexcoders@yahoogroups.com 
> > > > [mailto:flexcoders@yahoogroups.com ] On
> > > > > Behalf Of djepyon
> > > > > Sent: Thursday, March 26, 2009 6:19 PM
> > > > > To: flexcoders@yahoogroups.com 
> > > > > Subject: [flexcoders] Re: is it not possible to upload a file to
> > > > a flash app
> > > > > (no server)?
> > > > >
> > > > >
> > > > >
> > > > > If its a remote file this can be done by using Loader.loadBytes()
> > > > and
> > > > > parsing the ByteArray.
> > > > >
> > > > > You would need AIR to load the bytes of a local file though.
> > > > >
> > > > > --- In flexcod...@yahoogro 
> > > > > <mailto:flexcoders%40yahoogroups.com>
> >
> > > > ups.com,
> > > > > "gmoniey22"  wrote:
> > > > > >
> > > > > > No, I actually want to parse the file. This seems like it
> > > > should be a
> > > > > trivial task.
> > > > > >
> > > > > > --- In flexcod...@yahoogro <mailto:flexcoders% 
> > > > 40yahoogroups.com> ups.com,
> > > > > Alain Thibodeau  wrote:
> > > > > > >
> > > > > > > You mean just getting file info or actually parsing the full
> > > > file data?
> > > > > > >
> > > > > > > If it's just the basic file information, I think you can get
> > > > that with
> > > > > the FileReference...
> > > > > > >
> > > > > > > If you are looking for more power, swfStudio will give you
> > > > all the power
> > > > > you need: http://www.northcod <http://www.northcode.com/index.php>
> > > > > e.com/index.php
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > 
> > > > > > > From: gmoniey22 
> > > > > > > To: flexcod...@yahoogro 
> > > > > > > <mailto:flexcoders%40yahoogroups.com>
> >
> > > > ups.com
> > > > > > > Sent: Thursday, March 26, 2009 2:54:28 PM
> > > > > > > Subject: [flexcoders] is it not possible to upload a file to
> > > > a flash app
> > > > > (no server)?
> > > > > > >
> > > > > > >
> > > > > > > I want the user to select a file and have my flash app parse
> > > > it for
> > > > > information, and then display that info in the app.
> > > > > > >
> > > > > > > But it seems like all of the FileReference functions abstract
> > > > the
> > > > > upload/download process to a server.
> > > > > > >
> > > > > > > Am I missing something? Thanks
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > __
> > > > > > > Yahoo! Canada Toolbar: Search from anywhere on the web, and
> > > > bookmark
> > > > > your favourite sites. Download it now
> > > > > > > http://ca.toolbar. <http://ca.toolbar.yahoo.com.> yahoo.com.
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> Fotis Chatzinikos, Ph.D.
> Founder,
> Phinnovation
> fotis.chatzini...@...,
>




[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-27 Thread gmoniey22
I was able to get it working on OS X...the biggest problem was getting 
flexbuilder to use the FP 10 player, otherwise the load() function fails at 
runtime.

--- In flexcoders@yahoogroups.com, Paul Kukiel  wrote:
>
> Yes in FP10 and the 3.3 SDK you can load data client side.  I have  
> had trouble getting this to work on osx and linux though:
> 
> http://blog.kukiel.net/2009/02/file-manipulation-client-side-with.html
> 
> There are a few links on the entry to some decent references.
> 
> Paul.
> 
> 
> On 26/03/2009, at 8:34 PM, gmoniey22 wrote:
> 
> > yes it will, using the FileReference.load(), and then accessing  
> > FileReference.data.
> >
> > I got this working on FP10 & sdk 3.3. It took a while to get  
> > flexbuilder to play nice however.
> >
> > --- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
> > >
> > > I have heard that FP 10 will allow access to the file contents.
> > >
> > >
> > >
> > > Tracy Spratt,
> > >
> > > Lariat Services, development services available
> > >
> > > _
> > >
> > > From: flexcoders@yahoogroups.com  
> > [mailto:flexcod...@yahoogroups.com] On
> > > Behalf Of djepyon
> > > Sent: Thursday, March 26, 2009 6:19 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: is it not possible to upload a file to  
> > a flash app
> > > (no server)?
> > >
> > >
> > >
> > > If its a remote file this can be done by using Loader.loadBytes()  
> > and
> > > parsing the ByteArray.
> > >
> > > You would need AIR to load the bytes of a local file though.
> > >
> > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com>  
> > ups.com,
> > > "gmoniey22"  wrote:
> > > >
> > > > No, I actually want to parse the file. This seems like it  
> > should be a
> > > trivial task.
> > > >
> > > > --- In flexcod...@yahoogro <mailto:flexcoders% 
> > 40yahoogroups.com> ups.com,
> > > Alain Thibodeau  wrote:
> > > > >
> > > > > You mean just getting file info or actually parsing the full  
> > file data?
> > > > >
> > > > > If it's just the basic file information, I think you can get  
> > that with
> > > the FileReference...
> > > > >
> > > > > If you are looking for more power, swfStudio will give you  
> > all the power
> > > you need: http://www.northcod <http://www.northcode.com/index.php>
> > > e.com/index.php
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > 
> > > > > From: gmoniey22 
> > > > > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com>  
> > ups.com
> > > > > Sent: Thursday, March 26, 2009 2:54:28 PM
> > > > > Subject: [flexcoders] is it not possible to upload a file to  
> > a flash app
> > > (no server)?
> > > > >
> > > > >
> > > > > I want the user to select a file and have my flash app parse  
> > it for
> > > information, and then display that info in the app.
> > > > >
> > > > > But it seems like all of the FileReference functions abstract  
> > the
> > > upload/download process to a server.
> > > > >
> > > > > Am I missing something? Thanks
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > __
> > > > > Yahoo! Canada Toolbar: Search from anywhere on the web, and  
> > bookmark
> > > your favourite sites. Download it now
> > > > > http://ca.toolbar. <http://ca.toolbar.yahoo.com.> yahoo.com.
> > > > >
> > > >
> > >
> >
> >
>




[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread gmoniey22
yes it will, using the FileReference.load(), and then accessing 
FileReference.data.

I got this working on FP10 & sdk 3.3. It took a while to get flexbuilder to 
play nice however.

--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> I have heard that FP 10 will allow access to the file contents.
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of djepyon
> Sent: Thursday, March 26, 2009 6:19 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: is it not possible to upload a file to a flash app
> (no server)?
> 
>  
> 
> If its a remote file this can be done by using Loader.loadBytes() and
> parsing the ByteArray.
> 
> You would need AIR to load the bytes of a local file though.
> 
> --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> "gmoniey22"  wrote:
> >
> > No, I actually want to parse the file. This seems like it should be a
> trivial task.
> > 
> > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com,
> Alain Thibodeau  wrote:
> > >
> > > You mean just getting file info or actually parsing the full file data?
> > > 
> > > If it's just the basic file information, I think you can get that with
> the FileReference...
> > > 
> > > If you are looking for more power, swfStudio will give you all the power
> you need: http://www.northcod <http://www.northcode.com/index.php>
> e.com/index.php
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > > 
> > > From: gmoniey22 
> > > To: flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com
> > > Sent: Thursday, March 26, 2009 2:54:28 PM
> > > Subject: [flexcoders] is it not possible to upload a file to a flash app
> (no server)?
> > > 
> > > 
> > > I want the user to select a file and have my flash app parse it for
> information, and then display that info in the app.
> > > 
> > > But it seems like all of the FileReference functions abstract the
> upload/download process to a server.
> > > 
> > > Am I missing something? Thanks
> > > 
> > > 
> > > 
> > > 
> > > 
> > > __
> > > Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark
> your favourite sites. Download it now
> > > http://ca.toolbar. <http://ca.toolbar.yahoo.com.> yahoo.com.
> > >
> >
>




[flexcoders] Re: is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread gmoniey22
No, I actually want to parse the file. This seems like it should be a trivial 
task.

--- In flexcoders@yahoogroups.com, Alain Thibodeau  wrote:
>
> You mean just getting file info or actually parsing the full file data?
> 
> If it's just the basic file information, I think you can get that with the 
> FileReference...
> 
> If you are looking for more power, swfStudio will give you all the power you 
> need: http://www.northcode.com/index.php
> 
> 
> 
>  
> 
> 
> 
> 
> From: gmoniey22 
> To: flexcoders@yahoogroups.com
> Sent: Thursday, March 26, 2009 2:54:28 PM
> Subject: [flexcoders] is it not possible to upload a file to a flash app (no 
> server)?
> 
> 
> I want the user to select a file and have my flash app parse it for 
> information, and then display that info in the app.
> 
> But it seems like all of the FileReference functions abstract the 
> upload/download process to a server.
> 
> Am I missing something? Thanks
> 
> 
> 
> 
> 
>   __
> Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
> favourite sites. Download it now
> http://ca.toolbar.yahoo.com.
>




[flexcoders] is it not possible to upload a file to a flash app (no server)?

2009-03-26 Thread gmoniey22
I want the user to select a file and have my flash app parse it for 
information, and then display that info in the app.

But it seems like all of the FileReference functions abstract the 
upload/download process to a server.

Am I missing something? Thanks



[flexcoders] Re: ProgressBar with null _track

2009-03-21 Thread gmoniey22
Did you end up solving this? I'm getting the same thing...

--- In flexcoders@yahoogroups.com, "Richard Rodseth"  wrote:
>
> I'm getting a similar issue with a null _track in ProgressBar.measure()
> 
> Admittedly this is a bit hairy, but I have a window with a repeater
> containing a component with two states, one of which adds a ProgressBar as a
> child. I see the error in measure() in debug builds too, but it's
> intermittent. Any ideas?
> 
> On Tue, May 6, 2008 at 7:45 AM, Danish Tehseen  wrote:
> 
> >   On login while loading data in module, users are shown indetermined
> > progress bar. There might be more than one module showing progress bar at
> > the same time.
> > i have used the same control in other modules as well and they are working
> > fine but those modules are opened in a popup window.
> > If i simply run the project from flex builder IDE it is working fine. But
> > the issue is only in the release build. It is throwing the following
> > exception.
> > TypeError: Error # 1009: Cannot access a property or method of a ull object
> > reference.
> > at mx.controls::ProgressBar/measure()
> > at mx.core::UIComponent/measureSizes()
> > at mx.core::UIComponent/validateSize()
> > at mx.managers::LayoutManager/doPhasedInstantiation()
> > at Function/http://adobe.com/AS3/2006/builtin::apply()
> > at mx.core::UIComponent/callLaterDispatcher2()
> > at mx.core::UIComponent/callLaterDispatcher()
> > Can somebody guide me what am i doing wrong?
> > Thanks.
> > Danish
> >
> > __
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile. Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >  
> >
>




[flexcoders] Re: is a flash app completely contains within its object/div tag?

2009-03-20 Thread gmoniey22
hmm..so its seems that its possible with javascript...I was hoping to avoid 
this so that everything was flash based...

As for my second question...is there no way to have the flash up use some kind 
of z-index and make itself look as if it was on top of the actual html page?

Essentially, I want to have a flash app that looks the a small preview..and 
allows the user to expand it. At that point, something like a traditional 
lightbox would work perfectly, as all attention would be on it, and it would be 
front & center.





[flexcoders] is a flash app completely contains within its object/div tag?

2009-03-20 Thread gmoniey22
2 questions here...both very similar

1. Can a flash app expand, and in turn, make its enclosing div expand. i.e. if 
the flash app is at the bottom of a page, and it expands, will it increase the 
entire size of the page? I haven't been able to get this to work in my tests, 
so I am guessing the answer is no.

2. Can a flash app pop out and expand? i.e something like a lightbox effect, 
where it will be centered in the screen, in an expanded form. This is similar 
to the question above, but I thought it was worth asking.

Thanks.



[flexcoders] Re: Is there a better way to strikethrough an entire row in a grid?

2009-03-17 Thread gmoniey22
Thanks for your input...I got it working by following something along the lines:

http://butterfliesandbugs.wordpress.com/2007/07/11/using-an-itemrenderer-to-change-the-background-of-a-datagrid-cell/





[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread gmoniey22
No offense taken...in fact, I appreciate your help.

I will start playing around with it.

Thanks again.

--- In flexcoders@yahoogroups.com, "alinmircea_s"  wrote:
>
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > Thanks for the reply...I come from a Java background, so creating a custom 
> > component is not "scary" so to speak...I was just hoping there may be an 
> > easier way to do it directly to the TabNavigator instance.
> > 
> > Also, out of curiosity, why do you not recommend the spacer?
> >
> 
> When I said it would be "scary" all I was saying was that sometimes it can 
> take a long time to set up exactly as needed. I did not mean to offend you in 
> any way.
> 
> I don't like the spacer idea mainly because it's a 3'rd party, with it's own 
> width or height, I don't see the need for it, not here anyway. If that 
> (extending component) is not the wanted approach you can always try the 
> absolute positioning. I would recommend something like this
> 
> 
> http://www.adobe.com/2006/mxml"; >
> 
> 
>
> 
>updateComplete="textI.setStyle('left',tabN.getTabAt(tabN.numChildren-1).x+tabN.getTabAt(tabN.numChildren-1).width)"
>  >
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
> 
> 
> So that is
> textI.setStyle('left',tabN.getTabAt(tabN.numChildren-1).x+tabN.getTabAt(tabN.numChildren-1).width)
> 
> Setting it on the update complete of the tabnavigator and not on the 
> creationcomplete of the textinput. This way you take into account any resize 
> that might happen
> 
> the id on the tabNavigator can be removed and tabN inside the setStyle() can 
> be substituted with event.target or event.currentTarget
>




[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread gmoniey22
Thanks for your reply...I tried do something similar. As a test case, I just 
tried to add a label after the tabs have been created. I tried the following:

var l:Label = new Label();
l.text = "TEST";
myTabs.addChild(l);


This compiled fine...but when I ran it, nothing showed up. Where would I add 
the spacer?

Thanks.

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> http://livedocs.adobe.com/flex/3/langref/mx/controls/Spacer.html
> 
> 
> --- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
> >
> > Hi,
> > 
> > I am rather new to flex, so I apologize in advance if the answer is obvious.
> > 
> > I have a TabNavigator and I want to place a textinput box all the way to 
> > the right. This will be a small search box that will help filter the 
> > contents of the currently selected tab.
> > 
> > Is this possible?
> > 
> > Thanks.
> >
>




[flexcoders] Is there a better way to strikethrough an entire row in a grid?

2009-03-17 Thread gmoniey22
I am looking for a way to strike through an entire row in a grid. Only some 
rows will have the strikethrough effect. 

I looked into using item renderers and such, but this seems like more work than 
it needs to be, since I already have several custom item renderers. Which means 
I need to add the strikethrough logic in those, as well as create a generic 
strikethrough item renderer for the other columns. Also, I couldn't 100% 
identify a strikethrough style.

So I started thinking that maybe I should just subclass the DataGrid class and 
override the drawItem function to simply draw a red line over the middle of the 
item after it has been rendered by the super class.

Is there an more obvious solution I am missing? 

Thanks



[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread gmoniey22
Thanks for the reply...I come from a Java background, so creating a custom 
component is not "scary" so to speak...I was just hoping there may be an easier 
way to do it directly to the TabNavigator instance.

Also, out of curiosity, why do you not recommend the spacer?



[flexcoders] Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread gmoniey22
Hi,

I am rather new to flex, so I apologize in advance if the answer is obvious.

I have a TabNavigator and I want to place a textinput box all the way to the 
right. This will be a small search box that will help filter the contents of 
the currently selected tab.

Is this possible?

Thanks.