Re: [flexcoders] Model and Forms

2007-04-21 Thread Michael Wills
if you want it to be changeable in MXML or if you want it on the validator etc. Perhaps one of the more experienced folks will supply an answer. If not, hope it helps! Michael Luis Eduardo wrote: Is there a way to bind the maxChars of a TextInput on an entry of my Model? the length o

Re: [flexcoders] PopupButton, newbie can't get selected data

2007-04-21 Thread Michael Wills
e able to pull the selected data directly but the docs don't mention that as an option. It only talks about the itemClick and click events. Hope that helps, Michael fredsells wrote: I've got a data entry "dialog" with a PopUpButton control. Although I can get the data val

Re: [flexcoders] trying here- get an image name and the images itself to load

2007-04-22 Thread Michael Wills
ta source image_name_txt.text = [EMAIL PROTECTED]; mainImage.source = [EMAIL PROTECTED]; } I'm not sure if you are using the HorizontalList for your thumb scroller on the bottom, just a guess. Hopefully that helps a little, Michael shawn.gibson wrote: I swear to god I'm doi

Re: [flexcoders] TRUNCATING a ComboBox text?

2007-04-22 Thread Michael Wills
And this has a helper function for intelligently truncating a string: http://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/ Michael Steve Kellogg wrote: Hello, The standard behavior for a combobox is to grow in width until it's wide enough to display the current sele

Re: [flexcoders] TRUNCATING a ComboBox text?

2007-04-22 Thread Michael Wills
Have you tried maxWidth? I am not sure how it handles the truncation though. Michael Steve Kellogg wrote: Hello, The standard behavior for a combobox is to grow in width until it's wide enough to display the current selection. Is there anyway to tell a ComboBox to Truncat

Re: [flexcoders] Re: trying here- get an image name and the images itself to load

2007-04-22 Thread Michael Wills
No problem. I know the pain, believe me. I'm working on an app now as I am starting out with Flex and decided to dive in with Cairngorm for it. There is definitely a learning curve but it really helps with the separation. Glad it worked out for you there. Michael shawn.gibson

Re: [flexcoders] Canvas scrollbars not appearing

2007-04-23 Thread Michael Schmalle
Hi, Sounds to me from what you have explained, you have not called setActualSize() on the canvas instance in your custom component;s updateDisplayList() method. Did you ? IE canvas.setActualSize(canvas.getExplicitOrMeasuredWidth(), canvas.getExplicitOrMeasuredHeight()) Peace, Mike On 4/22/07

Re: [flexcoders] Percentage Sizing Issues

2007-04-23 Thread Michael Schmalle
Hi, try; panel.minHeight = 0; You are telling the layoutManager to disregard the measured sizes for the actual panel and use unscaledWidth and height that has been set from it's parent. Peace, Mike On 4/23/07, Matt <[EMAIL PROTECTED]> wrote: I'm trying to lay out a relatively complex site

Re: [flexcoders] Testing if a datatyped variable is not set yet

2007-04-23 Thread Michael Schmalle
Hi, another lazy way; function selectPlayer() { if(Player && Player.LAST_SELECTED == null){ Player.LAST_SELECTED = this; } } Peace, Mike On 4/23/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I have a class, "Player" that with a "selectPlayer" method. I want "selectPlayer" to

Re: [flexcoders] Testing if a datatyped variable is not set yet

