[flexcoders] Version Recommendation for New Project

2009-10-21 Thread DJ
I'm about to start working on a small to medium Flex project again, 
after working exclusively on backend type work for the last 10 months. 
I'm working on catching up with changes, new amazing libraries, etc.

I'm a bit concerned about starting development on the "wrong" version, 
given that Flex 4 is just around the corner. I was hoping to get a fresh 
perspective. Here are some characteristics of my project:

- Dashboard in nature. I might need to tap into libraries like ILog 
Elixir, FusionCharts and/or Axiis
- Rough initial estimate is to release a functional beta 3 months from 
now (around Jan/Feb 2010)
- CF 8 backend (probably won't be upgrading to v9 for a long time)

Any insight would be greatly appreciated.


--dj


[flexcoders] trapping a right click on a column header

2007-01-22 Thread DJ Lift
Hey there,
Can anyone point me in the right direction to track a right-click (or 
control-click) on a 
column header in a datagrid? Is this even possible?
Thanks,
Mark




[flexcoders] headerRenderer with combobox - problem with events

2006-12-27 Thread dj
Hello,

I have a custom headerRenderer with a combo box, the combo box loads
data by week, day or month into my datagrid.  Unfortunately, clicking
on an item in the box automatically loads items into the dataGrid
which was last selected, how do I prevent this from happening?  Why
does clicking on a combobox in my header renderer dispatch events to
the datagrid?

Any ideas on how to help me?

Thanks,
Patrick





[flexcoders] combobox in itemRenderer header of datagrid, sending events to datagrid... not wanted

2006-12-21 Thread dj
Hi it's me again,

I have a custom item Renderer for my header of my datagrid with a
combo box.  When I click on the combo box, the dataGrid is receiving
the click event for an item that is highlighted.  How do I prevent
this from happening?  

Why does clicking on the combo box trigger an event in the datagrid
anyhow?  Is where you have to capture the event?  How to do this
easily please.

Thanks,
Patrick



[flexcoders] newbie question: dataProvider - dataGrid ArrayCollection

2006-12-20 Thread dj
I'm trying to populate a simple dataGrid and add two arrays, one for
the id that's not shown and one for the title, which is...  the
non-commented line works with just adding an array, but how do I do
the line that's commented out, so I can ge the id field, thanks,
sorry for the newbie question

var _data_fastest:Object =
RemotingProvider.getInstance().getFeatured();
fastestAC = new ArrayCollection(_data_fastest.fastest);
//fastestAC = new
ArrayCollection([_data_fastest.fastest,_data_fastest.fastestid]);

Thanks,
Patrick



[flexcoders] Flash9 Player Penetration Rates

2006-12-18 Thread dj
Is it really only 40%, that's the impression that people here are
under.  I need a current please so I can fight the good fight for
flash 9 since I don't want to have to develop for flash 8 in eclipse.

Thanks,
Patrick



[flexcoders] non-wordwrapping text... has me cuckoo for cocoa puffs

2006-12-13 Thread dj
I have this component, and inside i have some nested stuff...  I'm
trying to get my textHolder to wordwrap... i don't know what's
throwing it off... but my tileHolder is a second component, 30 pixels
tall right below it might be throwing this off, but I'm drawing it
with the draw api...

Please, help, what am I not understanding about how this lays out?

thanks,
Patrick





   










I'm using this custom wordwrap function, which was cheesy as all
get-out, but working, until i discovered the mac has different size
text... 


if (myRadioPanel.textHolder.htmlText.length<40)
myRadioPanel.textHolder.height = 15;
if
((myRadioPanel.textHolder.htmlText.length>40)&&(myRadioPanel.textHolde
r.htmlText.length<80)) myRadioPanel.textHolder.height = 30;
if
((myRadioPanel.textHolder.htmlText.length>80)&&(myRadioPanel.textHolde
r.htmlText.length<120))myRadioPanel.textHolder.height= 45;






[flexcoders] customizing - positioning preloader

2006-12-13 Thread dj
Preloader, on the preloader, any suggestions how to move it to the
top when my application loads, or completely change it all together..



[flexcoders] Not a flex question neccessarily... extracting SWF size with a php command

2006-12-12 Thread dj
Hi, no fan of Ajax here, is there a way to extract the swf size:
height & width, through php?  Anybody done this before?

Thanks,
Patrick



RE: [flexcoders] URLRequest - Want to make a request but not navigateToURL

2006-12-11 Thread dj
Easy, eh, nothing easy is for me:

var myHTTPService:HTTPService = new HTTPService();
myHTTPService.url = "/_poll/takeit.php?pollid="+_pollid;
myHTTPService.method = "GET"
myHTTPService.send();



What am I doing wrong, not be a luddite, but i need examples of
everything.

Thanks,
Patrick

 Original Message 
From: [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] URLRequest  - Want to make a request but
not navigateToURL
Date: Mon, 11 Dec 2006 19:49:05 -0500

>Why are you using URLRequest?
>
> 
>
>HTTPService will do what you want very simply.
>
> 
>
>Tracy
>
> 
>
>
>
>From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
>On
>Behalf Of [EMAIL PROTECTED]
>Sent: Monday, December 11, 2006 6:56 PM
>To: flexcoders@yahoogroups.com
>Subject: [flexcoders] URLRequest - Want to make a request but not
>navigateToURL
>
> 
>
>Hi,
>
>I want to run a script on page like:
>
>var userURLRequest:URLRequest = new
>URLRequest("/_poll/takeit.php?pollid="+_pollid);
>
>I don't want to navigate to the page just execute the script, how to
>this please?
>
>Thanks,
>Patrick
>
> 
>




[flexcoders] URLRequest - Want to make a request but not navigateToURL

2006-12-11 Thread dj
Hi,

I want to run a script on page like:

var userURLRequest:URLRequest = new
URLRequest("/_poll/takeit.php?pollid="+_pollid);

I don't want to navigate to the page just execute the script, how to
this please?

Thanks,
Patrick



[flexcoders] Radio Button in Separate components, how to receive events?

2006-12-11 Thread dj
Curious how to i get an event of a radio button, if my radio buttons
are  in different child components?

Thanks,
Patrick





[flexcoders] Button setStyle("selectedBorder" ... how to? not listed in styles of mx:button

2006-12-11 Thread dj
I'm setting my button styles in my stylesheet, then I'm overriding
the color scheme with a setStyle, the problem is that I don't see a
style for "selectedBorder" on the button control and it's defaulting
back to a blue border... I guess it's getting that color from my
stylsheet..





[flexcoders] Pop Up - how to add the close button?

2006-12-07 Thread dj
How do i put the close button there on my pop-up panel... also, how
do I change the color and style of one of those?



[flexcoders] How to place a component absolute over the top of another relative

2006-12-07 Thread dj
I made an animated preloader, so visually i want to plant that thing
right dead center over my application, basically on top of all my
other components absolute?



[flexcoders] ActionsScript 3 Cookbook Companion Classes: Number Utilities Bug

2006-12-06 Thread dj
Wow, the description says that this number will be rounded up to the
next decimal point:

trace (NumberUtilities.round(3.75,.1));

.1, being the flag to round up, so the result should be 3.8.

It's not it's: 3.8003!

I know I'm using this method correctly, any tips or suggestions.

Thanks,
Patrick



RE: [flexcoders] AMFPHP / databinding nested arrays

2006-12-06 Thread dj
The way you constructed your array might come out like this, but not
sure, looks a little crazy…


myResultObject[0].day.mon.start.100.end.300


Nested Arrays return into Flex as objects.  I haven’t tried nesting
an array as complicated as this, I guess it’s doable – but it
might be better to reorganize your array structure .  I think it will
be easier to read than a big old nested array constructor than in php
if you use the following example, and this is how I do it.





//in flex your result arrays work like this...

Var someArray:Array  = myResultObject[0].days
Var someOtherArray:Array  = myResultObject[0].starts


Then you can get your values and organize your arrays which ever way
you like.

Hope this Helps

Patrick

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of carkraus
Sent: Tuesday, December 05, 2006 11:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP / databinding nested arrays

Hi there,

I guess this is a typical newbie question,  maybe someone could
kindly direct me to a tutorial or sample:

I try to bind e.g. using a charts control to a nested array I receive
from an AMFPHP service.
On the php side I have as an example:
$outputArr[] = array('day' => 'Mon', array('start' => '100', 'end' =>
'300'));
$outputArr[] = array('day' => 'Tue', array('start' => '250', 'end' =>
'600'));
$outputArr[] = array('day' => 'Wed', array('start' => '500', 'end' =>
'600'));
return $outputArr;
..which will deliver the data correctly as I can see from the flex
debugger.

In flex I have eg.:



Now, how do I access e.g. the value 'start' to use it for
databinding? Well, 'day.start' does not do the trick : )

I had similar probs using XML for binding, where I wouldnt be able to
access sub-children?
Do I have to somehow wrap the server response into an actionscript
object which I'd have to manually add properties to?

Any hint greatly appreciated!!
carsten

 




[flexcoders] Spanish language charcaters on button labels

2006-11-30 Thread dj
I know how to render spanish language characters in htmlText but how
do I put them into button labels?  What's the best practice for
this... these are the kind of utf-codes my Remoting methods are
returning: ¿


Thanks,
Patrick



[flexcoders] What was second nature has me researching through pages of docs

2006-11-30 Thread dj
These little things take me forever to find and i simply can't find
these solutions easily, if you have a moment.  Answer one or two of
them.

 I appreciate it, i'd gladly paypal you a few bucks for a peet's
coffee, i'm going to get one myself and maybe i'll have my answer
when i return, yum.

Thanks,
Patrick




1.  How do I get the length of my UITextField, not 100% - that's just
plain silly

2.  What if i don't want a broken image skin, no image i want nothing

3.  how do i override a resize event or lock a VBox container not to
get smaller as children are removed

4.  How do I set the font of UITextField with stylesheet, or embedded
font

5.  How do I make the UITextfield's font not to be so pixelated.





[flexcoders] Event Propogation - how to bubble up through components??

2006-11-27 Thread dj
I'm using bubbling, or at least i think i am to capture an event...
I've extended the event class to make my own event mechanism.  the
events are being dispatched, however the problem is, that
I'm adding an event listener to my custom mxml component to receive
the events and nothing happens.  I've probably got something
backwards...   

Isn't there a way to listen to events from the parent document?

Doesn't bubbling set to true allow the event
to be captured by any component in the order that they are created?


my code is as follows:

  var evt:MeEvent = new MeEvent(MeEvent.REMOTE,true);
dispatchEvent(evt);


---

package com.me
{
import flash.events.Event;

public class MeEvent extends Event
{
   
 
public static const REMOTE:String = "remote";
   
public var realTarget:*;
   
public function MeEvent(type:String, bubbles:Boolean=true,
cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
}

--
And inside my custom component this is the event listener.

private function init():void{
this.addEventListener(MeEvent.REMOTE, handleEvent);   
}


Thanks for your time,
Patrick



[flexcoders] EventDispatching - need a little help with this one

2006-11-27 Thread Patrick DJ Flex List Account
I'm using bubbling, or at least i think i am to capture an event... I've 
extended the event class to make my own event mechanism.  the events are being 
dispatched, however the problem is, that 
I'm adding an event listener to my custom mxml component to receive the events 
and nothing happens.  I've probably got something backwards...   Doesn't 
bubbling set to true allow the event
to be captured by any component in the order that they are created?


my code is as follows:

  var evt:MeEvent = new MeEvent(MeEvent.REMOTE,true);
dispatchEvent(evt);


---

package com.me
{
import flash.events.Event;

public class MeEvent extends Event
{

  
public static const REMOTE:String = "remote";

public var realTarget:*;

public function MeEvent(type:String, bubbles:Boolean=true, 
cancelable:Boolean=false)
{
super(type, bubbles, cancelable);
}
}
}

--
And inside my custom component this is the event listener. 

private function init():void{
this.addEventListener(MeEvent.REMOTE, handleEvent);
}


Thanks for your time,
Patrick

Re: [flexcoders] OK, seriously. Why can't I make a global var?

2006-11-18 Thread dj
Van De Velde:

I tried you example to get the singleton pattern down of creating some 
global static variables.  Of course
I created my package and class for my own set-up and I'm getting compile 
errors.  

Thanks for your help, being a relative newcomer, I appreciate your time 
and patience,
Patrick

com.yourProject.config.AppSettings.getInstance().getWhatever();

(of course I renamed this to package, etc...)



SeverityDescriptionResourceIn FolderLocationCreation 
TimeId
21120: Access of undefined property com.p1.mxmlpollsline 
57November 18, 2006 10:12:59 PM4099


var myAppSettings:AppSettings = 
com.yourProject.config.AppSettings.getInstance();
myAppSettings.getWhatever();

SeverityDescriptionResourceIn FolderLocationCreation 
TimeId
21046: Type was not found or was not a compile-time constant: 
AppSettings.p1.mxmlpollsline 56November 18, 2006 
10:14:26 PM4102










Van De Velde Hans wrote:
>
> A good practice to keep global variables is by creating a class with 
> *public static variables*
> and *access those properties *directly *via the class*, for example 
> via com.yourProject.Globals.globalParam1,
>  
> or if you want something more advanced, create a singleton class :
> like for example :
>  
> package com.yourProject.config
> {
>  public class AppSettings
>  {
> // self-reference
> private static var appSettings:AppSettings;
>
> public var _whateverVariable:String;
>  
> // please note the private constructor   
> private function AppSettings(){
> }
>  
> public static function getInstance():AppSettings
> {
>if(!appSettings){
> appSettings = new AppSettings();
>}
>
>return appSettings;
> }
>  
> public function getWhatever():String
> {
> return "whatever";
> }
>  
> // implicit getter
> public function get whatever():String
> {
> return _whateverVariable;
> }
>  
> // implicit setter
> public function set whatever(_whateverVariable:String):void
> {
> this._whateverVariable = _whateverVariable;
> }
>  }
> }
>  
> 
>  
> then, use it like this:
>  
> com.yourProject.config.AppSettings.getInstance().getWhatever();
>  
> or directly access a property:
>  
> com.yourProject.config.AppSettings.getInstance().whatever
>  
> to simplify the reading of your code, you can also store the returned 
> instance in a local variablen like this:
>  
> var myAppSettings:AppSettings = 
> com.yourProject.config.AppSettings.getInstance();
> myAppSettings.getWhatever();
>  
>  
>  
>  
>
> -Original Message-
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Gordon Smith
> *Sent:* zaterdag 11 november 2006 6:29
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] OK, seriously. Why can't I make a
> global var?
>
> This is not technically a global variable. It is simply
> an instance var of the Application object..
>
> - Gordon
>
> 
>
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *Karl Johnson
> *Sent:* Friday, November 10, 2006 12:57 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* RE: [flexcoders] OK, seriously. Why can't I make a
> global var?
>
> You can use mx.core.Application.application.myVar = "hooray!"; if
> you really want to access a global variable like that.
>
> |<
>
> Karl Johnson
>
> Cynergy Systems
>
> 
>
> *From:* flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] *On Behalf Of *poolpcs
> *Sent:* Friday, November 10, 2006 1:13 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] OK, seriously. Why can't I make a global var?
>
> After years (and years and years) of programming Flash, I'm used
> to being able to simply say:
>
> _root.myVar = "hooray!"
>
> and being able to see that variable anywhere.
>
> Why in God's green earth can't I do the same in Flex? I have a
> custom login component which
> is currently a child of the base app, sitting in a view state. All
> I want to do is grab one of the
> returned values that the login gets (emailaddress) and let other
> sections of my program see
> that.
>
> I cannot for the life of me figure this out. I see stuff about
> making static members of classes,
> referencing "parentApplication" etc.
>
> I am in no way a newbie to interactive development, and this is
> just insane. Within my first
> two days of using Flex I figured out how to create a complete
> login/registration system that
> talks to a DB, and figured out how to use the socket class to
> directly talk

