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

2012-01-26 Thread stldvd
t;Tandon, Rishi" 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 > To: f

[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 pr

[flexcoders] Re: hSlider Thumb Skin positions incorrectly

2011-12-21 Thread stldvd
to base your skin off 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" wrote: > > > > ::bump:: > >

[flexcoders] Re: hSlider Thumb Skin positions incorrectly

2011-12-19 Thread stldvd
::bump:: Anyone? --- In flexcoders@yahoogroups.com, "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

[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 reg

[flexcoders] Re: Reference value

2010-06-09 Thread stldvd
> currentDate = "11"; > > > > It does raise 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...

[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] 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 only

[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] 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] Re: Rich Text Editor and XML

2009-09-14 Thread stldvd
come to the aid of their country. --- In flexcoders@yahoogroups.com, "stldvd" 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, t

[flexcoders] Re: Rich Text Editor and XML

2009-09-13 Thread stldvd
following, 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, "stldv

[flexcoders] Re: Rich Text Editor and XML

2009-09-13 Thread stldvd
- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Does this: > > tr.color = "red"; > > work in general? > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogr

[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 textToColo

[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" wrote: > > Hi all, > > I'm working with httpservice and a rich

[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 tag, then make it bold; if it's in an tag, then I'll italicize it, then display it

[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 w

[flexcoders] Re: Truncated last item in list

2009-03-03 Thread stldvd
oders@yahoogroups.com, "stldvd" 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 &g

[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 t

[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" wrote: > > I am trying to implement that control in

[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 p

[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] Re: Events and Child SWFs

2009-02-12 Thread stldvd
ervices > > Flex development bandwidth available > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of stldvd > Sent: Thursday, February 12, 2009 1:02 PM > To: flexcoders@yahoogroups.com > Subject: [f

[flexcoders] Re: Events and Child SWFs

2009-02-12 Thread stldvd
ut 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 wrote: > > > Hi

[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 f

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
automatically update. And, of course, make sure 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" wrote: > > Thanks, Ryan. > > If I understand

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
ation" + > _duration.toString() + "\n"; > > //etc for all properties to generate summary > > > > //set the summary property to fire change event for > components that are bound to it > > summary = smr

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
correct summary is returned to the Text control? --- In flexcoders@yahoogroups.com, "Wesley Acheson" wrote: > > I think you can add something like. > > {model.duration + model.start} > > Regards, > > Wesley > > On Tue, Jan 13, 2009 at 8:37 PM, stldvd wrot

[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 c

[flexcoders] Re: Validating Checkboxes in an item renderer

2009-01-06 Thread stldvd
if(!tArr.length) { Alert.show("No items are selected!"); } --- In flexcoders@yahoogroups.com, "stldvd" wrote: > > Hi Alex, > > I've been studying your code at > http://blog.flexexamples.com/2008/01/27/using-a-checkbox-control-as-a-list-

[flexcoders] Re: Validating Checkboxes in an item renderer

2009-01-06 Thread stldvd
d know that idx:uint is OK, but porky:String isn't? --- In flexcoders@yahoogroups.com, Alex Harui 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

[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: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread stldvd
gt; You could also set the listener on a reference to > Application.application instead of SystemManager: > > creationComplete="Application.application.addEventListener(FoodEvent.FOO > D_EVENT, foodEventhandler)" > > that will not hear events from pop-ups, though. > > >

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

2009-01-05 Thread stldvd
he SystemManager. > > -Josh > > On Tue, Jan 6, 2009 at 8:58 AM, stldvd 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 t

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

2009-01-05 Thread stldvd
ceive user input, via ComboBox > or button click, as the original poster noticed. > > > > Remember that events flow through the DOM. It is possible for a > dispatched event to "miss" a component. Pop-ups are a particular > problem. > > > > Tracy > >

[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." wrote: > > Can you post your code for the popup? > > --- In flexcoders@yahoogroups.com, "stldvd" wrote: >

[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 event

[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); mx.managers.PopUpManager.centerP

[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 t

[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

[flexcoders] Re: Scaling Child Images

2008-04-22 Thread stldvd
ap Image > Map Icons > > What you'd rather have is > Application > | > Canvas > | > Map Component (this is what you'd scale) > || > |Map Image > Map Icons > > So how is it set up now? > -b > > --- In flexcoders@yahoogroups.com,

[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 m

[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@yahoogr

[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] 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 mx.core.IUIComponen