2007-04-23 Thread Michael Schmalle
Read the post wrong, disregard. :) didn't realize that was a class. why can't you write; if (Player.LAST_SELECTED) { // reset last player // set new last player } Mike On 4/23/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, another lazy way; function selectP

Re: [flexcoders] encode & +

2007-04-24 Thread Michael Wills
Are you using encodeURI? You may need to use encodeURIComponent instead. Just checking briefly on the JS versions. Michael Jesse Warden wrote: Running encode on a String seems to be missing the +. For example, a space " " becomes %20 like expected. But, a + is not becoming %2D... a

[flexcoders] yahoomaps POI marker click event, htmltext asfunction

2007-04-24 Thread Michael Wills
ng if it's been done, and eagerly anticipating a true AS3 map component. The new AS3 "event:" protocol of course isn't recognized by the Flash 8 interpreter and so it's not available. So I was hoping it would be something like: markerDesction = "" Is that a possibility at all? Thanks, Michael

Re: [flexcoders] Re: encode & +

2007-04-24 Thread Michael Wills
believe. Are you using the built in Base64Encoder class or your own code? I've heard of a non-documented built-in utility class for base64 encode/decoding. Just curious about what you were using. Thanks, Michael Doug Lowder wrote: Yes, that's it exactly and Adobe got it right

Re: [flexcoders] yahoomaps POI marker click event, htmltext asfunction

2007-04-24 Thread Michael Wills
For clarification, the idea is simply to allow a marker to be clicked to open it, but then trigger an event/call a function in the cairngorm app when clicking on a link in the description. Thanks, Michael Michael Wills wrote: > > Hello all, > > Just wondering if it'

Re: [flexcoders] SWF Loading and Query Strings

2007-04-24 Thread Michael Wills
swf%3Ftest%3Datest I'm not sure if you're experiencing this though, but just thought it might be worth a try if it hasn't been solved yet. Michael jay.baird wrote: > > Hi all, > > Here's the scenario: > > We've got a SWF we're trying to load with a

Re: [flexcoders] Getting Index of Array Collection from current Mouse Position in areaChart

2007-04-24 Thread Michael Wills
Hi Patrick, I'm not sure if this will help, but you can listen for an itemRollOver event on your area chart. That will trigger an ChartItemEvent which in it has "hitData" and "hitSet" which info on the items that triggered the event. Perhaps you can get the actual

Re: [flexcoders] Sprite.graphics: read-only or not?

2007-04-25 Thread Michael Schmalle
Hi, A read-only property means that you can read it but not set it. You cannot do; mySprite.graphics = myOtherSprite.graphics or mySprite.graphics = new Graphics(); It means that you a 'calling' methods and properties and not setting the actual property explicitly. Peace, Mike On 4/25/07,

Re: [flexcoders] E4X Syntax with XMLList

2007-04-25 Thread Michael Wills
Hey there Bruce, For that one I believe you would need something like x = cbData.menu.(@label == 'M')[EMAIL PROTECTED]; and you might need to do a .toString() or even cast it to a Number depending on what you need to do with it. Michael boy_trike wrote: > > I am having pr

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
ding but that could be VERY useful when dynamically resizing. Thank you to you both. I'll give these a shot and see if there is any progress with it. Michael Benoit Hediard wrote: > > Are you sure you can catch events generated by an href link in the > description htmlT

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
7;t be as necessary... keeping fingers crossed. :-) Thanks for the inspiration all, Michael Michael Wills wrote: > Yeah the POI marker click event is fine and quite useful. I think it was > after reading your post Anupam. :-) However after that, I can't trigger > anything in the Ca

Re: [flexcoders] Solved - Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
ta. Cool. I think that was all I did. THAT was an education. Thanks again for your help! Michael Michael Wills wrote: One more tidbit, using the XPanel logger, logging "this" from the map, getting it's path (_root.mapClip in this case) I can now call functions from the map it

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-25 Thread Michael Wills
ng won't be as necessary... keeping fingers crossed. :-) Thanks for the inspiration all, Michael Michael Wills wrote: > Yeah the POI marker click event is fine and quite useful. I think it was > after reading your post Anupam. :-) However after that, I can't trigger > anything

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-26 Thread Michael Wills
bout adding the setMapSize snippet in the MapController.as. It sized fine when first loading but that could be VERY useful when dynamically resizing. Thank you to you both. I'll give these a shot and see if there is any progress with it. Michael Benoit Hediard wrote: Are you sure you can

Re: [flexcoders] Re: yahoomaps POI marker click event, htmltext asfunction

2007-04-26 Thread Michael Wills
Many thanks! Michael anupam_81 wrote: > > Hi All, > I was just googleing the "asfunction" and found this link > > http://livedocs.adobe.com/flex/2/langref/migration.html > <http://livedocs.adobe.com/flex/2/langref/migration.html> > > See that asfunction

