Re: {Disarmed} RE: {Disarmed} Re: [flexcoders] First flex app - looking for feedback

2007-03-05 Thread Toby Tremayne
You have to make sure your hands are lined up so they're displaying in green pixels on the edges of the frame (where the panels are). It works best if you hod your hands parallel to the keyboard so you're only tracking a single lump of green pixels. if you're moving too much or your shoul

AW: [flexcoders] Re: Not able to generate GUID

2007-03-05 Thread Harald Dehn
Hi, there is a static function in the UIDUtil class called createUID(). Ot works fine in my project. Harald Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von scott_flex Gesendet: Dienstag, 6. März 2007 05:06 An: flexcoders@yahoogroups.com Betreff: [flexcoders]

[flexcoders] Re: OT sort of..need SCORM help

2007-03-05 Thread lincmitch
I need to do the same thing, did you get anywhere with it - find any resources? Linc --- In flexcoders@yahoogroups.com, Russell Sprague <[EMAIL PROTECTED]> wrote: > > I have to develop a SCORM 2004 compliant course, and I have a course > interface built in flex, but it is not SCORM ready. I kno

Re: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-05 Thread shaun
Matt Chotin wrote: > Two places to learn about weak refs and memory: > http://livedocs.adobe.com/flex/201/html/16_Event_handling_172_6.html, > http://livedocs.adobe.com/flex/201/html/performance_118_27.html > Its funny(read: typical), just after i pressed send I noticed the week reference arg to

[flexcoders] image hotspots

2007-03-05 Thread Mrinmoyee Sanyal
How do we create hotspots (linkable areas) in an image? -MS

RE: [flexcoders] Re: FileReference.upload,URLVariables,uploadDataFieldNamenot working as expect

2007-03-05 Thread [EMAIL PROTECTED]
dual mode has issues whihc i havent fixed. Single mode should work fine. besides .. the admin scrren shot that u send me looked ok, u need to put the info select the date and hit add Original Message: - From: w4kpm [EMAIL PROTECTED] Date: Mon, 05 Mar 2007 19:18:01 + To: flexco

RE: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-05 Thread Matt Chotin
Two places to learn about weak refs and memory: http://livedocs.adobe.com/flex/201/html/16_Event_handling_172_6.html, http://livedocs.adobe.com/flex/201/html/performance_118_27.html When I say removing children from the display list I mean that for every addChild call you make, if the component y

[flexcoders] Re: How Can I save the drawing made at runtime

2007-03-05 Thread sanjaypmg
Thanks to all of you for your suggestions... Sanjay --- In flexcoders@yahoogroups.com, "Troy Gilbert" <[EMAIL PROTECTED]> wrote: > > Tom's suggestion is a decent one if you're looking to save the image in an > editable form. If you're wanting to save the image as a GIF/JPG/PNG/etc., > then you

[flexcoders] Show\Hide Column in DataGrid

2007-03-05 Thread sanjaypmg
Hi All, I am facing an Error while making Grid columns visible\Invisible at runtime. I have made a function showHideColumns in my application which accepts 2 arrays as parameters. One is "colNameArr" Which has all the column names of GRID and another one is "colStatusArr", which has TRUE or F

Re: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-05 Thread shaun
Matt Chotin wrote: > Funny you bring this up, it came up in a separate discussion today. We > don't have a "typical" memory usage for a Flex app, it really depends on > what kind of work your application does. Do you load lots of images? > Those can take up space. How many components do you have,

[flexcoders] Re: Limitation of ObjectUtil.copy???

2007-03-05 Thread Dan
Reply to my own question, I think i didn't register the object in the class by [RemoteClass brala brala, now it works fine after registering it. Thanks Dan --- In flexcoders@yahoogroups.com, "Dan" <[EMAIL PROTECTED]> wrote: > > Hi all, > > Does anyone try using ObjectUtil.copy and get the fail

[flexcoders] Problem with Content spilling over beyond it's container's bounds

2007-03-05 Thread Mike Anderson
Hello All, I have an irritating problem with a draggable TitleWindow, that houses a UIComponent w/embedded SWF. My Custom Class extending a UIComponent embeds an external SWF File, which gives me the ability to wrap it with code. This way I can control the SWF and all the MovieClips it contains,

[flexcoders] Re: Managing Multiple Modules

