[flexcoders] Re: Calling ViewNavigator from an .as file

2012-01-26 Thread stldvd
rishitandon123@... wrote: I didn't got much time to read through it, but this might interest you http://devgirl.org/2011/05/18/flex-4-5-mobile-data-handling/ Regards, Rishi Tandon From: stldvd stldvd@... To: flexcoders@yahoogroups.com Sent: Thursday

[flexcoders] Calling ViewNavigator from an .as file

2012-01-25 Thread stldvd
Hi All, I need to call navigator.pushView from an .as file in an AIR mobile project. But since I'm in an .as file and not in the .mxml file, how do I get access to the ViewNavigator? I don't think I want to import ViewNavigator and instantiate it because there should be only one in any given

[flexcoders] Re: hSlider Thumb Skin positions incorrectly

2011-12-21 Thread stldvd
of the desktop HSliderThumb skin. Have you looked at using the mobile theme's skin as your starting point instead? -- Tom --- In flexcoders@yahoogroups.com, stldvd stldvd@ wrote: ::bump:: Anyone? --- In flexcoders@yahoogroups.com, stldvd stldvd@ wrote: Hi All, I'm trying

[flexcoders] Re: hSlider Thumb Skin positions incorrectly

2011-12-19 Thread stldvd
::bump:: Anyone? --- In flexcoders@yahoogroups.com, stldvd stldvd@... wrote: Hi All, I'm trying to skin the thumb of an hSlider component. Problems: 1) the thumb is resized to be pixelated and grainy. 2) Its position is incorrect. Instead of the new button being cleanly bisected

[flexcoders] hSlider Thumb Skin positions incorrectly

2011-12-15 Thread stldvd
Hi All, I'm trying to skin the thumb of an hSlider component. Problems: 1) the thumb is resized to be pixelated and grainy. 2) Its position is incorrect. Instead of the new button being cleanly bisected by the track, it is just below the track, tangential to it. And (presumably because its

[flexcoders] Reference value

2010-06-09 Thread stldvd
Hi, I'm working on a sports app with teams. Depending on the date, different team matchups will be displayed. However, before the 11th we just want to display the matchup for the 11th. I have the following code, but I'm getting a compile-time error: Target of assignment must be a reference

[flexcoders] Re: Reference value

2010-06-09 Thread stldvd
the issue... if you are always wanting to treat the date as a number, why create it as a string in the first place? Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: 09 June 2010 14:23 To: flexcoders@yahoogroups.com Subject

[flexcoders] Overlapping Siblings and Mouse Events

2009-10-11 Thread stldvd
Below is the code for a simple Flex actionscript project. A sprite is partially covering a hyperlink. What's happening is that when you hover over the sprite, if you're also hovering over the hyperlink, the hyperlink is activated. I want to prevent that. I want the hyperlink to be activated

[flexcoders] Re: Rich Text Editor and XML

2009-09-14 Thread stldvd
/Content /Text --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: There's something else that's very strange. Before I enter the loop, I try to set the text in the rte to the empty string (before I enter the loop, there is text in there, so I want to clear it out). I put

[flexcoders] Admin/Moderator

2009-09-14 Thread stldvd
Sorry for this off-topic post but does anyone know who the moderator is for this board and how to reach them? I received an email response to one of my posts about five days ago from a new member, but they still apparently haven't been granted access. Thanks.

[flexcoders] Hover Event over Text

2009-09-14 Thread stldvd
Hi All, Is there some way in Flex to have an event fire when the cursor hovers over a hyperlink? I don't want to use the TextEvent because that is only relevant to the click event. I need to make something happen when the mouse just hovers over text. Thanks in advance... David

[flexcoders] Re: Rich Text Editor and XML

2009-09-13 Thread stldvd
@yahoogroups.com, Tracy Spratt tr...@... wrote: Does this: tr.color = red; work in general? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Saturday, September 12

[flexcoders] Re: Rich Text Editor and XML

2009-09-13 Thread stldvd
, and none worked. outRTE.textArea.text = ; outRTE.text = ; outRTE.text = null; Is there something about clearing the text in an RTE control that I don't know? --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Yes. To make sure, I created

[flexcoders] Rich Text Editor and XML

2009-09-12 Thread stldvd
Let me try rephrasing my earlier post and see if I can get a response: I've got a RTE called outRTE into which I'm loading XML. I need to act conditionally on the XML, so I've got to use a for-each-in loop to go through it. for each (var item:XML in xData.Content.P.*) { var

[flexcoders] Re: XML Parsing Questions

