[flexcoders] Changing mx:Application's width during runtime

2006-10-29 Thread pilby1
When I run my application where mx:Application's width is 640x480, by default, it shows a gradient blue square depicting those screen dimensions. I then try to dynamically change the width to 1024 in actionscript when a button is clicked. I had "trace"'d the application width after changing it

[flexcoders] What is the substitute for eval() now?

2006-10-10 Thread pilby1
Sorry if this had been covered before, but I searched the archives, even the Macromedia site, even just Google search, and I can't seem to find anything that addresses eval() other than it having been removed in Actionscript 3. Nothing seems to state what took its place, if any. If I wanted to

[flexcoders] Flex Explorer RemoteObjectDemo.mxml question

2005-09-16 Thread pilby1
I was playing around with the examples that came with Flex, and I'm encountering something peculiar with RemoteObjectDemo.mxml. Here is the RemoteObject call: Notice that the "result" handler simply assigns the return value to a variable called "empList". Simple enough. When I try to d

[flexcoders] Re: flashvars question

2005-09-02 Thread pilby1
Hi, Matt, thank you for your response. I'm a bit confused though by what you mean. A flex app, by its very nature, does not utilize or require the use of the forward/back buttons of the browser, as that will bring the user out of the flex app. I took out all historyURL and lc_id occurrences in

[flexcoders] RE: flashvars question

2005-09-01 Thread pilby1
I noticed that in the html page that FlexBuilder generates, there are the following flashvars variables: - historyUrl - lconid What would be the consequence of removing those two? I tried removing the lconid=lc_id in the flashvars with no apparent consequence, but I just wanted to make sure.

[flexcoders] Is there a way to selectively enable/disable Tabs?

2005-07-27 Thread pilby1
If I had this: Is there a way I could selectively disable only Tab 2 and Tab 3? Thanks. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archi

[flexcoders] How do I change the background color for text in htmlText property?

2005-07-05 Thread pilby1
My objective is, by using the 's htmlText attribute, to display a block of text where some lines had a different background color for highlighting purposes. I tried this: http://www.macromedia.com/2003/mxml"; initialize="initApp();" backgroundColor="#FF"> but the above doesn't wor

[flexcoders] RE: Font question

2005-06-27 Thread pilby1
Does Flex do anti-aliasing of fonts? My understanding of anti-aliasing is an algorithm applied to a font that makes it look smooth and refined (as I typically see in Adobe). At this point, I wonder if .ttf fonts can come already anti-aliased, and if not, does Flex have the ability to anti-alias

[flexcoders] How do I alter the drop shadow of a Panel?

2005-06-23 Thread pilby1
I am using 's, and I wanted to make the drop shadow on all of them stand out more. I checked the documentation, it seems like the attributes shadowDistance and shadowDirection are what I need to modify. However, changing the value of shadowDistance doesn't seem to make any difference whatsoev

[flexcoders] Re: Custom preloader question

2005-06-01 Thread pilby1
Lol, it was in one of the handful of chapters I haven't read. But I did check the book index, looking for "custom" and "preloader", and I didn't find any references. The example in your book required using Flash. I was looking for a preloader that's reliant on only an Actionscript class, i.e,.

[flexcoders] Custom preloader question

2005-05-31 Thread pilby1
I am trying to create a customized preloader for my application using an Actionscript class. I am not the best in Actionscript, and all I really wanted was a preloader that displayed a progress bar on top of a background image, and I am unable to do so. I have read the Flex documentation and ev

[flexcoders] Re: Tree component's calculateWidth() method, does it work?

2005-05-24 Thread pilby1
ethani <[EMAIL PROTECTED]> wrote: > On 5/23/05, pilby1 <[EMAIL PROTECTED]> wrote: > > > Checking the documentation, it seems like the method, calculateWidth > > (), is my answer. However, doing tree.calculateWidth() always returns > > NaN, making it useless. >

[flexcoders] Tree component's calculateWidth() method, does it work?

2005-05-23 Thread pilby1
I have a panel that houses a tree control. I have noticed that the tree's horizontal scrollbar has a bad habit of appearing when it shouldn't, so I had decided to set its hScrollPolicy to "off", and thereafter turning it on manually as needed. In order for this to be possible, I need to know th

[flexcoders] Re: Perplexing caching behavior

