Re: [flexcoders] Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of stack

2006-11-04 Thread Ralf Bokelberg
Beeing able to dispatch events while we are dispatching an event is the expected behaviour. ActionScript doesn't have threads, so it's threadsafe per definition. In other words, it never happens, that an event interrupts a running method. If you dispatch an event while you are in another event

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
It sounds like you are letting FDS compile for you on the server. I am compiling on the client. To restate, hopefully, more clearly my problem, it is as follows: I want my swf and html output files to be inside: webapps/serlvet-name instead of: webapps/serlvet-name/flex-app-name I am not able

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread hank williams
Ok, looking at this somemore, I think this is most likely a design bug in flex builder. There is no reason for flex builder to prevent the user from specifying any folder he likes for the build output. For FDS applications, it seems the flex builder is limited to generating compiler output in a

[flexcoders] how to handle and || in mxml

2006-11-04 Thread boy_trike
I want to be able to enter: enabled = {varA == 1 varB == 2} in my MXML. This does not work. Is there a way to escape or use the AND/OR in mxml. thanks bruce -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Linking Components Between MXML ViewStack Components

2006-11-04 Thread pioplacz
H! Just wondering if anybody know how i can connect actionscript located in main.mxml to textinput box located in MovieView.mxml. I have a filterFunction located in my main.mxml to refers to textinput located in the MovieView (ViewStack) components. But i don't know how i can get them to

[flexcoders] Unable to build application from flex buider

2006-11-04 Thread teamria
Hello Group, I am facing problems while deploying application from flex builder. I am getting message File not found in bin directory. Files are not getting complile nor generated in Bin folder of the project. Please help me. Thanks in advance vijay -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100
--- In flexcoders@yahoogroups.com, ncr100 [EMAIL PROTECTED] wrote: This is a complex one. Summary: I believe I'm not confused with try/catch, but am surprised that the EventDispatcher assumes our code is reentrant. Reentrant like the EventDispatcher is dispatching a system Event in the

RE: [flexcoders] Hyperlink to an elemment in textarea

2006-11-04 Thread Mike Keesey
http://livedocs.macromedia.com/flex/2/langref/flash/events/TextEvent.htm l Use the event: protocol for the link, and the text field will dispatch a TextEvent event. ― Mike Keesey -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pat Buchanan

[flexcoders] resize dataGrid using creationComplete

2006-11-04 Thread pdflibpilot
I am trying to grow the dataGrid to display only as many rows as the dataProvider contains. I am trying to use the creationComplete to invoke the ActionScript. Any suggestions as to how to overcome this problem of a null object as noted in my code below. public function

RE: [flexcoders] how to handle and || in mxml