2009-09-09 Thread stldvd
I just noticed I used a TextArea instead of RTE. So one other issue: why does the text appear in a TextArea but if I change it to RTE it doesn't? Anyone? --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Hi all, I'm working with httpservice and a rich text area. I pull in the xml

[flexcoders] XML Parsing Questions

2009-09-08 Thread stldvd
Hi all, I'm working with httpservice and a rich text area. I pull in the xml via httpservice, then parse out all xml tags. However, dependent on the XML I need to do various things, such as if the text is in an boldMe tag, then make it bold; if it's in an italicizeMe tag, then I'll italicize

[flexcoders] 3D plane

2009-06-20 Thread stldvd
In Today's New York Times there's a cool 3D flash app that shows how Tiger Woods double-bogeyed a hole: http://www.nytimes.com/interactive/2009/06/19/sports/0619-tiger-graphic.html?hp Does anyone know how one could accomplish this in Flex? I want a plane that recedes toward the horizon, which

[flexcoders] Truncated last item in list

2009-03-03 Thread stldvd
Hi all, I've got an application which is being loaded as a SWF into another app. Everything looks and works fine on Mac, but not on Windows. The loaded app consists of Application -- VBox -- List. The list allows drag and drop to change the order of its elements. Everything works fine, except

[flexcoders] Re: Truncated last item in list

2009-03-03 Thread stldvd
@yahoogroups.com, stldvd stl...@... wrote: Hi all, I've got an application which is being loaded as a SWF into another app. Everything looks and works fine on Mac, but not on Windows. The loaded app consists of Application -- VBox -- List. The list allows drag and drop to change the order of its elements

[flexcoders] A Loaded SWF and ScrollPolicy

2009-02-24 Thread stldvd
Hi guys, I'm using a SWFLoader to load a SWF in two places in a parent app (and the two places are different sizes) and am having trouble with scrollbars. The loaded app is quite simple: Application -- VBox -- List. When a sufficient number of items are added to the list (which is done by the

[flexcoders] Re: MaskedTextInput

2009-02-24 Thread stldvd
Last I heard you cannot set the focus to a textfield from outside the application. Once the user has clicked on the Flex/Flash app in the browser, setfocus will work. But not before. -- David --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: I am trying to implement

[flexcoders] Re: Flex End-User Documentation Tools

2009-02-17 Thread stldvd
Hi, While this doesn't give a definitive answer, it will point you to some of the previous discussion on this matter. Search Flexcoders for RoboHelp and you will find some threads, e.g. One would hope that the company that owns Flash, Flex and RoboHelp is working on some integration... --

[flexcoders] Events and Child SWFs

2009-02-12 Thread stldvd
Hi guys, I've got a parent application with a 'delete' button. When it's clicked, I want to set a flag in a child swf, which is loaded via SWF loader. So in the parent app on the button's click event I'm dispatching an event: dispatchEvent(new Event(inDeleteMode)); In the child SWF's init

[flexcoders] Re: Events and Child SWFs

2009-02-12 Thread stldvd
, but it is the parent that dispatches the event. Depending on the rest of the app this.parent might work. So: this.parent.addEventListener(inDeleteMode, deleteModeHandler); Steve On Thu, Feb 12, 2009 at 10:44 AM, stldvd stl...@... wrote: Hi guys, I've got a parent application with a 'delete' button

[flexcoders] Re: Events and Child SWFs

2009-02-12 Thread stldvd
...@yahoogroups.com] On Behalf Of stldvd Sent: Thursday, February 12, 2009 1:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Events and Child SWFs Hi Steve, But I need the child swf to react, not the parent. So I think the listener has to be in the child, not the parent. David

[flexcoders] Binding and the Model

2009-01-13 Thread stldvd
Hi guys, I'm trying to concatenate a series of string literals and bound variables into a model variable called 'summary', which will be displayed in a 'summary' textarea or text control. The variables come from various control settings -- numeric steppers etc. I can bind the variables to UI

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
+ model.start}/mx:string Regards, Wesley On Tue, Jan 13, 2009 at 8:37 PM, stldvd stl...@... wrote: Hi guys, I'm trying to concatenate a series of string literals and bound variables into a model variable called 'summary', which will be displayed in a 'summary' textarea

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
= smry; } HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Tuesday, January 13, 2009 1:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Binding and the Model I don't think there's an mx:string tag

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
that in your model you've made the summary variable Bindable (either that or the entire class is Bindable). Thanks for the help! --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Thanks, Ryan. If I understand you correctly you're suggesting I create a Summary class with those setters

[flexcoders] Validating Checkboxes in an item renderer