Re: [flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-18 Thread dj
Tim:

I just posted the entire application in a zip file.  I added a player 
title and it makes the text like subscript size.
I also am using Ely's comments and trying to put pictures to the left of 
the bars - and I've realized, something...
I'm totally confused as to what I'm doing.  Which is par for the course 
for me.

http://www.reduxdj.org/redux/polls.zip

I'm working from a previous example using the sandy distortion effects 
and it may be a little convoluted
so far.

Thanks for any guidance (other than pick a new profession, of course ;)

Patrick



 From Ely's previous post:

 
A chart typically has two AxisRenderers, one for the horizontal, and one 
for the vertical.
Each AxisRenderer has a labelRenderer factory associated with it. It 
uses the label renderer factory to instantiate label renderer instances, 
one for each label.
Your job is to create a new labelRenderer.
Your labelRenderer should probably extend UIComponent.
You would specify it like this:
 

   

   
   ...

 
Each PicLabelRenderer will get passed the string to render in its data 
property.
It's up to you to decide how to render that string.
In your case, if I were you, I'd imagine the string would either be an 
url, or used as a key to look up an image or image url in a mapping table.
 
 
Ely.








Tim Hoff wrote:
>
> Hey Patrick,
>
> Why don't you post your code so we can see what you're doing. It
> probably has something to do with the gutters, fontSize and the
> height of your chart.
>
> -TH
>
> --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>, dj <[EMAIL PROTECTED]> wrote:
> >
> >
> > Tim:
> >
> > I gave this a shot am I missing something here? Wordrapping isn't
> > working for me,
> > the text is still cut off.
> >
> > I appreciate your time in showing me this. Regex is all new to
> me, but
> > it's all the rage.
> >
> > Thanks,
> > Patrick
> >
> >
> > Tim Hoff wrote:
> > >
> > > Patrick,
> > >
> > > Sorry to highjack your thread. Here's a method to display a
> > > multi-lined Axis label:
> > >
> > > *labelFunction:
> > > *public function
> > > wrapLabel
> (cat:Object,pcat:Object,ax:CategoryAxis,catItem:Object):String
> > > {
> > > var pattern:RegExp = /-/;
> > > return cat.replace(pattern, "-\n");
> > > }
> > >
> > > *Axis:*
> > > 
> > >  > > labelFunction="wrapLabel"/>
> > > 
> > >
> > > This example changes:
> > >
> > > 11/17/06 - 12/16/06
> > >
> > > to
> > >
> > > 11/17/06 -
> > > 12/16/06
> > >
> > > By using regular expresions, you have quite a bit of flexibility.
> > >
> > > -TH
> > > __
> > >
> > > **Tim Hoff
> > > **Cynergy Systems, Inc.
> > > http://www.cynergysystems.com <http://www.cynergysystems.com>
> <http://www.cynergysystems.comoffice/ 
> <http://www.cynergysystems.comoffice/>>
> > > Office <http://www.cynergysystems.comoffice/ 
> <http://www.cynergysystems.comoffice/>>: 866-CYNERGY
> > >
> > >
> > > --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>, "Tim Hoff"  wrote:
> > > >
> > > >
> > > > Thanks Ely, that makes sense now. I'll give it a try. Luckily,
> both
> > > > series are using the same dataProvider, so I'll have access to
> the data
> > > > property and probably be able to eliminate the second axis
> completely.
> > > > Thanks for the tips and the source to your interactive calendar
> > > > component
> > > > <http://www.quietlyscheming.com/blog/components/interactive- 
> <http://www.quietlyscheming.com/blog/components/interactive->
> calendar/> .
> > > > Great Stuff!
> > > >
> > > > -TH
> > > >
> > > > --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>, "Ely Greenfield" egreenfi@
> > > > wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Tim. yes, the AxisRenderer supports a property called
> > > > > 'labelRenderer' which is very much like an item renderer.
> Pass the
> > > > > AxisRenderer a reference to a class (wrapped in a
> classFactory, just
> > > > as
> > >

Re: [flexcoders] Communicating with an embedded SWF from Flex App

2006-11-18 Thread dj
Ryan:

Here's a cheap and fast, dirty way to pass flashvars to a loaded swf 
file.  I did this with some text effects.

Cheers,
Patrick



textEffectsVar1 
="components/TextEffects.swf?displayname="+displayName+"&fontColor="+displayNameColor;







Igor Costa wrote:
>
> Ryan
>
> Using Localconnection can help you out, actually has and LiveDocs 
> where uses this to communicate between AVM1 and AVM2 swf files.
>
> Regards.
>
>
>
> On 11/17/06, * ryanlevere* <[EMAIL PROTECTED] 
> > wrote:
>
> I have recently begun migrating an application that was originally
> written in C# to Flex. The application utilized the Flash ActiveX
> control to display an SWF that was used for video conferencing.
> The C#
> program required the user to log in to get to the video conferencing
> and the user's ID was fed to the Flash video component
> using 'SetVariable'. How do I do this from within my Flex app? How do
> I emulate the 'SetVariable' call? I have the SWF loaded and
> displaying
> properly using SWFLoader. Is the 'SetVariable' acheived through the
> LocalConnection component?
>
> Thanks in advance to anyone who can help.
>
>
>
>
> -- 
> 
> Igor Costa
> www.igorcosta.com 
>  




Re: [flexcoders] Re: Ely: How do you wordwrap a label on a bar chart?

2006-11-18 Thread dj

Tim:

I gave this a shot am I missing something here?  Wordrapping isn't 
working for me,
the text is still cut off.

I appreciate your time in showing me this.  Regex is all new to me, but 
it's all the rage.

Thanks,
Patrick


Tim Hoff wrote:
>
> Patrick,
>
> Sorry to highjack your thread.  Here's a method to display a 
> multi-lined Axis label:
>
> *labelFunction:
> *public function 
> wrapLabel(cat:Object,pcat:Object,ax:CategoryAxis,catItem:Object):String 
> {
> var pattern:RegExp = /-/;
> return cat.replace(pattern, "-\n");
> }
>
> *Axis:*
> 
>  labelFunction="wrapLabel"/>   
> 
>
> This example changes:
>
> 11/17/06 - 12/16/06
>
> to
>
> 11/17/06 -
> 12/16/06
>
> By using regular expresions, you have quite a bit of flexibility.
>
> -TH
> __
>
> **Tim Hoff
> **Cynergy Systems, Inc.
> http://www.cynergysystems.com <http://www.cynergysystems.comoffice/>
> Office <http://www.cynergysystems.comoffice/>: 866-CYNERGY 
>
>
> --- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
> >
> >
> > Thanks Ely, that makes sense now. I'll give it a try. Luckily, both
> > series are using the same dataProvider, so I'll have access to the data
> > property and probably be able to eliminate the second axis completely.
> > Thanks for the tips and the source to your interactive calendar
> > component
> > <http://www.quietlyscheming.com/blog/components/interactive-calendar/> .
> > Great Stuff!
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Ely Greenfield" egreenfi@
> > wrote:
> > >
> > >
> > >
> > >
> > > Hi Tim. yes, the AxisRenderer supports a property called
> > > 'labelRenderer' which is very much like an item renderer. Pass the
> > > AxisRenderer a reference to a class (wrapped in a classFactory, just
> > as
> > > with itemRenderers) that extends UIComponent, ProgrammaticSkin, or one
> > > of the existing Flex components, and implements the IDataRenderer
> > > interface. The AxisRenderer will instantiate one of these for each
> > > label it needs to show, and assign the label to the labelRenderer's
> > > 'data' property.
> > >
> > > I don't think there are any examples out there of how to do this
> > today.
> > >
> > > Ely.
> > >
> > >
> > > p.s. You could also consider writing a custom axisRenderer...there's a
> > > pretty exhaustive example of how to do that in the Interactive Bubble
> > > Chart on my blog, http://www.quietlyscheming.com/. You could
> > > theoretically create two axis renderers that stack on the left hand
> > side
> > > that way, although that's a pretty big undertaking.
> > >
> > >
> > >
> > >
> > > 
> > >
> > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> > On
> > > Behalf Of Tim Hoff
> > > Sent: Friday, November 17, 2006 3:37 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Ely: How do you wordwrap a label on a bar
> > > chart?
> > >
> > >
> > >
> > > Hi Ely,
> > >
> > > I got this far with wordwrapping the label text, but my question is
> > > more complicated. I want to have two verticalAxisRenderers, side-by-
> > > side, on the same side of a ColumnChart. Or, create a single
> > > LabelRenderer to simulate this. One of the labels needs a shaded
> > > background with text, while the other is just text. While digging
> > > into it, the docs say to use IFactory for a chart LabelRenderer. Is
> > > this similar to an ItemRenderer for a DataGrid? Understandably,
> > > there aren't any examples yet that show how to do this.
> > >
> > > If you have the time, thanks,
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com, "Ely Greenfield" egreenfi@
> > > wrote:
> > > >
> > > >
> > > >
> > > > Hi Patrick. THe only way would be to use a labelFunction on your
> > axis
> > > > and manually insert a line break yourself.
> > > >
> > > > Ely.
> > > >
> > > >
> > > > 
> > > >
> > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> > > On
> > > > Behalf Of dj
> > > > Sent: Friday, November 17, 2006 2:34 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Ely: How do you wordwrap a label on a bar
> > chart?
> > > >
> > > >
> > > >
> > > > A Vertical Axis why Field, my labels are being cut off, my width
> > > > dimension is fixed to 280 pixels, so the column needs to wrap down?
> > > >
> > > > Thanks,
> > > > Patrick
> > > >
> > >
> >
>
>  




Re: [flexcoders] Looping & creating objects...

2006-11-18 Thread dj
I know that mxml makes this stuff easy, but for me I prefer using the 
Actionscript then
using a repeater tag...

OK, so I don't know why I didn't think of this earlier, sometimes i 
wonder where my head's at?

   private var myRadios:Array = new Array();
   
private function setUpRadios():void{
myRadios = new Array();
   
for (var i:int=0;i<5;i++)
{
var myRadioButton:RadioButton = new RadioButton();
myRadioButton.groupName = "pollq";
myRadios.push(myRadioButton);
this.addChild(myRadios[i]);
    }
   







dj wrote:
>
> I know I've posted this already. Sorry, just trying to get this
> populated in Actionscript, so I thought I'd
> post again since I've been kind of stuck on this point here.
>
> Thanks,
> Patrick
>
>  




[flexcoders] Looping & creating objects, how do you do this: var myRadio["b"+i]:RadioButton = new RadioButton();

2006-11-17 Thread dj
I know I've posted this already.  Sorry, just trying to get this 
populated in Actionscript, so I thought I'd
post again since I've been kind of stuck on this point here.

Thanks,
Patrick



[flexcoders] events? Should I use mx.events or flash.events?

2006-11-17 Thread dj
What's the difference between the two?

Thanks,
Patrick



[flexcoders] Ely: How do you wordwrap a label on a bar chart?

2006-11-17 Thread dj
A Vertical Axis why Field, my labels are being cut off, my width 
dimension is fixed to 280 pixels, so the column needs to wrap down?

Thanks,
Patrick




[flexcoders] Iterating through a loop with radiobuttons - giving unique instance

2006-11-17 Thread dj
Flex Wizards:

I need to  iterate through a loop and create radio buttons, i have to 
add loaders for images next to them etc.  How do you something like this 
in AS3.0?


var myRadio["b"+i]:RadioButton = new RadioButton();


Also, when you send an event with the currentTarget property, which is 
the currentTarget property?   I was messing with the mx:Repeater and it 
was a little confused
exactly how to set up a loop with unique id's and my make my radio 
labels dynamic that way so I am trying just to do it in as3.0

Thanks,
Patrick
 




[flexcoders] RegExp Validator

2006-11-17 Thread DJ Lift
Hey there,
I'm trying to use a standard regular expression in a RegExpValidator.

Here's the validator markup:


It keeps saying that a password like '64months' (without the apostrophes) is no 
good when it 
should be. The expression should validate such that any characters from a-z and 
A-Z and 
0-9 should be ok, as long as the total length of chars is between 6 - 8 chars 
long. This 
expresion works great in PHP.  

I must be missing something about how AS or Flex deals with it. Any help would 
be 
appreciated.
thanksie,
marky





Re: [flexcoders] Re: How to handle an event and call a method to it's parent?

2006-11-16 Thread dj
Wayne:
That didn't work but this put thanks for putting me on the right track.

This works :)

parentDocument.dispatchEvent( new Event( Event.CHANGE ) );



thanks,
Patrick
-listening to Yaz - don't go (12 inch Mix)

wayne_badu_johnson wrote:
>
> Hi Patrick
>
> try :
> itemClick="handleCard(event)";
>
> and in your handleCard function
> event.currentTarget.parent.someHandler();
>
> Cheers
> Wayne
>
> --- In flexcoders@yahoogroups.com 
> <mailto:flexcoders%40yahoogroups.com>, dj <[EMAIL PROTECTED]> wrote:
> >
> > Hi:
> >
> > This doesn't work, what's the best practice?
> >
> > 
> >
> >
> > Thanks,
> > Patrick
> >
>
>  




[flexcoders] How to handle an event and call a method to it's parent?

2006-11-16 Thread dj
Hi:

This doesn't work, what's the best practice?

 


Thanks,
Patrick



Re: [flexcoders] Error in Flex 2.0.1 MX: States Example

2006-11-07 Thread dj
Stephen:

I reinstalled the full version of  2.0.1 adobe flexbuilder and this 
issue went away.  It was the example in Adobe Flex 2 Help section.

Thanks,
Patrick


Stephen Gilson wrote:
> Hi,
>  
> Can you be more specific as to which example it was? In which book or 
> section of the doc did you find it?
>  
> Thanks,
>  
> Stephen
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *dj
> *Sent:* Tuesday, November 07, 2006 1:58 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Error in Flex 2.0.1 MX: States Example
>
> The example from the documentation gives me an Actionscript error:
>
> Severity Description Resource In Folder Location Creation
> Time Id
> 2 Type was not found or was not a compile-time constant: states.
> [Generated code (use -keep to save): Path: states-generated.as, Line:
> 304, Column: 14] states November 7, 2006 11:00:15 AM 11409
>
>  




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Error in Flex 2.0.1 MX: States Example

2006-11-07 Thread dj
The example from the documentation gives me an Actionscript error:


SeverityDescriptionResourceIn FolderLocationCreation 
TimeId
2Type was not found or was not a compile-time constant: states. 
[Generated code (use -keep to save): Path: states-generated.as, Line: 
304, Column: 14]statesNovember 7, 2006 11:00:15 AM11409




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Placing images next to bars in bar charts?

2006-11-07 Thread dj
I want to put a 50x50 jpg image to the left of my bart chart, next to 
each of the bars.  How would i go about doing this?

Thanks,
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Barchart - trying to make it display the way i want

2006-11-06 Thread dj
Ely:
Thanks tip 1 you gave me worked.

Tip 2, i don't know how to use the IFill property on the barSeries, 
trying to do so gives me a conversion error.   I need a clear example of 
that.
I'm trying to put images, small ones, like 50x50 images next to each of 
the bars.

Actually, there's no simple example in the docs of how to change the bar 
color!

Thanks,
Patrick



Ely Greenfield wrote:
>  
>  
> Hi Patrick.  Look at:
>  
> 1) the barWidthRatio and maxBarWidth properties on barChart (or 
> barSeries, if you're not using a barChart).
> 2) the fill style on barSeries to change the colors.
>  
>  
> tell me more about what it is you want to do with images, and I can 
> give you more help.
>  
> Ely.
>  
>
> 
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of *dj
> *Sent:* Sunday, November 05, 2006 7:00 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Barchart - trying to make it display the way i 
> want
>
> trying to finagle with a barchart, how do i change the widths of the
> bars and the spacing between the bars and the color of the bars?
>
> Also, if i want to put images next to the bars - would i do that with a
> canvas and in AS3?
>
> thanks
> Patrick
>
>  




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] How to get a sample archive to work - steps involved please (Distortion Effects)