2007-03-05 Thread aaronvm707
One more question. After loading a module, then unloading it and removing it from the display then loading the module again my ModuleEvent "info.addEventListener(ModuleEvent.READY, modEventHandler)" fires twice. Any thoughts? Aaron --- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PR

RE: [flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-05 Thread Matt Chotin
Funny you bring this up, it came up in a separate discussion today. We don't have a "typical" memory usage for a Flex app, it really depends on what kind of work your application does. Do you load lots of images? Those can take up space. How many components do you have, do you load them in a defe

Re: [flexcoders] Re: Not able to generate GUID

2007-03-05 Thread shaun
Hi, scott_flex wrote: > Thanks for the reply... i probably will look into writing my own > implementation. Never really thought of it... > > Generating GUIDs on server, while i can do that, just makes more > sense if it's done in the flex app itself. > No, it doesnt. > and yes... these IDs

[flexcoders] Re: Managing Multiple Modules

2007-03-05 Thread aaronvm707
Roger, I used your suggestion about storing the open module data in an array then pulling up the details when I need it for unload or other operations. Works great. Thanks again. Aaron --- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]> wrote: > > The module manager knows w

Re: [flexcoders] Data Provider refresh problems

2007-03-05 Thread Jeremy Tooley
and this is how I set my initial DP back to normal private function clearSearch():void{ itemsDiscontinued = new ListCollectionView(regions); itemsDiscontinued.filterFunction = null itemsDiscontinued.refresh(); myGrid.dataPr

Re: [flexcoders] Data Provider refresh problems

2007-03-05 Thread Jeremy Tooley
Dude, I just fought this battle. I had an Array Collection and I would filter it.. but the I couldnt access the indexs of the arrayCollection. It would only change my dataGrid and comboboxes based on what was in the view. Here is my code snip //import the class first import mx.collections.Li

[flexcoders] Re: Trouble passing data between components

2007-03-05 Thread helihobby
I think this may help. http://www.helihobby.com/html/alon_desingpattern.html Sean. --- In flexcoders@yahoogroups.com, "Jack OMelia" <[EMAIL PROTECTED]> wrote: > > Hi All, > > I'm more of a designer than a developer, and as such my coding skills > are not outstanding, so bear with me. > > I ha

[flexcoders] firstTabStyleName?

2007-03-05 Thread Michael Imhoff
Does firstTabStyleName work for either the TabNavigator or TabBar? I see the style definitions in both classes, but I don't see how and/or if they are implemented. Thanks for your help, Michael

Re: [flexcoders] Right-Click -> View Source

2007-03-05 Thread André Rodrigues Pena
Thanks Jim and Muzak. It works :) On 3/5/07, Jim Cheng <[EMAIL PROTECTED]> wrote: André Rodrigues Pena wrote: > Allow you to view the source by Right-Click -> View Source. As I saw > this trick in several applications I guess it is a flex native > support.. isnt it? How do I do it? Yup. Fro

RE: {Disarmed} Re: [flexcoders] First flex app - looking for feedback

2007-03-05 Thread Jeff Hindman
Doesn't work for me . couldn't move paddles. --Jeff _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Toby Tremayne Sent: Monday, March 05, 2007 6:11 PM To: flexcoders@yahoogroups.com Subject: Re: {Disarmed} Re: [flexcoders] First flex app - looking for f

Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread slangeberg
Actually, SoundManager doesn't seem to fit MVC. You have no view and no user input, correct? Why not just use a Command (or whatever patterns fit) structure without worrying too much about Cairngorm..? Cairngorm's great and all, but it is intended to manage large applications with many views, in t

[flexcoders] Re: Not able to generate GUID

2007-03-05 Thread scott_flex
Thanks for the reply... i probably will look into writing my own implementation. Never really thought of it... Generating GUIDs on server, while i can do that, just makes more sense if it's done in the flex app itself. and yes... these IDs will be used as primary keys in my database... at le

[flexcoders] How to display the datatip for a bar chart accross all series at the same time ?

2007-03-05 Thread Claude Hussenet
How to display the datatip for a bar chart accross all series at the same time ? Thx-Claude Regards Claude Hussenet - Have a burning question? Go to Yahoo! Answers and get answers from real people who know.

[flexcoders] Limitation of ObjectUtil.copy???