Re: [flexcoders] Error #1034: Type Coercion failed

2007-04-26 Thread Michael Wills
Would it help to make your HTTPService resultFormat "e4x" and not use mx:Model for categorienAC, but rather use an XMLList? Hope that helps, Michael rdeijkers wrote: I'm trying to fill a Tile with the contents of an xml file. This is my mxml code: http://www.adob

Re: [flexcoders] Programatic Icon

2007-04-27 Thread Michael Schmalle
Hi, The simple answer is no. Why? The titleIcon class is of type Class. This class cannot be subclassed. My advice to you is create a subclass of TitleWindow and create the method you are talking about there. Since you cannot load icons at runtime, you could create a simple iconLibraryModule

Re: [flexcoders] Programatic Icon

2007-04-27 Thread Michael Schmalle
Wow, I messed up. I need to rethink this, I was thinking about something else. IFlexDisplayObject is right. :) Peace, Mike On 4/27/07, Manish Jethani <[EMAIL PROTECTED]> wrote: From what I understand, you want to be able to change the icon based on the state of your window. You can do this

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
it's supposed to work. It should > work, because everything is a class, but it might not know what to do > with it. > > Paul > > Michael Schmalle wrote: > > Hi, > > > > The simple answer is no. > > > > Why? > > > > The titleIcon cla

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
. In your color property, call validateDisplayList(); that will do the trick. Peace, Mike On 4/27/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, For one I see you are missing; graphics.clear(); Try that, I don't think you are erasing the old color. Peace, Mike PS hehe

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
ned method doIconColor) So the question now becomes, how do I call a function of my Icon class? Thanks for any suggestions! Paul --- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Ah, > > I know why you are not seeing updateDisplayLis

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
[EMAIL PROTECTED] to Namespace. Are you sure it's not Friday the 13th? Paul --- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > HAHA, > > Man, it must be Friday. > > Ok, the problem is this; > > titleIcon is the setter

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
caledHeight:Number):void { super.updateDisplayList(unscaledWidth, unscaledHeight); graphics.clear(); graphics.beginFill(_color, 1); graphics.drawRect(0, 0, unscaledWidth, unscaledHeight); graphics.endFill(); } } } Peace, Mike On 4/27/07, Michael Schmalle

Re: [flexcoders] Re: Programatic Icon

2007-04-27 Thread Michael Schmalle
elock <[EMAIL PROTECTED]> wrote: It works perfectly now! Maybe I should be listening to whatever music you're listening to :-) I guess I'm going to have to do some studying on mx_internal as I haven't explored that yet. Thank you very much! Paul --- In flexcoders@yahoogrou

Re: [flexcoders] Your favorite horizontal menu arrangement

2007-04-27 Thread Michael Wills
I haven't done this thing specifically but take a look at this link here. Maybe it will help: http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=controls_059_15.html Michael mapper2255 wrote: Hello, Putting up a 100%

Re: [flexcoders] Re: Programatic Icon

2007-04-28 Thread Michael Schmalle
ponent).getStyle("arrowColor"); } } graphics.clear(); graphics.beginFill(_color, 1); graphics.drawRect(0, 0, unscaledWidth, unscaledHeight); graphics.endFill(); } Might be possible to improve the logic in the part where it gets the style. Paul Michael Schmalle wrote: > Ok, I got it; &

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Hi, Don't quote me but, I think it has to do that you do not have a parent on your main VBox instance. I don't think createComponentsFromDescriptors() is called until parentChanged() or something is called (IE the parent VBox actually has a parent). This shouldn't be a problem, the timing of i

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
the flow, new VBox() "I was wrong about the constructor calling initialize()" :) addChild() - addChildAt() - childAdded() - initialize() - createChildren() Peace, Mike On 4/30/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Ha it's the morni

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
alize(). Peace, Mike On 4/30/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, Don't quote me but, I think it has to do that you do not have a parent on your main VBox instance. I don't think createComponentsFromDescriptors() is called until parentChanged() or something is

Re: [flexcoders] Re: creating instances, addChild question

