[flexcoders] Re: Custom event not dispatching as expected

2008-09-01 Thread ben.clinkinbeard
this.addEventListener means you're listening on the application, not on modelLocator. Unless the event bubbles, this will not work. Either make the event bubble or listen on modelLocator. HTH, Ben --- In flexcoders@yahoogroups.com, guillaumeracine [EMAIL PROTECTED] wrote: I did a sample app

[flexcoders] Re: Flex MDI and View States Error

2008-07-27 Thread ben.clinkinbeard
Hi Faisal, I think the problem is in the way you are adding the window. Since you are just using addChild(), the window is never assigned a windowManager and I think that is what is null. If you say mdic.windowManager.add( window ), it will addChild() for you and also set the windowManager

[flexcoders] Re: Flex3 : TabNavigator : problem skinning first last tab bar

2008-06-29 Thread ben.clinkinbeard
Why do your style names have two periods in front of them? ..tabBarTab should be .tabBarTab HTH, Ben --- In flexcoders@yahoogroups.com, Yochikoh Haruomi [EMAIL PROTECTED] wrote: Hi List, I have a problem skinning the first last tab bar in flex3. Only the middle tab works.. My first tab

[flexcoders] Re: canvas with styles and clickable? how to??

2008-06-26 Thread ben.clinkinbeard
mx:Canvas click=doStuff( event ) styleName=myCanvasStyle / --- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote: i will check it later...im interested in components... but actually i saw what i mean in plenty of sites, so i guess is just so difficult to achieve. Maybe

[flexcoders] keyCode decremented by 64 when Control key down on Mac

2008-06-26 Thread ben.clinkinbeard
Title pretty well covers it but as an example, the keyCode for f/F is 70. If you press Control + F on Mac keyCode returns 6. I tested for 10+ keys and they are all -64 when Control is added. This happens on Mac only. What gives? Thanks, Ben

[flexcoders] Re: keyCode decremented by 64 when Control key down on Mac

2008-06-26 Thread ben.clinkinbeard
http://bugs.adobe.com/jira/browse/FP-375 --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: File a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, June 26, 2008 7:21

[flexcoders] Re: canvas with styles and clickable? how to??

2008-06-26 Thread ben.clinkinbeard
PROTECTED] wrote: funny, did u ever try that? :) cause i did... 1st.- seems canvas is not stilable, or at least, doesn't show correctly. 2nd.- doesn't respond to clicks. thnx anyway - Mensaje original De: ben.clinkinbeard [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com

[flexcoders] Re: Any best-practice for labelField=field.innerField on things like DataGridC

2008-06-10 Thread ben.clinkinbeard
I don't think you can do field.subField but you could use labelFunctions to accomplish essentially the same thing. Heck, you might even be able to set dataField = field.subField and then use a generic labelFunction that does something like return data[column.dataField]. Just a guess on that part

[flexcoders] Re: component for page flip?

2008-06-10 Thread ben.clinkinbeard
http://www.quietlyscheming.com/blog/components/flexbook/ --- In flexcoders@yahoogroups.com, Claudio M. E. Bastos Iorio [EMAIL PROTECTED] wrote: Can anyone recommend any working example for flex, component or link (other than iparigrafika, or page-flip.com) to page flip effect? TIA

[flexcoders] Re: Compile css file to swf with ClassReference in the css file

2008-05-30 Thread ben.clinkinbeard
Maybe we can get this reopened with some vote support (but I doubt it): http://bugs.adobe.com/jira/browse/FB-11925 Ben --- In flexcoders@yahoogroups.com, ealexdesign [EMAIL PROTECTED] wrote: Hello! I want compile my css theme in swf file. So I try to use mxmlc command but it failed since I

[flexcoders] Re: adding a label to a Panel header?

2008-05-30 Thread ben.clinkinbeard
Is the size of the label actually being set? My guess would be no. Raw children are not automatically sized like normal children are so if its not being explicitly sized its probably got a width and height of 0. HTH, Ben --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED]

[flexcoders] Re: TittleWindow ControlBar not showing up

2008-05-22 Thread ben.clinkinbeard
Or better yet, use FlexMDI :) --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Try calling createComponetsFromDescriptor. The controlbar is managed through trickery. You can't just add it as a child. From:

[flexcoders] Re: Positioning from a label in a Button