2007-03-05 Thread Dan
Hi all, Does anyone try using ObjectUtil.copy and get the fail to convert object error? I use this for some Java external generated class, then it work fine. But as I try to copy a class that is construct in AS, then it failed and get a runtime fail to convert error. Is there any limitation on

[flexcoders] Re: How to Copy object with same base class

2007-03-05 Thread Dan
Hi JWOpitz, It works great, Thx!!! Dan --- In flexcoders@yahoogroups.com, "JWOpitz" <[EMAIL PROTECTED]> wrote: > > Check into mx.utils.ObjectUtils.getClassInfo(value:Object):Object > > > --- In flexcoders@yahoogroups.com, "Dan" wrote: > > > > Hi, > > > > Does anyone know the way how to copy

Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread hank williams
Thanks guys, I still dont know what I am going to do, but it is very helpful to hear the arguments. Sometimes it is really helpful just to get other peoples views. Obviously this is a bit of a gray area and there is no *wrong* answer here, which is why nuance and opinion are quite helpful. Regard

Re: [flexcoders] Not able to generate GUID

2007-03-05 Thread Jim Cheng
scott_flex wrote: > Is there no function or object to generate a GUID, a true globally > unique identifier? Just write your own--it's dirt simple. FYI, GUIDs and UUIDs aren't actually guaranteed to be absolutely unique--however, given the number of random bits involved, a repeat is statistical

[flexcoders] Data Provider refresh problems

2007-03-05 Thread tdexterus
Hi All I have a relatively simple template, we are using XML data generated and embedded into the template. The template has a combo box that is initialized upon opening the template - it has a list of Departments + 'All'. The user can change the combo choice, the XML is filtered and a chart an

[flexcoders] How to highlight a bar serie from a bar chart when the mouse is over the chart ?

2007-03-05 Thread Claude Hussenet
What is the easiest way to highlight a bar serie from a bart chart when the mouse is over the chart ? Thx Regards Claude Hussenet - Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games.

[flexcoders] Re: Not able to generate GUID

2007-03-05 Thread Paul DeCoursey
Because the Flash Player has does not currently give us access to the MAC address of the client machine we cannot create uuid's. There are plently of server side solutions, such as Jakarta Commons ID for java. Paul --- In flexcoders@yahoogroups.com, "scott_flex" <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Re: cairngorm strategy question

2007-03-05 Thread JWOpitz
I should probably clarify a few things. If you have MVC, and I had to qualify a SoundManager class as one of those, I would probably see it first as a command class. Manager type classes generally are of this nature anyway. But that can easily be argued to say Sound is also a view type nature to

Re: {Disarmed} Re: [flexcoders] First flex app - looking for feedback

2007-03-05 Thread Toby Tremayne
Um :) Yeah a link would have been handy wouldn't it *blush* http://www.tobytremayne.com Toby On 06/03/2007, at 10:07 , Adam Royle wrote: Do you have a link to your app? - Original Message - From: Toby Tremayne To: flexcoders@yahoogroups.com Sent: Monday, March 05, 2007 5:04 PM Sub

Re: [flexcoders] Disable Clicks while on busyCursor

2007-03-05 Thread Anthony Lee
The obvious solutions would be: 1) Enable/disable a transparent button that's as big as the stage and has the greatest z depth / lowest childIndex 2) Make all your active components register themselves then loop through and disable/enable them according to your busy state I'm sure there are fan

[flexcoders] Not able to generate GUID

2007-03-05 Thread scott_flex
Is there no function or object to generate a GUID, a true globally unique identifier? the createUID is not what i'm looking for, just figured generating a GUID would be something pretty basic.

Re: [flexcoders] Right-Click -> View Source

2007-03-05 Thread Jim Cheng
André Rodrigues Pena wrote: > Allow you to view the source by Right-Click -> View Source. As I saw > this trick in several applications I guess it is a flex native > support.. isnt it? How do I do it? Yup. From Flex Builder 2, select Project...Publish Application Source from the main menu bar.

Re: [flexcoders] problem firing ChangeWatcher event on specific ModelLocator property

2007-03-05 Thread itsthetaste
Webdevotion wrote: > > This fires the event I want: > var collection : Array = model.downloads.toArray(); > collection.push( newDownloadVO ); > model.downloads = new ArrayCollection( collection ); > > > model.downloads.addItem( aNewDownloadVO ) will not fire an event. > > Any one knows why ?

[flexcoders] Trouble passing data between components

