[flexcoders]

2006-10-09 Thread Olubunmi Falaki [ MTN - YelloDrome ]
HI All, I am new to the concept of flex where do you think I should start.? Bum NOTE: This e-mail message is subject to the MTN Nigeria disclaimer see http://www.mtnonline.com/contact/disclaimer.asp __._,_.___ -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Relative paths in IDE compiler args

2006-10-09 Thread Paul Spitzer
Hey Daniel, I've definitely had the same problem. I found that for the -load-config flag I had to climb up a directory ../ to get to my project root... so I had something like... -load-config+=../build/project-config.xml. I'm not entirely sure but I think it was relative to my main source

RE: [flexcoders] Relative paths in IDE compiler args

2006-10-09 Thread Dirk Eismann
yep, same works for -source-path (and probably all other compiler flags as well) Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Spitzer Sent: Monday, October 09, 2006 8:42 AM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: how to use multiple symbols from same swf

2006-10-09 Thread shemeshkale
tnx, that is excellent! but is this: @Embed(source='/assets/icon1.swf', symbol='error') same as this : @Embed(source='/assets/rasta.swf#hello') ??? --- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: search the docs for 'embed'

Re: [flexcoders] Bug in Date class when using strings in constructor, with test case

2006-10-09 Thread Tom Chiverton
On Tuesday 03 October 2006 16:57, Tom Chiverton wrote: 10 Dec 2006 is fine. 10 dec 2006 isn't. Dec 10 2006 is fine. dec 10 2006 isn't. 10 December 2006 isn't. A dotted triplet (2.2.06) isn't. Right, I've put the code to a working date string parser up on my blog,

Re: [flexcoders] Re: Time Validating

2006-10-09 Thread Tom Chiverton
On Friday 06 October 2006 20:32, qnotemedia wrote: Thanks Tom - very nice stuff. Just goes to show that there's so many different ways to do the same darn thing. I really need to learn Reg Exp's! If you need to extract bits from a sting that has a patten to it, they are often much faster

Re: [flexcoders] Re: flex2 on a mac - compile

2006-10-09 Thread Tom Chiverton
On Sunday 08 October 2006 07:49, michaelrohner wrote: How can I check if jvs 1.5.2 is installed. I thought, installing of J2SE50Release4 would do it. Please confirm. type java -version -- Tom Chiverton Helping to ambassadorially bully clicks-and-mortar bandwidth

RE: [flexcoders] Gradient Fill from LEFT to RIGHT

2006-10-09 Thread Dirk Eismann
You would have to implement this on your own. A starting point would be a custom AS class extending mx.skins.halo.HaloBorder. Inside override the updateDisplayList() method and draw the gradient yourself. The HaloBorder class provides helper functions to draw horizontal gradients by calling

Re: [flexcoders] Map Tile Library

2006-10-09 Thread Tom Chiverton
On Sunday 08 October 2006 10:39, Kelly wrote: constructed using lat and lon coordinates and zoom level. The trigonometry involved in this is sort of complex. Having (helped to) build a DHTML client to a JSP-based map server (http://falkensweb.com/success/screenshots/newGbbShot.gif) I can see

Re: [flexcoders]

2006-10-09 Thread Tom Chiverton
On Monday 09 October 2006 07:35, Olubunmi Falaki [ MTN - YelloDrome ] wrote: I am new to the concept of flex where do you think I should start.? Adobe's DevNet: http://www.macromedia.com/devnet/flex/ -- Tom Chiverton Helping to carefully facilitate cutting-edge niches

[flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Sönke Rohde
Hi, I had a problem that I recompiled my application but changes where not visible. So I decided to remove the contents of the bin (output) folder to let Flex compile all new. Now when I try to Run or Debug I get the error message that the html-files is missing which is of course true because I

RE: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Jason Hawryluk
Project-Clean -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Sönke RohdeEnvoyé: lundi 9 octobre 2006 11:32À: flexcoders@yahoogroups.comObjet: [flexcoders] Bin folder removed - how to restore Hi,I had a problem that I

RE: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Sönke Rohde
that worked, thanks. anyway I still have the problem that my changes to mxml are not in the new compiled version? I still see an older version. How do I force to compile the new one? Thanks, Sönke From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason

RE: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Jason Hawryluk
Try re starting Flex builder,and then clean again. -Message d'origine-De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Sönke RohdeEnvoyé: lundi 9 octobre 2006 11:54À: flexcoders@yahoogroups.comObjet: RE: [flexcoders] Bin folder removed - how to

[flexcoders] how to detect click on MenuBar root?

2006-10-09 Thread shemeshkale
i have a MenuBar that have one root with no childs. how do i detect a click on the root? it seems that the itemClick only catch clicks on the menu itself, it doesn't catch the clicks on the root. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

RE: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Sönke Rohde
I tried deleting the contents of bin again, cleaned the project, restartet even windows and started flex and now I again get the message, that the html is missing. Here is something wrong and does not work very trustable. I this a common bug/issue? How do I resolve this? From:

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-10-09 Thread Angus Johnson
bumpI think there are a few of us looking to dynamically link framework swf's (as rsl's) into our work. Any further info?Is the RSL/linker guy back? :)ThanksAngus On 29/09/06, Mike Morearty [EMAIL PROTECTED] wrote: I don't think this is necessary. I gave a

