Re: [flexcoders] not draggable TitleWindow

2006-11-30 Thread Doug McCune
As far as I know the dragging functionality has nothing to do with TitleWindow vs. Panel, it's all about whether the Panel was created by the PopupManager. So if you use the PopupManager to add the Panel then it will be draggable. The code that determines whether or not to drag a Panel when

Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread Doug McCune
How about this one as an example: the Adobe Restaurant Finder sample app, with the Recent Reviews page in particular. The app is here: http://examples.adobe.com/flex2/inproduct/sdk/restaurant/recentReviews.html If you look at that app you can see user submitted reviews of restaurants. For

Re: [flexcoders] Re: SEO Compatibility

2006-12-15 Thread Doug McCune
OK, right, we were talking about two different things. Sorry if this has caused confusion. I was talking about dynamic data being indexable by search engines. You were talking about search engine optimization for static content (sorry again if I'm still misunderstanding). I guess I never

Re: [flexcoders] SEO Compatibility

2006-12-18 Thread Doug McCune
Yes, this was certainly my concern. In addition to allowing a search to return the address of the interface I think people also want the capability to allow deep-linking, so the address could make the interface load a particular content item from the database. I'd also like to point out that

Re: [flexcoders] Re: Canvas zoom / preview / Navigator

2006-12-21 Thread Doug McCune
Regarding generating the snapshot or thumbnail drawing... Sorry if this isn't incredibly helpful, but I'd start with understanding BitmapData stuff. To do the snapshot I'm guessing you're going to want to capture the BitmapData of the Canvas (and that will include all the components it

Re: [flexcoders] SWFLoader init event scaling problem

2007-01-05 Thread Doug McCune
Maybe try using callLater()? Sometimes if you're dealing with resizing issues you've got to use callLater to make your code wait until the visual display has been updated. Did you try using the complete event instead? I don't know what fires when, since we don't get the source of

Re: [flexcoders] Re: title window on app first run

2007-01-17 Thread Doug McCune
Wow, such intensity for this post. You've got a click event specified for that button that you have on stage that says Login or Register. That click event calls some function that calls PopupManager.createPopup, which creates a modal popup. All you need to change is to use the

Re: [flexcoders] New Component Released - Animated Gif Loader

2007-01-18 Thread Doug McCune
=en_usauthorid=61303741page=0scrollPos=0subcatid=0snid=sn611itemnumber=0extid=1103970catid=0 Feedback is always appreciated! Thanks, Doug McCune

Re: [flexcoders] Change style on repeater item

2007-01-19 Thread Doug McCune
Without checking this before I write it, wouldn't something like this work? private function changeStyle(event:Event):void{ var vbox:VBox = event.currentTarget as VBox; vbox.setStyle('borderColor',0xfff000); } and then in the MXML tag you would have: mx:VBox verticalGap=2 width=100%

Re: [flexcoders] Re: Image source doesn't affect Image size?

2007-01-19 Thread Doug McCune
I've had a little experience trying to do this, ie zooming into a specific point of an image. My only piece of advice is to be aware of using validateNow() and possibly callLater(). When you change scaleX or scaleY, it updates the width and height, which you then use for positioning. It's

Re: [flexcoders] Help Extending TabNavigator/ButtonBar

2007-01-23 Thread Doug McCune
I know Jason said he's going to be releasing a new TabNavigator component, but I couldn't resist trying my hand at it. Here's my enhanced TabNavigator: http://dougmccune.com/blog/2007/01/23/the-quest-for-the-perfect-tabnavigator/ It uses existing code for closeable and draggable tabs, and

[flexcoders] Draggable Slider Component

2007-01-23 Thread Doug McCune
Here's a component similar to Dual Slider component on Flex Exchange that Brendan Meutzner made. It allows you to drag the region between two thumbs of a VSlider or HSlider. I made it a while ago and never got around to posting it anywhere. I submitted it to the exchange, but until it shows up

Re: [flexcoders] Flowcharting/Drawing Components

2007-01-24 Thread Doug McCune
That's not Flex though, I guess it's older Flash. They only require Flash Player 7. Although I wouldn't be surprised if they're working on a Flex AS3 version as we speak... JesterXL wrote: http://www.gliffy.com http://www.gliffy.com/ Don't see a download link, doesn't look like they are

Re: [flexcoders] new application comments/reviews welcome

2007-01-24 Thread Doug McCune
The app worked for me, I got all the way through without any problems. Very cool, good work. It's great to see apps people are unleashing into the wild. I had fun writing obscene slogans on mock high school rings. God I'm mature. Michael Schmalle wrote: Hey Rich I went into, clicked where

Re: [flexcoders] Help Extending TabNavigator/ButtonBar

2007-01-24 Thread Doug McCune
Here's another update to the TabNavigator extension. Getting closer... http://dougmccune.com/blog/2007/01/25/the-quest-for-the-perfect-tab-navigator-part-2/ Doug McCune wrote: I know Jason said he's going to be releasing a new TabNavigator component, but I couldn't resist trying my hand

Re: [flexcoders] Re: Flex 3.0 - What happened to letting Flex 2 bed in?

2007-01-25 Thread Doug McCune
Quick question regarding updates to the framework, new components, etc. If the SDK remains free then in theory we'd be able to use our existing Flex Builder 2 to use any updated components or new ones that are added to the framework, right? You obviously wouldn't get the changes that are made

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

2007-01-25 Thread Doug McCune
Is catalog misspelled? categories = event.result.catelog.category; If there's no catelog child of the XML root, then trying to access a child of that node will probably throw the error. Doug Roger Ross wrote: Hello, Working my way throught the Training From the Source turorial and ran

[flexcoders] organizing projects in eclipse and publishing source

2007-01-26 Thread Doug McCune
I have a question regarding what people do in terms of project organization and distribution of source code for publication (say on a blog). Here's my scenario: I've got a bunch of AS components, I would like to keep them all in one main Flex Library project, they're all part of the same

Re: [flexcoders] Help me find the Amazon book spider example

2007-01-26 Thread Doug McCune
That uses the SpringGraph component that you can get off of Adobe Exchange. It's an amazing component, by far the most impressive one I've seen posted to the exchange. Doug oneproofdk wrote: A few weeks ago (as far as I remember) I saw a cool Flex2 app, that would take a search string for a

[flexcoders] Horizontal Accordion component available

2007-01-27 Thread Doug McCune
Horizontal Accordion with full source code on my blog. http://dougmccune.com/blog/2007/01/27/horizontal-accordion-component-for-flex/

Re: [flexcoders] Gantt Chart

2007-01-29 Thread Doug McCune
I know Adobe is working on enhancing and adding to some of the datagrid and charting stuff for Flex 3.0. I have not heard any mention of a Gantt chart, is anyone from Adobe allowed comment on this? I'd be interested in taking Andrew's code and running with it, but I don't want to spend too

Re: [flexcoders] Gantt Chart

2007-01-30 Thread Doug McCune
OK, so here's a question for Ely or some chart experts. Let's say you wanted to create an editable chart, like a Gantt chart that let you drag the regions. Is there any obvious way to go about doing this using the chart classes? What I'm thinking is using Andrew Trice's idea of a DataGrid

Re: [flexcoders] Re: Is this possible - SVG to PDF(vector) ?

2007-01-31 Thread Doug McCune
I have a feeling this is going to really tough. What you want is like the ability to get bitmapData from a component, but instead of bitmapData you want vectorData that would give you all the vector points used to draw the component. I have a feeling this is going to require work on the core

Re: [flexcoders] Re: PNG transparency failing in @Embed?

2007-01-31 Thread Doug McCune
You're definitely right, that's a clear bug in how SWFLoader works. I have a solution that involves duplicating the code for SWFLoader and modifying it a little bit. What's interesting is that in the Design view of FB, the PNG has perfect transparency in both cases. But in the published SWF,

Re: [flexcoders] Re: fixed the problem!!

2007-01-31 Thread Doug McCune
I believe: ArrayCollection(something) will do the same thing as: new ArrayCollection(something) and not the same thing as: something as ArrayCollection To cast to ArrayCollection you have to use as Doug Tracy Spratt wrote: Good question. I still stumble over casts vs new vs top-level

Re: [flexcoders] Re: PNG transparency failing in @Embed?

2007-01-31 Thread Doug McCune
, but it's great to know if I absolutely have to have more than 256 colors I can use your code. Hopefully Adobe is following this thread. Either that, or they already tracked it down and have it fixed internally but just never read my posts. ;) On 1/31/07, *Doug McCune* [EMAIL PROTECTED

Re: [flexcoders] Custom component not sizing correctly (w/ example link)

2007-02-01 Thread Doug McCune
Just stick a call to graphics.clear() before you call graphics.beginGradientFill(). I tested that and it should get it to work. Got to make sure you're drawing from a clean slate. Doug ben.clinkinbeard wrote: Hello, I have created a simple subclass of Canvas that allows rounded corners and

Re: [flexcoders] pop ups again

2007-02-01 Thread Doug McCune
So the reason for this is because PopUpManager listens for the SHOW and HIDE events (see PopUpManagerImpl.as line 471). If your popped up component dispatches SHOW or HIDE then the PopUpManager takes this to mean that it should show or hide the popup. So when your popped up window dispatches

Re: [flexcoders] pop ups again

2007-02-01 Thread Doug McCune
click to view source -Doug Doug McCune wrote: So the reason for this is because PopUpManager listens for the SHOW and HIDE events (see PopUpManagerImpl.as line 471). If your popped up component dispatches SHOW or HIDE then the PopUpManager takes this to mean that it should show or hide

[flexcoders] More knowledge of future component development?

2007-02-01 Thread Doug McCune
I know this is a very tricky line that Adobe has to walk between what they can say about future components released in the framework. But here's my issue: I'd love to build more components for Flex, my only worry is that I'll be duplicating energy spent by the Flex team (or Adobe consulting).

Re: [flexcoders] Gantt Chart

2007-02-01 Thread Doug McCune
Here's my attempt that uses the DataGrid approach: http://dougmccune.com/blog/2007/02/01/building-a-gantt-chart-component-in-flex/ It uses adjustable sliders, so you can adjust each item. It's by no means complete, but maybe it can be a start... Doug Clint Tredway wrote: no problem, I

Re: [flexcoders] ByteArray / URLLoader / Loader / Image / Size?

2007-02-02 Thread Doug McCune
Your problem is that you're calling addChild on the Image component. This won't work with how the ImageComponent works (or rather SWFLoader, which is the base class). But the SWFLoader should be able to load a DisplayObject, if you set that as the source. Also, BTW, you don't need the

Re: [flexcoders] ByteArray / URLLoader / Loader / Image / Size?

2007-02-02 Thread Doug McCune
On 2/2/07, *Doug McCune* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Your problem is that you're calling addChild on the Image component. This won't work with how the ImageComponent works (or rather SWFLoader, which is the base class). But the SWFLoader should be able

Re: [flexcoders] How to measure a Menu before calling show()?

2007-02-05 Thread Doug McCune
If you're comfortable looking at the source code for the framework classes, then check out the source of MenuBar.as at line 1574, see the showMenu() method. That has logic that repositions the menu so that it remains on the stage. You could use that code and re-purpose it a little to get it

Re: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-06 Thread Doug McCune
I'd be interested in what a more legal understanding is, but for anything that I post that includes source code, it's my understanding that you can go and do whatever you want with it. Include it in other products, yadda yadda. Basically if I don't include licensing terms I'm giving you

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune
Nope, I think the second parameter must be a function, trying to pass an array of functions should fail. Also, just a note: it's better practice to not use the string of the event listener like click but rather the variable like MouseEvent.CLICK. They really do the exact same thing in

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune
case for me, renaming events is small potatoes to that error. ;-) Peace, Mike On 2/7/07, * Doug McCune* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Nope, I think the second parameter must be a function, trying to pass an array of functions should fail. Also, just a note

Re: [flexcoders] Catching IOError on Loader

2007-02-09 Thread Doug McCune
Gordon's original answer, which is that the Image or SWFLoader components dispatch ioError events, should still apply. If you set an event listener for the flash.events.IOErrorEvent.IO_ERROR event, then it should get dispatched if the image file can't be found. Make sure you're listening for

Re: [flexcoders] can I animate using Flash Bitmaps with Flex Canvas??

2007-02-09 Thread Doug McCune
how about this? // you've got your bitmap, wherever it came from var bitmap:Bitmap; var comp:UIComponent = new UIComponent(); comp.addChild(bitmap); then add the UIComponent to the container you want to add it to. You might not be able to add a Bitmap directly to a container, but nobody said

Re: [flexcoders] No core library?

2007-02-13 Thread Doug McCune
There's a manifest XML file that should list all the components that get compiled into the main framework SWC. flex_sdk\frameworks\core-framework-manifest.xml Take a look at that or check the mxml-manifest.xml file as well. Doug Ralf Bokelberg wrote: Hi Arne, it looks like the

Re: [flexcoders] New Version of Flex Style Explorer with Tons on New Features

2007-02-13 Thread Doug McCune
I love it. And thanks for the source. That functionality for mini-nav on the left looks like it might make a pretty awesome standalone extended list component. I'd agree with the suggestion of always showing the advanced color picker icon. Doug Nick Collins wrote: Also, I noticed when I

Re: [flexcoders] svn and flex not getting along

2007-02-13 Thread Doug McCune
I've been playing with the ANT tasks, and if you use ANT to do your compilation the task for the html-wrapper will output your html stuff without needing to have the html-template directory in your project directory structure at all. Not really a direct answer to your question, but if you're

Re: [flexcoders] Gordon Smith - Some Answers about the Datagrid

2007-02-20 Thread Doug McCune
I did a similar thing with a DataGrid for a quiz statistics reporting tool. Basically we have a few columns with quiz scores: average score, minimum score, etc. The cells are formatted depending on the score, so low scores show up in red bolded text, while high scores show up in green unbold.

Re: [flexcoders] Are other developers hesitant to extend existing classes in Flex?

2007-02-21 Thread Doug McCune
I've had a similar experience many times, so I'll chime in with what I've been doing. The problem: you want to make a simple extension, and you see the part of the original source that you need changed or enhanced. So you try to make a subclass but you end up finding out that to do what you need

Re: [flexcoders] Are other developers hesitant to extend existing classes in Flex?

2007-02-21 Thread Doug McCune
or 4 levels down the inheritance chain. regards, Bjorn On 22/02/2007, at 10:01 AM, Doug McCune wrote: I've had a similar experience many times, so I'll chime in with what I've been doing. The problem: you want to make a simple extension, and you see the part of the original source

Re: [flexcoders] Re: Are other developers hesitant to extend existing classes in Flex?

2007-02-22 Thread Doug McCune
If you want to say that we shouldn't rely on needing access to any private variables, it's only a small difference to say it's OK to rely on mx_internal variables. The internal vars are marked as such because they might change in future releases. So if the objection is that your code might break

Re: [flexcoders] Re: Creating Thumbnails from large images on the fly. Possible?

2007-02-22 Thread Doug McCune
I don't think this is possible, you need server side code of some sort to give you the thumbnail image. You might be able to initiate the loading of the file and halt it mid-way, then try to render the partially loaded data as an image, but that's going to be difficult (especially depending on

Re: [flexcoders] Re: Best way for editing massive amounts of data?

2007-02-26 Thread Doug McCune
I don't have a suggestion right now, but just in terms of why this might not elicit a response from the flex community, this isn't a flex question. It's a UI question that is the same question if you're talking about building a UI in flex, HTML, Java, .NET, etc etc. I don't think there are going

Re: [flexcoders] Multiple TrackHighLight for a slider without thumbs

2007-02-26 Thread Doug McCune
My initial reaction is to suggest using two HSliders, one overlaid directly on top of the other. For the bottom one, set the skin for the thumb to draw nothing, so the thumbs won't appear. For the top one set the skin for the track to a skin that draws nothing. So what you would end up seeing is

Re: [flexcoders] Dynamically creating a text object

2007-02-26 Thread Doug McCune
Does flipping the canvas clear all the content, or does it simply make your text disappear? Rotating text means you must embed the font that's used. Otherwise the text will be invisible if any rotation is applied. Doug On 2/25/07, Guy Morton [EMAIL PROTECTED] wrote: Nope, adding the text

Re: [flexcoders] Dispatching an event between 2 classes -

2007-02-28 Thread Doug McCune
In your caption class do you have the call to dispatchEvent? try this: var evt:MeEvent = new MeEvent(MeEvent.STOP); this.dispatchEvent(MeEvent); Doug On 2/27/07, Patrick Lemiuex [EMAIL PROTECTED] wrote: Flex People... Please help... I have two classes fully loaded with inheritance...

Re: [flexcoders] Basic inheritance question

2007-02-28 Thread Doug McCune
The docs are telling you that event.currentTarget is typed to DisplayObject, which is higher in the inheritance chain that UIComponent. So to use setStyle you've got to type-cast event.currentTarget to either UIComponent, or some type below UIComponent in the inheritance chain. So typecasting to

[flexcoders] Announcing FlexLib - open source flex component library

2007-02-28 Thread Doug McCune
I'm pleased to announce FlexLib: a new open-source project for Flex 2 components. This project is a Google Code hosted project, released under the MIT license. I've been working with Darron Schall, Mike Chambers and Ted Patrick to get the project up and running. We're hoping to build a

Re: [flexcoders] Re: how do you call the super's super?

2007-03-01 Thread Doug McCune
I've often run into wanting to call grandParent.super() instead of parent.super(), even when parent.super() will do a call to grandParent.super() anyway. The reason for this is to override parent.super while preserving the functionality of grandParent.super. For example, if you're overriding

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Doug McCune
have one question... why the emphasis on pure AS3 vs. MXML? -Engkee --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: I'm pleased to announce FlexLib: a new open-source project for Flex 2 components. This project is a Google Code hosted

Re: [flexcoders] Can Flex really compete with AJAX?

2007-03-01 Thread Doug McCune
I like this approach, post a completely vague question, then conclude that Flex is worthless because other Flex users don't answer a question they don't understand. Like Clint, I don't know what you mean by dynamic id's. Maybe try posting an example of what you're trying to do with Javascript

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-03 Thread Doug McCune
Hey, sorry we haven't replied about you trying to use the SWC. I'm working on getting a new zip file uploaded to the project page that has the SWC and a sample app to show how to use the components. We're having some issues with Google Code, but Ihopefully we'll get something up in the next few

Re: [flexcoders] image hotspots

2007-03-06 Thread Doug McCune
I was just talking to someone here at 360Flex last night about this. Basically he wanted a component that was the same as an image map in HTML, so you could specify different areas with points, and a specific URL for each one. I'm going to work on trying to build this component, hopefully it

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-06 Thread Doug McCune
Doug McCune wrote: Hey, sorry we haven't replied about you trying to use the SWC. I'm working on getting a new zip file uploaded to the project page that has the SWC and a sample app to show how to use the components. We're having some issues with Google Code, but Ihopefully we'll get something

Re: [flexcoders] Re: When to use Flex???

2007-03-09 Thread Doug McCune
I'll throw in a quick opinion here and talk about how I like to think about using Flex. Basically if you've got data you need to visualize in any non-boring way then Flex is the way to go. What this means is that if you've got a bunch of data that you want to show somehow other than dropping it

Re: [flexcoders] custom charting component question

2007-03-09 Thread Doug McCune
booyah! good work Brendan. If you grab the newest version of the slider from flexlib you can have both those datatips show up at once (and both thumbs get highlighted). awesome example. I love it when someone asks a question and a day or two later someone else just goes ahead and does it. Doug

Re: [flexcoders] popup menu icons duplicated

2007-03-10 Thread Doug McCune
Yeah, I ran into this one. I'm going to bet that you're setting the dataprovider of the popupmenubutton with Object objects (as opposed to XML or something else). There's a bug in the component. Try setting the type property of the Object to an empty string. So your code might look like this:

Re: [flexcoders] FlexLib PromptingTextInput bug?

2007-03-14 Thread Doug McCune
Quick one-liner fixed the bug. New source is uploaded to FlexLib, and a new .zip package is available. Grab it again from http://flexlib.net Doug On 14 Mar 2007 18:21:56 -0700, Kevin [EMAIL PROTECTED] wrote: If you want to view this problem you'll need the PromptingTextInput component

Re: [flexcoders] FlexLib PromptingTextInput bug?

2007-03-14 Thread Doug McCune
, but to speed my search, can you let me know what line fixed it? thanks, Kevin On Mar 14, 2007, at 10:08 PM, Doug McCune wrote: Quick one-liner fixed the bug. New source is uploaded to FlexLib, and a new .zip package is available. Grab it again from http://flexlib.net Doug On 14 Mar 2007 18

Re: [flexcoders]

2007-03-15 Thread Doug McCune
I'll agree that an event dispatching method is sort of the correct way to go. But if you want a quick way that will work, you could have a bindable public variable named job_id in both your JobSearch and Timeline3 components and then use data binding to bind the job_id in Timeline3 to the job_id

Re: [flexcoders] Re: Accordion Redux, Icons

2007-03-15 Thread Doug McCune
Hey, no problem! For more fun join the flexcoders-sarcasm email list, we all get to write fun sarcastic emails all day long! :P Let's all play nice. Thanks for posting your solution back to the list. Doug On 3/15/07, lostinrecursion [EMAIL PROTECTED] wrote: A little digging unearthed the

Re: [flexcoders] HSlider and in-line Item Editor(Renderer)

2007-03-15 Thread Doug McCune
It's definitely possible, I did that when I was playing with making a Gantt chart. I think I made a wrapper class that loaded the HSlider, but you should be able to just extend HSlider as well. Your general idea of extending HSlider and implementing the correct interfaces should work. What makes

Re: [flexcoders] Re: Will there be a microsoft project like gantt chart in new versions of flex?

2007-03-17 Thread Doug McCune
Bah, vaporware!?! Yeah, ok, so you're right to think that I wasn't planning on spending alot of time on that Gantt chart component, and I realize that example is VERY basic and not even close to a complete gantt chart component, but making it into a better component is in the back of my mind. And

Re: [flexcoders] Re: copying bitmap data

2007-03-21 Thread Doug McCune
if you just want a quick way to make your code work, try this: private function myDrawing():void{ var myBitmapData:BitmapData = new BitmapData(530, 445); myBitmapData.draw(myWorkspace1); var bmp:Bitmap = new Bitmap(myBitmapData); var uiComp:UIComponent = new UIComponent(); uiComp.addChild(bmp);

Re: [flexcoders] Re: Using Check Box as Item Renderer allows CLICKING

2007-03-21 Thread Doug McCune
Or make your own programmatic skin for the CheckBox. Go grab mx.skins.halo.CheckBoxIcon, save your own copy and modify it so it draws the same thing for disabledIcon as it does for upIcon (and make selectedDisabledIcon be the same as selectedUpIcon). Then set the skin in CSS or inline MXML and

Re: [flexcoders] Re: How do I get the ControlBar to show at the t op of my Panel?

2007-03-21 Thread Doug McCune
How about this? http://dougmccune.com/blog/2007/03/21/flex-panel-component-with-controlbar-docked-to-the-top-instead-of-bottom/ Doug On 21 Mar 2007 15:39:52 -0700, Ashish Goyal [EMAIL PROTECTED] wrote: I'm not sure. If it doesn't work inside the Panel then you can also place it on top of

Re: [flexcoders] Announcing SearchCoders/Flex: the fast and easy way to search the FlexCoders archive

2007-03-22 Thread Doug McCune
Now I'm not saying sites like this one and the Flex forum that someone recently launched aren't useful... but they're not useful to me. I obviously gotta be careful if I criticize a Flex community resource since I'm involved in one as well. But I'm getting the feeling like these info aggregator

Re: [flexcoders] Cool A** Buttons

2007-03-22 Thread Doug McCune
Those are png images. Sorry, I think you emailed me directly, I meant to reply but forgot until I just saw this post. Do a google search for Adobe CS3 icons and you can download all the new Adobe icons. You could try to draw a similar icon in AS, but that would be a pain and I already had the

Re: [flexcoders] OS X Dock implemented in Flex

2007-03-23 Thread Doug McCune
Nice work! I was going to do the same thing. If you post your code I might add to it. The only main difference was mine was going to have bouncy icons to indicate loading. If you enable bitmap smoothing on your icons they'll look a lot sweeter at those small sizes and as they zoom. Doug On 23

Re: [flexcoders] OS X Dock implemented in Flex

2007-03-23 Thread Doug McCune
I'm working on getting the source for that released, honestly. I'm about to add the Fire effect as a component to flexlib (next day or two), I wanted to get that done before I published the source of that mashup since it uses the fire. But I'm definitely working on getting the source out to

Re: [flexcoders] Binding to Data Model from flexlib PromptingTextInput

2007-03-25 Thread Doug McCune
Kevin, I'll be patching the PromptingTextInput to get data binding working correctly. I'll do that later tonight probably. In case you want a solution right now, you can edit the source of PromptingTextInput.as. Find the part that has the [Bindable] metadata tag for the text property. Instead

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Doug McCune
What are you trying to do? Say you've got: _ item 1 _ item 2 _ item 3 _ item 4 _ item 5 _ item 6 If I click the checkbox on item 2, then I click the checkbox on item 5, is that supposed to select all items between item 2 and item 5? So would it then look like: _ item 1 * item 2 * item 3 * item

Re: [flexcoders] Re: New Adobe Products and Flex

2007-03-27 Thread Doug McCune
We're talking about a company (Macromedia) that had code names for products like Blaze and 8 Ball. Somehow a product release date of 4/20 seems to make sense... On 27 Mar 2007 17:02:19 -0700, Nancy Gill [EMAIL PROTECTED] wrote: ah .. Amazon. I heard they jumped their NDA by close to a

Re: [flexcoders] List Control with checkbox items

2007-03-27 Thread Doug McCune
Not sure if this is what you were asking, but here's what I came up with: http://dougmccune.com/blog/2007/03/27/list-control-for-the-one-armed-man/ Doug On 3/27/07, Rick Root [EMAIL PROTECTED] wrote: On 3/27/07, Clint Tredway [EMAIL PROTECTED] wrote: here is a couple of ideas. (I didnt

Re: [flexcoders] Is anybody else getting duplicate messages?

2007-03-28 Thread Doug McCune
I've been getting 2 sometimes 3 copies of many messages. It's quite annoying and this is on top of an already high volume list. On 3/28/07, Cutter (Flex Related) [EMAIL PROTECTED] wrote: Yes, quite a few times today Steve Cutter Blades Adobe Certified Professional Advanced Macromedia

Re: [flexcoders] Re: Make a component 'modal'

2007-03-30 Thread Doug McCune
another option would be to remove the component from the displaylist, swap in a spacer component that was the same size, then use the PopUpManager to redisplay your component, place it in the exact pixel location it was before and make it a modal popup. Then when you want to give focus back to

Re: [flexcoders] is there a simple way to center a loaded image?

2007-04-01 Thread Doug McCune
What about using a VBox or a HBox instead of Canvas and using the horizontalAlign=center attribute? horizontalAlign isn't available for canvas, but it is for the box containers. Doug On 01 Apr 2007 18:03:31 -0700, Bjorn Schultheiss [EMAIL PROTECTED] wrote: try this override protected

Re: [flexcoders] visual effect of mouse over using dispatchEvent

2007-04-01 Thread Doug McCune
So this is a little shady, but should work. You can set the phase attribute of a button with Actionscript. It's marked as mx_internal, so the usual disclaimer goes along with doing this: it's subject to change in future releases, yadda yadda... But if you want something that works, here you go.

Re: [flexcoders] 360Flex vs. Adobe MAX - which would you attend?

2007-04-09 Thread Doug McCune
I've never been to MAX (probably going this year) but if you're a Flex developer and you want a job, I'd recommend going to 360Flex. The last one was a recruiting orgy, and I think the next one will be even more so. And the organizers have high expectations to live up to now after 360Flex in San

Re: [flexcoders] SCROLL for MENU

2007-04-10 Thread Doug McCune
I made some scrollable menu components. They're in FlexLib. You can get the source by checking out the project at http://www.flexlib.net. Here's a link to the scrollable menu example: http://flexlib.googlecode.com/svn/trunk/examples/ScrollableMenus/ScrollableMenu_Sample.swf Doug On 09 Apr 2007

Re: [flexcoders] Overwrite Skin to NULL

2007-04-17 Thread Doug McCune
How about setting it back to what it was by default? Try .panel { borderSkin: ClassReference(mx.skins.halo.HaloBorder); border-alpha: 1; border-color: #ff; } On 17 Apr 2007 07:58:18 -0700, Devin [EMAIL PROTECTED] wrote: I've noticed if you put a skin in place then you can't create

Re: [flexcoders] Re: Load Display Image from FileReference

2007-05-11 Thread Doug McCune
You can't. FileReference doesn't give you any access to the data in a file. You need to send the file to a server, then download it from the server to be able to do anything with the File. If you're making an Apollo app then that's a different story, but for a web-based Flex app all files have to

Re: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser?

2007-05-11 Thread Doug McCune
Just thinking out loud, if your Swing app placed some data in the clipboard, like a description of what was being dragged, and then your Flex app had a rollOver event that checked if there's the appropriate data in the clipboard, if so show a visual indicator of what's being dragged in the flex

Re: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser?

2007-05-11 Thread Doug McCune
[mailto:[EMAIL PROTECTED] *On Behalf Of *Doug McCune *Sent:* Friday, May 11, 2007 10:29 AM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] can you drag and drop from a Swing application to a Flex one in browser? Just thinking out loud, if your Swing app placed some data

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-17 Thread Doug McCune
Yeah, ummm, my advice would be ignore that article. That's one of the effects of having an article submission process that allows anyone to submit anything. I know the cookbook is supposed to be user generated and reviewed, but anyone from Adobe want to exercise a little editorial control? I

Re: [flexcoders] Really complex buttons (aka what WPF got right)

2007-06-01 Thread Doug McCune
How about this: http://dougmccune.com/blog/2007/06/01/new-component-canvasbutton-added-to-flexlib/ Doug On 6/1/07, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Borek. I can give you the short answer, which is that composition is an important goal of the flex framework. But we have two

Re: [flexcoders] Chart snapshots

2007-06-03 Thread Doug McCune
This doesn't get you a 100% solution, but maybe it's good enough for you: http://dougmccune.com/blog/2007/06/03/save-a-snapshot-image-of-a-flex-app-without-a-server/ It opens a popup window with a snapshot image of whatever Flex component you specify. The user can then right click and copy or

Re: [flexcoders] Trouble skinning HSlider

2007-06-05 Thread Doug McCune
Extend mx.controls.sliderClasses.SliderThumb override the measure() function with something like this: override protected function measure():void { super.measure(); measuredWidth = THE_WIDTH_YOU_WANT; measuredHeight = THE_HEIGHT_YOU_WANT; } Then set the

Re: [flexcoders]Can't convert XML to ArrayCollection in AS3

2007-06-08 Thread Doug McCune
XMLListCollection has a toArray() method. So maybe: var ac:ArrayCollection = new ArrayCollection(new XMLListCollection(xml.menuas XMLList).toArray()); it might be a bit nicer written on more than one line, but you get the idea. Doug On 6/8/07, dorkie dork from dorktown [EMAIL PROTECTED]

Re: [flexcoders] Re: Using [Event...] in Custom Classes

2007-08-25 Thread Doug McCune
Yeah, here's the way I think it works in the current FB 3 release anyway (which is the way ben described too): You put metadata in your class, something like: [Event(name=myEvent, type=com.me.MyEvent)] So then you type: myClass.addEventListener( and then the auto events come up in the list that

Re: [flexcoders] Where to learn intermediate/advanced Flex?

2007-08-30 Thread Doug McCune
Dive into the Framework source. IMO that's the best thing to study. Figure out how Adobe made all the components in the Framework. Pick something that you don't like about one of the framework components and try to change it. Subclass the framework class you want to alter and hack away. If you

Re: [flexcoders] AS3 Components?

2007-08-31 Thread Doug McCune
FlexLib is Flex-framework dependent, I think Jesse was asking about AS3, non-Flex libraries (ie you can use them in Flash projects). Doug On 8/31/07, greg h [EMAIL PROTECTED] wrote: flexlib.net now redirecting to: http://code.google.com/p/flexlib/ and also now including: Flex

Re: [flexcoders] AS3 Components?

2007-08-31 Thread Doug McCune
touche On 8/31/07, Michael Schmalle [EMAIL PROTECTED] wrote: Doug, How can you use 'Flex 2 SDKhttp://www.adobe.com/products/flex/downloads/' in Flash CS3 ? Peace, Mike On 8/31/07, Doug McCune [EMAIL PROTECTED] wrote: FlexLib is Flex-framework dependent, I think Jesse was asking

Re: [flexcoders] Re: Flex eye candy source

2007-09-10 Thread Doug McCune
Here's that app stepped up a notch: http://dougmccune.com/blog/2007/03/27/updated-mxna-rss-reader-flex-app-now-with-source/ I posted the code for that one. Doug On 9/10/07, Abyss Knight [EMAIL PROTECTED] wrote: Most likely its from here, the cube effect that is:

Re: [flexcoders] Re: Breakpoint jumps away

2007-09-11 Thread Doug McCune
I've seen this mostly when you're debugging code that was compiled, then you altered the code and are still debugging the old one. So if you're debugging and then you add in 2 whitespace lines to the code, the debugger gets thrown off by two lines. I've also seen this when I try to debug a module

  1   2   3   >