2007-04-30 Thread Michael Schmalle
AIL PROTECTED]> wrote: Thanks Mike If i want to create a new instance of an mxml component, how can i ensure its children get created as well. --- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > the flow, > > new VBox() >

Re: [flexcoders] creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Yeah Gordon, you can say it with 2 sentences. Peace, Mike On 4/30/07, Gordon Smith <[EMAIL PROTECTED]> wrote: > when i create an instance of MyPrintView, its children are not created. why is that? > if you addChild() to the Applicationthey are created. why is that? The reason that compo

Re: [flexcoders] Re: creating instances, addChild question

2007-04-30 Thread Michael Schmalle
Gordon, I must say when you look at it(instantiation), it's a very strong algorithm at that :) It's also nice to know that the impact of calling new before the display list cares is really important for some component's performance. Peace, Mike On 4/30/07, Gordon Smith <[EMAIL PROTECTED]> wrot

Re: [flexcoders] Dynamic icons for LinkButton?

2007-05-01 Thread Michael Schmalle
Hi, One way is to create an AssetsLibrary. [Embed(source="images/IExtendLogo.png")] public var IExtendLogo:Class; public static function getIcon(name:String):Class { return Class(this[name]); } Create a public static getInstance() method that returns a single instance of the library. Imple

Re: [flexcoders] Remove Row from XMLList

2007-05-01 Thread Michael Schmalle
Try; menuOptionsData[1] = null; Or delete menuOptionsData[1]; Peace, Mike On 5/1/07, boy_trike <[EMAIL PROTECTED]> wrote: I have an XMLList that controls the options a user can get to. It looks like the following: I want to REMOVE the purchasing line. Can someone help me with the s

Re: [flexcoders] Re: Remove Row from XMLList Good news / Bad news

2007-05-01 Thread Michael Schmalle
ill there in the list when I click on the button. Should I be removing the data from the popupMenuButton directly? or is there a way to refresh the button display? thanks Bruce --- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Try;

Re: [flexcoders] Re: navigateToURL

2007-05-01 Thread Michael Wills
I've used Xampp before for many different things and I've never had any special requirements. It's odd. I even pasted your sample code in the online flex compiler at try.flex.org and it worked fine there. Does your bin/ directory or FlashSite2 directory have any permissions is

Re: [flexcoders] Coding Standards

2007-05-01 Thread Michael Wills
There is a nice PDF which was helpful for me. I'm new to Flex, AS3, etc. Ah, just found it: http://blog.dclick.com.br/2007/02/13/adobe_flex_coding_guidelines_english/ Is that along the lines of what you are looking for? Michael vargomike wrote: > > Hi all... I have lots of questi

Re: [flexcoders] Conor Marnane

2007-05-01 Thread Michael Schmalle
Word, I second it and the email needs to be taken off by a moderator. If two people are getting hassled by these crap emails. Time to go. :) Mike On 5/1/07, Weyert de Boer <[EMAIL PROTECTED]> wrote: Can someone delete Conor Marnane from this list? I am keep getting: This is an automatical

Re: [flexcoders] Is it possible for a TitleWindow to open another TitleWindow?

2007-05-02 Thread Michael Schmalle
Hi, Well, if I understand what you are saying, just create a creationComplete handler on the parent window. In that handler call PopUpManager.addPopUp() for the child window. Peace, Mike On 5/2/07, bruce1976 <[EMAIL PROTECTED]> wrote: Hi, I haven't taken the time to try this out yet, but

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Opps, if (stringid is StringId) This should have been if (stringid is Id) I guess. :) Peace, Mike On 5/4/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: Hi, > var sid2 :StringId = "ID_101-102-103"; There is no way you can do that. AS3 uses typing and that i

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Hi, var sid2 :StringId = "ID_101-102-103"; There is no way you can do that. AS3 uses typing and that is all you are doing. The "" is the string constructor and there is no way to change that. If I understand what you are asking there is something you can use so you don't have to use toString

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
--- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Opps, > > if (stringid is StringId) > > This should have been > > if (stringid is Id) > > > I guess. :) > > Peace, Mike > > > On 5/4/07, Michael Schmal