2006-11-06 Thread dj
Hello:

This looks really cool, but I can't figure out how to make these work:

http://weblogs.macromedia.com/auhlmann/archives/DistortionEffects.zip




How does one go about making this a new flex project - and get it to 
compile right? I’m a little confused the steps involved for importing 
these kind of archives into flex. This is the second one that’s stumped me.


Thanks,
Patrick








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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Barchart - trying to make it display the way i want

2006-11-05 Thread dj
trying to finagle with a barchart, how do i change the widths of the 
bars and the spacing between the bars and the color of the bars?

Also, if i want to put images next to the bars - would i do that with a 
canvas and in AS3?

thanks
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] input type="reset"

2006-11-02 Thread DJ Lift
Hey there,
Is there something in flex that's similar to the input  type="reset" in html? 
So that all the form  
fields will reset to the values they were created with? Or do you have to 
program this 
yourself?
Thanks,
mark





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] 2 questions

2006-11-02 Thread DJ Lift
Hi there,

Have some questions about the best practice way of designing apps.

I'm building a simple email server preferences application. And I've created 
two 
components. One for handling the login (which hits amfphp and ldap on the 
backend) and 
one for loading and changing/saving the user prefs (which also hits amfphp and 
ldap on 
the backend).

There are really only two "states", login handilng, and prefs changing.

