[flexcoders] Using tooltips programatically with AS3

2007-09-09 Thread candysmate
I wish to use tooltips to highlight user input error when entering data into a dataGrid. How can I cause a tooltip to display without using the mouse to rollover an object please?

[flexcoders] Best Practices for XML Compression

2007-09-09 Thread Steve Hueners
With e4x it's much more tempting to use XML for lots of my client/server traffic but the overhead is still going to be a problem. I've see a couple compression strategies outlined but most for AS2 and/or i'm not clear on server-side requirements. Is there a) any good overview of the topic; b) emer

[flexcoders] Programatically deselecting tree branch objects

2007-09-09 Thread hardaur55
Good morning all, I'm trying to set up a tree control so that branch items open and close on select just as if somebody had clicked the twirly. I've got everything taken care of but I need to find a way to programatically deselect the branch item. Here's the code problem: In my Tree change even

[flexcoders] Re: How to expand TREE Node children by clicking folder icon instead of triangle

2007-09-09 Thread mubasherhaneef
Hi Alex, I think you were talking about the below mentioned function. Could you please elaborate a little bit more whatever you mentioned in your earlier reply? Thanks in advance & Reagrds; /** * @private */ private function disclosureMouseDownHandler(event:Event):

[flexcoders] How to converst an XML to AS Object ?

2007-09-09 Thread lytvynyuk
Situation I have XML like that using HTTPService I'm getting this XML. I have AS Class: public class Album { public var name:String; public var images:ArrayCollection; } straight cast like: var album:Album = Album (event.result); doesn't work Is any suggestion around this, what I

[flexcoders] Put Flash File into Yahoo! Groups Description...

2007-09-09 Thread Khaled
Hi All, Hope Everyone is fine... Look I want to Embed a swf File into Yahoo! Groups Description ... Could Anyone tell Me How By Showing me the Code Thnx Alot... Please Reply Me on ("[EMAIL PROTECTED]") Thnx 4 reading

Re: [flexcoders] Video and rtmp using Flex

2007-09-09 Thread philip carrington
My main issue, is that the URL to the FCS works just fine outside of the proxy at my job (it loads immediately) but behind that proxy the connection fails. And, when I try 'rtmpt' the connection fails in front of the proxy and behind the proxy. What's perplexing is that I can stream video f

[flexcoders] Hexadecimal XML encoding of carriage returns:

2007-09-09 Thread enginefloor
I'm capturing data from a text area, and binding it to an attribute in an XMLListCollection before packing it up and shipping it off with HTTPService to a PHP page. For whatever reason carriage returns are being encoded as & # x D ;(pretend there's no whitespace) which, as was pointed out to

[flexcoders] Problem with RichTextEditor and Embedded fonts

2007-09-09 Thread kiwicomposer
Hi folks I'm having a problem with the RichTextEditor when using an embedded font in my application. When the font for TextArea is set to an embedded font, no device fonts will render in the RTE. Typing when this font is selected just causes no characters to be displayed. Can be duplicated usin

[flexcoders] Auto-syncing child image placement when parent image resizes

2007-09-09 Thread whokilledhomer
I think I have a question that I'm sure some of you have ran into but I can't seem to come up with a solution: I have an image of a state inside of a canvas that has on top of it small pushpin icons added as points on the map which are placed using the parent.addChild(somepushpin) mechanism. I do

Re: [flexcoders] Re: busy cursor not spinning?

2007-09-09 Thread Mayank
try disabling u're custom skins/css and then running the application to find out if that indeed is the reason On 9/8/07, philza1985 <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com , Mayank > <[EMAIL PROTECTED]> wrote: > > > > have u set the showBusyCursor attribute in the rpc ta

[flexcoders] Dragging and moving an image to a new location

2007-09-09 Thread alex_gky
Hi all, How do I achieve dragging an image and upon releasing the mouse button, the image moves to the new location? I have achieve till the drag drop stage using action script. But when the dragDrop() event is called, how do I use action script to update an image (say id="img1") to the new mouse

