[flexcoders] send data from dragdrop target component.

2007-09-18 Thread Ary
Hi Guys, i have a tileList as dragsource...and i have a component that can accept this tileList dragdrop operation, i catch the value of dragged element (of one tileList data avalue)from component and display it inside the component, now i want to share/send it back to main app(parent) how can i d

Re: [flexcoders] nulling primitive data types

2007-09-18 Thread EECOLOR
If you want to set values to NULL in your database you could make a simple method on the server side with a signature like this: setValueToNull(table, column, primaryKeyColumn, primaryKeyValue) You could get the primaryKeyColumn from the database metadata. Greetz Erik On 9/19/07, EECOLOR <[EM

Re: [flexcoders] nulling primitive data types

2007-09-18 Thread EECOLOR
These are the simple types and their default values: uint - 0 int - 0 Number - NaN String - null Boolean - false I still do not get your problem. In your database a representation of a boolean would be a bit type. Which means that it's either true or false. You could look at your problem in antot

Re: [flexcoders] nulling primitive data types

2007-09-18 Thread Arpit Mathur
I forget the case for boolean but the null equivalent (ie declared but no value) of Number is NaN. Wouldnt that work for you ? On 9/18/07, Samuel R. Neff <[EMAIL PROTECTED]> wrote: > > > We use xxx.MIN_VALUE to represent null on both client and server (.NET). > We've been doing it in .NET for se

[flexcoders] navigateToURL() GET method works fine, but POST doesn't work.

2007-09-18 Thread Manu Dhanda
Hii On the click of a button, am calling following method: public function openNewWindow(event:MouseEvent):void { var url:URLRequest = new URLRequest("http://cco061-03:8088/openreports/executeReport.action";); var uv:URLVariables = new URLVariables(); url.method = "P

RE: [flexcoders]SWFLoader not sizing loaded swf

2007-09-18 Thread Alex Harui
A flex swf has two frames, the preloader frame followed by the app frame. In theory, the chat.swf should be sized by SWFLoader while it is in the first frame, which should dictate the size for the rest of the app. If you run chat.swf in the standalone player what size is it? What does the mx:

[flexcoders] help

2007-09-18 Thread grimmwerks
I'm very tired and have been struggling with poor documentation regarding the transitions and addChild stuff. I've been doing my fair share of google searches. I'm having a love/hate relationship with flash. Today it hates me, and I it. I've got a component that I'm trying to do a hide effe

[flexcoders] Anybody Out there Please! Re: Flex Builder/Webapp/Flex

2007-09-18 Thread simonjpalmer
I have exactly this set up with a J2EE servlet project using the WTP Eclipse plug-in and a Flex Builder project in the wame Eclipse workspace. It is best to start from the server project and create a Dynamic Web Project first. Get your servlet compiling and deploying into your app server even if

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
Yeah, you need to download flexlib. I just updated the zip file to include the CanvasButtonAccordionHeader component. Download it here: http://code.google.com/p/flexlib/downloads/list unzip that zip file, grab the flexlib.swc file out of the bin directory that gets unzipped. Add that into your pro

[flexcoders] Redirect to login page

2007-09-18 Thread Manu Dhanda
Hii Can someone tell me how do i unload flex and load/redirect to login page, once the session is over. Currently, when the session is over. Obviously I cannot access any data from the server side. But my flex GUI will still remain there and it doesn't unload from the screen. Can anyone guide m

RE: [flexcoders] nulling primitive data types

2007-09-18 Thread Samuel R. Neff
We use xxx.MIN_VALUE to represent null on both client and server (.NET). We've been doing it in .NET for several years and now with Flex integration it works very well. Of course everyone needs to recognize that MIN_VALUE is being used this way and if you actually had to store MIN_VALUE then you

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Steve Hueners
I seem to be missing a step in configuring my project's implementation of this [to Peter Griffinize my adulation] freak'n awesome component. Am told: Could not resolve to a component implementation. HeaderRenderer.mxml CanvasButtonAccodionHeader I've set a sourcepath but with no import being

[flexcoders] Enhanced auto complete

2007-09-18 Thread Emmanuel Potvin
I'm looking for a text input component like this : http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail &loc=en_us&extid=1047291 with autocomplete feature, but whose data provider woul

Re: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
Thanks again Alex. I will give it a shot. =) On 9/18/07, Alex Harui <[EMAIL PROTECTED]> wrote: > >I just looked at our default template. I think you have to modify > AC_Generateobj in AC_OETags.js. Someone else may have a better solution. > > > > You could add tags to the string or change fr

[flexcoders] Running AIR alpha apps... after the alpha cutoff

2007-09-18 Thread Trevor.Peace
Many of you, like me, may have been inconvenienced by the sudden demise of all AIR apps built by Flex Builder 2.0.1 about an hour and a half ago. This may sound obvious, but you can continue to export and run alpha AIR apps by setting the date on your computer backwards to a time before 5pm on

[flexcoders] nulling primitive data types

2007-09-18 Thread merelypixels
Hello All, I've been running into a rather frustrating issue with flex: namely that although data types are supposedly implemented as AS classes, you cannot null variables of primitive data types e.g. var blah:int = null; //blah == 0 var blah:Number = null; //blah == 0 var blah:Boolea

[flexcoders] Building ant scripts for flex projects

2007-09-18 Thread kgfsatish
Hi Friends, Iam working in flex technology , i am in the process of writing ant scripts for the project ,i have completed the script it is running , but an runtime error comes when i run the application , security error Error # 2060 , i think the problem is with the cross-domain.xml , i dont know h

[flexcoders] A file found in a source-path must have the same package structure

2007-09-18 Thread droponrcll
Hi, all; I'm working through the tutorial in the Flex Builder 2 Training from the Source book, using Flex Builder 3 beta. I accidentally called my events folder "Events", and now when I renamed it I get "A file found in a source-path must have the same package structure 'Events', as the defin

Re: [flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread George
I think you could only check public(or else depends on namespace) properties(include methods) for classes. George j_lentzz wrote: > What is the syntax to do this? Just using validate in myObject > returns an error about validate being an undefined property. > > John > --- In flexcoders@yahoogro

Re: [flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Steve Mathews
Well using the non-module approach (again, I haven't used modules so I can't speak for that method), you at least need to know what class to instantiate. It sounds like you are doing something very similar in concept to what I am. So I provide an API (interface) that an external developer builds t

Re: [flexcoders]SWFLoader not sizing loaded swf

2007-09-18 Thread chatopica
Hi Alex, chat.swf is a Flex swf and there's no resizing code in the app. Do I need to add some? I assumed it would automatically respect the size of the SWFLoader. Thanks, Tom Bray www.chatopica.com/topics/flex --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I

[flexcoders] Flex Builder/Webapp/Flex

2007-09-18 Thread mattmadhavan
Hi, I would like the have the best practice to set up a webapp in my Eclipse. What are the recommended directory structure for java/flex source folders? Do I first create a webproject in eclipse, then place my flex binary folders in the webroot/WEB-INF folder? Do I keep my flex src code under web

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread merelypixels
Alex left out the right double quotes. Since your function is a property of your class like any global variable you can access it with: if("validate" in myObject) {} -or- if(myObject["validate"]) -or- if(myObject.hasOwnProperty("validate")) {} --- In flexcoders@yahoogroups.com, "j_lentzz" <[EM

[flexcoders] File upload compression (esp. gzip)?

2007-09-18 Thread fgamador
Is it possible to write a Flash/Flex/AIR app that compresses large files during upload (ideally using gzip)? As far as I can tell, FileReference (and URLRequest) do not support this. Is there any other way? Thanks in advance for any tips.

Re: [flexcoders] Anybody Out there Please! Re: Flex Builder/Webapp/Flex

2007-09-18 Thread Leif Wells
Matt, At my workplace, we normally have a team working on the front-end and another working on the Java back-end. Although we share the same Subversion repository, we place our code in separate folders. The front-end team uses the root of the "flex" folder as the base of our Flex Builder project.

[flexcoders] Anybody Out there Please! Re: Flex Builder/Webapp/Flex

2007-09-18 Thread mattmadhavan
mattmadhavan wrote: > > Hi, > I would like the have the best practice to set up a webapp in my Eclipse. > What are the recommended directory structure for java/flex source folders? > Do I first create a webproject in eclipse, then place my flex binary > folders in the webroot/WEB-INF folder? D

[flexcoders] please: addChildAction examples

2007-09-18 Thread grimmwerks
I'm really confused as to how to make a vibrant, animated interface. I've been told by the list that you can have addChild within a transition - seems not to be true, but you've got addChildAction and removeChildActions; trouble is, I can't figure out how they work. The examples I've seen o

RE: [flexcoders] Re: Removing children when they have no id

2007-09-18 Thread Alex Harui
As I mentioned, you are not resetting labelCollection, or calling removeItemAt from labelCollection as you call removeChild(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donvoltz Sent: Tuesday, September 18, 2007 3:10 PM To: flexcod

[flexcoders] Re: Removing children when they have no id

2007-09-18 Thread donvoltz
Hi Alex, You were correct in your question, this does not happen after the first click, but after the second one. See what I am doing is first establish the labels as listed above, Then call a function on the click event to remove the labels, and rebuild them with a different data set. (I would t

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
Alex - you star!! That works perfectly! Thank you so much!! Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: 18 September 2007 21:37 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] C

RE: [flexcoders] Re: Removing children when they have no id

2007-09-18 Thread Alex Harui
Is it possible that you are not removing from the container you added to? Is this on the first reset or subsequent? If not the first, then the prob might be that you aren't resetting the labelCollection. FWIW, it is probably overkill to use AC instead of an array here. __

[flexcoders] Re: Removing children when they have no id

2007-09-18 Thread donvoltz
Thanks to all for the help but I am still seeing some issues I do not understand I have done the following private var labelCollection:ArrayCollection = new ArrayCollection(); //place to hold the label instances private function makeLabelHandler(event:ResultEvent):void {

RE: [flexcoders] How to change positions of Alert popups in SHOW_ALL mode

2007-09-18 Thread Alex Harui
Feel free to file a bug, but last time I investigated an issue like this it had to do with matching up application size to application content. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George Sent: Tuesday, September 18, 2007 7:15

RE: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Alex Harui
I just looked at our default template. I think you have to modify AC_Generateobj in AC_OETags.js. Someone else may have a better solution. You could add tags to the string or change from writing the document to writing to something else. From: flexcode

Re: [flexcoders] Re: Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
I'm using Flex Builder 3 and the example I posted seems to work for me. Yeah, you might not get to use Design View, but then just don't use Design View :) I didn't even realize this since I rarely ever use DV, but yeah, it won't let you drop stuff on the CanvasButton. I have no problems adding via

[flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread danielvlopes
Thanks again Alex, one of the things make more enthusiastic in flex developing is the activity of the community and mainly of the members of the Adobe ,as you, that always help to much. --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I would recommend dumping link re

Re: [flexcoders] How to change positions of Alert popups in SHOW_ALL mode

2007-09-18 Thread George
Thanks Alex. I found a method to fix the issue after scanning Flex SDK source code and a few experiments myself. Should be a bug inside Adobe codes that not function centerPopup correctly. I'm not sure customize HTML wrapper could work right or not (I'm using the Flash CS3 HTML wrapper). As fa

[flexcoders] Re: Validating items in DataGrids

2007-09-18 Thread merelypixels
seems to me that no mucking about with itemEditors is necessary... extract the data you need from your dataProvider and then validate that data directly before sending it on. If you want the little red validation things, you should probably validate on a field by field basis using the dataGrids ite

[flexcoders] Re: Adding buttons to an Accordion header

2007-09-18 Thread kundigee
Thanks guys for the great advise, although I'm still kinda stuck 1) Floating the buttons won't really work as the Accordions are dynamically created and the number of headers and panels can become very large requiring the headers to scroll on and off of the screen, sometime 1/2 off. This would

Re: [flexcoders] Alignment of SWF in HTML output

2007-09-18 Thread Michael Baird
Thanks Alex. I've tried wrapping different parts of the html in a table/table row and divs, but neither have effects. Do you happen to know which part should work to be centered in the whole page? On 9/17/07, Alex Harui <[EMAIL PROTECTED]> wrote: > >Make sure you're wrapping the right thing.

RE: [flexcoders]SWFLoader not sizing loaded swf

2007-09-18 Thread Alex Harui
Is chat.swf a Flex swf? Does chat.swf have code that resizes to the stage? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from dorktown Sent: Tuesday, September 18, 2007 12:21 PM To: flexcoders@yahoogroups.com Subject: [fle

Re: [flexcoders] dynamic title of a panel

2007-09-18 Thread Sheriff
u should use a titleWindow instead and then just bind to the this.title - Original Message From: Gustavo Duenas <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, September 18, 2007 2:03:41 PM Subject: [flexcoders] dynamic title of a panel

[flexcoders] ok then - addChildAction

2007-09-18 Thread grimmwerks
If I have something with 3 elements in a state, how do I use AddChildAction? Does an AddChildAction make ALL the 'addChild' elements come on, or can you target specific elements to be added?

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
If I hard code in my setter as follows then the image appears. public function set listData( value : BaseListData ) : void { _listData = value; icon3.source=submitted } I just need to work

[flexcoders]SWFLoader not sizing loaded swf

2007-09-18 Thread dorkie dork from dorktown
I am using a swf loader to load a chat swf. Unfortunately, I cannot get the content to stay inside of the swfloader. Here is an example application. Notice I have the width and height set to 500. In my test the content is sized to the width and height of the browser. You can test this code: http:

[flexcoders] Re: Can't style a cursor with CSS, can you?

2007-09-18 Thread ben.clinkinbeard
Got it, thanks. --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Ben, > > moveCursorSkin:Embed(source="moveCursor.png"); > > Embed creates a class. You could also use setStyle("moveCursorSkin", > MyCursorClass); > > or; > > moveCursorSkin:ClassReference("my

Re: [flexcoders] Re: Multiple Axis in Flex 3 FLEX CHART

2007-09-18 Thread M Faisal
One more thing Sunil: where do I go to file for an enhancement? Could you please send me the link? Thanks Faisal On 9/17/07, Sunil Bannur <[EMAIL PROTECTED]> wrote: > >The Multiple Axis feature in Flex 3 provides the following > > > >1. Each series can have its own

[flexcoders] Re: Removing children when they have no id

2007-09-18 Thread Sandeep Malik
Cant you use removeAllChildren()? Regards, Sandeep --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > I'd keep an array of labels. > > > > But you can search as well by testing if getChildAt(i) is Label > > > > > > From: flexco

Re: [flexcoders] Re: Can't style a cursor with CSS, can you?

2007-09-18 Thread Michael Schmalle
Ben, moveCursorSkin:Embed(source="moveCursor.png"); Embed creates a class. You could also use setStyle("moveCursorSkin", MyCursorClass); or; moveCursorSkin:ClassReference("my.package.cursors.MyCursorClass"); bottom line is my manager calls basically, var cls:Class = styleName.getStyle(cursorS

[flexcoders] dynamic title of a panel

2007-09-18 Thread Gustavo Duenas
Hi coders I have an app I've been doing and something is out of my league now, well I have a mx:model its id is portafolio and it load an external xml file. well one of its part is name of the client and I'm using the pop up manager in order to create a pop up panel the code is.

Re: [flexcoders] Adding buttons to an Accordion header

2007-09-18 Thread Doug McCune
Aight, check this out: http://dougmccune.com/blog/2007/09/18/using-complex-headers-with-the-flex-accordion/ Doug On 9/17/07, Doug McCune <[EMAIL PROTECTED]> wrote: > > I might try to do a full post about this soon, but you can try checking > out the CanvasButton component in FlexLib. Basically t

[flexcoders] Re: Can't style a cursor with CSS, can you?

2007-09-18 Thread ben.clinkinbeard
Not sure I follow you. How do you glean a class from those styles? --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAIL PROTECTED]> wrote: > > Thats why for all of my custom components and managers I created a new > CursorManager that wraps the mx one. > > In each of the managers or com

RE: [flexcoders] Removing children when they have no id

2007-09-18 Thread Alex Harui
I'd keep an array of labels. But you can search as well by testing if getChildAt(i) is Label From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donvoltz Sent: Tuesday, September 18, 2007 10:21 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Removing children when they have no id

2007-09-18 Thread Gordon Smith
Make someLabel an instance var of your component or application rather than a local var inside a method. An MXML tag declared with an id causes simply such an instance var to be autogenerated by the MXML compiler. - Gordon From: flexcoders@yahoogroups.com [mailt

[flexcoders] Re: Buttons in Flex !

2007-09-18 Thread scalenine
Like Alex mentioned, this will be something you'll be able to do in Flex 3. I've done it using the Flex Component Kit, Flash CS3 and Flex 3 to replicate what George Comninos demoed at 360Flex: http://www.colettas.org/?p=150 http://cruxy.com/stores/pubstoreDetailVideo.jsp?id=11450 It was pretty ea

Re: [flexcoders] Can't style a cursor with CSS, can you?

2007-09-18 Thread Michael Schmalle
Thats why for all of my custom components and managers I created a new CursorManager that wraps the mx one. In each of the managers or components I have; /* * The move cursor skin for the MoveManagerFX. */ moveCursorSkin:Embed(source="moveCursor.png"); /* * The move cur

[flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread b_alen
Wow, that certainly seems exciting then. Though the examples I've seen briefly deal mostly with the graphical side of it. If you happen to know any good resource I'd be very thankful. Cheers all! --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > That's the goal of mod

[flexcoders] multiple effects in one state transition

2007-09-18 Thread grimmwerks
I thought I could do this, but now it's throwing errors: blurYTo="0" /> Basically I want one transition for a state where di

[flexcoders] Can't style a cursor with CSS, can you?

2007-09-18 Thread ben.clinkinbeard
Pretty sure its not possible but just looking for confirmation. Since CursorManager.setCursor() expects a class I assume thats the only way. Correct? Thanks, Ben

[flexcoders] Removing children when they have no id

2007-09-18 Thread donvoltz
Hi everyone, I am using the following code to dynamically add a number of labels to a panal. for each (var item:XML in dataStream){ var someLabel:Label = new Label(); someLabel.text = item..title; addChild(someLabel); } This works well, however, I am now up against a problem. Each of these lab

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread Doug Lowder
Technically, if you plan to call the method wouldn't you also want to verify that it's a function? Something like: if ("validate" in someObject && someObject["validate"] is Function) I suppose it might depend on the possible instance types of someObject. --- In flexcoders@yahoogroups.com, "

RE: [flexcoders] Listening for all creationComplete() events

2007-09-18 Thread Alex Harui
systemManager will pick up app children plus popups and their children. Not sure why initialize handler wasn't soon enough From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brian Holmes Sent: Tuesday, September 18, 2007 8:29 AM To: flexcod

RE: [flexcoders] Re: mouseDownOutside

2007-09-18 Thread Alex Harui
Probably need to show some code or a test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of joaopccoelho Sent: Tuesday, September 18, 2007 9:02 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: mouseDownOutside Sorry fo

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Ok. I see now. Very nice. Thanks a bunch. John --- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote: > > if ("validate" in someObject) > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Alex Harui > Sent: T

RE: [flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread Alex Harui
I would recommend dumping link reports from the modules and examining them to see what they share. If there's a significant amount of stuff or there are singleton managers or styles, they should go in the sharedcode module pretty much like the version you've showed herer. _

Re: [flexcoders] Getting error string in FaultEvent passed from Server side

2007-09-18 Thread Muzak
Dump the FaultEvent to the console to see what's in it. trace(mx.utils.ObjectUtil.toString(event)); - Original Message - From: "Manu Dhanda" <[EMAIL PROTECTED]> To: Sent: Tuesday, September 18, 2007 11:07 AM Subject: [flexcoders] Getting error string in FaultEvent passed from Server si

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Gordon Smith
if ("validate" in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Tuesday, September 18, 2007 8:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to see if method is implemented in class If (

[flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread danielvlopes
Ola Alex, I obtained to compile using ant with using link-report and load-extern together with rsl. My buidl.xml is this:

RE: [flexcoders] Add methods to RemoteObjects with ActionScript

2007-09-18 Thread Brian Holmes
var ro : RemoteObject = new RemoteObject(); var op:Operation = ro.getOperation("myOperationName"); var token : AsyncToken = op.send(); I don't think you create them, once you create a remote object in action script you can just an operation

Re: [flexcoders] Re: Buttons in Flex !

2007-09-18 Thread Troy Gilbert
> What if the transition is just a simple fade from one skin to the > next. Does that make things any easier? The Button class has a > transitions property, so why can't that be leveraged? As Alex mentioned, the transitions property won't help you. But, if all you want is a simple fade from one s

[flexcoders] Validating items in DataGrids

2007-09-18 Thread j_lentzz
Hi, I'm now trying to validating the contents of a datagrid and I was wondering if there is an established way to do this. It seems like I would need to get an instance of the itemEditor and somehow pass it the value on that row. Then I would either call a validator against that editor, or call

[flexcoders] How could I access a component from a skin

2007-09-18 Thread Carlos Rovira
Hi, I'm trying to change the focusSkin based in some variables in my custom component. The problem is how could I access from the updateDisplayList method to the component instance to retrieve the values in the variables. I was searching a way , and I don't get it. Anyone knows how could I do it

[flexcoders] Add methods to RemoteObjects with ActionScript

2007-09-18 Thread rleuthold
Hi there, Does somebody know how to create and add methods to RemoteObjects in ActionScript ? In mxml i do it like this. ... must be possible to do it in AS ... I couldn't find something in the doc's ... With best thanks for every bit of information ... _rico

[flexcoders] Re: mouseDownOutside

2007-09-18 Thread joaopccoelho
Sorry forgot to explain that part, both components created with PopUpManager.createPopUp() but are not modal. --- In flexcoders@yahoogroups.com, "Roman Protsiuk" <[EMAIL PROTECTED]> wrote: > > What do you mean "popped up"? Is it modal pop up? Or what? > > R. > > On 9/18/07, joaopccoelho <[EMAIL

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
What is the syntax to do this? Just using validate in myObject returns an error about validate being an undefined property. John --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If ("validate in someObject) > > > > > > From: flex

RE: [flexcoders] Listening for all creationComplete() events

2007-09-18 Thread Brian Holmes
Gordon, application's initialize handler didn't work the way I hoped. There were still components being created that I was definitely not picking up when the application was starting. I was able to pick them up with an ADD_TO_STAGE capture listener from the systemManager and after words the creatio

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Alex Harui
I've lost track. Can I see the whole source and what your data objects look like? Dump out what is in data, dataField, etc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, September 18, 2007 12:49 AM To: flex

[flexcoders] embedded swf and button press?

2007-09-18 Thread grimmwerks
How can a flex app get an event from a swf? Is it like the old Director way of getURL?

Re: [flexcoders] Can I use Flex to create flash widgets? that are embedded in HTML/JS web-app?

2007-09-18 Thread Tony Alves
Try this article by Ted Patrick: http://www.onflex.org/ted/2007/08/fxwidget-flex-swf-swfobject-custom-html.php Satish Kumar.M wrote: I want to use Flex for creating chart widgets. and embed those widgets in another HTML/JS web-app. Can I use Flex for that? I dont want to create a full-blown Fle

RE: [flexcoders] Re: Loading code from swf (instantiating classes from external swf)

2007-09-18 Thread Alex Harui
That's the goal of modules. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Tuesday, September 18, 2007 1:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Loading code from swf (instantiating classes from exter

[flexcoders] Get data from dragDrop repeater component.

2007-09-18 Thread Ary
Hi Guys, i have a component that accept dragDrop(trashBin) operation, and i put this component inside a repeater component (repetition for certain amount of existing data) along with the dragdrop operation, dragsource(FileData) has some value from an Array, i manage to get the value from the drags

RE: [flexcoders] image / png -- roll on alpha?

2007-09-18 Thread Alex Harui
Can we see the image? I'm not sure I understand. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Tuesday, September 18, 2007 5:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] image / png -- roll on alpha?

RE: [flexcoders] Sandbox/Crossdomain problem on connecting Socket with webserver on port 6680

2007-09-18 Thread Alex Harui
So, where can we go to see the crossdomain.xml file? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rogerio Gonzalez Sent: Tuesday, September 18, 2007 5:42 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Sandbox/Crossdomain

RE: [flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread Alex Harui
On my blog I used batch.scripts for Unix shells like CygWin, which does in fact work on Windows I don't have any ANT examples, but you can certainly use Ant Tasks. Your SharedCode module looks fine. Good luck, -Alex From: flexcoders@yahoogroups.com [m

[flexcoders] Get data from dragDrop repeater component.

2007-09-18 Thread Ary
Hi Guys, i have a component that accept dragDrop(trashBin) operation, and i put this component inside a repeater component (repetition for certain amount of existing data) along with the dragdrop operation, dragsource(FileData) has some value from an Array, i manage to get the value from the drags

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
What is the syntax to do this? Just using validate in myObject returns an error about validate being an undefined property. John --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If ("validate in someObject) > > > > > > From: flex

[flexcoders] Embedded font thing...

2007-09-18 Thread Ed Capistrano
Ideas? Got one! is there any substitute or alternative to webdings font? Second embed the whole characters! Ed proud & happy member Send instant messages to your online friends http://uk.messenger.yahoo.com

RE: [flexcoders] Launch links in different windoe from TextArea?

2007-09-18 Thread Alex Harui
See the doc for flash.text.TextField#htmlText From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of arpan srivastava Sent: Tuesday, September 18, 2007 7:00 AM To: Flex Coders Subject: [flexcoders] Launch links in different windoe from TextArea

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Thanks for all the ideas! I'll see which one works best for my app. Thanks again, John --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > If ("validate in someObject) > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL P

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Alex Harui
If ("validate in someObject) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Tuesday, September 18, 2007 7:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to see if method is implemented in class Hi, I'

[flexcoders] Re: How to see if method is implemented in class

2007-09-18 Thread ben.clinkinbeard
someComponent.validate == null Remember, methods are properties too. --- In flexcoders@yahoogroups.com, "j_lentzz" <[EMAIL PROTECTED]> wrote: > > Hi, > > I've got a problem I'm trying to resolve concerning validating a page > before submitting it to the server. I have a way to recursively get

Re: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Michael Schmalle
Hi, Put your calling code in a try{} catch{} block, then you will not get the RTE. try { someObject.validate(); } catche (e:Error) { trace(someObject.className, "Has no validate() method"); } There are a couple other ways but, this is pretty clean and gets the job done. Peace, Mike On 9

[flexcoders] Multiple operations on a webservice

2007-09-18 Thread quantum_ohm
Hello everybody ! I've been struggling with this for two days so if anybody would have any idea... I'm tryin' to convert a date with this format: 2007-09-06T10:00:00 to : 2007,09,06 the problem I have is not about the formatting (I can do it), but where/how to put the function which does it ??? t

RE: [flexcoders] How to see if method is implemented in class

2007-09-18 Thread Mike Krotscheck
You could have your custom components implement a custom interface like IValidatable that requires the validate() function, and then check whether the class implements that interface by using the following: if( yourComponent is IValidatable) { // Your code here } Michael Krot

[flexcoders] Vector graphics serialization format?

2007-09-18 Thread Borek
Hi all, is there some Flex-supported format for vector graphics serialization? I mean, I can use something like graphics.drawRect(1,2,3,4); graphics.drawEllipse(...); // etc. while I would appreciate something like etc. It would seems logical to me to have this kind of declarative description

[flexcoders] How to see if method is implemented in class

2007-09-18 Thread j_lentzz
Hi, I've got a problem I'm trying to resolve concerning validating a page before submitting it to the server. I have a way to recursively get each child on the page. However, I can't figure out a way to see if the child has the validate() method implemented. Most of the components are extended

[flexcoders] Embedded font not showing correctly

2007-09-18 Thread candysmate
I have embedded TTF Wingdings (although Windows has it named as WINGDING.TTF) with: @font-face { src:url("/assets/WINGDING.TTF"); fontFamily: "Wingdings"; font-weight:normal; unicodeRange: U+2717-U+2717; } I wish to display the cross shown in this font chart as character 251: http://www.zakie.f

[flexcoders] Re: Reduce size of my module! Really boring....

2007-09-18 Thread danielvlopes
Hello Alex, i read your presentation and try find ant in your blog and i found only this (http://blogs.adobe.com/flexdoc/2007/01/two_new_tools_flex_ant_tasks_a.html). In examples used in your application you share code between modules using a external AS class called SharedCode extends ModuleBase

[flexcoders] Launch links in different windoe from TextArea?

2007-09-18 Thread arpan srivastava
Hi All, I have a textArea which shows some html content like an image and some text. There are some hyperlinks in the html content and when i click any of the link it jumps to that link but in the same browser window. How can make it appear in some other browser window. I know about textare

[flexcoders] Re: Need ideas on how to load and save room descriptions in xml

2007-09-18 Thread oneproofdk
I like the idea on describing where a wall "anchors"! The task is to make some preconfigured templates, where the user will be able to see a drawing of the template with each wall identified by A B C... and then a corresponding text input box, where they can input the length of that wall. Obviousl

  1   2   >