Re: [flexcoders] display hand cursor on flex chart

2007-05-04 Thread Michael Wills
I'm not sure about charts, but I just tried this out with a ButtonBar. You set the useHandCursor = true, but you also have to set buttonMode = true as well. You may also need to set mouseChildren = false. Hope that helps, Michael Raider226 wrote: Hi all, Does anyone know how to di

Re: [flexcoders] Acessing stage Height

2007-05-04 Thread Michael Wills
Hmm... sorry newbie here. So it's returning null because "this", the _preloader, hasn't actually been instantiated yet? But if this were called after applicationComplete then it would be fine? Michael Alex Harui wrote: There is an evil nasty trick in Flex that your compo

Re: [flexcoders] Acessing stage Height

2007-05-04 Thread Michael Wills
Do you want the height of the entire stage, i.e. of the whole Flex app? I believe you can get to that through Application.application.height. Have you tried that? Hope that helps, Michael patricklemiuex wrote: > > I have a sprite, it's added to the display... > > I understand

[flexcoders] Component release :: TaskPaneFX drawer component set

2007-05-04 Thread Michael Schmalle
Hi, I would just like to announce the TaskPaneFX, TaskListFX and TitleBarControl set. These components are jam packed with functionality. Product page; http://www.teotigraphix.com/components/containers/taskpanefx SWF Explorer http://www.teotigraphix.com/components/containers/taskpanefx/explore

Re: [flexcoders] Tree/Accordion Type Component?

2007-05-07 Thread Michael Schmalle
Hi, You could check out; http://www.teotigraphix.com/components/containers/taskpanefx I you were interested, I could implement the task pane with indentation of the task list components. Mike On 5/7/07, Jon Bradley <[EMAIL PROTECTED]> wrote: Hey all, Looking to see if anyone has develop

Re: [flexcoders] Re: Tree/Accordion Type Component?

2007-05-07 Thread Michael Schmalle
ed that out too... think "Lightroom" style panels. :o) > > ... that's quite a darn useful component you got there. I guess I > might just have to reinvent the wheel (at least for this specific > instance). > > cheers, > > jon > > On M

Re: [flexcoders] Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
Hi, As it is the Box disregaurds x and y. My advice as a component developer is, subclass the Box and create a bottomRenderer property that is IFactory. Create a method that overrides layoutChrome() and layout the renderer based on your required dimensions. This instance would be added to rawChi

Re: [flexcoders] Re: Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
One way you could do this is with a Spacer before the last child box to push it to the bottom. Nice 'n' easy in static mxml. That is an easy way also if you do not have flexible children. When I was answering his question I was seeing in my head a layout independent of the view children. Peace,

Re: [flexcoders] Re: Pin a single child element to the bottom of a parent VBox?

2007-05-07 Thread Michael Schmalle
Ian, Let me ask, what are your intentions? What is the purpose of the pinned instance? Then I could explain why I over engineered what Doug put so simply :) Peace, Mike On 5/7/07, Michael Schmalle <[EMAIL PROTECTED]> wrote: > One way you could do this is with a Spacer before the l

Re: [flexcoders] Alpha not fading lable.

2007-05-08 Thread Michael Schmalle
Did you embed the font? Non embedded fonts will not respond to alphas. The only work around is using a dissolve with the parents background color. Peace, Mike On 5/8/07, Ian Skinner <[EMAIL PROTECTED]> wrote: Am I attempting to use the alpha property incorrectly? I expected this to prod

[flexcoders] rpc fault handler not called

2007-05-10 Thread Michael Allman
eResponder::statusHandler() at mx.messaging::MessageResponder/status() whenever I receive a fault. Thanks a bunch! Michael

[flexcoders] Re: rpc fault handler not called

2007-05-10 Thread Michael Allman
pc stuff in order to understand what's going on. Unfortunately, that appears to be under wraps. Thanks for your help. Michael On Thu, 10 May 2007, Michael Allman wrote: > Hi, > > Can anyone tell me how to get Flex to call a fault handler associated with > an rpc call? This i