[flexcoders] 50% off Zinc for Flexcoders members

2007-09-09 Thread Paul Tunnicliffe {mdm}
Hi all, Firstly thanks to the Flexcoders moderators for giving me the nod to post this. Being a member of various user community groups myself, I know how frustrating it is to receive a marketing post on your forum. Hopefully you guys won't see this as spam, but as an incentive for serious Flex

[flexcoders] Migrating from AIr to Flex 2 questions

2007-09-09 Thread garrett.reynolds
Hi all- First off I know that this is not the Adobe Air forum however I believe that some people have migrated the example I cite in this message to flex 2 and I was wondering if anyone here had come across it and also I was hoping someone might help me with my compile issues. Please note that I

[flexcoders] FullScreen in Builder 3 Beta 1

2007-09-09 Thread justin.buser
Here's a quick example of how to switch to full screen in FB3: http://www.adobe.com/2006/mxml"; layout="vertical" applicationComplete="{stage.addEventListener('fullScreen',function(e:Event):void{ debugText.text='width:'+width+' height: '+height+' Display State: ' + stage.displayState; })}">

[flexcoders] how to connect a jsp with the mxml using Apache Tomcat5.5

2007-09-09 Thread kandas_raja
hi we find ur email in ur blog . we are currently looking for a jsp sample handling mxml . we had an error using tomcat 5.5 and fds 2.0 . we cant find the requested class "flex/webtier/server/j2ee/wrappers/J2EEWrapper" if u send me a sample jsp file ,web.xml with the respected ja

[flexcoders] Re: Creating Custom Events - I need help!

2007-09-09 Thread danielvlopes
Thanks, i'm living in brazil and today is sunday, only tomorrow i will can test your sugestion. Tomorrow i post here the result. Thanks. --- In flexcoders@yahoogroups.com, Mayank <[EMAIL PROTECTED]> wrote: > > The metadata tag is only to assist your compiler and does not translate in > any runtim

Re: [flexcoders] Dragging and moving an image to a new location

2007-09-09 Thread Sheriff
DragManager.acceptDrop() - Original Message From: alex_gky <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, September 9, 2007 9:28:35 AM Subject: [flexcoders] Dragging and moving an image to a new location Hi all, How do I achieve

[flexcoders] Re: How to expand TREE Node children by clicking folder icon instead of triangle

2007-09-09 Thread hardaur55
Mubasher, Hi, I'm doing the same thing you are. You can see some code that makes it happen at http://tech.groups.yahoo.com/group/flexcoders/message/86441 However, you'll run into the same problem I am : ( H --- In flexcoders@yahoogroups.com, "mubasherhaneef" <[EMAIL PROTECTED]> wrote: > > I

[flexcoders] Re: Programatically deselecting tree branch objects

2007-09-09 Thread hardaur55
for posterity, I finally came up with a decent solution. To programatically deselect an item from a Tree: treeObjectName.selectedItem = null; Hope that helps somebody at some point. H --- In flexcoders@yahoogroups.com, "hardaur55" <[EMAIL PROTECTED]> wrote: > > Good morning all, > > I'm tryi

[flexcoders] Rotating Thing, Example inside

2007-09-09 Thread Sheriff
was wondering if anyone knew how to do something like this http://www.thereplicants.net/flex/test/InfobolsaDashboard.swf hold SHIFT+ESC and use the cursor thats in the middle of the mouse to move it Si

RE: [flexcoders] How to know what is in mx_internal

2007-09-09 Thread Alex Harui
Search all of the source for "mx_internal" From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Saturday, September 08, 2007 11:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] How to know what is in mx_internal

[flexcoders] List component selectedIndex not updating when selecting and rolling off

2007-09-09 Thread bick
The list component (Flex 2) selectedIndex is not updating when selecting and rolling off a list item. However, the selection indicator appears over the rolled off item. You can see this strange behavior with a simple test: http://www.adobe.com/2006/mxml"; layout="vertical">

RE: [flexcoders] List component selectedIndex not updating when selecting and rolling off