2009-01-06 Thread stldvd
Hi All, I've got a checkbox in an item renderer. I need to know that at least one checkbox has been selected in order for the data to be considered valid and the 'save' function to go through. But I'm not sure how to iterate through the checkboxes, since in the code there's only one:

[flexcoders] Re: Validating Checkboxes in an item renderer

2009-01-06 Thread stldvd
is OK, but porky:String isn't? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: You could use a derivative of the example on my blog and then just test if selectedIndex != -1 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent

[flexcoders] Re: Validating Checkboxes in an item renderer

2009-01-06 Thread stldvd
) { Alert.show(No items are selected!); } --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: Hi Alex, I've been studying your code at http://blog.flexexamples.com/2008/01/27/using-a-checkbox-control-as-a-list-item-renderer-in-flex/ You use the filter method on the underlying

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread stldvd
I'm having a similar issue. Event is dispatched (I can step through code and see it) but the event listener is never hearing it, and so the listener function is never being fired. How does one tell if the listener is ready or not? If you add the listener on the creationcomplete or initialize

[flexcoders] Re: model in UIComponent

2009-01-05 Thread stldvd
Wish I could. The error has mysteriously disappeared and the component is now working. Thanks -- David --- In flexcoders@yahoogroups.com, Doug S. doug.sar...@... wrote: Can you post your code for the popup? --- In flexcoders@yahoogroups.com, stldvd stldvd@ wrote: I've got some UI

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread stldvd
the DOM. It is possible for a dispatched event to miss a component. Pop-ups are a particular problem. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Monday, January 05, 2009 4:48 PM

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread stldvd
, 2009 at 8:58 AM, stldvd stl...@... wrote: OK, here's a little app to demonstrate the problem. I'm sure the answer is obvious, but... can someone point it out? The Application and the Canvas go in the src folder; the custom event (FoodEvent) goes in an 'events' folder inside src. I made

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread stldvd
(FoodEvent.FOO D_EVENT, foodEventhandler) that will not hear events from pop-ups, though. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of stldvd Sent: Monday, January 05, 2009 6:05 PM To: flexcoders

[flexcoders] model in UIComponent

2009-01-02 Thread stldvd
I've got some UI text fields and labels bound to properties in my model. I'm dispatching an event which, when listened to, causes a popup to appear: var newRulesetWindow:IFlexDisplayObject = PopUpManager.createPopUp(this, NewRuleset, true);

[flexcoders] Tab Navigator/SWF Loader

2008-10-13 Thread stldvd
Hi All, I've got a tab navigator in an app that's throwing a strange exception. What happens is that if you *click* on a tab, you don't see this error, but if you use the arrow keys to move to one of the tabs, you do. The tab in question is different from the others in that it's the only one

[flexcoders] Re: Flex Efficiency

2008-07-17 Thread stldvd
Is this true regardless of whether you're loading the swfs as swfs (swfloader) or just as the source for image controls? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: SWFs have the potential to do timeline animations and thus require more player overhead that static

[flexcoders] Re: Scaling Child Images

2008-04-22 Thread stldvd
I forgot to say that I've tried scaleContent=true for the child images. That doesn't seem to work either. Anyone? --- In flexcoders@yahoogroups.com, stldvd [EMAIL PROTECTED] wrote: Hi All, I'm working on some interactive maps (just one so far) at http://www.brighttext.com/afropop

[flexcoders] Re: Scaling Child Images

2008-04-22 Thread stldvd
@yahoogroups.com, stldvd stldvd@ wrote: I forgot to say that I've tried scaleContent=true for the child images. That doesn't seem to work either. Anyone? --- In flexcoders@yahoogroups.com, stldvd stldvd@ wrote: Hi All, I'm working on some interactive maps (just one so far

[flexcoders] Scaling Child Images

2008-04-21 Thread stldvd
Hi All, I'm working on some interactive maps (just one so far) at http://www.brighttext.com/afropop/alandalus.html I need to be able to position precisely some icons and arrows, so I've got the parent container as a canvas -- I can use absolute layout and position the child images using x and

[flexcoders] Re: Bundling config.xml file with the SWF without switching to ant?

2008-04-21 Thread stldvd
Hi Josh, Not sure if this answers your question, but you can add a config file (for example) as an additional compiler argument. You right-click on your project, select Properties, then Flex compiler. You'd add e.g. -services config/services-config.xml HTH, David --- In

[flexcoders] Type Coercion Failure

2007-01-07 Thread stldvd
Hi, I'm pretty new to Flex but familiar with earlier versions of AS. Can anyone provide a clear explanation of what is happening when this message appears within a Flex project: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to