2005-05-11 Thread pilby1
ce, delete the source attribute, recompile, add the > source attribute > back, recompile. > > - Original Message - > From: "pilby1" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, May 11, 2005 3:04 PM > Subject:

[flexcoders] Re: Perplexing caching behavior

2005-05-11 Thread pilby1
of the URL string. > > If no dice, delete the source attribute, recompile, add the source attribute > back, recompile. > > - Original Message - > From: "pilby1" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, May 11, 2005 3:04 PM > Subject: [

[flexcoders] Perplexing caching behavior

2005-05-11 Thread pilby1
I have a .GIF file which is embedded into my Flex application. I noticed that whenever I modify this .GIF file and rerun my application, the changes weren't taking effect. That tells me there is some kind of caching going on here. I then tried deleting the graphic, and tried to compile the Flex

[flexcoders] Re: Tree Drag and Drop help

2005-05-06 Thread pilby1
> >dest.clearSelected(); >var dropParent = dest.getDropParent(); > >for (var i = items.length - 1; i >= 0; i--) >{ > var newNode = dropParent.addTreeNodeAt(dropLoc,items[i]); > dest.selection = newNode; >} > } > > > -

[flexcoders] Tree Drag and Drop help

2005-05-05 Thread pilby1
I've been wracking my brains on this for a while now, and it hasn't been a smooth ride. Instead of chanting my experiences in this forum, it all boils down to my pleading for help from any of you. Can anyone please provide me a code sample or a URL of such pertaining to drag-n-drop with a Tree

[flexcoders] Re: How to get past this Tree bug

2005-05-03 Thread pilby1
> myTreeNode.setProperty("label","",true); > > Using the API ensures that the events to update the visual display get > fired. > > Tracy > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On &g

[flexcoders] Re: How to get past this Tree bug

2005-05-03 Thread pilby1
By the way, after I change the label attribute, I've already tried: tree.invalidate(); tree.invalidateProperties(); but the above don't work either. Thanks. --- In flexcoders@yahoogroups.com, "pilby1" <[EMAIL PROTECTED]> wrote: > My application requires me to modify

[flexcoders] Re: How to get past this Tree bug

2005-05-03 Thread pilby1
Oops, that 'tree.attributes.label = "";' was supposed to read 'tree.selectedNode.attributes.label = "";'. --- In flexcoders@yahoogroups.com, "pilby1" <[EMAIL PROTECTED]> wrote: > My application requires me to modify the text/label of

[flexcoders] RE: How to get past this Tree bug

2005-05-03 Thread pilby1
My application requires me to modify the text/label of tree nodes. In my tree's change event, I am able to do this: event.target.attributes.label = ""; and the text in the tree node would update accordingly, as expected. However, I noticed that if I were to try to change the label from another

[flexcoders] MovieClip and Flex question

2005-04-27 Thread pilby1
I'm new at using movieclips with Flex, so if I may ask a basic question please. I'm trying to make a movieclip appear in my flex application, but for some reason, it's not working. Here is my code in the "initialize" handler of my flex app: var mcSplash = new MovieClip();

[flexcoders] Binding question

2005-03-23 Thread pilby1
I have web services in my application, and I wanted to bind the value of the "wsdl" attribute of a tag, but I'm having difficulty. I have my model like this: http://someURL?wsdl Then in my web service, I have: a variable? Yahoo! Groups Links <*> To visit your group on the web

Re: Tree dragSource question

2005-03-04 Thread pilby1
gged and dropped? Thanks. --- In flexcoders@yahoogroups.com, Ted Casey <[EMAIL PROTECTED]> wrote: > treeitems is the format. > > Thanks, > > Ted > > -Original Message- > From: pilby1 [mailto:[EMAIL PROTECTED] > Sent: Friday, March 04, 2005 9:52 AM >

Tree dragSource question

2005-03-04 Thread pilby1
When one drags items from a datagrid to a tree, we do: event.dragSource.dataForFormat("items"). This doesn't seem to be working when I drag a tree node and drop to another tree node. What is the format string for a tree node that was dragged? Thanks.

Tree component limitation??

2005-03-04 Thread pilby1
I have a residing inside a container that's, let's say, 300 pixels high. When I fully expand all the branches of the tree, it way exceeds this 300-pixel height limitation of the container, and vertical scroll bars appear. Good so far. Now when I drag a node towards to bottom with the intent t