2007-09-09 Thread Alex Harui
Known bug. Fixed in Moxie. Not sure of a workaround. Maybe get mouseUp in capture phase and send change event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bick Sent: Sunday, September 09, 2007 2:14 PM To: flexcoders@yahoogroups.co

Re: [flexcoders] CData inside XML object

2007-09-09 Thread Daniel Freiman
Look at XML.ignoreWhitespace ( http://livedocs.adobe.com/flex/201/langref/XML.html). Also, would think you would be able to create a cdata node by doing something like this: var cdata:XML = new XML(""); - Dan Freiman On 9/7/07, discoguy77 <[EMAIL PROTECTED]> wrote: > > Hello, > I am saving som

Re: [flexcoders] Problem with RichTextEditor and Embedded fonts

2007-09-09 Thread Daniel Freiman
TextFields, the basis/renderer for (almost) text controls in flex, allows you to use embeded fonts or device fonts, but not both at the same time in a given TextField. See TextField.embedFonts in livedodcs for (minimally) more information. - Dan Freiman On 9/9/07, kiwicomposer <[EMAIL PROTECTED]

[flexcoders] Re: List component selectedIndex not updating when selecting and rolling off

2007-09-09 Thread bick
Perfect- thanks for clearing that up. Here's one solution: In a class that extends the list based class: public class TransparentTileList extends TileList { public function TransparentTileList(){ super(); } override protected function mouseUpHan

[flexcoders] Dynamic Assignment of DataGrid columns

2007-09-09 Thread generalxxaxx
I have created an mxml component for a datagrid. I wanted to switch the columns between three sets. The code below is my attempt to accomplish this. A failed attempt. Is there something wrong with this approach? Or, is there perhaps something wrong with my implementation? Regards, Claude http:

[flexcoders] Re: Dynamic Assignment of DataGrid columns

2007-09-09 Thread generalxxaxx
Please ignore previous post. Just noticed that in copy/paste of the code I left the columns bit off. {_displayColumns} Sorry for the bandwidth, Claude --- In flexcoders@yahoogroups.com, "generalxxaxx" <[EMAIL PROTECTED]> wrote: > > I have created an mxml component for a datagrid. > I wanted to

[flexcoders] Re: Creating Custom Events - I need help!

2007-09-09 Thread robertdx.tw
Thanks for the correction, Mayank. Robert --- In flexcoders@yahoogroups.com, Mayank <[EMAIL PROTECTED]> wrote: > > The metadata tag is only to assist your compiler and does not translate in > any runtime code. > > Since you are using actionscript to dispatch and catch the event you can > skip this

Re: [flexcoders] Best Practices for XML Compression

2007-09-09 Thread Mark Carolin
Have you seen this library? http://code.google.com/p/vanrijkom-flashlibs/ It may be a great way to save some bandwidth... Mark On 9/9/07, Steve Hueners <[EMAIL PROTECTED]> wrote: > > With e4x it's much more tempting to use XML for lots of my > client/server traffic but the overhead is still g

[flexcoders] LocalConnection and BitmapData

2007-09-09 Thread daniel_mcweeney
I have two flex apps and I would like to send a BitmapData object between them. The "Sender" application gets the BitmapData from a UI object and sends it to the "Receiver" application. "Sender" Application: http://www.adobe.com/2006/mxml"; layout="absolute">

[flexcoders] Re: Rotating Thing, Example inside

2007-09-09 Thread tudury_david
they probably rendered a few steps of the spinning animation into buffers. then they display the appropriate buffer based on how far you've rotated it. notice how when you place a window on one side of the cube it goes wonky when you rotate it to another side.

[flexcoders] How to Pass Data From Server to Client On App Load

2007-09-09 Thread Charles Dale
Hi guys, I've been banging around solutions to this (apparently) simple problem for a few months. I still haven't found something I'm happy with. In our system users load Flex apps off an Apache server, authenticating to Apache using Single Sign-On (mod_auth_kerb against an ActiveDirectory ser

[flexcoders] main application's url?

2007-09-09 Thread grimmwerks
Hey - I've got a flex app that has to sit on the internet at different domains; what's the easiest way to get the main url for future httpservice callbacks, as 'localhost' doesn't seem to work...

[flexcoders] Re: Rotating Thing, Example inside

2007-09-09 Thread robertdx.tw
Hi, You can use Alex Uhlmann's distortion effects Robert --- In flexcoders@yahoogroups.com, Sheriff <[EMAIL PROTECTED]> wrote: > > was wondering if anyone knew how to do something like this > http://www.thereplicants

[flexcoders] Re: private / getters and setters

2007-09-09 Thread nathanpdaniel
If you're ever interested in using ASDoc to document your classes, it states you should name the variable, followed by the setter, then the getter. i.e.: private var _a:Object; public function set a(value:Object):void { _a = value; } public function get a():Object { return _a; } This would be

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-09 Thread Derrick Grigg
You can't automatically convert XML to a strong typed object. You should create a method in your Album class that takes an xml variable, and then populate the Album from there. ie var album:Album = new Album(); album.setData(event.result); class Album { public function setData(data:XML):vo

[flexcoders] building up the url for httpservice

2007-09-09 Thread grimmwerks
Ok this is stupid. Since we've got an app that might be moving around, I was going to either pass the rootURL in flash vars or strip it from the main application.url. Well did all that but how do I set it in the httpservice's url with a variable AND a string: url="{rootURL+"\"/signup/re

Re: [flexcoders] building up the url for httpservice

2007-09-09 Thread shaun
grimmwerks wrote: > Ok this is stupid. > > Since we've got an app that might be moving around, I was going to > either pass the rootURL in flash vars or strip it from the main > application.url. > > Well did all that but how do I set it in the httpservice's url with a > variable AND a strin

Re: [flexcoders] building up the url for httpservice

2007-09-09 Thread Sheriff
i think thats where the nameofthesevice.Send(...) comes in, so place the url inside the send, dont quote me on this though - Original Message From: grimmwerks <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Sunday, September 9, 2007 10:21:36 PM Subject: [flexcoders] building up

[flexcoders] Re: How to converst an XML to AS Object ?

2007-09-09 Thread lytvynyuk
Thank you I kinda knew about that way ;) but if my object contains30 fields and also has a bunch of another objects, this procedure will be painful ;) What about this way: public function result(event:ResultEvent):void { var xmlS:XML = XML(event.result); var decoder:SimpleXMLDecoder = new Simple

[flexcoders] Re: Problem with RichTextEditor and Embedded fonts

2007-09-09 Thread kiwicomposer
That's a shame. Thanks for the response. Marty --- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote: > > TextFields, the basis/renderer for (almost) text controls in flex, allows > you to use embeded fonts or device fonts, but not both at the same time in a > given TextF

[flexcoders] Help with AdvancedDatagrid

2007-09-09 Thread Sandeep Malik
Guys, We have an issue. We're using a HierarchicalData as dataProvider and we have a case where in a user can add a child node to a parent node. What we want is as follows: A user selects a parent node in data grid (i.e. that particular row appears selected), and then he adds a new node under

[flexcoders] RELEASE: maven-flex2-plugin 1.1 released

2007-09-09 Thread Christian Gruber
Greetings all, I have just released maven-flex2-plugin v1.1. This is a plugin to allow flex applications to be built via the Maven automated build system. Changes include: * Fix: Calls to mxmlc and compc may fail if command-line is too long on windows. * Old version of m

Re: [flexcoders] LocalConnection and BitmapData

2007-09-09 Thread EECOLOR
The problem lies in the fact that BitmapData is not serializable in AMF3. What you can do is: Extend the BitmapData class and add a line like this in the top class definition: [RemoteClass(alias="package.ClassName")] Make sure your new class has no arguments in the constructor and that all the d

RE: [flexcoders] main application's url?

2007-09-09 Thread Alex Harui
Application.application.url From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Sunday, September 09, 2007 7:08 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] main application's url? Hey - I've got a flex app th