RE: [flexcoders] Re: rpc fault handler not called

2007-05-10 Thread Michael Allman
According to the docs on AsyncToken, it's supposed to be attached to FaultEvents. Thanks. Michael On Thu, 10 May 2007, Tracy Spratt wrote: > I am just suggesting that you simplify the conditions by not using a > responder function. Instead, just put a string in the AsyncToken, an

[flexcoders] dragOver event not properly dispatched in tree?

2007-05-11 Thread Michael Imhoff
ed folders post: http://flexibleexperiments.wordpress.com/2007/01/25/flex-20-tree-with-spring -loaded-folders/ Is this the case? Does anyone know of a workaround? Thanks for any suggestions or feedback you may have, Michael

Re: [flexcoders] Changing alpha for modal window?

2007-05-16 Thread Michael Schmalle
Hi, var global:CSSStyleDeclaration = StyleManager.getStyleDeclaration("global"); global.setStyle("modalTransparency", 50); Peace, Mike On 5/15/07, candysmate <[EMAIL PROTECTED]> wrote: I've used _global.style.modalTransparency = 50; to change the alpha of a modal window in Flash in the pas

Re: [flexcoders] Re: anyone using HTMLcomponent.swc? possible bug.

2007-05-17 Thread Michael Wills
Hi, just saw this thread. In case the bug can't be worked out have you tried this one? http://www.deitte.com/archives/2006/08/finally_updated.htm I saw it on Flexbox ( http://flexbox.mrinalwadhwa.com/ ) Michael barry.beattie wrote: > > > if you find a solution to the bug, do

Re: [flexcoders] AVM1 / AVM2 Issues

2007-05-17 Thread Michael Wills
rough Loader will work better. Hope that helps, Michael Narain rl wrote: > > Hi, > > We are building a RIA applicatio in Flex. We have this peculiar > problem. We are converting PDF files to SWF using SWF2PDF and wanted > to load inside the Flex container which we buil

[flexcoders] DistortionEffects in an itemRenderer possible?

2007-05-17 Thread Michael Wills
child to the other based on the sample code given in the source. Can anyone point me in the right direction? Thanks in advance, Michael

Re: [flexcoders] DistortionEffects in an itemRenderer possible?

2007-05-17 Thread Michael Wills
on a mouseOver/mouseOut sort of thing. I'll see if I can put together some sample code as well. Thanks, Michael Michael Wills wrote: > > Hello all, > > I was wondering if it is possible to use the ever so groovy > DistortionEffects as prepared by Alex Uhlmann, within an itemR

[flexcoders] DistortionEffect triggered on mouseOver possible in itemRenderer in HorizontalList? - was : DistortionEffects in an itemRenderer possible?

2007-05-17 Thread Michael Wills
I just confirmed that the problem is in fact caused by being triggered by the mouseOver or rollOver event. Being trigger by a mouseUp event is fine. Still digging. Thanks, Michael Michael Wills wrote: > > A little further investigation looks like the error comes in because of

Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Michael Schmalle
Maybe things like trying to shift into another gear without the clutch in factors into this equation as well. You didn't show any code, so I don't know if you are trying to brute force something that in the design of the framework was not a bug to begin with but an implementation. Peace, Mike O

Re: [flexcoders] Embedding Verdana font & "may shadow" error

2007-05-22 Thread Michael Krotscheck
> There's a reason this is a warning and not an error. Your program > will work, but it may start to cause problems if you do some > advanced things such as call methods of the Font class. > Additionally, there may be some components that automatically chose > whether or not to use embeded

Re: [flexcoders] AS3: dispatchEvent from within event handler?

2007-05-23 Thread Michael Schmalle
Hi, This; _view.addEventListener("xmlLoaded", doSomething); _service = new MyService(); needs to be _service = new MyService(); _service .addEventListener("xmlLoaded", doSomething); Peace, Mike On 5/23/07, Alex Harui <[EMAIL PROTECTED]> wrote: I don't think you're listening to the servi

Re: [flexcoders] Dragging onto a tree