2008-05-22 Thread ben.clinkinbeard
You might have to tinker to get an exact position right but you can also use the padding styles to position a Button's label. Something like paddingTop=-50 will even float the label above the button itself. HTH, Ben --- In flexcoders@yahoogroups.com, jaywood58 [EMAIL PROTECTED] wrote: I'm

[flexcoders] Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread ben.clinkinbeard
Has anyone done this? I have tried two separate versions of the font in TrueType format and both times I get encoding error messages. What makes it even stranger is that the TrueType version of Lucida Grande Bold works flawlessly. Am I missing something here? Thanks, Ben

[flexcoders] Re: Lucida Grande normal weight font cannot be embedded

2008-05-20 Thread ben.clinkinbeard
Thanks Jon. While good to know about that sounds like a can of worms I want no part of. Thanks, Ben --- In flexcoders@yahoogroups.com, Jon Bradley [EMAIL PROTECTED] wrote: Have either of you tried to compile with one of the other font managers to see if that works? Flex 3 uses the

[flexcoders] Re: Flex2 - using same swf in a browser over 20 times crashes it...

2008-05-19 Thread ben.clinkinbeard
I would be surprised if loading 20+ SWFs with nothing in them didn't crash the browser. Can you not just replace the HTML table with a single SWF with a DataGrid? Ben --- In flexcoders@yahoogroups.com, vijay95052 [EMAIL PROTECTED] wrote: I have a need to show a chart in an html table (one

[flexcoders] Re: Imported skin built using Flash doesn't work well with scale-9 and bitmaps

2008-05-15 Thread ben.clinkinbeard
I believe the 9 slice built into Flash only works on vector graphics created in Flash. So yea, missing feature. If you file it, I will vote for it. Ben --- In flexcoders@yahoogroups.com, João [EMAIL PROTECTED] wrote: Hey guys, is this a bug or a missing feature? I have created a skin of

[flexcoders] Re: Keeping certain attributes of the updateDisplayList while extending Label

2008-05-15 Thread ben.clinkinbeard
You need to call super.updateDisplayList() in your override. Ben --- In flexcoders@yahoogroups.com, Shun Chu [EMAIL PROTECTED] wrote: Hi, I have extended the Label class by overriding the protected method updateDisplayList. The purpose was to allow showing different cell colors in a

[flexcoders] Re: Containers, percentage size and scrolling behavior..

2008-05-14 Thread ben.clinkinbeard
Does setting minHeight = 0 help? http://tech.groups.yahoo.com/group/flexcoders/message/77204?threaded=1p=1 --- In flexcoders@yahoogroups.com, Cosma [EMAIL PROTECTED] wrote: http://bugs.adobe.com/jira/browse/SDK-15567 Probably they're starting to hate me - I've already filed other 6 or

[flexcoders] Re: component life cycle question

2008-05-03 Thread ben.clinkinbeard
Supply any data for childcomponents from a main component. Thats a pretty good guiding principle for both component and application development because it helps you to create loosely coupled components. Even if Application.application.parameters.personID were available to your component I would

[flexcoders] Re: Is it possible to build a Flex 3 app that will play in Flash Player 7 for Wi

2008-05-02 Thread ben.clinkinbeard
No, Flex 2+ uses AS3 which requires AVM2, which is only found in Flash Player 9+ HTH, Ben --- In flexcoders@yahoogroups.com, Greg Hess [EMAIL PROTECTED] wrote: Hi All, I have a requirement to support Flash Player 7 for the Wii for one of our application modules. Is it possible to build

[flexcoders] Re: Is it possible to build a Flex 3 app that will play in Flash Player 7 for Wi

2008-05-02 Thread ben.clinkinbeard
If you're on a PC I would recommend FlashDevelop with MTASC, otherwise I guess maybe Eclipse + FDT? HTH, Ben --- In flexcoders@yahoogroups.com, Greg Hess [EMAIL PROTECTED] wrote: Bummer. I was hoping to reuse 'some' code from our main application. Do you know the dev environment that

[flexcoders] ConstraintColumn in VBox- why not?

2008-04-30 Thread ben.clinkinbeard
Before I go whining to bugs.adobe.com, is there a good reason VBox couldn't support ConstraintColumn and HBox couldn't support ConstraintRow? Seems like since they don't deal with the dimension controlled by layout they should be doable but thought I would ask first. Thanks, Ben

[flexcoders] Re: Sort Column in a dynamically generated DataGrid using a Nested property