Question 1: Is it best to use States or ViewStacks to deal with changing "app 
states"?

on to my second question...

The login component is sorta self sufficient. It can handle good logins and bad 
ones. and 
if it's a good login can switch the current state to the preferences state (as 
viewstates are 
what i'm currently working with.) But when i get to the email preferences 
state, it wants to 
know things from the login component, like email and password. 

Question 2: Is it good practice to have components be able to talk and share 
information 
with one another? And if so, how do you keep them around and reference them if 
you're 
using viewstates?

Thanks,
mark





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Anyone have any problems using "Clean..." in FlexBuilder 2 Mac Beta?

2006-11-01 Thread DJ Lift
I just tried to "Clean..." my project, and now I can't build any more because 
it says that the 
bin/.html file is missing. In fact, there is nothing in the bin 
directory any 
more.

I've even tried to create new projects and i get the same issue. I'm going to 
reinstall flex 
builder to see if I still get the same issue.

Thanks,
mark





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Flashvars

2006-10-26 Thread dj
Dorky Dork, or can i just call you DD:

Hi,

I assumed there was problem with flex  parsing flashvars then I realized 
that my query wasn't functioning properly, and it was a typo in my 
username field.  Which always goes to show, that right after
I post, I usually solve my problem... and then it comes down to 
something stupid on my part (maybe it's because I get cross-eyed looking 
at code all day)