Re: [flexcoders] Cannot view swf on server (jsp jboss) DetectFlashVer is not defined

2006-10-09 Thread Tom Chiverton
On Friday 06 October 2006 22:26, dorkie dork from dorktown wrote: Error: DetectFlashVer is not defined Source File: http://localhost:8080/ybmain/menu/menuList.do?tabId=3 Line: 1123 Line 1123 is: var hasProductInstall = DetectFlashVer(6, 0, 65); Is this JSP meant to return a SWF or something

[flexcoders] Re: Transfer Images with FDS

2006-10-09 Thread cheftimbob
bump --- In flexcoders@yahoogroups.com, cheftimbob [EMAIL PROTECTED] wrote: We have a middle layer that is responsible for storing files in a repository. We provide web services using SOAP and attachments, DIME, that allow injection and retrieval of these files, mostly TIFF images.

[flexcoders] Re: binary in xml

2006-10-09 Thread Santo
Hi there! The best way I found to work with binarys/xml is Base64... Flex has built in classes for that (Base64Encoder and Base64Decoder) Regards Rogério --- In flexcoders@yahoogroups.com, Paul Hastings [EMAIL PROTECTED] wrote: On 10/1/06, EECOLOR [EMAIL PROTECTED] wrote: I think it has

[flexcoders] How to change the Link icon at run time

2006-10-09 Thread Akash
HI all, I want to change the icon of this link at the run time say on the click event. Can anybody plz. Tell me how to do this? mx:Link id=PrintLink icon=@Embed('images/PrintUp.png') x=10 y=468 width=59 height=25 fontWeight=bold fontStyle=normal fontSize=14 fontFamily=Courier

Re: [flexcoders] Bin folder removed - how to restore

2006-10-09 Thread Tom Chiverton
On Monday 09 October 2006 10:54, Sönke Rohde wrote: anyway I still have the problem that my changes to mxml are not in the new compiled version? I still see an older version. Is the compile failing because of an error ? Check the problems tab. -- Tom Chiverton Helping to interactively

[flexcoders] Re: Validating XML with XSD Schema in Flex?

2006-10-09 Thread wayneposner
You're right, I could, but then I'd be back in the same boat when I need to wrap this app with Apollo. I need something native to Flex that will work across the board--regardless of how the app is being delivered. Anyone else have any ideas? Wayne --- In flexcoders@yahoogroups.com, Ralf

[flexcoders] Trying to adjust Model Variables in Cairngorm 2

2006-10-09 Thread laidezmon
I have looked over the CMORGCHART, CGLOGIN, and CGSTORE examples, and I guess I am stupid cause I still cannot get model variables to update. What I am trying to do is simple. I have a grid, that contains an array collection of ship objects. I have a shipdetails screen. What I want to do is

[flexcoders] Can Flex play rtmp camera video?

2006-10-09 Thread eccentricwade
I want to play a live feed from the flash media server in flex. I have another camera that is connected and uploading the video feed to FMS. I am unable to find a solution for Flex to play that stream. The following is what I would do in flash. Your assistance would be greatly appreciated! --