2008-04-29 Thread ben.clinkinbeard
You need to specify a custom sortCompareFunction for your DataGridColumns that don't map directly to a property in your VO. HTH, Ben --- In flexcoders@yahoogroups.com, sk_acura [EMAIL PROTECTED] wrote: Hi All, I have a DataGrid whose columns are generated at run time. In my MXML

[flexcoders] Does ContextMenu have a display() method or not?

2008-04-25 Thread ben.clinkinbeard
The docs say so (http://livedocs.adobe.com/flex/3/langref/flash/ui/ContextMenu.html#display()) but FlexBuilder and mxmlc tend to disagree. Docs bug? Thanks, Ben

[flexcoders] Re: [Bindable] - Can I specify many vars Bindable in one block?

2008-04-25 Thread ben.clinkinbeard
You can do it above your class statement and make all vars bindable. HTH, Ben --- In flexcoders@yahoogroups.com, hoytlee2000 [EMAIL PROTECTED] wrote: Hello, This is probably a silly question. I know to specify a var as bindable, I use this technique: [Bindable] private var

[flexcoders] Re: Can't figure out how to parse RSS

2008-04-24 Thread ben.clinkinbeard
http://code.google.com/p/as3syndicationlib/ HTH, Ben --- In flexcoders@yahoogroups.com, dfalling [EMAIL PROTECTED] wrote: I'm trying to write a small app that will parse an inputted RSS feed. On some feeds (reddit.com) it works fine, but on others (slashdot.org) the xml seems to be cut

[flexcoders] Re: Use Cairngorm wihtout Dispatch

2008-04-21 Thread ben.clinkinbeard
One of the core principles of not just Cairngorm but MVC in general is for your views to be as dumb as possible. The less they know about models, services, etc the better. You've essentially taken the opposite approach. Creating reusable/generic views using your approach wouldn't really be

[flexcoders] Re: Question about Cairngorm / UM extensions

2008-04-21 Thread ben.clinkinbeard
Gabriel did a great job of explaining some of the primary benefits of the UM extensions, one of which is definitely to reduce the extent to which ModelLocator is used as a dumping ground for data that really doesn't belong on the global model. As for the how, here are a couple of main points.

[flexcoders] Re: Setting Basic authentication header in URLRequest

2008-04-20 Thread ben.clinkinbeard
Looks like you will need a meta-policy file: http://tech.groups.yahoo.com/group/flexcoders/messages/105793?threaded=1m=evar=1tidx=1 HTH, Ben --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: I am trying to make a URLRequest that uses basic HTTP authentication. The

[flexcoders] Re: Click Lite: The right click now. But not now?

2008-04-18 Thread ben.clinkinbeard
The example in the documentation for the Button class shows a very simple example of this concept. http://livedocs.adobe.com/flex/3/langref/mx/controls/Button.html I came from an AS1/AS2 background as well and there was definitely a learning curve but there is plenty of good information out

[flexcoders] Re: Click Lite: The right click now. But not now?

2008-04-18 Thread ben.clinkinbeard
I would definitely recommend reading the docs I linked to in my other post but since I know seeing progress is always helpful here is a quick block of pseudo code for what you're talking about. Creating menus/buttons from XML, ah nostalgia. :) for each( var node:XML in menuXML.children() ) {

[flexcoders] Re: addEventListener and additional arguments?

2008-04-16 Thread ben.clinkinbeard
You probably don't need to send extra parameters anyways. You can inspect the event.target your handler receives to determine which button was clicked. (I am guessing that may be your intent in sending extra args as I remember doing stuff like that back in the AS1 days.) Suffice to say that any

[flexcoders] Re: SOAP Web Services not working in Flash Player 9.0.124.0

2008-04-15 Thread ben.clinkinbeard
If you're using .NET Web Services there are most likely SOAPAction headers involved, which is one of the recently blocked header types. You don't need anything to do with sockets, you probably just need to add something like this to your crossdomain.xml file: allow-http-request-headers-from

[flexcoders] What would cause a Canvas subclass to not clip its content?

2008-04-14 Thread ben.clinkinbeard
I have a Canvas subclass that creates a number of SWFLoader children. The SWFLoaders each dynamically load a PNG. When the PNG finishes loading it is positioned via swfLoader.content.x = someNumber. The problem is that when these PNGs hang over any edge of the Canvas subclass they are not clipped.

[flexcoders] Re: Reading Parsing Large XML File . . .

2008-04-14 Thread ben.clinkinbeard
Do you know the name of the node it would be in? If so, something like this should be all you need: uberXml..(phoneNode == 555-555-) HTH, Ben --- In flexcoders@yahoogroups.com, guygooee [EMAIL PROTECTED] wrote: Does anyone have a link or recommendations on how to best a) read through