However many thanks, this FXT stuff looks very interesting.  Will 
investigate further

Bye for now dorky

dorkie dork from dorktown wrote:

> Patrick,
>
> I'm not sure what part of your question to answer but you may find the 
> solution in FXT. I wrote a post on it last night. It shows how to get 
> information from flashvars, the html text of the html body, changing 
> the generated html-index-template.html and merging your flex project 
> with a existing server-side type page (like asp, jsp, php).
>
> http://www.judahfrangipane.com/blog/?p=37
>
> dorkie dork
>
> On 10/25/06, *dj* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
> How does this work with the generated .html that flex produces
> with php,
> i tried in the old fashioned way
> of adding the flashvars to the embed tag with no luck  no working.
>
>
> mymovie.swf?username=someuser  works tho...
>
>
> any help here,
> Thanks,
> Patrick
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> <http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
> mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>  





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Flashvars

2006-10-25 Thread dj
How does this work with the generated .html that flex produces with php, 
i tried in the old fashioned way
of adding the flashvars to the embed tag with no luck  no working.


mymovie.swf?username=someuser  works tho...


any help here,
Thanks,
Patrick





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Overriding "center" control when removing children in an HBox

2006-10-17 Thread dj
I have an HBox that displays a list of children, I want to remove the 
Children and override the "center" positioning when I remove the 
children but for adding it's ok.  Is this possible by overriding 
whatever the HBox does to do this?