2006-11-04 Thread Andrew Trice
You have to html-encode the ampersand as amp;, the pipe should be fine as it is ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal mx:Script ![CDATA[ [Bindable] private var bool1 : Boolean = false;

[flexcoders] global settings through AS 3

2006-11-04 Thread srioviyan_p
I have a SWF file which fetches data from the server and displays it. I just want to know whether it is possible to run that SWF file from DESKTOP as a stand-alone application. I tried to add my SWF location in the global security settings from ADOBE site.Once i add the SWF file in it, im able to

RE: [flexcoders] View Loads / Service Results / Presentation Question

2006-11-04 Thread Dimitrios Gianninas
Create a pop-up window that will display a message to the user saying something is happening "Loading data, please stand by...". Once you got all the data, remove the pop-up and your main UI will be ready to go. Dimitrios Gianninas RIA Developer Optimal Payments Inc. From:

[flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread qnotemedia
Hi all - back from MAX, and I'm finally using RemoteObject! I have a simple calendar application. All is working fine with my dev copy of ColdFusion, but when I put it up on hostmysite.com it fails to connect - error follows at the end of this post. The remoteobject looks like this.

RE: [Junk E-Mail - LOW] [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Shannon Hicks
I'm pretty sure the only (shared)hosting company that supports remote object is CFDynamics http://www.cfdynamics.com/ Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of qnotemediaSent: Saturday, November 04, 2006 10:01 AMTo: flexcoders@yahoogroups.comSubject:

Re: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Dkerr
Are you getting an error during the run/compile? If not, it may be putting the files in a bin somewhere else. Right Click on the project and select properties. Check the path to the bin. I've experienced problems with this too and in some cases it is running just fine, but putting the files

RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Sönke Rohde
Hi, Try Project-Clean and a restart of Flex Builder will do no harm. Cheers, Sönke -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of teamria Sent: Saturday, November 04, 2006 1:11 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Shortcut for creating and dispatching events

2006-11-04 Thread boy_trike
the 1st 3 lines work fine. However, being a lazy programmer who does not want to type much, I want to do something like the commented line, but I am missing something with the syntax (since it does not work) var event : TextEvent = new TextEvent(SEARCH_MACHINES); event.text =

Re: [flexcoders] Shortcut for creating and dispatching events

2006-11-04 Thread Ralf Bokelberg
Hi Bruce, you need to extend the constructor of TextEvent: public function TextEvent( type : String, text : String ) ... Cheers, Ralf. On 11/4/06, boy_trike [EMAIL PROTECTED] wrote: the 1st 3 lines work fine. However, being a lazy programmer who does not want to type much, I want to do

RE: [flexcoders] Cairngorm ViewHelper\ViewLocater Example?

2006-11-04 Thread Dimitrios Gianninas
The purpose of the ViewLocator/ViewHelper was to allow Commands to update one or many views based on successful execution of the command. But with Data Binding being as powerful as it is (almost as powerful as The Force itelf) it was determined that this was the best solution as it also

[S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Dkerr
What does Clean do? Just curious. Don -Original message- From: Sönke Rohde [EMAIL PROTECTED] Date: Sat, 04 Nov 2006 11:49:01 -0600 To: flexcoders@yahoogroups.com Subject: [S] RE: [flexcoders] Unable to build application from flex buider Hi, Try Project-Clean and a restart of Flex

Re: [S] [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Dkerr
In CF Admin Flex Integration Is Remoting enabled? I'm experiencing a similar problem on my servers at NASA, but not on my own fusionpage.com servers. Can't figure out why it works on one server and not the other. I get HTTP Status 404 even when using the CF App Wizards. I can connect to the

[flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread boy_trike
The signature for the TextEvent already HAS the text property. from LiveDocs: TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String = ) I am just looking for the syntax for typing it on one line thanks bruce --- In flexcoders@yahoogroups.com, Ralf

Re: [flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread Michael Schmalle
Hi,It needs to be;model.dispatchEvent( new TextEvent(SEARCH_MACHINES, false, false, String(dgItems.selectedItem.machine)));Peace, MikeOn 11/4/06, boy_trike [EMAIL PROTECTED] wrote: The signature for the TextEvent already HAS the text property. from

[flexcoders] Re: FilteredLineSeries and Printing - ChartMan Ely, we need you!

2006-11-04 Thread Jonathan Miranda
My problem isn't the draw, because if I add the bitmap to the screen ala this.addChild(tempUI), it works fine (aka it shows up on the screen). It still prints blank though.also, the printJobOptions.printAsBitmap=true also makes anything always show up blank. Anyone actually used this before :)

[flexcoders] Slider thumb controlling playheadTime of VideoDisplay

2006-11-04 Thread Pascal Schrafl
Hi all, I have a slider thumb and would like to controll the playheadTime of a VideoDisplay with it. I therefore use this code: ?xml version=1.0 encoding=utf-8? mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=340 height=300 !-- video display -- !-- important, video sends the

RE: [S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Sönke Rohde
It cleans the project ;) Help-Help Contents-Enter Project clean and Go: From the help: Performing a clean build After a project has been built, subsequent builds affect only the resources that have been added or modified. To force the Flex Builder compiler to rebuild all resources in a project,

RE: [S] RE: [flexcoders] Unable to build application from flex buider

2006-11-04 Thread Gordon Smith
It resets the project to a not-built state, including discarding any outputs from a previous build. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dkerr Sent: Saturday, November 04, 2006 9:04 AM To: flexcoders@yahoogroups.com

[flexcoders] DataGrid header

2006-11-04 Thread kb_karthi
Hi, I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid header and just display the rows? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups

[flexcoders] Re: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100
NOTE: Forgive me for replying twice. The Rich-Text Editor (Beta) seems to not be posting my replies, only the content. -Nick - - - Hi Ralf - thanks for the help figuring out and thinking about this problem - About your diagram, I am getting an exception in line 4 which caused unrolling up to

RE: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-04 Thread Dustin Mercer
Yeah, this one is annoying. I don't use the Compile locally option just because of this issue. I have it compile on the server. Definately something that should be filed with Adobe though. I keep meaning to file a wish request for this, I'll make some time to do that today. Dustin Mercer

[flexcoders] Re: DataGrid header

2006-11-04 Thread Oliver Merk
showHeaders=false --- In flexcoders@yahoogroups.com, kb_karthi [EMAIL PROTECTED] wrote: Hi, I am new to Flex 2.0.Can anybody tell me how to turn off a datagrid header and just display the rows? -- Flexcoders Mailing List FAQ:

[flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?

2006-11-04 Thread jpc14_99
Trouble! So I found out today that the spacebar fires a click event on the last focused button. This includes hidden buttons, buttons in other states, and even mouseEnabled = false buttons!! (The last one has to be a bug, why would anyone want to allow keyboard 'clicks' on a button when they

Re: [flexcoders] hostmysite.com...RemoteObject not working

2006-11-04 Thread Pat Buchanan
The last time I spoke with HostMySite, they did not support it, however they had it in a test environment and was planning on deploying it eventually. They would not give me a hard date, sorry. However, I would email them anyway and apply the pressure. :) Thanks-PatOn 11/4/06, qnotemedia [EMAIL

Re: [flexcoders] Hyperlink to an elemment in textarea

2006-11-04 Thread Pat Buchanan
Hey thanks for answering Mike. I already have it working that way, but it seems like WAY too much work when all I want to do is call a function and pass some parameters.Once I saw someone mention the possibility of using the actionscript:myFunction() approach, it seemed MUCH cleaner. My problem

[flexcoders] Re: How can I DISABLE THE STUPID SPACE BAR GLOBALLY? **SOLVED** (kindof)

2006-11-04 Thread jpc14_99
so i added a focusIn statement to each of my button declarations and that does the trick. The buttons give up focus as soon as they get it (to some other component) so the spacebar doesn't trigger them. Still would like to know how you can just disable the spacebar. mx:Button

[flexcoders] Re: Bug in EventDispatcher? It shouldn't dispatch new Events if not at top of st

2006-11-04 Thread ncr100
--- In flexcoders@yahoogroups.com, Ralf Bokelberg [EMAIL PROTECTED] wrote: Beeing able to dispatch events while we are dispatching an event is the expected behaviour. ActionScript doesn't have threads, so it's threadsafe per definition. In other words, it never happens, that an event

[flexcoders] Re: Shortcut for creating and dispatching events

2006-11-04 Thread Derrick Grigg
I'm assuming you are using Cairngorm. If so your model will also need to use the EventDispatcher or CairngormEventDispatcher class to dispatch the event since the Model does not have that built in natively. Derrick - Derrick Grigg www.dgrigg.com -- Flexcoders Mailing List FAQ:

[flexcoders] Escaping textArea HTML to pass back to WebService...

2006-11-04 Thread jamiebadman
Hi, I need to 'escape' the html text from a textArea to pass back to a WebService. I wondered if anyone out there has already written a convenient function to accomplish this in its entirety ? If you have and you're willing to share, please let me know. If no one's done this yet (and I'm not

RE: [flexcoders] How can I DISABLE THE STUPID SPACE BAR GLOBALLY?

2006-11-04 Thread Gordon Smith
You can't turn off the KeyboardEvents that the Flash Player dispatches. But you can stop components from listening to them. In the Button source code, I see override protected function keyDownHandler(event:KeyboardEvent):void { if (!enabled) return; if (event.keyCode

[flexcoders] refering to an MXML element in an event handler

2006-11-04 Thread Mark Piller
Suppose I have the following MXML declaration: mx:Canvas id=id0 x=37 y=41 mx:Text x=25 y=10 text=Some Text added=addLabel(this) / /mx:Canvas Notice in the added handler I use this hoping that the scope of this is the actual Text element. My thinking is incorrect and the debugger shows that this

[flexcoders] Re: container transparency does not apply to the Text children

2006-11-04 Thread Mark Piller
Gordon, You are absolutely correct. That's exactly the reason why my text does not inherit parent container's transparency setting. Thank you for your help. Mark --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I think Mark's problem is that alpha doesn't apply to

RE: [flexcoders] refering to an MXML element in an event handler

2006-11-04 Thread Iko Knyphausen
I have been struggling with the same (old JS habit) I think you could dispatch an event and read the event object currentTarget property.. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mark Piller Sent: Saturday, November 04, 2006 6:18 PM

RE: [flexcoders] refering to an MXML element in an event handler

2006-11-04 Thread Iko Knyphausen
Here is a little example... watch the control walk the walk while you are typing... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute mx:Script ![CDATA[ import flash.events.Event; public function myChangeHandler

[flexcoders] Re: refering to an MXML element in an event handler

2006-11-04 Thread Mark Piller
Thank you everyone who helped me out! currentTarget on the event object definitely gets me the right reference. Cheers, Mark --- In flexcoders@yahoogroups.com, Iko Knyphausen [EMAIL PROTECTED] wrote: Here is a little example... watch the control walk the walk while you are typing...

[flexcoders] Cannot get any effects to work

2006-11-04 Thread dorkie dork from dorktown
How come this code does not work? It seems straigt forward. I just want the header to fade in and slide in from the top when the application first starts. Why does flex hate me? I hope you can help or else I will be execute. ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Cannot get any effects to work

2006-11-04 Thread Iko Knyphausen
Try the same without curlies {}, i.e. use showEffect=move1 instead of {move1}. If that does not work, you can always use the target property in the effect, and run a play() on the effect from any handler, like the show handler. From: flexcoders@yahoogroups.com

RE: [flexcoders] Cannot get any effects to work

2006-11-04 Thread Dustin Mercer
instead of the showEffect, use creationCompleteEffect. Show effect will only play when the control / container visible property is set to true, which doesn't happen on initial load. I have had this problem before and it seems confusing. Logically, one would think the show effect is the