2007-05-23 Thread michael . corbridge
You probably need to look at the: event.dragInitiator.selectedItem Christopher Olsen

[flexcoders] User Interface Architect, Stealth-mode VC-backed Investing Web Startup (San Francisco, CA)

2007-05-24 Thread Michael Sha
We are a well-funded, early-stage consumer web startup: Who thinks figuring out how to invest your money is too difficult. We have a vision of how to revolutionize the way people invest and are looking for a web developer/user interface guru who can play a key role in building the customer faci

Re: [flexcoders] passing values to FilterFunctions?

2007-05-24 Thread Michael Schmalle
Hi, I find sometimes just subclassing ArrayCollection works. This way your are defining certain types of collections that do different things. You can then add functionality to the class with methods or whatever. This works well for me. Then I define the different filter functions based on that

Re: [flexcoders] ActionScript-only UI components in Flex Builder design view

2007-05-25 Thread Michael Schmalle
compile to swc and load the sec in the applications build path. Peace, Mike On 5/24/07, shawn allen <[EMAIL PROTECTED]> wrote: Hi there, I've been working on some ActionScript-only, UIComponent-derived classes, and haven't been able to figure out how to make them visible in Flex Builder's M

Re: [flexcoders] Fluid layout? Refresh container / component size?

2007-05-25 Thread Michael Schmalle
Hi, Question, why do you have a Panel inside a canvas inside a popup? I could probably answer your question if you showed some pseudo code. Which component is not sizing? The canvas? that holds all of the controls? Is the popup a canvas or panel? Somwhere a measurement is not getting updated,

Re: [flexcoders] Re: Container refresh

2007-05-28 Thread Michael Schmalle
fyi, content added from updateDisplay You may know this or you may not but, you do not addChild() in updateDisplayList(). You would do that in commitProperties(), then update displayList() will be called to size you new children. Peace, Mike On 5/28/07, Janis Radins <[EMAIL PROTECTED]> wrot

RE: [flexcoders] RemoteClass

2007-05-29 Thread Michael Herron
Have you strongly reference the com.beans.Sale class in your Application? Your RemoteClass meta-data looks fine, but if you've not got a hard reference to the class inside your flex app, it won't be compiled in to the SWF and won't be mapped correctly at runtime. You can get round this by just a

[flexcoders] Re: Defining a dynamic UI

2007-05-29 Thread Michael Labriola
To add to what Tracy was saying.. Let's say you have a component in the comps directory called MyComp. It could be in MXML or in Actionscript, it doesn't matter. First you would need to import that component definition by saying import comps.MyComp; Then, at anytime, for instance in response

[flexcoders] Re: Problem with loading xml file using HTTPService or URLLoader

2007-05-29 Thread Michael Labriola
Maciek, You may want to read up on crossdomain files. You should be able to google this term and find information. Here is a link to explore, but there are probably easier to understand resources. http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213 Mike --- In flexcoders@yahoog

Re: [flexcoders] How to check click didn't come from scroll bar?