Thanks,
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Little mask question/container bounding issue

2006-10-16 Thread dj
Hey guys and girls,

I know this seems a little simple to add to the list, but I am
eagerly awaiting my Actionscript3.0 book, coming from Amazon
tomorrow, then I'll  be able to study this stuff with out listing.

I have an HBox holding a bunch of images for the my thumbnail, I have
an issue where if the thumbnails load more images than my HBox
displays it autosizing, changing my entire nav, throwing it off.

Idealy, I want to make the HBox not keep resizing if my thumbnails is
greater than the width of the box.  I should use a mask as well, how
do i apply one to this:


public function addThumb(target:SWFLoader):void
{
deleteLastBorder();

var image:Image = new Image();
image.filters = [new 
DropShadowFilter(4,45,0x00,1,4,4,.3)]
var bmp:Bitmap = Bitmap(target.content);
var newBitmap:Bitmap = new
Bitmap(Bitmap(target.content).bitmapData.clone())
newBitmap.width = 60;
newBitmap.height = 45;
image.width = 60;
image.height = 45;
image.setStyle("moveEffect", Move);
image.setStyle("addedEffect", Fade);
image.buttonMode = true;
image.addEventListener(MouseEvent.CLICK, 
image_handler);
image.addEventListener(MouseEvent.ROLL_OUT,  
image_handler);
image.addEventListener(MouseEvent.ROLL_OVER, 
image_handler);

var border1:Sprite = new Sprite();
border1.graphics.lineStyle(1, 0xcc, 1.0);
border1.graphics.drawRect(-3, -3, 
image.width+6, image.height+6); 
image.addChild(border1);
image.addChild(newBitmap);
images_container.addChild(image);
lastImage = image;
lastBorder = border1;
THUMBARRAY.push(image);
index++;

}


