[flexcoders] passing data from jsp page to flex app

2005-06-11 Thread nithya karthik
hai, i have a flex appl that would call a jsp page. in the jsp page i have an embedded mxml witha button "add". when i trigger that it must get added to my mxml page outside jsp page. how to do this? my code is as below: mxml: ?xml version="1.0" encoding="utf-8"? mx:Application

[flexcoders] Re: AutoTestFlash

2005-06-11 Thread tiago_simoes
something some day will be cool. But file system access is great also and I can't wait for Maelstrom. In the meantime I figured a way to read files and I have updated AutoTestFlash so that it can run saved scripts. Cheers, Tiago http://www.geocities.com/tiago_simoes/flash/ --- In

[flexcoders] Re: Custom ComboBoxCellRenderer Issue

2005-06-11 Thread send2martin
hi buddy i belive this will help u and its not so comlex function setValue( str : String, item : Object, selection : String ) : Void { if ( item == undefined ) { comboLabel.visible = false; combo.visible = false; return; } if ( selection == normal ||

[flexcoders] Re: Fun with context roots

2005-06-11 Thread sbyrne_dorado
Unfortunately, we're not yet using Apache. I'm not sure how mod_rewrite would help in this case; can you elaborate your thoughts a bit? --- In flexcoders@yahoogroups.com, James Ward [EMAIL PROTECTED] wrote: This seems like something that could easily be handled by Apache's mod_rewrite. Are

[flexcoders] Obtaining context root programmatically?

2005-06-11 Thread sbyrne_dorado
Is there any way within an AS file to find out the current context root? I have discovered that if I use the mx:String element, that the MXML translator will correctly replace @ContextRoot() with the current context root, which is fine, but I am wondering if there is a less hacky way to obtain

[flexcoders] how to change UIObject._rotation legally?

2005-06-11 Thread Aldo Bucchi
Hi all, Is there a way to rotate a component without bypassing the v2 architecture? The problem with rotating an object is that it can result in changing it's box dimensions, which would create layout problems if no notifications are triggered... I believe this could be a recurrent issue any

RE: [flexcoders] passing data from jsp page to flex app

2005-06-11 Thread Abdul Qabiz
Hi Nithya, Both of Flex applications can communicate using LocalConnection. See the modified code below: 1) ##app.mxml## ?xml version="1.0" encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns="*" initialize="onAppInit()"

[flexcoders] Re: Popup windows behaving oddly

2005-06-11 Thread Eric Raymond
Nope --- In flexcoders@yahoogroups.com, JesterXL [EMAIL PROTECTED] wrote: Avoid loading SWF's; that's the only time I've had weird things happen. You're not doing that are you? Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/

[flexcoders] Re: Popup windows behaving oddly

2005-06-11 Thread Eric Raymond
Yes we are using overlapping windows. Maybe I misunderstand the question, but isn't the point of popup windows to allow overlapping windows? Simple test case? Not yet. Just one huge app. Sometimes the pops work just fine. Other times they don't. All the windows I'm popping up are derived

RE: [flexcoders] Digest Number 877

2005-06-11 Thread Venkata Krishnan Natarajan
Hi, I'm a beginner to RIA development. I'm trying to develop a music player using flex. Currently I load a list of songs in a datagrid. When the user clicks an item, the media contoller and player plays the song. I would like the player to automatically go to the next song in the grid after

[flexcoders] Why can't I draw in the Canvas component using fillRect?

2005-06-11 Thread vaykent2
(or - another possible subject line - 'What is the quickest, least processor intensive way of 'putting' 'squares' on a component?') In the end I'm finding that createChild(VBox, ...) is just too intensive. It takes too long. I'm looking for a better way... a drawing API-ish way might be what I

Re: [flexcoders] Why can't I draw in the Canvas component using fillRect?

2005-06-11 Thread JesterXL
You can try: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Script ![CDATA[ function drawStuff() { var ref_mc = pad.createEmptyObject(square, getNextHighestDepth()); ref_mc.fillRect(0, 0, 200, 200, 0x00, 100); } ]] /mx:Script

Re: [flexcoders] Digest Number 877

2005-06-11 Thread JesterXL
Check the docs for events you can register for. The MediaPlayer has a complete event that'll trigger when the media is done. Have that play the next selected song when it fires. - Original Message - From: Venkata Krishnan Natarajan [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

Re: [flexcoders] how to change UIObject._rotation legally?

2005-06-11 Thread JesterXL
UIObject and it's property snatching kin do not address rotation. There are a couple options: - when adjusting the _rotation property, immediately call invalidate after it - same, but call setSize instead for a more immediate effect - Original Message - From: Aldo Bucchi [EMAIL

RE: [flexcoders] Obtaining context root programmatically?

2005-06-11 Thread Matt Chotin
@ContextRoot() will get it embedded, might be easiest just to put that in your Application and have your AS classes pull Application.application.yourContextRootVarDeclaredOnApplication. Otherwise you could attempt to figure out the context root simply by taking the value between the