2007-05-30 Thread Michael Schmalle
Hi, private function mouseDownHandler(event:MouseEvent):void { if (event.currentTarget == canvas.verticalScrollBar || event.currentTarget == canvas.horizontalScrollBar) { return; } // do drag stuff } Peace, Mike On 5/30/07, Mark Ingram <[EMAIL PROTECTED]> wrote: Hi,

[flexcoders] Re: DataGrid is slow

2007-05-30 Thread Michael Labriola
Alex, Wouldn't it actually just be 12 rows x the number of visible rows, not the 50 rows of data? Mikhail, any chance of posting an example online somewhere? I know you said that there were no custom renderers. Any labelFunctions, etc? ML --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMA

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Michael Schmalle
Hi, I don't think a boolean flag will help here. The manager will have already created the instance and the TitleWindow would have to use removePopUp() which is not optimum. You need to take that call out of the mxml and create a click handler for the button. .. in your app private var popUpWi

Re: [flexcoders] PopUpManager.createPopUp

2007-05-31 Thread Michael Schmalle
optimum. I didn't understand what is the issue in using removePopup inside Titlewindow ? Let say if I write the following to handle window closure , is there any issue in this ? Thanks On May 31, 2007, at 5:46 PM, Michael Schmalle wrote: Hi, I don't think a boolean flag will help

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Hi, override protected function measure():void { super.measure(); measuredWidth = 120; measuredHeight = 120; } Note, that is just hard coding but, you will do your measurment calcs in that method. Peace, Mike On 5/31/07, Mark Ingram <[EMAIL PROTECTED]> wrote: Hi, I have a custom UI

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
viously the x, y values of the control will perhaps be 70, 70, but the border will be at 60, 60. Hope that makes sense. Thanks, Mark -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 15:08

Re: [flexcoders] button loop

2007-05-31 Thread Michael Schmalle
Hi, How are you defining the buttons dataProvider? Do you use a name in there? You could create an extra name field in the dataProvider and loop through that dataProvider's index whil at the same time grabbing the button instance. Then in the loop send the field dp[name] and the instance to the

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
er the top of each control. Mark -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 15:58 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return cor

Re: [flexcoders] Information on how to Create Objects on the fly with Code

2007-05-31 Thread Michael Schmalle
Hi, var len:int = buttons.length; for (var i:int = 0; i < len; i++) { var obj:OBject = buttons[i]; var button:Button = new Button(); button.label = obj.label; container.addChild(button); } I think you get the hint. This is VERY basic compared to what you can do dynamically. Depending on

Re: [flexcoders] What functions do I need to override to return correct component size?

2007-05-31 Thread Michael Schmalle
Mark -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Michael Schmalle *Sent:* 31 May 2007 16:45 *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] What functions do I need to override to return correct component size? Hi, Yeah, I have a manager that does e

Re: [flexcoders] Changing style/background color dynamically

2007-05-31 Thread Michael Schmalle
Hi, Have you tried listening for the ChildExistenceChangedEvent.CHILD_ADD event of your client(accepting container) dnd canvas. This event would tell you when you need to update the dragging component background. The releatedObject property will also give you direct access to the child being add

Re: [flexcoders] Dead space in TabNavigator

2007-05-31 Thread Michael Schmalle
Hi, that is because the TabNavigator has a default paddingTop style of 10 pixels. TabNavigator { paddingTop:0; } will solve it for all of them in your application. Peace, Mike On 5/31/07, Nick Durnell <[EMAIL PROTECTED]> wrote: Hi all, All my TabNavigators have a dead space at the top

Re: [flexcoders] Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Michael Schmalle
Hi, The stage object does not get defined until right at the end of the players init cycle. Try listening to the Sprites Event.ADDED_TO_STAGE event, then access the stage object. Peace, Mike On 5/31/07, patricklemiuex <[EMAIL PROTECTED]> wrote: Dear Actionscript wizards: I have an all as3

Re: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Michael Schmalle
lemiuex <[EMAIL PROTECTED]> wrote: Michael, Thanks so much, where was that event hiding? I was using a hackish timer to do the job. However, your solution doesn't work from within the class that I create (haven't tried outside yet). Is there a way to do this all from inside the clas

Re: [flexcoders] TabNavigator/ToggleButtonBar Style conflict

2007-05-31 Thread Michael Schmalle
Hi, The reason it doesn't work is because TypeSelectors order in inheritance. Tab { cornerRadius: 20; } Solves your Problem. This is not a bug. Since you are setting a firstButtonStyleName on an actual selector, TabNavigator will not pick it up since it is undefined to begin with and now de

Re: [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat)

2007-05-31 Thread Michael Schmalle
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *patricklemiuex *Sent:* Thursday, May 31, 2007 2:15 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: Accessing the illusive stage Object through sprite (a near impossible feat) Michael, Thanks so much, where wa

Re: [flexcoders] Re: PopUpManager.createPopUp

2007-06-01 Thread Michael Schmalle
er and over again... i want to restrict that to just one instance.. any advise.. please.. ? Rohan http://konkan.tv --- In flexcoders@yahoogroups.com , "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Hi, > > There is no problem with what you have but... his question was,

<    1   2   3   4   5   6   7   8   9   10   >