Thanks so much,
Patrick Lemiuex
patrick AT me.com



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Simple way to put a border around an image?

2006-10-15 Thread dj
How do you do a simple border around an image, easiest way.  Do I really 
have to use the Rect method for this?



thanks,
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Trash/bugs in Flashplayer 9 filters

2006-10-10 Thread dj
Matt:

When flex uses relative values for x and y for placement it always uses 
an integers, right? I'm confused
how this would show up then. Of course all images i load are height and 
width = integers, of course.

Do masks behind images have any affect because i am using a mask behind 
the filters. That seems
how this bug was introduced.



Thanks,
Patrick


Matt Chotin wrote:

> The feedback I got from an engineer is that this can often happen when 
> you’re not using integers for values into the filters (or the 
> x/y/width/height of the object being affected is not an integer). When 
> you have non-integer values the object will not be on pixel 
> boundaries, thus you see artifacts.
>
> Matt
>
> 
>
> *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *On Behalf Of [EMAIL PROTECTED]
> *Sent:* Friday, October 06, 2006 2:16 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Trash/bugs in Flashplayer 9 filters
>
> Working with different filters, i noticed trash showing up in the
> glow filter and the drop shadow filter (haven't tried any others).
> Unfortunately, I have to remove these effects because they look poor.
>
> :(
> Thanks Team Flex,
> Patrick
>
> 





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Unusual Behavior of a text Area with HTML & Spanish Characters

2006-10-05 Thread dj
Before I assume it's a bug, I'm probably doing something wrong, but
I'm trying to display Spanish language characters in html in a
textArea.  However, characters with accents work like an escape
sequence and makes the formatting skip lines:


The problem seems to start at:  marrón  

Altura: altoCuerpo: gordoOjos: marrónPelo: mezcladoPrimera Lengua: españolNivel de Español: PerfectoMoriré para Shakira:
sí


Any enlightenment on why this won't display properly, please let me
know.

Thanks,
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] cross domain best practices?

2006-10-01 Thread dj
Cross domain policy check?

can somebody give me the best set up for a cross-domain policy, should 
it be an xml file or System.Security.allowDomain?  Do you have to check 
the policy for every image/swf that's loaded? 

How do you check the domain policy inside an mxml tag? is it better to 
make a custom loader for all loaded media/images for a cross domain check? 


Thanks,
Patrick





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] try catch