[flexcoders] Re: Reading Parsing Large XML File . . .

2008-04-14 Thread ben.clinkinbeard
I don't think you want to load 25MB of data into Flash Player... bad things will probably happen. Putting that much into tree a would almost certainly be a very bad scene. Can you put the data into a database somewhere and query that? Ben --- In flexcoders@yahoogroups.com, Gooee Guy [EMAIL

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-13 Thread ben.clinkinbeard
You don't like if statements? There is another thread around here about sequencing events/commands and there is also Cairngorm's SequenceCommand (though personally I am not a fan of that). As for the Callbacks class you see, that is just a convenient way to wrap a result handler and fault

[flexcoders] Re: how to let setting different style be handled by different subcomponents?

2008-04-12 Thread ben.clinkinbeard
Override setStyle() or styleChanged() --- In flexcoders@yahoogroups.com, Rich Rodecker [EMAIL PROTECTED] wrote: I have a component which extends Canvas. I am using a custom borderSkin on the Canvas and that works out fine. Within that canvas I have a TextArea. I'm trying to figure out

[flexcoders] Re: some one must know this!!! Please tell me!!!

2008-04-12 Thread ben.clinkinbeard
Can someone figure out who has the highest message-per-thread average? I've got to be close to the top of that one. :) Ben --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: As of early March: Tracy: 4095 Matt: 2838 Alex: 2747 Gordon: 2387 Tom

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Well, they would all point to the same Cairngorm/UM Cairngorm SWC (that lives in the library project) but yes, you would have a model, services, etc in each project. The resulting swf is built using -link-report/-load-externs to optimize the inclusion of classes though so you don't have

[flexcoders] Re: Project per module?

2008-04-11 Thread ben.clinkinbeard
Separate projects is my preference and seems logical to me but is not really endorsed/recommended by Adobe which is disappointing. The compiler arguments you mentioned can be used to optimize but FlexBuilder is flaky at best using that approach. See https://bugs.adobe.com/jira/browse/FB-12220 for

[flexcoders] Re: Project per module?

2008-04-11 Thread ben.clinkinbeard
] wrote: On Friday 11 Apr 2008, ben.clinkinbeard wrote: https://bugs.adobe.com/jira/browse/FB-12220 for example. That thread also talks a bit about their recommended approach which, again, I am not crazy about. You mean a module project would be largely a usability feature to make

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Hi Ace, I think your complaint is having to create a callback for every event/command invoked by your view and it is possible to avoid that. If thats not what you meant I apologize and disregard the rest of this message. :) Our general approach is to pass ResultEvents back from delegates to

[flexcoders] Re: What do you think of UM Cairngorm Extensions,especially for Modular Apps?

2008-04-11 Thread ben.clinkinbeard
Hi Jon, I don't really know what you mean by chained events, can you elaborate? I should also point out I have only been using UM Cairngorm for a couple of months and don't feel like my head is completely around it quite yet. More than happy to try answering your question if you can clarify

[flexcoders] Re: Changing a property inside of commitProperties?

2008-04-04 Thread ben.clinkinbeard
I didn't read closely enough to know if this will address your specific issue but 2 things of note. Things done in commitProperties() are generally wrapped in a check to make sure the underlying data has changed since last time. So in your myCustomData setter you would set the value of

[flexcoders] Re: Changing a property inside of commitProperties?

2008-04-04 Thread ben.clinkinbeard
Setting a label repeatedly could cause performance issues as remeasuring a textbox is said to be fairly expensive. Ben --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: Things done in commitProperties() are generally wrapped in a check to make sure the underlying

[flexcoders] Re: How to display a button's icon from a remote source?

2008-04-04 Thread ben.clinkinbeard
The work of which Rick speaketh: http://blog.benstucki.net/?p=42 --- In flexcoders@yahoogroups.com, Rick Winscot [EMAIL PROTECTED] wrote: Tracy. Dr. McCoy of Star Trek fame said it best. Damnit Jim, I'm a -class- not an externally loaded asset. - Through the Loader Class

[flexcoders] hasEventListener() on null object causes silent failure and exit from block