[flexcoders] var in loop

2006-10-09 Thread flexlearner
hello all,I have a action script class which is bindable and instantiates objects of other classas : quote: [Bindable]public class Templateobjects{public var template1 = new sampleTemplate1();public var template2 = new sampleTemplate2();public function Templateobjects(){// constructor

Re: [flexcoders] generating a size report

2006-10-09 Thread Andrew Bourne
Fantastic, Thanks Matt. I had that arg already though it wasnt outputing where I thought it would. Works great with an absolute path though. Cheers, Andrew Matt Chotin wrote: Add -link-report outputfile.xml to your compile arguments. Matt From:

[flexcoders] how to change rightClick menu?

2006-10-09 Thread garylee0709
can't locate any resources about how to change or insert items into the rightclick menu on the swf files(published in flexbuilder2) in the flexBuilder2 help file...is this kind of programming object exist in the actionscript3.0 framework?appreciate ur helps...! regards gary lee --

Re: [flexcoders] Re: WebOrb for Rails

2006-10-09 Thread Johannes Nel
openAMF won't be used by enterprises due to security concerns, the group i consult to had it code reviewed and found numerous security concerns. futher more you ahve to understand the way most large companies think. nobody has ever been fired for hiring IBM have they.On 10/7/06, hank williams

Re: [flexcoders] recieve RTMP Stream in flex? This can't be this hard?

2006-10-09 Thread Igor Costa
a good example of thathttp://flash-communications.net/technotes/fms2/flex2FMS/index.htmlRegards On 10/6/06, eccentricwade [EMAIL PROTECTED] wrote: I am trying to connect to an RTMP stream from the Flash Media server in Flex 2. I have yet to be able to pull

[flexcoders] Map a Database Table to a ComboBox, {problems}

2006-10-09 Thread luchi_bustos
Hello list!. This is me first post to this Flex community. I'm having troubles with a Combobox and selectedIndex. I'm populating the combobox with an array of categories, that was returned by AMFPHP service call with this SQL. /*code SQL select id_cat AS data, cat_name AS label FROM users_types

Re: [flexcoders] make eclipse ignore directories

2006-10-09 Thread Thomas Rühl
under normal circumstances, this should not happen. i am using svn for versioning my projects as well and it is not pushing anything here. maybe try upgrading your subclipse to tha latest version. cheers, thomas Thomas Rühl Design, Programming

Re: [flexcoders] WebOrb for Rails

2006-10-09 Thread John C. Bland II
Ahh man, you're off here but it is nothing but an opinion from both of us. Competition helps the technology thrive. A lot of people in the community stated the Adobe merger took the competition out of the market due to overlapping technology (Fireworks-Photoshop, DW-Go Live, etc). Now,

[flexcoders] var in Loop

2006-10-09 Thread flexlearner
hello all, I have a action script class which is bindable and instantiates objects of other class as : -- -- [Bindable] public class Templateobjects { public var template1 = new sampleTemplate1(); public var

Re: [flexcoders] Google Code Search

2006-10-09 Thread Johannes Nel
well google are looking for as coders and for flex coders...On 10/6/06, Prakaz [EMAIL PROTECTED] wrote: Is ActionScript, MXMLunder-rated?? *Sigh* On the positive note, hope google engineers are working on this and it will be available soon.. :-) -P On 10/6/06, Brendan Meutzner

RE: [flexcoders] Re: Format a datatip.

2006-10-09 Thread Ely Greenfield
Yup. If you don't specify an x value, it assumes the item's ordinal position in the data is its x value. The Cateogry Axis then lines up the value N to the nth category in _its_ data. The Axis objects all implement a function called formatForScreen(). Pass it a value (i.e., like the

Re: [flexcoders] How to change the Link icon at run time

2006-10-09 Thread Phil Marston
you could create another state with a different icon embedded and toggle the state in the doPrint() clickhandler. public function doPrint():void { ... currentState='printed'; ... } mx:states mx:State name="printed" mx:RemoveChild target="{}"/ mx:AddChild mx:Link id="PrintedLink"

Re: [flexcoders] how to change rightClick menu?

2006-10-09 Thread Muzak
search docs for: - ContextMenu - ContextMenuItem Muzak - Original Message - From: garylee0709 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 09, 2006 12:59 PM Subject: [flexcoders] how to change rightClick menu? can't locate any resources about how to change or

[flexcoders] Re: Flex Marketing

2006-10-09 Thread Santo
Hello Again! I found the post that I talked about: http://www.mossyblog.com/archives/520.cfm Regards! Rogério Gonzalez FLEX 2 needs to be the purple cow, the anomaly in the herd that stands out and people go 'holy shit, did you see that cow back there' and then 2 dinner parties later the

Re: [flexcoders] How to change the Link icon at run time

2006-10-09 Thread Phil Marston
oops - in case you didn't realise child target should be "PrintLink" mx:RemoveChild target="{PrintLink}"/ Phil Marston wrote: you could create another state with a different icon embedded and toggle the state in the doPrint() clickhandler. public function doPrint():void { ...

Re: [flexcoders] how to change rightClick menu?

2006-10-09 Thread Rogerio Gonzalez
hi there!Tell me one thing, how to detect the second mouse button click?The contextmenu don´t associate the Click whith the object clicked... He open up the menu window but not link with the object clicked. The only workaround to this that I found, was edit the contextmenu in separeted

[flexcoders] Re: Tell DataGrid in AS to use custom DataGridColumn

2006-10-09 Thread Mark
Just like in the mxml the DataGrid has a columns property that contains an array of DataGridColumn objects. In your case you just need to populate an array with one MyExtendedDataGridColumn instance for each column and then set it to the columns property of the DataGrid: var numOfColumns:int =

[flexcoders] Re: Missing the ControlBar on my panel...

2006-10-09 Thread Mark
Thanks Harish. mark --- In flexcoders@yahoogroups.com, Harish Sivaramakrishnan [EMAIL PROTECTED] wrote: Alternatively, you can call createComponentsFromDescriptors(); after adding the controlBar as the child, by doing this we do not need to bother about the order in which the children are

[flexcoders] Re: Trying to adjust Model Variables in Cairngorm 2

2006-10-09 Thread laidezmon
I have now also, changed the event type from Object to Event, in the cairngormEventDispatcher call. So the code looks like this: public function updateSelectedShip( event : Event ) : void { selectedShip = event.target.selectedShip;

Re: [flexcoders] Trying to adjust Model Variables in Cairngorm 2

2006-10-09 Thread Tom Chiverton
On Monday 09 October 2006 13:47, laidezmon wrote: selectedShip={ model.selectedShip } Remove this from the ships:shipGrid tag, you are exporting it from the view, not setting it. Change ships:shipDetails shipSelected={model.selectedShip} /    to ships:shipDetails

Re: [flexcoders] Trash/bugs in Flashplayer 9 filters

2006-10-09 Thread Tom Chiverton
On Friday 06 October 2006 22:16, [EMAIL PROTECTED] wrote: Unfortunately, I have to remove these effects because they look poor. Could you post the code here, and/or to adobe.com/go/wish ? -- Tom Chiverton Helping to continuously facilitate bricks-and-clicks users

RE: [flexcoders] var in Loop

2006-10-09 Thread Dirk Eismann
No, this does not work. for var in loops only work on dynamically attached properties (i.e. your class is dynamic or you loop over the props of an untyped Object instance) To introspect a typed class instance use describeType(), it returns an e4x XML structure that describes the type (hmm,

[flexcoders] Questions about ObjectProxy and Binding

2006-10-09 Thread Douglas McCarroll
Hi All, A look at the LangRef for ObjectProxy shows lots of properties and methods that are clearly designed for event listener registration, etc, e.g. addEventListener(), dispatchEvent(), etc. It looks as though ObjectProxy's main purpose in life is to be a bindable-to object. Yes? But the

Re: [flexcoders] Cannot view swf on server (jsp jboss) DetectFlashVer is not defined

2006-10-09 Thread dorkie dork from dorktown
No. The SWF was on the page already. The Javascript error was correct but like a lot of error messages vague. It said the function was not defined. It did not say it could not find the file that it was defined in. What happened was, the company I am at they have, something like virtual paths

[flexcoders] Questions about ObjectProxy and Binding

2006-10-09 Thread Douglas McCarroll
Hi All, A look at the LangRef for ObjectProxy shows lots of properties and methods that are clearly designed for event listener registration, etc, e.g. addEventListener(), dispatchEvent(), etc. It looks as though ObjectProxy's main purpose in life is to be a bindable-to object. Yes? But the

[flexcoders] Re: Trying to adjust Model Variables in Cairngorm 2

2006-10-09 Thread laidezmon
Thanks alot for your help. I think its resolved, however I still have some questions as to why. In the cairngorm store model, they do things differently, calling an attribute they set in everything, called selectedItem. I changed that in my model to selectedShip, so I am not sure why it works

[flexcoders] Passing parameters to a SWF using SWFLoader.

2006-10-09 Thread greenfishinwater
I have seen from documentation that to pass paramaters to an SWF using SWFLoader, use syntax as follows: mx:SWFLoader source=something.swf?var1=value1var2=value2var3=value3 / I do this with my code: source=popUpSA?productCode=762159priceGroup=99 but when I compile I get the error message: The

RE: [flexcoders] Possible DataService BUG, can anyone help me out?

2006-10-09 Thread Diego Miramontes
Thanks for your explanation.The systemObject class does have the Remote alias metadata which points to a Java class, i found a way to reproduce the same mistake using Flex 2 samples (the crm example) here's the url of my post on the adobe forums about this bug (it contains the debugger

Re: [flexcoders]

2006-10-09 Thread Dave Carabetta
On 10/9/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 09 October 2006 07:35, Olubunmi Falaki [ MTN - YelloDrome ] wrote: I am new to the concept of flex where do you think I should start.? Adobe's DevNet: http://www.macromedia.com/devnet/flex/ Also, don't forget about the LiveDocs,

Re: [flexcoders] Re: Trying to adjust Model Variables in Cairngorm 2

2006-10-09 Thread Tom Chiverton
On Monday 09 October 2006 15:05, laidezmon wrote: going on, and in the event.target I found an attribute called selectedItem, which I did not create. So I dont know if thats being setup somehow automatically or not. Take a look at the live docs for the event in question. The target property

RE: [flexcoders] XML as a dataprovider

2006-10-09 Thread Ely Greenfield
your AS version should work fine. Are you having a problem? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of SamSent: Saturday, October 07, 2006 9:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] XML as a dataprovider Hi,I'm trying to use XML

[flexcoders] Re: AS to Java Translation Problems

2006-10-09 Thread Geoffrey
Could someone voice an opinion on this? Please. --- In flexcoders@yahoogroups.com, Geoffrey gtb104@ wrote: ENV: Flex 1.5 served from WebSphere6.1 All of our Java objects used to use java.util.Date for date properties, but we had to convert them to java.util.Calendar. Since Flex 1.5 doesn't

[flexcoders] Dissolve Effect in an Application and Accordion

2006-10-09 Thread dorkie dork from dorktown
Sorry for the newb question but I'm trying to add dissolve effect to accordion component and the application component. I sorta need both. But neither ways I've attempted seem to work. I set showEffect on the application to my dissolve and that did not work and then set the visibility to false in

Re: [flexcoders] Relative paths in IDE compiler args

2006-10-09 Thread Daniel Wabyick
Thanks gents. Adding an extra ../ worked. I have my main source folder in a src directory off the project root, so this makes sense it worked. Adobe - this seems kind of strange behavior. Was it intentional? I would think the project root makes sense as the root for the compiler. In any case,

Re: [flexcoders] Adobe Flex Certification Document

2006-10-09 Thread Tom Chiverton
On Saturday 07 October 2006 00:59, Clint Modien wrote: The first result that came back was: Adobe Flex 2.0 Developer Certification Examination Specification http://www.donathgroup.com/pdf/Flex20Blueprint.pdf Funky, nice to see some architecture/framework stuff in there, even if it's a little

RE: [flexcoders] UDP support in Socket

2006-10-09 Thread Ted Patrick
Chris, Just TCP Sockets are supported. No idea on future plans for UDP support. Regards, Ted Patrick Flex Evangelist Adobe Systems Incorporated From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zenwarden Sent: Friday, October 06,

RE: [flexcoders] XML as a dataprovider

2006-10-09 Thread Ted Patrick
Sam, There are a few things I would change here. Lets back up a bit: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml creationComplete=getXML.send() layout=absolute mx:HTTPService id=getXML url="" resultFormat=e4x/ mx:List

[flexcoders] iconField working correctly?

2006-10-09 Thread Steve Kellogg @ Project SOC
Hello, Are there any known issues with using the iconField property with Trees? Im trying to use it to put custom icons in each row. Im doing this EXACTLY as suggested in the dox, but I NEVER get my custom icons. Does it work when you have only SOME rows that specify the icon

[flexcoders] Text Input woes. Can the text be lowered?

2006-10-09 Thread dorkie dork from dorktown
I have this code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=horizontal mx:TextInput cornerRadius=13 textIndent=12 borderStyle=solid y=61 text=i am so high right now, said the kite right=20 width=235 mx:filters

[flexcoders] Re: AS to Java Translation Problems

2006-10-09 Thread Doug Lowder
Geoffrey, you may or may not find this to be helpful but I've found it much easier to deal with times as longs than as instances of various date classes (java.util.Date, java.sql.Date, java.util.Calendar, etc). The timelong can be easily retrieved with date.getTime() or

[flexcoders] Avoiding Error 1502 - timeout: How can I increase the timeout period

2006-10-09 Thread jamiebadman
Hi, I have some code that needs to build a very large tree. Building this tree is causing the application to timeout with Error 1502: flex script has executed for longer than the default timeout period of 15 seconds. How can I over-ride this timeout period and allow the tree build to

Re: [flexcoders] How to change the Link icon at run time

2006-10-09 Thread Dharmendran A
In the private scope of the class embed the icon like,[Embed(source="icons/printDown.png")] var image_printDown :String; In doPrint() event, assign the abouve icon to PrintLink like, PrintLink.icon = image_printDown;hope this helps.dharmendranAkash [EMAIL PROTECTED]

[flexcoders] General question about bindings and similarities with Cocoa bindings?

2006-10-09 Thread Alexander Lamb
Hello list,I am new, so I am sorry if my question is old or badly formulated!I am trying to understand the inner working of bindings in Flex. I understand the principal but not the "magic" and the tutorials of documentations I read show more the "how to do" than "how does it really work".Now,

[flexcoders] Binding Database Table to a ComboBox

2006-10-09 Thread luchi_bustos
Hello list!. I'm having troubles with a Combobox and selectedIndex. I'm populating the combobox with an array of categories, that was returned by AMFPHP service call with this SQL. /*code SQL select id_cat AS data, cat_name AS label FROM users_types ORDER id_cat ASC; */ This return an array of

[flexcoders] Re: how to change rightClick menu?

2006-10-09 Thread garylee0709
Rogerio: hi!can u give me a example about the second mouse button click function?i just begin to learn teh class ContextMenu ContextMenuItem i think all the objects in flex are attached with their own events,the instance of ContextMenu,when its item were clicked,then an EventHandler function

[flexcoders] warnings on XML binding.

2006-10-09 Thread Marlon Moyer
I'm trying to figure out why I get a ton of warnings when using databinding to an XML variable. Here's the pertinent snippets of code below. mx:HTTPService url=assets/payroll.xml resultFormat=e4x id=payrollXML result=payrollXMLHandler(event)/ private function

[flexcoders] Re: Fill a Tree From a JAVA Class

2006-10-09 Thread frederic_dematos
OK I created my java class TreeNode like that public class TreeNode { private String label; private String data; private ArrayList children; public ArrayList getChildren() { return children; } public void setChildren(ArrayList

Re: [flexcoders] Relative paths in IDE compiler args

2006-10-09 Thread Paul Spitzer
It would also be really helpful to be able to use Eclipse variables in places like the compiler args, main source folder, output folder, etc. For instance... -load-config+=${workspace_loc}/project/project-config.xml This would be extremely helpful and make projects portable / configurable

[flexcoders] creating an image and placing it in the middle...

2006-10-09 Thread Greg Morphis
Why is this so freaking hard? This is insane.. Create the image, set the source property and then move it to the center of the stage.. And it's not working!? mx:Script ![CDATA[ import mx.controls.Image; import

[flexcoders] How to use SWFLoader from a button click event

2006-10-09 Thread greenfishinwater
Hi, I'm trying to use SWFLoader to load another Flex app when a user clicks a button. I have been able to get the other app to load automatically when the main app starts. How to I initiate a load via a user generated event? Thanks Andrew -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Binding Database Table to a ComboBox

2006-10-09 Thread Sam Shrefler
Luchyx: The way I've gotten this to work is as follows selectedIndex={Utils.ComboBoxSelect(AllPossibleValuesInArrayCollection, 'data', selectedValueFromServer)} public class Utils{public static function ComboBoxSelect(ac:ArrayCollection, field:String, value:Number):Number{for (var

Re: [flexcoders] creating an image and placing it in the middle...

2006-10-09 Thread Xavi Beumala
The problem is that flex is asynchronous. At the time you invoke the move method, flex doesn't still know the image size. Trying using a listener for the Complete event of the Image. There you'll be able to invoke the move method. BestX.On 10/9/06, Greg Morphis [EMAIL PROTECTED] wrote: Why is

[flexcoders] Re: AS to Java Translation Problems

2006-10-09 Thread Geoffrey
Doug, Our java objects need to have dates set to type Calendar. So are you suggesting that my ActionScript value objects have a setter/getter? Something like: class com.beans.WorkGroupVO { public var workGroupID:String; public var startDate:Date; public var endDate:Date;; static var

[flexcoders] Actual screen X and Y co-ordinates of a container

2006-10-09 Thread pk_wasp
Hi I'm trying to find out what actual x and y co-ordinates of a container (that is inside another container) relative to the screen rather then relative to the parent container. Is there an easy way to find this out? can't seem to find anything in the docs etc cheers -- Flexcoders Mailing

[flexcoders] Access Request in Action Script

2006-10-09 Thread KP
Hi All, Can some one tell me the approach for accessing request in action script. Well we can do the same in mxml using mx:Request tag. I want to do same in action script. Thanks Kumar __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Switching View States - Destroying Resources

2006-10-09 Thread Daniel Wabyick
Is there some way to have objects that were added using mx:AddChild / completely destroyed instead of just removed from the DisplayList? The reason for this is that my added panels are bound into a data model and may end up performing computationally expensive tasks when they aren't

RE: [flexcoders] Actual screen X and Y co-ordinates of a container

2006-10-09 Thread Gordon Smith
By screen do you mean the computer monitor, or the Flash stage? You can use the localToGlobal() method to convert to stage coordinates. I don't think you can get monitor coordinates of DisplayObjects. - Gordon From: flexcoders@yahoogroups.com

Re: [flexcoders] Actual screen X and Y co-ordinates of a container

2006-10-09 Thread Igor Costa
I guess he's trying to get the Stage not the monitor. But the Flash Display Objects has a class that you can only be readable for with and height percentages of monitor .Regards. On 10/9/06, Gordon Smith [EMAIL PROTECTED] wrote: By screen do you mean

[flexcoders] Re: AS to Java Translation Problems

2006-10-09 Thread Doug Lowder
It would be more like replacing the Date objects in your WorkGroupVO with vars of type Number, set to calendar.getTime().getTime() on the Java side. This may or may not be an option in your case, but it would completely avoid object conversion issues between Java and AS. --- In

[flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-10-09 Thread Mike Morearty
Thanks for the reminder :-) Yes, the RSL/linker guy is back. There are several options: * Use the existing framework.swc as an RSL. * You can compile your main app with the -include-libraries command- line option, to entirely pull certain libraries into your main app. For example, if you

[flexcoders] Re: Customizing datatip function for 100% bar chart

2006-10-09 Thread suri_boston
i am getting the below error when i try to use the below e.chartItem.xValue... any help? thanks suri 1119: Access of possibly undefined property xValue through a reference with static type mx.charts:ChartItem. --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: Customizing datatip function for 100% bar chart

2006-10-09 Thread Ely Greenfield
That's a compile time error, right? You probably need to explicitly cast it to the type you know it to be (i.e., BarSeriesItem, ColumnSeriesItem, etc). Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of suri_bostonSent: Monday, October 09, 2006 12:28 PMTo:

[flexcoders] continuous run

2006-10-09 Thread Greg Morphis
Is there a way to get a app to continuously run? In flash, there's the onEnterFrame (event?), is there anything like that in Flex 2? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] How to use SWFLoader from a button click event

2006-10-09 Thread Robert Was
I think - you should make something on event complete. I only used swf loader to load swf with resources but it look similar Robert Was greenfishinwater wrote: Hi, I'm trying to use SWFLoader to load another Flex app when a user clicks a button. I have been able to get the

[flexcoders] bar/column stacked charts custom datatip function

2006-10-09 Thread suri_boston
i created stacked bar/column charts with custom datatip function. Now, How can i get the percentage value in custom datatipfunction of the bar/column? thanks suri -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

Re: [flexcoders] questions working with netstram

2006-10-09 Thread Thijs Triemstra
Check out http://livedocs.macromedia.com/fms/2/docs/0588.htmlThe FMS docs have much more information about Netstreams, Camera and Microphone compared to the Flex 2 docs.ThijsOp 9-okt-2006, om 23:33 heeft Jesús Iglesias het volgende geschreven:Hi,I'm developing a single videorecorder with

[flexcoders] getting panel title field to wrap

2006-10-09 Thread Jaime Bermudez
Hey Flexcoders,I need my Panel title's to handle wrapping, so I subclass the Panel class and override the createChildren method where I set the wordWrap property of the titleTextField to true (default is false). The first time I view the Panel, I see no data. The data displays subsequently

Re: [flexcoders] continuous run

2006-10-09 Thread Xavi Beumala
You can use the enterFrame event from the MovieClip class. Application class also dispatches flash.events.Event.ENTER_FRAME event.X.On 10/9/06, Greg Morphis [EMAIL PROTECTED] wrote:Is there a way to get a app to continuously run? In flash, there's the onEnterFrame (event?), is there anything

RE: [flexcoders] Actual screen X and Y co-ordinates of a container

2006-10-09 Thread Gordon Smith
But the Flash Display Objects has a class that you can only be readable for with and height percentages of monitor . Sorry, I'm not sure what you're referring to. - Gordon From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Igor Costa

[flexcoders] Compiler problem markers...

2006-10-09 Thread Ken Bromberger
I have been getting a lot of compiler problem marker errors lately. Does anyone know what causes this? The error is - Removing compiler problem markers (Time or error: Mon Oct 11:50:39 PDT 2006) I can of course continue just fine after hitting ok, but the messages seems rather

Re: [flexcoders] Compiler problem markers...

2006-10-09 Thread Angus Johnson
Hi Ken, Are you running eclipse 3.1.1 or 3.1.2? They're the supported versions. I had 3.2 running for a while and gave up because of the compiler problems. I occassionally get the same in 3.1.2 and a project clean seems to do the trick or try simply closing the project and reopening. You can

Re: [flexcoders] Re: [Flex 2] Strange behaviour when using RSLs

2006-10-09 Thread Angus Johnson
Thanks Mike. Second option seems the way to go for this project. (Using the standard framework as an rsl triggers the prompt for debugger location the guys mentioned earlier in the thread).CheersAngus On 10/10/06, Mike Morearty [EMAIL PROTECTED] wrote: Thanks

RE: [flexcoders] ASDoc problems with embeded resources

2006-10-09 Thread Matt Chotin
Unfortunately theres no asset path so youll need to make sure that the thing which you are embedding is in the same directory or a relative directory to the source. It cant handle the full filepath I think. Matt From: flexcoders@yahoogroups.com

[flexcoders] Re: Bin folder removed - how to restore

2006-10-09 Thread Mike Morearty
A guess: Are the files in your html-template folder read-only? I believe we may have shipped with a bug that if the files in that directory are read-only, then Flex Builder sometimes runs into problems. The first time it copies them to the bin directory, it succeeds, but it also copies over

RE: [flexcoders] Runtime loading of an SWF with embedded font

2006-10-09 Thread Matt Chotin
I think if you embed the font onto a class, then load the SWF that has that class, then do getDefinitionByName for the class it should work? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mitchgrasso Sent: Thursday, October 05, 2006 9:57 AM

  1   2   >