[flexcoders] Is there an isset() in Actionscript 3? (Or an exists())

2006-09-28 Thread rigidcode
If I have an hash (object) like this: var o:Object = new Object(); o['blahblah']; How do I test if there exists an o['wwwrgwr']? I had a situation where I set something to a string: o['blahblah']='wefwefw'; and then later tried: if (o['blahblah']['something']) { } and I got: Property

[flexcoders] Flexcoders mail archive?

2006-09-26 Thread rigidcode
Do I have the right URL for the flexcoders mail archive? http://www.mail-archive.com/flexcoders@yahoogroups.com/ Or is it just down... I'm looking for a tutorial on building my own Flex 2 components. Widget how-to -- Flexcoders Mailing List FAQ:

[flexcoders] Loading an external swf screws up the layout (f2)

2006-07-10 Thread rigidcode
Anyone who tries to use the Loader class to load a large (in pixels) Flash 7/8 swf into a Flex app would probably run into this. But I couldn't find it in the archives... If you load an external Flash 8 swf into a Flex 2 app, with the Loader class, it will spill out of whatever container you

[flexcoders] Can anyone programmatically select an item in a Tree? (f2b3)

2006-06-11 Thread rigidcode
Does anyone have code that selects an item in a Tree control? Particularly if the dataProvider for the tree item is an XML object. Setting the selectedItem property doesn't seem to do anything. thanks Yahoo! Groups Sponsor ~-- Home is

[flexcoders] How to programmatically open a Tree item? (f2b3 bug?)

2006-06-08 Thread rigidcode
If you make a Tree, and you set it's data to an XML object: var tree:Tree = new Tree(); tree.showRoot=false; tree.labelField=@label; var xml:XML = node node label=Something node label=child one/ node label=another child/ /node /node; tree.dataProvider =xml; How do you programmatically open