2006-09-30 Thread dj
Hi,

I don't want a message like this to stop my flash, i want to try to 
catch a pop up from displaying like:


The image actually loads but this error comes up:  "SecurityError: Error 
#2122: Security sandbox violation: Loader.content: "
Can somebody shoe me a try-catch situation?



I'm loading the crossdomain policy in my init();

the errror says i have to set my checkPolicyFile flag, is this possible 
from inside the http://myurl";); one time what's the best 
method.

Thanks for your time,
Patrick






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Background transparancy - Help File

2006-09-30 Thread dj
Much appreciated, I missed that in my first scan of help files.  Quick 
question: how do you make the code editor open the help.as class file - 
kinda like how F3 works in eclipse with ASDT?

Thanks,
Patrick

Benoit Hediard wrote:

> In order to get full transparency (in an html page), you might also 
> have to set windowMode to "transparent" in your code that insert the swf:
> 
> ...
> 
> ...
>  ...
> wmode="transparent"
> ... >
> 
> 
>  
> Benoit Hediard
>  
>
> 
> *De :* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> *De la part de* sumeet k
> *Envoyé :* vendredi 29 septembre 2006 08:23
> *À :* flexcoders@yahoogroups.com
> *Objet :* Re: [flexcoders] Background transparancy
>
> Hi Patrick,
> Ypu can set backgroundAlpha="0" in application tag.
>
> */dj <[EMAIL PROTECTED]>/* wrote:
>
> How do you set the background alpha of an application to 0, possible?
>
> Thanks,
> Patrick
>
>
> 
> Get your own web address for just $1.99/1st yr 
> <%20http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>.
>  
> We'll help. Yahoo! Small Business 
> <http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/>. 
>  




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Background transparancy

2006-09-28 Thread dj
How do you set the background alpha of an application  to 0, possible?

Thanks,
Patrick


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] HBox inside a vbox - inside an Accordion (possible bug)

2006-09-27 Thread dj
I was having the damnest time adding a little thumbnail component to the 
inside of a HBox -> inside a VBox -> inside an Accordion...

I had no problem as the code demonstrates inside the first vbox in my 
accordion:





   

   
   
  
 

 
 
 


But below when i try to do my method  "stack" to create my component 
inside my vbox ="v2", it says undefined object or refrence... null... i 
*think* know i am doing this right, however flex can't find my component 
ID or something  -- why would this be?





   
  
 
   

  
 

 
 
 


Thanks,
Patrick




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Background alpha

2006-09-27 Thread dj
I noticed there's always a background in all flex apps, how do make it 
transparent, if possible.

Thanks,
Patrick





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] AutoSuggest TextField

2006-09-14 Thread DJ Lift
Hey there,
Has anyone seen any auto suggest style text fields for flex? Similar to what 
google is doing?
Thanks,
mark






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Re: HTTPService Result to ArrayCollection

2006-08-29 Thread DJ Lift
Whoops,
Here is the xml I'm getting returned:



NY
SPRI

Non-Project Time
93106



NY
SPRI

Trafficking TOS
93110




What didn't come across before was that i also have in my mxml:

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] HTTPService Result to ArrayCollection

2006-08-29 Thread DJ Lift
Hi there,
I'm new and I don't understand something :)
Hopefully someone can help me out.

I have a datagrid that I am attempting to populate.
I've been able to successfully populate the grid with xml from and HTTPService 
with no 
problem.

But now I want to be able to filter and create specific sort functions for the 
grid, which I 
understand requires the dataProvider for the dataGrid to be an ArrayCollection. 
Is this 
true?

If so, can i somehow take the XML result from the HTTPService and make an 
ArrayCollection out of it? I'm having trouble attempting this. 

Below is what i have so far...

http://mccray/~mm/oracle/joblookup.php"; 
useProxy="false" 
method="GET" 
showBusyCursor="true">
 
 {pirateLocSelector.label}
 {pirateClientSelector.label}
 {pirateProductSelector.label}
 
 







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