2007-03-05 Thread Jack OMelia
Hi All, I'm more of a designer than a developer, and as such my coding skills are not outstanding, so bear with me. I have an application with custom components inside a viewstack. In one component I have a datagrid and I would like to have data from the selected row of the datagrid populate text

[flexcoders] Re: Keyboard issues on VISTA - Important

2007-03-05 Thread iko_knyphausen
I think I finally found the problem source... It seems to be connected to the hosting HTML file (and possibly its JS code - not sure). That is the file that pulls flash player, checks for the required version, etc. This file is generated automatically by Flex and used as default on the web server

[flexcoders] Can I access HTTP session variables in Flex without using Flashvars?

2007-03-05 Thread thegators_2002
I am able to create a web service request in Flex, using parameters sent to the html page via a query string which is then passed in using flashvars. However, now I am being asked if I can do this without having a query string for all to see with this information in plain sight. The idea is to us

Re: [flexcoders] First flex app - looking for feedback

2007-03-05 Thread Adam Royle
Do you have a link to your app? - Original Message - From: Toby Tremayne To: flexcoders@yahoogroups.com Sent: Monday, March 05, 2007 5:04 PM Subject: [flexcoders] First flex app - looking for feedback Hi all, i'm new to this list, and to flex and flash. I've j

Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread Troy Gilbert
Coming from a game development background, I always consider sound to be apart of the view. Generally, I consider anything directly consumed by the user to be "view" while internal state that has meaning independent of the view is the model. So, while your sound player does maintain state (the cu

Re: [flexcoders] Re: cairngorm strategy question

2007-03-05 Thread hank williams
Thanks, > Make a SoundManager Singleton class that extends the EventDispatcher. > That way if you make use of the basic Flex events, you can then have > the soundManager instance assign its event handlers. > This is the way the code currently works. > As for using the Cairngorm class, I think t

[flexcoders] Re: handling both MOUSE_DOWN and MOUSE_CLICK

2007-03-05 Thread Paul DeCoursey
There is nothing abnormal about these gestures. A click is a mouse press and release, it cannot be without both actions. You don't want to mess with timers, just set a var to true on a mouse down and reset it to false on mouse up and click. if that var is true on the mouse move then start drag

[flexcoders] Re: cairngorm strategy question

2007-03-05 Thread JWOpitz
I am sure there will be plenty of suggestions, but it sounds like you need some sort of static point of access for your sounds. There are few approaches that I would try: Make a SoundManager Singleton class that extends the EventDispatcher. That way if you make use of the basic Flex events, you

[flexcoders] cacheAsBitmap

2007-03-05 Thread Guy Morton
I've created an mxml component that uses a canvas object and writes a graphic on it based on some input parameters. This graphic is then animated over a bitmap background. If I set cacheAsBitmap on the graphic's canvas to true, then rotate the canvas, am I improving performance? Or does the

[flexcoders] Re: handling both MOUSE_DOWN and MOUSE_CLICK

2007-03-05 Thread Engkee Kwang
Paul, Your explanation is correct in why I'm not getting the behavior I want. In a way, what I'm looking for is "logical" mouse event behavior that more closely corresponds to what I would consider to be "normal" user gestures and expectations, namely, the following 1. click 2. double-clic

[flexcoders] Re: Can I use Flash Library items in Flex, if so, how?

2007-03-05 Thread Mark
I started looking over the examples by Jesse and realized he's using the symbols as new components to be placed on the stage. These are great examples but before I get too deep I'm wondering if I can use these to accomplish what I'm looking to do, which is… My Flash app that I'm converting int

[flexcoders] Re: handling both MOUSE_DOWN and MOUSE_CLICK

2007-03-05 Thread Paul DeCoursey
Click isn't going to happen until after mouse up, and if you start a drag I'd think that would supress any click events. I'm thinking you will just want to do the select on the mouse down. Then trigger the drag on mouse_move if no mouse_up or Mouse_click has occurred. --- In flexcoders@yahoogroup

RE: [flexcoders] Special characters after end tag of XML document (HTTPService issue)

2007-03-05 Thread Peter Farland
If you're not using the proxy, then HTTPService is ultimately using flash.net.URLLoader to load and receive the data. You could try to take Flex out of the equation for a second and try the raw URLLoader API to see if it still occurs there. From: flexcoders@y

[flexcoders] Flex Player 9's (Flex 2) Memory Usage - What's Normal?

2007-03-05 Thread jeofmoyster
So I'm developing what will be a good-sized application, but I'll be carefully planning for download speed and runtime efficiency through ModuleLoader, SWFLoader, etc. Right now I've barely begun but have finished the ground level for the Data Retrieval, Normalization and Management (no FDS). The

[flexcoders] Re: I want to write a tutorial

2007-03-05 Thread danneri21
Wow guys thanks for all the awesome suggestions! Most of the stuff is a bit over my head, but I will gladly look into it! Thanks a TON! --- In flexcoders@yahoogroups.com, "danneri21" <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I want to write another tutorial on Flex. > > So far I've written

Re: [flexcoders] Special characters after end tag of XML document (HTTPService issue)

2007-03-05 Thread Brian Dunphy
Peter, I have not made any changes to the XML.ignoreWhitespace property. I have implemented the trim as suggested, and I have also put a check to see if the last character of the string is a > (a quick way to see if there's trailing junk characters). What I'm experiencing now is the same issue a

[flexcoders] httpservice; ie and 2032 error

2007-03-05 Thread dantmcgowan
Hi, I am getting a 2032 (stream error )what I first hit my httpservice using internet explorer. This does not happen with firefox. In either case I am getting a success response back from the service (status = 200). When I clear the cache on ie, I do not get the error. Only on the first access. H

[flexcoders] handling both MOUSE_DOWN and MOUSE_CLICK

2007-03-05 Thread Engkee Kwang
what is the trick to listen for and handle both MOUSE_CLICK (say to select) and MOUSE_DOWN (to start dragging)? I have a Label on a canvas. First I added a listener on MOUSE_CLICK and that works. My handler gets called and I can "select" the item. Then to support D&D, I added another listener o

RE: [flexcoders] Special characters after end tag of XML document (HTTPService issue)

2007-03-05 Thread Peter Farland
Perhaps your special characters trailing the document are whitespace (tabs, new lines, etc)? There are known issues with constructing an XML instance (the basis for E4X) from Strings containing whitespace between processing instructions and the start of the root element (or trailing whitespace af

RE: [flexcoders] Flex embedding SWF file and using it like a component

2007-03-05 Thread Roger Gonzalez
You should use the 2.0.1 Modules feature for this, its pretty much exactly what you want. In any case, whenever you do make a reference to objects within dynamically loaded code, you should design some interfaces for communication so that you're not making hard type references to implementation c

Re: [flexcoders] Re: Problems with "The E4X approach to XML processing"

2007-03-05 Thread slangeberg
I think in the docs, these should be returning XMLList, technically. Not sure if it evals to XML in typeof(). -Scott On 3/5/07, greg h <[EMAIL PROTECTED]> wrote: Hi Allen, Glad to be of help. btw ... you wrote: it seems like that the return type is ArrayCollection or XMLList(I'm not sure)

[flexcoders] Special characters after end tag of XML document (HTTPService issue)

2007-03-05 Thread klumikaze
I've got an E4X HTTPService in Flex that is calling a servlet which returns an XML document. Approximately 80% of the time, the servlet works fine and the HTTPService result is a valid XML doc -- the rest of the time, the HTTPService is giving me a fault: [RPC Fault faultString="Error #1088:

[flexcoders] Re: FileReference.upload, URLVariables,uploadDataFieldName not working as expect

2007-03-05 Thread w4kpm
Hmm, I started out with flash 9.0 r31 which should be the latest, not sure how I downloaded this other one. In any event, both players have the same problem on linux. --- In flexcoders@yahoogroups.com, "w4kpm" <[EMAIL PROTECTED]> wrote: > > Found the problem. > > It appears that the upload code w

Re: [flexcoders] an as3 zip library

2007-03-05 Thread Bruce Hopkins
Very cool, I can't wait to try it out. Bruce On 05 Mar 2007 05:56:22 -0800, Ian Thomas <[EMAIL PROTECTED]> wrote: Brilliant - thanks David. Ian On 3/5/07, David Chang <[EMAIL PROTECTED] > wrote: > Hello, > > I had put together a small library for handling zip files and thought > I'd share

[flexcoders] Re: FileReference.upload, URLVariables,uploadDataFieldName not working as expect

2007-03-05 Thread w4kpm
Found the problem. It appears that the upload code works differently on a linux player. The exact same code works as advertised on windows/mac players. I tried getting an update from Adobe, and got the latest player for linux (FP9_plugin_beta_112006.tar.gz or Shockwave Flash 9.0 d78) and it did n

Re: [flexcoders] flex bluetooth.

2007-03-05 Thread Chris Allen
Jim's right. This is way beyond the scope of Flex by itself. I feel like a broken record because I keep suggesting Red5 (http://osflash.org/red5) on this list, but in this case (like many others) It could be just what you need. It in this scenario Red5 would be used as a sort of proxy to do the Bl

Re: [flexcoders] Right-Click -> View Source

2007-03-05 Thread Muzak
- Original Message - From: "André Rodrigues Pena" <[EMAIL PROTECTED]> To: Sent: Monday, March 05, 2007 7:16 PM Subject: [flexcoders] Right-Click -> View Source >Hi all, >Some applications like this: >http://www.brucephillips.name/flex/tilelistuserQty/bin/TileListUserQty.html >Allow yo

RE: [flexcoders] Re: Managing Multiple Modules

2007-03-05 Thread Roger Gonzalez
The module manager knows what modules have been loaded, but it doesn't provide an iterator. If you know the URLs, you can check a given module's load status. It is harmless (other than creating some cached state) to probe a given URL before you call "load". Removing the tab (and ensuring that

[flexcoders] no cookie?

2007-03-05 Thread Stormcrow
I can't seem to figure this one out. I'm embedding a strike out font for a text editing application. I can imbed it and use it throughout the application except within textarea fields (or any field that reads the font face from a Tag.) Has anyone had this problem before? I've searched for hours..

[flexcoders] Re: Can I use Flash Library items in Flex, if so, how?

2007-03-05 Thread Mark
Thank you for the URLs. I'll see what I can or can't do then post back with an update. Thanks again! Mark --- In flexcoders@yahoogroups.com, "greg h" <[EMAIL PROTECTED]> wrote: > > Mark, > > I have had success making calls to my AS3 SWFs compiled in Flash > using the Flash > Professional 9

[flexcoders] Re: Managing Multiple Modules

2007-03-05 Thread aaronvm707
Roger, thank you for your quick response. Does the module factory hold information (module ID, URL etc...) about the modules I have loaded? How important is it to unload modules? If I remove a specific tab from the navigator will GC eventually clean up the child module on that tab? Aaron ---

[flexcoders] Right-Click -> View Source

2007-03-05 Thread André Rodrigues Pena
Hi all, Some applications like this: http://www.brucephillips.name/flex/tilelistuserQty/bin/TileListUserQty.html Allow you to view the source by Right-Click -> View Source. As I saw this trick in several applications I guess it is a flex native support.. isnt it? How do I do it? Thanks -- André

[flexcoders] Flex embedding SWF file and using it like a component

2007-03-05 Thread jack_freud
I'm planning a rather large application that has several sub-modules that I thought should be loaded individually as separate swf's to decrease load time and memory requirements since the sub-modules would never need to be loaded at the same time. I'm having trouble finding any articles on how to

RE: [flexcoders] Re: Populate ComboBox from database - NOT using Flex Data Services

2007-03-05 Thread Piotrowski, John
Are you sure the data is coming back from the remote object properly and it is in the right format? I would try to set a breakpoint private function getJobResult(event:Object):void and then look at the event object in the debugger. Also try replacing the getJobResult with private functio

[flexcoders] Re: Top and Bottom padding on DataGrid

2007-03-05 Thread Matt Maher
Never did, sorry. I posted several messages here and no one replied, which leads me to believe that it's not doable without extending (a la understanding) the grid rows themselves. Sorry. Please let me know if you get anywhere on it. I sure as heck wish I could do something about it. -M@ --

[flexcoders] Re: printJob on a textArea

2007-03-05 Thread scott_flex
Try removing the height from your text area object and just let flex determine the height automatically... ie, it doesn't have scroll bars itself. Then print it, you should get it all. You'll probably also want to set the width manually when you print it to the width of the print object... F

[flexcoders] Re: FileReference.upload, URLVariables,uploadDataFieldName not working as expect

2007-03-05 Thread w4kpm
Ben, My server side is simply a django procedure that dumps the post call giving the output that I listed in the last post. def importCsvFile(request): print "made it in" print request.raw_post_data I *know* that I can re-name it on my end, but it really bugs me when I do what th

RE: [flexcoders] Managing Multiple Modules

2007-03-05 Thread Roger Gonzalez
The URL for a given module is a unique key for the module at that URL, no matter how many times you get it. Each time you get a ModuleInfo, you can use it to request an unload. (Note that unload just makes things available for GC, it does not force things to unload.) There's no reason why you n

[flexcoders] cairngorm strategy question

2007-03-05 Thread hank williams
I have a class that is basically a sound server. It both generates events - like "sound #1234 is finished" and receives commands like "start playing sound #4567". My problem is that I am not sure where to put this in the cairngorm universe. If I were to put it in the model, thats kinda wierd sinc

RE: [flexcoders] Need help in dynamically updating datagrid

2007-03-05 Thread Tracy Spratt
So the selected item in the combobox contains the key/filter value for the php query? In the change event of the combo, invoke send() on the HTTPService, passing in the key(s). In a result handler function, assign the returned data to the dataProvider of the DataGrid and chart.. Tracy

[flexcoders] Re: How to Copy object with same base class

2007-03-05 Thread JWOpitz
Check into mx.utils.ObjectUtils.getClassInfo(value:Object):Object --- In flexcoders@yahoogroups.com, "Dan" <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anyone know the way how to copy two objects of differet class say > D1 and D2, that derived from the same B1 base class? > Is that i need to co

RE: [flexcoders] Simple form submit example

2007-03-05 Thread Tracy Spratt
A Flex "form" is just a layout container. There is no built-in "submit" functionality. There is no "submit button". You will need to use one of the RPC data services to send your data to the server. Also be aware that two-way binding is not automatic. Modifying a form field does not auto

RE: [flexcoders] How can I pass variables to mx-code?

2007-03-05 Thread Tracy Spratt
Try: [Bindable]var myText:String = "I am beginner"; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edvard.karvinen Sent: Monday, March 05, 2007 7:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I pass variable

Re: [flexcoders] Re: Problems with "The E4X approach to XML processing"

2007-03-05 Thread greg h
Hi Allen, Glad to be of help. btw ... you wrote: it seems like that the return type is ArrayCollection or XMLList(I'm not sure) I did some tests using the ActionScript typeOf() operator and all values returned from the E4x operators are showing as typeOf XML. For example, I popped the followin

[flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread iko_knyphausen
Try it upon a KEYUP event --- In flexcoders@yahoogroups.com, "jmorpher03" <[EMAIL PROTECTED]> wrote: > > Does anyone know how the the CTRL + work ? Is this a > Flex bug ? The Flex sample code in the help docs talks about this, but > it doesn't seem to work. Whats wrong ??? > > --- In flexcoders

RE: [flexcoders] Re: I want to write a tutorial

2007-03-05 Thread Tracy Spratt
"How do I save an xml file to the server?" Flex's back-end agnosticism always poses a challenge for Flex developers that need to retrieve/save data, but do not have team of developers behind them to help. I wrote an example that retrieves an xml file from the server, allows you to edit it, and

[flexcoders] Re: I want to write a tutorial

2007-03-05 Thread iko_knyphausen
There is one from Adobe, called Training from the Source, and then there is one called Total Training for Adobe Flex 2 available at TotalTraining.com --- In flexcoders@yahoogroups.com, Jeffry Houser <[EMAIL PROTECTED]> wrote: > > > Where can one find such tutorials? > > At 12:38 AM 3/5/2007, you

Re: [flexcoders] How Can I save the drawing made at runtime

2007-03-05 Thread Troy Gilbert
Tom's suggestion is a decent one if you're looking to save the image in an editable form. If you're wanting to save the image as a GIF/JPG/PNG/etc., then you should search around for the various PNG enconders (I believe Adobe's ascorelib has at least a JPG encoder, maybe a few other formats as wel

RE: [flexcoders] Re: tileIcon

2007-03-05 Thread Giles Roadnight
Fantastic, I had tried something similar to that with no luck. Thanks a lot. Giles Roadnight From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: 05 March 2007 16:05 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: tileIcon try --- In fle

RE: [flexcoders] Inserting Checkbox into Datagrid Field

2007-03-05 Thread Tracy Spratt
The critical piece here is to drive the state(selected=true/false) of the check box from a property in the dataProvider, and set the value of that property when the user clicks the checkbox control. This is required because the list controls re-use the renderers whne the list is scrolled or the dt

Re: [flexcoders] Re: Problems with "The E4X approach to XML processing"

2007-03-05 Thread Troy Gilbert
This same problem tripped me up as well... I couldn't figure out why I kept getting XMLList's that contained elements when I was *sure* that the elements shouldn't be there. I was checking for "list.length > != 0" which of course was always true as ".length" was undefined for my XML elements. Wha

[flexcoders] Inserting Checkbox into Datagrid Field

2007-03-05 Thread missgiggygirl
I am populating a Datagrid with an XML file. The first field is always a 1 or 0 for whether a checkbox is present. Right now I know only how to populate the grid with whatever the data is in the XML, but now I need a little piece of logic that will dynamically insert a checkbox is required (value

[flexcoders] Re: tileIcon

2007-03-05 Thread bhaq1972
try --- In flexcoders@yahoogroups.com, "Giles Roadnight" <[EMAIL PROTECTED]> wrote: > > Hi All > > I have a panel that has a title set but I want to put an image in there > instead. > > Are there any titleIcon examples out there? I've not been able to find any. > A class is required to go i

Re: [flexcoders] Re: Making itemRenders call a function on the component they're in

2007-03-05 Thread leds usop
when you say 'some data' on the component, do you really mean just bits of data per se? or are there some sort of 'validating' functions in that component? Having your item renderers access data from your wrapping component does not necessarily mean 'bad practice'. It depends on how you allowed

[flexcoders] Re: Eclipse 3.2.2

2007-03-05 Thread ben.clinkinbeard
Hi Dave, Thanks for the link. I used it to install 3.2.2 this morning and everything seems to be working so far. However, when I installed FlexBuilder for the new Eclipse installation, it wouldn't let me install to the eclipse_extensions directory. I had to install it directly onto the 3.2.2 insta

Re: [flexcoders] Re: Flex Prototyping Best Practices

2007-03-05 Thread Douglas Knudsen
http://www.digimmersion.com/ checkout the visio stencil. Our UI person is starting to use this some. DK On 3/5/07, akhilbhaskar <[EMAIL PROTECTED]> wrote: Well, yes and no. You're right about finding the balance part. Since you're in the agile world, it really is dependent on your experienc

Re: [flexcoders] Flex Builder Syntax Highlighting Not Working

2007-03-05 Thread Mark Robinson
It works on some files and others it doesn't. What syntax causes it to fail? -Mark On 3/1/07, Brendan Meutzner <[EMAIL PROTECTED]> wrote: There are bugs depending on certain syntax used in your files... is it not working for all your files? Brendan On 2/28/07, Mark Robinson < [EMAIL PROTE

[flexcoders] Re: Populate ComboBox from database - NOT using Flex Data Services

2007-03-05 Thread April
Thank you for everyone's responses, but I'm still not having any luck. I'm not getting any errors - but my combobox is not populating. Again, I'm really new to Flex. My app is called PreTraffic with the following structure: PreTraffic cfc (folder) job.cfc JobSearch.cfc **

RE: [flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread Robert Chyko
Did a little further testing... if I use Firefox when I am debugging I get 2 KeyBoard events that are captured. The second event has the correct keyCode that I am looking for (67). If I debug using IE, only one event ever gets handled, its keyCode is 17. So I guess the question becomes, is Flas

RE: [flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread Robert Chyko
I am having the same problem. At least from where I am standing there doesn't appear to be a way to capture the second key. I also get true for the value of event.ctrlKey and 17 for event.keyCode. Anyone have any insight? -Original Message- From: flexcoders@yahoogro

[flexcoders] Re: I want to write a tutorial

2007-03-05 Thread michael_ramirez44
I worte a Flex 2/Amfphp 1.9 tutorial that is on http://www.HowToForge.com . I plan to write a similar tutorial using Fluorine. Michael Ramirez --- In flexcoders@yahoogroups.com, "danneri21" <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I want to write another tutorial on Flex. > > So far I'v

[flexcoders] Re: Flex Prototyping Best Practices

2007-03-05 Thread akhilbhaskar
Well, yes and no. You're right about finding the balance part. Since you're in the agile world, it really is dependent on your experience and whether or not you are a partner in the design, or just the implementor. If you find that you don't have time to get things set up beforehand, you always

  1   2   >