[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode
is always empty. --- In flexcoders@yahoogroups.com, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote: Hi rigidcode, Send the bytearray using URLLoader with $POST. I think that you need to send the apropriate header. I did it, but I don't remember well. At PHP, use: if(is_uploaded_file

[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread rigidcode
it with other files). On 6/6/06, rigidcode [EMAIL PROTECTED] wrote: If I make a ByteArray of jpeg data, how do I send it to the server in such a way that PHP will have it in it's $_FILES array? If I just set the URLRequest.data property to the ByteArray, then it won't have a filename

[flexcoders] How up upload a ByteArray to PHP on the server?

2006-06-06 Thread rigidcode
If I make a ByteArray of jpeg data, how do I send it to the server in such a way that PHP will have it in it's $_FILES array? If I just set the URLRequest.data property to the ByteArray, then it won't have a filename, or a variable name, to refer to in the php.

[flexcoders] Convert a Bitmap into an Image? Flex 2

2006-06-05 Thread rigidcode
I made a Bitmap programatically in Flex. How do I display it as an Image. I know I can display it as a Bitmap if I put it into a UIComponent, but if I do, I can't get events on it like mouse over, etc. I want to use the Image uicomponent. Also, when I send my BitmapData byte array to the

[flexcoders] Save a BitMap to the server as a jpg? flex2

2006-05-30 Thread rigidcode
If I create a BitMap (or BitMapData) in Flex, how can I save it to the server as a jpg? thank you. rc -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Re: Custom DataGrid Column (flex 2b3)

2006-05-24 Thread rigidcode
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rigidcode Sent: Tuesday, May 23, 2006 2:36 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom DataGrid Column (flex 2b3) I have a DataGrid. I want one of the columns to contain a button. It looks like I'm supposted

[flexcoders] Custom DataGrid Column (flex 2b3)

2006-05-23 Thread rigidcode
I have a DataGrid. I want one of the columns to contain a button. It looks like I'm supposted to make an object that implements IDropinListItemRenderer right? I started doing that, but with that I'm responsible for not only rendering my one column- I have to render every column? Even the

[flexcoders] Capture a DisplayObject or UIComponent as a jpg? flex2b3

2006-05-16 Thread rigidcode
Can I (programmatically) get a jpg or bitmap of a DisplayObject or a UIComponent as it looks in the browser? Like as a bitmap or jpg or something. What I really want to do is capture frames of an FLV, but I figure I could do it if I could make a VideoDisplay and capture it's appearance.

[flexcoders] Screen capture of an FLV file?

2006-05-15 Thread rigidcode
I want to programatically make screen captures of a video (flv file). Like, a screen cap of the video at 5 seconds into playback, another at 1 minute, another at 5 minutes... I can't find this in the api. It's gotta be in there somewhere right? -- Flexcoders Mailing List FAQ:

[flexcoders] How to bind to something programatically (not in MXML)?

2006-05-09 Thread rigidcode
How do you bind TO something via Actionscript 3, not MXML? All of the documentation on how to bind to something uses the {} stuff or the mx:Binding tag, it's very frustrating. How do you do that in Actionscript? -- Flexcoders Mailing List FAQ:

[flexcoders] How can I sort a hash in Actionscript?

2006-05-08 Thread rigidcode
If I have an Object (there's no hash class in Actionscript 3 right??), is there a way to sort it according to one of it's member's properties? For example: var o:Object = new Object(); o['something'] = new Thing(); Thing(o['something']).order= 20; o['another'] = new Thing();

[flexcoders] Re: Has anyone successfully put one TabNavigator inside another? (Flex 2)

2006-05-03 Thread rigidcode
that solution... --- In flexcoders@yahoogroups.com, Graham Weldon [EMAIL PROTECTED] wrote: Hi rigidcode, The following code works fine, and is the solution ot your previous post about using TabNavigators in ActionScript: --- package

[flexcoders] Re: NestingTabNavigators will cause an exception. (Flex 2 bug?)

2006-05-01 Thread rigidcode
rigidcode, Here is an ActionScript class that you can use. It will need to be changed to meet your needs, but it is based off the code you posted, and should be reasonably self-explainatory. The NestedTabs class is extending Canvas, so that you can assign a size for the whole lot

[flexcoders] Mutiline LinkButton? (Flex 2)

2006-04-30 Thread rigidcode
Can I make a LinkButton that line wraps rather than pushing out the Box it's in (or doing an ellipsis), if it's text is too wide? In other words, the behavior you'd expect if it was an html hyperlink... Also, can I do hypertext in Flex? Like, a text field with some of the words as

[flexcoders] Re: Mutiline LinkButton? (Flex 2)

2006-04-30 Thread rigidcode
--- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 4/30/06, rigidcode [EMAIL PROTECTED] wrote: Try grabbing the internal TextField object and setting its word-wrapping on (I've lost track of how to do this myself). Yea I tried that but the textField

[flexcoders] NestingTabNavigators will cause an exception. (Flex 2 bug?)

2006-04-30 Thread rigidcode
I'm trying to make nested TabNavigators in Actionscript (NOT in mxml). Just two- an outer TabNavigator and, on one of it's tab's canvas's, an inner one. Sounds simple right? I reduced it to a smaller reproducable version of the error, here is what I'm doing in my Application: var

[flexcoders] Flex 2: How do I make a List that has different heights?

2006-04-29 Thread rigidcode
If you make a List control, and you put some options in it, and one of your options is long and happens to wrap, it doesn't wrap the text! It just cuts off the end of the text. How do I make it wrap?? I even tried making a custom IDropInListItemRenderer. If I set the height differently for

[flexcoders] How to programmatically make a custom ListItemRender?

2006-04-26 Thread rigidcode
I'm trying to make a custom ListItemRenderer in Actionscript. I was able to make it display the list correctly, but when I click on anything in the list, I get this error: TypeError: Error #1009: null has no properties. at