2008-04-02 Thread ben.clinkinbeard
This seems like a bug to me. In the following code if dp is null, the trace will not be executed. function greatFun():void { if( dp.hasEventListener( foo ) ) { // do stuff } trace( WTF ); } It should either throw a RTE or just evaluate to false, shouldn't it? Thanks, Ben

[flexcoders] Embedded fonts + modules = weirdness

2008-04-02 Thread ben.clinkinbeard
CSS file in main app: @font-face { src: url(assets/fonts/Gotham-Medium.otf); fontFamily: GothamMedium; } Button.BlueButtonOutline { skin: Embed(skinClass=Button_BlueButtonOutline_skin); fontFamily: GothamMedium; font-size: 14; color: #FF;

[flexcoders] Re: How to create a new file and write the contents to it.

2008-04-01 Thread ben.clinkinbeard
No, the Flash Player does not have access to the local filesystem since its a browser plugin. You could build an AIR application with Flex that would meet your needs. HTH, Ben --- In flexcoders@yahoogroups.com, bhaskar M [EMAIL PROTECTED] wrote: Hi I am new to flex environment...

[flexcoders] Re: Cairngorm and Service Locators

2008-04-01 Thread ben.clinkinbeard
This is generally done in one of two ways. 1) Load a config file at startup that holds urls or url stubs and store them on your model. Have your ServiceLocator bind to values on model. 2) Pass a url stub into your app via FlashVars, store it on the model and then construct full urls from the

[flexcoders] Re: Module Compiling Workflow - Making a module run like it's an application

2008-04-01 Thread ben.clinkinbeard
You could set up a simple shell application file that loads your module or simply change your Module tag to Application. HTH, Ben --- In flexcoders@yahoogroups.com, Austin Kottke [EMAIL PROTECTED] wrote: Is there some way to get a module run so you can actually test a module independent of

[flexcoders] Re: TabContainer with modules - how to cancel Tab change

2008-04-01 Thread ben.clinkinbeard
Unfortunately, I believe this is the best you can do: http://tech.groups.yahoo.com/group/flexcoders/message/84929 HTH, Ben --- In flexcoders@yahoogroups.com, guitarguy555 [EMAIL PROTECTED] wrote: I have a Flex Application that has a TabNavigator. Each tab contains a moduleLoader that

[flexcoders] Re: VerticalAxis - Flex SDK 3 Release BUG

2008-03-28 Thread ben.clinkinbeard
You're almost guaranteed to not get an answer without posting some code. FYI, Ben --- In flexcoders@yahoogroups.com, Rodrigo Pereira Fraga [EMAIL PROTECTED] wrote: The LineChart.verticalAxisRenderers, to be Bugged! I add and remove dynamically VerticalAxis in LineChart, but when I

[flexcoders] FB3: Removing a framework class from code completion

2008-03-27 Thread ben.clinkinbeard
Is it possible to do? I end up typing variables as StreamingAMFChannel at least 738 times a day now that it is first in the list after typing Str. I thought I would eventually manage to start typing the i and avoid this mess but apparently my laziness exceeds my behavior modification powers. Can

[flexcoders] Re: bug in drop-in ItemRenderer or Newbie mistake?

2008-03-25 Thread ben.clinkinbeard
Its probably an issue with the data being treated as a string but LabelFunction won't help you. I don't know that you can use a DropIn that is expecting a boolean with XML data. I think you'd need to override the data setter and test data == true HTH, Ben --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Error message is unclear: 1020: Method marked override must override another

2008-03-24 Thread ben.clinkinbeard
This may be a stupid question but are you actually extending whatever class defines notifyObserver()? Ben --- In flexcoders@yahoogroups.com, justSteve [EMAIL PROTECTED] wrote: The API at docs at http://puremvc.org/component/option,com_wrapper/Itemid,160/ From the API docs at

[flexcoders] Re: Flex Component Kit - trouble with FlexContentHolder

2008-03-24 Thread ben.clinkinbeard
Bueller? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I have converted my symbol to Flex Conatiner via the commands and then added the FlexContentHolder to the symbol and gave it an instance name of contentHolder. I get this error: Cannot create property

[flexcoders] Flex Component Kit - trouble with FlexContentHolder

2008-03-21 Thread ben.clinkinbeard
I have converted my symbol to Flex Conatiner via the commands and then added the FlexContentHolder to the symbol and gave it an instance name of contentHolder. I get this error: Cannot create property contentHolder on... If I don't give the FlexContentHolder an instance name it is ignored. What

[flexcoders] Re: Why are modules so buggy?

2008-03-14 Thread ben.clinkinbeard
Of ben.clinkinbeard Sent: Thursday, March 13, 2008 8:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Why are modules so buggy? Thanks Alex. Unfortunately, and as usually seems to be the case, this is happening inside of a fairly complex structure. Something else I just noticed

[flexcoders] Re: DataEvent.UPLOAD_COMPLETE_DATA does not exist on new machine

2008-03-14 Thread ben.clinkinbeard
I don't think it has to do with player version. Pretty sure that was added in one of the hot fixes to the Flex framework, maybe even HF1. HTH, Ben --- In flexcoders@yahoogroups.com, thegators_2002 [EMAIL PROTECTED] wrote: I have a project done in Flex 2 that uses

[flexcoders] Re: Looking for feedback on this code . . .

2008-03-13 Thread ben.clinkinbeard
I didn't read your code but you might want to check out this project. http://code.google.com/p/vofactory/ HTH, Ben --- In flexcoders@yahoogroups.com, srieger_1 [EMAIL PROTECTED] wrote: I have been trying to figure out how to take the results of my web service ( e4x ) and update an object

[flexcoders] Re: flexmdi with Flexbuilder 3.0 produces Unknown Flex SDK: Flex 2.0.1 Hotfix 1

2008-03-13 Thread ben.clinkinbeard
flexmdi definitely does not require the use of 2.0.1 --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 13 Mar 2008, joseph_freemaker wrote: Anyone know what has to be done to use mdiflex in Flexbuilder 3.0? You need to go into the project's properties

[flexcoders] Re: Why are modules so buggy?

2008-03-13 Thread ben.clinkinbeard
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, March 13, 2008 7:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Why are modules so buggy? I've admittedly only been using them for a short time but they seem phenomenally fickle. Our

[flexcoders] Re: Global keyboard capture?

2008-03-04 Thread ben.clinkinbeard
Did you try listening on systemManager with useCapture? That would be my first guess. You also shouldn't need to listen with useCapture and without. That would result in hearing each key twice, no? HTH, Ben --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: Keep in

[flexcoders] Re: Flex Builder 3.0 Serial No. Need

2008-03-01 Thread ben.clinkinbeard
U. There is a 60 day trial available from the Adobe site. Install it and start saving your money so you can buy it in 2 months. --- In flexcoders@yahoogroups.com, devang solanki [EMAIL PROTECTED] wrote: Dear Friends if any one have flex builder 3.0 serial no or crack, then please

[flexcoders] Re: couple of flexmdi questions

2008-02-27 Thread ben.clinkinbeard
Hi Jason, Sorry for the slow response time, I've fallen way behind on flexcoders. The latest release is compatible with 2.0.1 HF1 and beyond. There currently is nothing geared towards modality in FlexMDI but it has been requested. Not sure if it will happen or not. Ben --- In

[flexcoders] Re: Why does RTE lose formatting when parent's styleName changes? (w/ test case)

2008-02-15 Thread ben.clinkinbeard
Anyone? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: The title pretty much sums it up but here is the deal. If the text in a RichTextEditor has been manually edited, changing the styleName of its parent will result in a complete loss of formatting. If the text

[flexcoders] Re: Why does RTE lose formatting when parent's styleName changes? (w/ test case)

2008-02-15 Thread ben.clinkinbeard
reveals that they are identical. So (as I suspected) it has to have something to do with a flag or validation getting changed somewhere. Ben --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 14 Feb 2008, ben.clinkinbeard wrote: You can see this behavior

[flexcoders] Re: Why does RTE lose formatting when parent's styleName changes? (w/ test case)

2008-02-15 Thread ben.clinkinbeard
[EMAIL PROTECTED] wrote: On Friday 15 Feb 2008, ben.clinkinbeard wrote: Hmmm, that does work but I am looking for a more general purpose solution. Checking for any RTE children before every change isn't very reasonable in my scenario. It would only ever be a work around, I agree. But I get

[flexcoders] Why does RTE lose formatting when parent's styleName changes? (w/ test case)

2008-02-14 Thread ben.clinkinbeard
The title pretty much sums it up but here is the deal. If the text in a RichTextEditor has been manually edited, changing the styleName of its parent will result in a complete loss of formatting. If the text has been programmatically set the problem does not occur. I know the control

[flexcoders] Re: Need help creating a custom rich text editor using flexmdi

2008-02-08 Thread ben.clinkinbeard
Hi Max, Thanks for pointing this out. To be honest I've never used the RTE component so I don't have much of an idea how it works or why this would be happening. I should be able to investigate later today though and will follow up with anything I figure out. Thanks, Ben --- In

[flexcoders] Re: Need help creating a custom rich text editor using flexmdi

2008-02-08 Thread ben.clinkinbeard
investigation... just let me know. Thanks, Max - Original Message From: ben.clinkinbeard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, February 9, 2008 12:58:32 AM Subject: [flexcoders] Re: Need help creating a custom rich text editor using flexmdi

[flexcoders] Re: is this how to use commitProperties

2008-02-06 Thread ben.clinkinbeard
Looks right to me except you should validate that the new value is actually different than the existing value in your setter before setting the flag and whatnot. HTH, Ben --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: my bad, i for some reason sent it to

[flexcoders] Re: cursormanager and icons - can't seem to remove the original pointer

2008-02-06 Thread ben.clinkinbeard
This is how I have done it. CursorManager.removeCursor(CursorManager.currentCursorID); CursorManager.setCursor(blah, blah, blah); If thats not working I am not sure what to tell you. I would try it from a method rather than inline but thats the only code I've seen that works. HTH, Ben ---

[flexcoders] Re: Actionscript replace characters from a string

2008-02-05 Thread ben.clinkinbeard
I am still a fan of this oldie but goodie: myString.split(strToRemove).join(strToInsert); HTH, Ben --- In flexcoders@yahoogroups.com, hworke [EMAIL PROTECTED] wrote: Hi, I am trying to replace all the (Space) characters from a given string. The replace function of the string

[flexcoders] Re: CSS Compile directives

2008-02-05 Thread ben.clinkinbeard
Just opened a bug for this the other day. https://bugs.adobe.com/jira/browse/FB-11925 --- In flexcoders@yahoogroups.com, Mike Krotscheck [EMAIL PROTECTED] wrote: I've just run across an odd behavior within Flex 3 and certain compiler directives, as follows: 1. Compiler options

[flexcoders] Re: RSL realtive path is relative to the page path, not the swf path

2008-02-04 Thread ben.clinkinbeard
Flash Player has always loaded assets (images, swfs, etc) relative to the embedding file. HTH, Ben --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Are you saying that index.html loads ../MainApp.swf? Please verify that. Put a trace statement for the loaderInfo.url in

[flexcoders] Re: Mysterious Problem with Embed Directives in CSS

2008-02-04 Thread ben.clinkinbeard
Which version of the framework are you using? I know 2 and 3 treat the leading slash a bit differently, though I can't recall the specifics at the moment. Ben --- In flexcoders@yahoogroups.com, Ethan Miller [EMAIL PROTECTED] wrote: Greetings - One day, out of nowhere, all of the Embed

[flexcoders] Re: ClassFactory

2008-02-04 Thread ben.clinkinbeard
Item renderers are one place they can be used. http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/ HTH, Ben --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: can someone explain how to use this class, like when would i use it.

[flexcoders] Re: Get all event listeners

2008-01-31 Thread ben.clinkinbeard
I actually entered an enhancement request for this that sounds like it may happen in a future player update (hard to decipher what the issue updates actually mean). If you want to vote for it this is the link: http://bugs.adobe.com/jira/browse/SDK-13763 As for workarounds, Alex suggested that

[flexcoders] Re: Possible to discern between inline style and style from type selector?

2008-01-29 Thread ben.clinkinbeard
Figured it out. Triple equals will tell me if they are pointing to the same actual style. this.getStyle(style) === typeSelector.getStyle(style) Sorry for the interruption, Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: As part of my well-documented default

[flexcoders] Re: Still very confused with object referencing

2008-01-29 Thread ben.clinkinbeard
Try this: accidentsModule[consist + consistnumber.toString() + TabSet].[ConsistPersonnel + consistnumber.toString()]; The period can't be a string, it needs to evaluate the first object, then use an actual period to know to drill down to find the second object. HTH, Ben --- In

[flexcoders] Possible to discern between inline style and style from type selector?

2008-01-29 Thread ben.clinkinbeard
As part of my well-documented default styling efforts I have come upon a need for doing what the title describes. Basically I need to figure out how to determine where a style was assigned. For example, Panel has a titleStyleName style that defaults to windowStyles. You can obviously override this

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-25 Thread ben.clinkinbeard
It seems that Flex 2 does in fact autosize, but it has a minimum size of 12 x 12 to do so. If you assign an image whose dimensions are smaller than that as a skin, the button will be scaled up to 12 x 12 if you don't provide an explicit size. This holds true in Flex 2, HF 1 through 3. Flex 3 will

[flexcoders] Re: good examples of imagecropping?

2008-01-24 Thread ben.clinkinbeard
P.J. Onori recently posted some very cool code that might give you a head start on the cropping: http://www.somerandomdude.net/blog/flash/bitmap-segmentor/ Uploading and saving should be doable via FileReference which there is plenty of information about, both here on flexcoders and on the

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-24 Thread ben.clinkinbeard
to guarantee that kind of compatibility. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, January 23, 2008 3:40 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-24 Thread ben.clinkinbeard
tweaks to how Flex 3 works with graphical skins. I believe we examine the scale9 rectangle. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, January 24, 2008 10:35 AM To: flexcoders@yahoogroups.com

[flexcoders] Seriously, what is the 'right' way to do default styles?

2008-01-23 Thread ben.clinkinbeard
OK, the lack of definitive info on this topic is pretty amazing to me so I would like to help get something out there once and for all. The problem to which I am referring is how to define default yet overridable styles for custom components, including times when those styles require embedded

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-23 Thread ben.clinkinbeard
OK, bit of a correction, the defaultFactory() method doesn't preclude using styleName. In my scenario though, since I am trying to essentially point to two different styles, I have to use commands like setStyle(styleName, getStyle(focusStyleName)); which then wipes out the actual styleName.

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-23 Thread ben.clinkinbeard
by using the standard Flex SWCs. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, January 23, 2008 12:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Seriously, what

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-23 Thread ben.clinkinbeard
is to produce a Flex 2 SWC and a Flex 3 SWC if you have to support Flex 2. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, January 23, 2008 2:28 PM To: flexcoders

[flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-01-23 Thread ben.clinkinbeard
[mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Wednesday, January 23, 2008 3:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Seriously, what is the 'right' way to do default styles? I can deal with producing 2 SWCs but can you recommend an approach to do so

[flexcoders] Re: AS3 and MXML code in blogs

2008-01-23 Thread ben.clinkinbeard
http://blog.igeek.info/still-fresh/category/wp-plugins/igsyntax-hiliter/ If I recall correctly you have to turn off some kind of use rich editor flag in WP to make it function correctly. HTH, Ben --- In flexcoders@yahoogroups.com, Richard Rodseth [EMAIL PROTECTED] wrote: Hope this isn't too

[flexcoders] Re: rawChildren

2008-01-20 Thread ben.clinkinbeard
rawChildren is where you put things that you don't want the container to measure/size/layout. Items in rawChildren are also not accessible via container.getChildAt() and other methods like that. The best example I can personally give is in the context of flexmdi. To make the windows resizable we

[flexcoders] Using ClassReference in nested CSS file - possible?

2008-01-18 Thread ben.clinkinbeard
I can't seem to get my ClassReference directive to work unless the CSS file is at the root of my project. When the CSS file is assets/css/someStyles.css for instance, I get a definition could not be found error. If the file is top-level it works fine. Is there some kind of syntax I am unaware of

[flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

2008-01-18 Thread ben.clinkinbeard
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Thursday, January 17, 2008 1:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: SWC compiled against Flex 2 SDK only usable in Flex 3 projects

[flexcoders] Re: Using ClassReference in nested CSS file - possible?

2008-01-18 Thread ben.clinkinbeard
Regular Flex project --- In flexcoders@yahoogroups.com, madflexcoder [EMAIL PROTECTED] wrote: Is this in a flex library project or a regular flex project that your css is in? --- In flexcoders@yahoogroups.com, ben.clinkinbeard ben.clinkinbeard@ wrote: I can't seem to get my

[flexcoders] Detecting when a style has been updated from a loaded CSS SWF

2008-01-18 Thread ben.clinkinbeard
When using StyleManager.loadStyleDeclarations() if the loaded SWF contains a style of the same name as an existing style (.lastTryStyle for instance), what is the proper way to detect this? My components who are already using .lastTryStyle seem to have their styleChanged() method called and the

  1   2   3   4   5   6   7   >