RE: [flexcoders] MXMXL Editor

2005-04-15 Thread Abdul Qabiz
ve my central classes. And when I start a new project I add that project to the current projects workspace. Works like a charm :) Greetz Erik -Original Message- From: Abdul Qabiz [mailto:[EMAIL PROTECTED] Sent: donderdag 14 april 2005 15:32 To: flexcoders@yahoogroups.com Subjec

RE: [flexcoders] HTTPService xmlEncoder

2005-04-15 Thread Abdul Qabiz
> my decoder could just as easily build the XML document as a > string. You mean a XML string or XML to name-value pairs... If you want to convert a XML object to string, you can do _xml.toString(), it would give you entire xml structure as string... Does your encoder do same? -abdul -Ori

RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz
Mike- Can you please send (offlist) your contact details to David Mandels ([EMAIL PROTECTED]) and Lucian Beebe ([EMAIL PROTECTED])? Please send the details offlist to them... Thanks -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, Ap

RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz
ok cool!...   BTW! Why can't I see email addresses of some of folks in this list?   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:55 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Newton, MA Flex rep? Actually Mike’s been c

RE: [flexcoders] Newton, MA Flex rep?

2005-04-15 Thread Abdul Qabiz
Mike- You can also contact Bob Locke ([EMAIL PROTECTED]) directly. Bob is manager of sales for the East Coast of North America. Thanks -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:45 PM To: flexcoders@yahoogroups.

RE: [flexcoders] Simple arithmetic

2005-04-17 Thread Abdul Qabiz
Hi, Everything in function seems to be right, I feel something is wrong somewhere else. Can you post the code, how you are calling this function. To isolate the problem, just call this function and show results in alert. e.g. alert(getPercentages(80,20,1)[0].data) -abdul -Ori

RE: [flexcoders] Stupid Question

2005-04-18 Thread Abdul Qabiz
Hi, Call the initShop() function in creationComplete handler of Application like this... ##changedCode## http://www.macromedia.com/2003/mxml"; themeColor="haloSilver" backgroundColor="#FF" xmlns="*" creationComplete="initShop();"> function initShop():Void

RE: [flexcoders] Stupid Question

2005-04-18 Thread Abdul Qabiz
plete as below, but don't work, the TextInput border became "bold" but if i'm writing the TextInput don't work. Any idea? Devis Abdul Qabiz ha scritto: >Hi, > >Call the initShop() function in creationComplete handler of Application like >this... > &g

RE: [flexcoders] Font Alias / Anti-Alias Setting

2005-04-18 Thread Abdul Qabiz
Hi, Once you embed the font, text would appear as anti-aliased. IMO, there is no way to make it aliased unless you choose to no embed the correspond font. Does this help? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 20

RE: [flexcoders] Flex with backend

2005-04-19 Thread Abdul Qabiz
Devis- Can you post some code, so that we can see where exactly problem is? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 8:33 PM To: Flex Coders Subject: [flexcoders] Flex with backend Sorry, i have already this

RE: [flexcoders] Flex with backend

2005-04-19 Thread Abdul Qabiz
bad solution. I think that there is some ActionScript error, in my "command". Thank in advance. Devis your setFoucs work great. ;-) no doubt Abdul Qabiz ha scritto: >Devis- > >Can you post some code, so that we can see where exactly problem is? > >-abdul > >--

RE: [flexcoders] How to load the XML data in to mxml components w ith Sorting ......

2005-04-19 Thread Abdul Qabiz
Hi Pathy, I made it working example, see the code below or find the attached files. Let me know, if something is not clear... ##contactListSample.mxml## http://www.macromedia.com/2003/mxml"; verticalGap="0" horizontalGap="0" creationComplete="buildCountryMap(contactListData.contact)">

RE: [flexcoders] RE: Passing array to component

2005-04-19 Thread Abdul Qabiz
Hi, It should work, i quickly verified using following code and I found it works...Does your code do things like this? ##Component.mxml## http://www.macromedia.com/2003/mxml";> ##index.mxml## http://www.macromedia.com/2003/mxml"; xmlns="*" creationComplete="onInitA

RE: [flexcoders] DataGrid doublelclick

2005-04-20 Thread Abdul Qabiz
Devis, There is no doubleClick event in Flex components, but it's quite simple to implement this. If you look at the flexcoders archive, there has been discussion on the same. I could find this thread regarding Double-Click: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg01391.html

RE: [flexcoders]

2005-04-20 Thread Abdul Qabiz
This mail had virus and it seems someone's machine is infected...   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 8:37 PMTo: FlexcodersSubject: [flexcoders] Yahoo! Groups Links To visit your group on the web, go to:http://grou

RE: [flexcoders] capturing an alert response within method that c alls alert

2005-04-20 Thread Abdul Qabiz
Hi, Yeah, you can do the similar. In ECMA script a function is an Object, so you can create properties in function and access them inside function... Following code demonstrates that: ##alertExample.mxml## http://www.macromedia.com/2003/mxml";> -abdul -Ori

RE: [flexcoders] Enable/disable UI

2005-04-20 Thread Abdul Qabiz
Hi, In Flex each control has an id which is unique in entire application also which is the reference to the control. For example, see the following code: http://www.macromedia.com/2003/mxml";> Switch between vi

RE: [flexcoders] How to trace the Variables in Flex

2005-04-20 Thread Abdul Qabiz
Yeah, you can do that... You need to use Flash debug player and configure it for tracing. All trace messages would be logged to a log file. Look at following links on using trace(..) and configuring Flash Debug Player for the same: http://livedocs.macromedia.com/flex/15/flex_docs_en/0792.h

RE: [flexcoders] Questions, Questions

2005-04-20 Thread Abdul Qabiz
Hi, You can get the mouse pointer co-ordinates in global level from mouseX and mouseY properties. FYI! if you want to move an object in Canvas, you will need to covert these co-ordinates to Canvas's co-ordinate system. ##globalToLocalExample.mxml## http://www.macromedia.com/2003/mxml"; mouse

RE: [flexcoders] I am new to programming so bear with me here

2005-04-20 Thread Abdul Qabiz
Hi   It won't do anything to your code, so don't be afraid. Pressing that button would launch your application in debug mode, that means you can fix issues or debug code in this mode. Flex builder provides some good debugging tools like network monitor, output window etc.   Don't be afraid

RE: [flexcoders] how to intercept 'right-click' on dataGrid cells ?

2005-04-20 Thread Abdul Qabiz
Hi, Do you mean, you want to detect right-click? You can detect it using ContextMenu object, but when user right clicks, Flash Player Context menu would appear which can not be removed or hidden. ContextMenu API allows you to added context menu items(commands) Flash Player Context menu. Does it

RE: [flexcoders] Modified loading screen

2005-04-20 Thread Abdul Qabiz
Hi Tom, Yes that is very much possible but remember size of splash/preloader should be small otherwise application would take sometime to download those things before showing an actual preloader. You need to write a custom class for the same, look at the following links. http://livedocs.macrome

RE: [flexcoders] Error: The property being referenced does not ha ve the static attribute.

2005-04-21 Thread Abdul Qabiz
The problem is different. You can not have id of component matching to any ComponentName. In your case, viewPhones is Component class name and you are also assigning viewPhones as id of this instance It is just like: class Foo { } var Foo = new Foo(); //error... ##Modified code##

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Abdul Qabiz
(B (B (B (B (BDo you have debug version of Flash Player (B7? (B  (B-abdul (B (B (BFrom: flexcoders@yahoogroups.com (B[mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 (B5:17 PMTo: flexcoders@yahoogroups.comSubject: RE: (B[flexcoders] How to trace the Variables in Flex (B

RE: [flexcoders] DATE Function in Flex

2005-04-21 Thread Abdul Qabiz
Hi Alex Date Object in Flex(ActionScript) is quite powerful and allows you do things more easily... var _date = new Date(2004, 11, 31); //11 means december, months are 0 based... _date.setDate(_date.getDate() + 1); //sets _date to 01/0/2005, again 0 means jan Or you can extend the Date class

[flexcoders] Example of using startDrag(..) and stopDrag() for Drag & Drop in Canvas

2005-04-21 Thread Abdul Qabiz
color:#FF; } -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 22, 2005 3:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DATE Function in Flex Thanks. That worked great! Alex --- In flexc

RE: [flexcoders] Dymanic data/headers for DataGrid

2005-04-22 Thread Abdul Qabiz
nScript, it is being evaluated automatically. BTW, what does this signify? I ran your example and see that Name: shows up on the column header. Can you point me to some documentation regarding this notation? On 4/22/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > > Hey Dhiren, >

RE: [flexcoders] Dymanic data/headers for DataGrid

2005-04-23 Thread Abdul Qabiz
7;m looking for a clean way to display the data in the correct order. I don't see a setAt(x,y,Object) or equivalent method for the DataGrid so I could populate the grid from an AS function. Is there any way to do this? Thx for your help on this. On 4/22/05, Abdul Qabiz <[EMAIL PROTECTED

RE: [flexcoders] About single methd handling mutiple events.

2005-04-23 Thread Abdul Qabiz
f the grid reference in showLiquidationDetail method? Hope I'm explaining myself. J. De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre de Abdul Qabiz Enviado el: Viernes, 22 de Abril de 2005 06:14 pm Para: flexcoders@yahoogroups.com

RE: [flexcoders] Re: help with setInterval...

2005-04-22 Thread Abdul Qabiz
Hi terry_hrtn, Can you post the entire code now? I would like to see why it's not working. Correcting Michael's suggestion: setInterval(mx.utils.Delegate.create(this, upCount), 1000); I just tested your code after resolving scope issues, it works fine for me -abdul -Original Messa

RE: [flexcoders] About single methd handling mutiple events.

2005-04-22 Thread Abdul Qabiz
Hi, you can define a handleEvent(..) function in your application(mail.mxml), this method would be called whenever an event happen. Look at the "Defining the handleEvent() method" section in Flex docs for more: http://livedocs.macromedia.com/flex/15/flex_docs_en/0503.htm Hope that helps

RE: [flexcoders] CSS - Application Width

2005-04-22 Thread Abdul Qabiz
Hi, Width and height are properties not css styles. You can achieve the same by setting in Application tag. I have a feeling that these two properties are used by compiler while creating html wrapper for flex app. What do you want to achieve by keeping width/height in CSS? -abdul -Original

RE: [flexcoders] About single methd handling mutiple events.

2005-04-22 Thread Abdul Qabiz
} But this way I must rely on my component's id to call the same method if the event is fired with the button's click. I wonder if there's a way to avoid this dependency Any ideas? J. ____ De: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

RE: [flexcoders] How to load the XML data in to mxml components w ith Sorting ......

2005-04-22 Thread Abdul Qabiz
rid component. i am trying to do this .just guide me please... Thanks & Regards Pathy On 4/19/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > Hi Pathy, > > I made it working example, see the code below or find the attached files. > Let me know, if something is

RE: [flexcoders] Re: help with setInterval...

2005-04-22 Thread Abdul Qabiz
Hi, >However, I'm still unable to do the following: >Call a setInterval within a class. Have the setInterval pass over a >number. And the function called increment that number. Pass this new >number to a textfield object. >If I call: >setInterval(this,"somefunction", 1000, 5) >function somefunctio

RE: [flexcoders] EventListener for canvas

2005-04-22 Thread Abdul Qabiz
Hi, Since you are listening to a container's mouseDownSomewhere or mouseDown event, this would protect all children inside the container from receiving mouse down event. That's why button's click event is not broadcast. Well there are always way, eitehr you can redesign your app or do something

RE: [flexcoders] General / Performance questions

2005-04-22 Thread Abdul Qabiz
I will some of your questions, which I am sure of: > 3.What is the overhead for the dispatcher and dispatching > events vs. calling methods directly I feel it depends on case to case. IMO, event dispatching allows you decouple classes or object on the cost of little performance, which is the

RE: [flexcoders] Dymanic data/headers for DataGrid

2005-04-22 Thread Abdul Qabiz
What do you mean by 2d Object array? Does your array look like this: var dp =[ {Name:"Dhiren", Age:20}, {Name:"Abdul", Age:23} ]; -abdul -Original Message- From: flexcoders@yahoogrou

RE: [flexcoders] Dymanic data/headers for DataGrid

2005-04-22 Thread Abdul Qabiz
Hey Dhiren, Folling is simple example, where you can switch dataProvider of datagrid to two different Arrays with different structure of objects..One with two properties and other with three... -abdul ##DynamicDataGrid.mxml## http://www.macromedia.com/2003/mxml"; creationComplete="onAppInit

RE: [flexcoders] Dymanic data/headers for DataGrid

2005-04-22 Thread Abdul Qabiz
cannot use this method parse through the results and write the datagrid on the fly. I hope this is making sense. Thanks. On 4/22/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: > > > What do you mean by 2d Object array? > > Does your array look like this: > >

RE: [flexcoders] cannot access webService on remote macine !

2005-04-24 Thread Abdul Qabiz
Hi, Right, policy file is needed if your flex app is making webservice calls directly, not via proxy on server... IMO, if you configure whitelist, you should be able to access webservice on some remote service. I mean, all webservice calls would route through proxy I will see why it's not w

RE: [flexcoders] cannot access webService on remote macine !

2005-04-24 Thread Abdul Qabiz
Ok, As I see you are using "useProxy=false", in that case you will need to follow Matt Horn's suggestion. That is, having a policy file on remote server.. BTW! Why you are turning off proxy? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Sun

RE: [flexcoders] Flash Components

2005-04-25 Thread Abdul Qabiz
Chattyfig Flashcoders list... http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Monday, April 25, 2005 12:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Components Can anybod

RE: [flexcoders] Re: createClassObject

2005-04-25 Thread Abdul Qabiz
Hi, In Flex, each visual component has a unique depth(like z-index). Think of stack of objects. So you can have only one object at one depth. That's why you need to specify a unique depth in order to avoid any conflict, if object is created at pre-occupied depth, existing object would be removed

RE: [flexcoders] binding error - from Flex?

2005-04-25 Thread Abdul Qabiz
Ok, in Flash Player, an "if" conditional or a single frame can not contain more than 32 KB (or 64K ?) of code. Repeater is actually a "if-else" condition internally, and it seems you have lots of things inside that.I am sure there would be a way to avoid this, but what I think you need restr

RE: [flexcoders] URL/URI of my mxml page

2005-04-27 Thread Abdul Qabiz
You can use _url property of mx.core.Application.application to find the complete url of current mxml/swf file.   In http://myserver/test.mxml   mx.core.Application._url would return http://myserver/test.mxml.swf     -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent:

RE: [flexcoders] menubar event handling

2005-04-27 Thread Abdul Qabiz
Hi Nithya, You can handle the change event of MenuBar. In change event, you can load xml file and show the images in TileList or some other components. ##MenuBarChangeEventExample.mxml## http://www.macromedia.com/2003/mxml"; backgroundColor="#FF" >

RE: [flexcoders] how to add multi-language feature in flex page?

2005-04-27 Thread Abdul Qabiz
Hi, You can use ResourceBundle written by Benoit Hediards (http://groups.yahoo.com/group/flexcoders/message/8730) Also look at some of the possible ways, which Manish has put together on his blog (http://www.mannu.info/blog/2005/04/resource-bundles-in-flex.html) -abdul -Original Message-

RE: [flexcoders] Data Model

2005-04-27 Thread Abdul Qabiz
Model is compile time object, which means you can only mention source on compile time. If you want to load different XML on runtime, you should use HTTPService instead. What I understand from your code is, you are loading an xml into a Model and binding Model to MenuBar's dataProvider. Following

RE: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Abdul Qabiz
Hi Nithya, It's not there by default, but you can do it by keeping one character per line in a Label or TextArea or TextInput. You can write a simple VerticalLabel component that would do it for you. For example: Look code below or find attached files. Hope that helps -abdul 1) ##Vertical

RE: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Abdul Qabiz
ject: Re: [flexcoders] Vertical Text- is it possible? I'd like to know if there's a simple way to rotate a label placed on a canvas? M. On 4/27/05, Abdul Qabiz <[EMAIL PROTECTED]> wrote: Hi Nithya, It's not there by default, but you can do it by

RE: [flexcoders] Setting icons in Buttons

2005-04-27 Thread Abdul Qabiz
Hi, Try defining newsIcon variable in application scope instead of inside a loopThat's is something I doubt... Compiler embeds the asset in the swf and assigns the symbol name(linkageID) to the variable. Since this variable is a local variable, it might not be working... Like:

RE: [flexcoders] MovieClip and Flex question

2005-04-27 Thread Abdul Qabiz
If you want to know why we can't create an object of MovieClip using 'new' operator? This technote is worth reading: http://moock.org/asdg/technotes/movieclipDatatype/ -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 27, 2005 1

RE: [flexcoders] Is there a javascript flashObj.callFunction(), l ike setVariable?

2005-04-27 Thread Abdul Qabiz
Hi Tracy, There is no callFunction(..) like method for flash activeX or plugin. But there is setVariable(..) method. Yes, you can set a variable or setter from Javascript using setVariable function. I have create a example, it allows you to execute flex function from javascript... It's very b

RE: [flexcoders] How to include 'mx.core.Application' in a FLASH SWC file ?

2005-04-28 Thread Abdul Qabiz
Why do you want to import it? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Thursday, April 28, 2005 3:21 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to include 'mx.core.Application' in a FLASH SWC file ? My Flash SWC class h

RE: [flexcoders] Re: How to include 'mx.core.Application' in a FL ASH SWC file ?

2005-04-28 Thread Abdul Qabiz
with the mouse - the flex standard tooltip stays in the same location as you move). This movieclip can't just be attached within the SWC because it will fall 'under' other flex components on the page (if you know what I mean...) --- In flexcoders@yahoogroups.com, Abdul Q

RE: [flexcoders] Is there a javascript flashObj.callFunction(), l ike setVariable?

2005-04-28 Thread Abdul Qabiz
Title: Message What kind of examples are you looking for? Any specific demand :)       -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Friday, April 29, 2005 12:12 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Is there a _javascript_ flashObj.callFunct

RE: [flexcoders] Alert.show method question

2005-05-02 Thread Abdul Qabiz
Hi, Why would you want to show two alerts at same time? Do you want to show one after another? Second alerts later and is on the top of first that's the way its designed to work, Second alert has higher depth. If you are looking to show one after another try to show second alert from first aler

RE: [flexcoders] TextInput selected

2005-05-02 Thread Abdul Qabiz
Hi, You can set focus to TextInput and then use Selection object to select the text inside the textinput. Once TitleWindow is shown, call following code from a relevant place, may be in creationComplete event handler of TitleWindow. ppv.setFocus(); var len = ppv.length; Selection.setSelection(0

RE: [flexcoders] Dynamically changing the source of XML- is it po ssible?

2005-05-02 Thread Abdul Qabiz
Hi Nithya,   You can use HTTPService to load different XML files. I replied on the similar topic. Look at the attached mail or search archives...   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 12:06 PMTo: flexcodersSubject: [flexcoders] Dy

RE: [flexcoders] Dynamically changing the source of xml

2005-05-03 Thread Abdul Qabiz
Hi,   Can you post your code so that I can see it and reply in its context?   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 12:43 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Dynamically changing the source of xml thanks.. Yo

RE: [flexcoders] TextInput selected

2005-05-03 Thread Abdul Qabiz
)" and make something, then set ""fscommand('loading',false)", when loding it's "true" i wish display a window. SOrry but my knowledge about fscommand, it's only for set variable, but for call function i have no idea. Bye Devis Abdul Qabiz ha scr

RE: [flexcoders] Dynamically changing the source of xml

2005-05-03 Thread Abdul Qabiz
quot;100%"> [Event("change")]                                                                                                                  Abdul Qabiz <[EMAIL PROTECTED]> wrote: Hi,   Can you post your code so that I can see it and reply in its context?   -abdul

RE: [flexcoders] crimson.jar & flex runtime

2005-05-04 Thread Abdul Qabiz
Hi,   Flex runtime means Macromedia Flash Player, which is totally client side. As you said, you have precompiled  swfs on server, I am sure there won't be any conflict by keeping crimson.jar. Once swf is delivered to client, it is run on client side(in Macromedia Flash Player). Only data

RE: [flexcoders] Trigger flex from Java listener

2005-05-11 Thread Abdul Qabiz
Title: Trigger flex from Java listener Hi,   You can route your messages to Flex application through _javascript_ code   So java listener sends messages to _javascript_ code, _javascript_ code sends the values to Flex/Flash application view available methods   I am sure it's not ver

RE: [flexcoders] Trigger flex from Java listener

2005-05-11 Thread Abdul Qabiz
Title: Trigger flex from Java listener You can search google to find some info on it.   I found following two links:   - http://www.apl.jhu.edu/~hall/java/_javascript_-from-Java.html - http://forum.java.sun.com/thread.jspa?threadID=568890&messageID=3015226   -abdul From: flexcoders@yahoogro

RE: [flexcoders] Trigger flex from Java listener

2005-05-11 Thread Abdul Qabiz
Title: Trigger flex from Java listener Hi,   I am little confused, what is this java listener? Is it client side or server side?   -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De VosSent: Wednesday, May 11, 2005 6:06 PMTo: flexcoders@yahoogroups.c

RE: [flexcoders] How to load a .mdb from a flex application?

2005-05-12 Thread Abdul Qabiz
Hi,   I guess, you can try to open .mdb file using getURL(..), user would be prompted to save or open the file. File would be opened with default application to open .mdb, which is MS Access if someone has not changed it to Open Office :)try this:   getURL("my.mdb", "_blank");   -abdul    

RE: [flexcoders] Sending email from a Flex application

2005-05-13 Thread Abdul Qabiz
What about: getURL("mailto:[EMAIL PROTECTED] text&body=mail content"); -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeroen De Vos Sent: Friday, May 13, 2005 3:55 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Sending ema

RE: [flexcoders] Detecting Browsers codepage and lang

2005-05-13 Thread Abdul Qabiz
I can think of: Flash Player ActionScript API: System.capabilities.language:String Usage: var lang:String; function detectLanguage() { lang = System.capabilities.language; } Description: Read-only property; indicates the language of the s

RE: [flexcoders] media control question

2005-05-13 Thread Abdul Qabiz
Hi "playing" is a read-only property of MediaPlayback component. You can use, MediaPlayback's play(..), pause() and stop() methods control the playback. I guess, when you bring another component, you can either pause the playback or stop the playback, all depends on your requirement. I also not

RE: [flexcoders] Date formating application wide

2005-05-13 Thread Abdul Qabiz
You can achieve this, if it's not already there. You can subclass DateField and DateChooser component and add this functionality. Following is quick and dirty example to : ##ExtendedDateFieldExample.mxml## http://www.macromedia.com/2003/mxml"; xmlns:local="*"> ##DateFieldEx.as## impo

RE: [flexcoders] Date formating application wide

2005-05-13 Thread Abdul Qabiz
Hi, Though this is the quickest possible way, but this kind of hacks might not be supported in future, as Dirk also said. But this indeed shows the power of prototype :) -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent:

RE: [flexcoders] Question about error message

2005-05-16 Thread Abdul Qabiz
Hi,   you get this error message when you have more than 32KB code in a block. For example:   if(..) {       //more than 32 kb code }     function foo() {     //32 KB code }     similarly in other types of blocks..   Try to refactor your code... Search the archives of this list for relate

RE: [flexcoders] BiDi/right-to-left support in Flex

2005-05-16 Thread Abdul Qabiz
Hi, Macromedia Flash Player doesn't have complete support for RTL. Macromedia Flex applications run in Macromedia Flash Player, so it's not Flex issue. Thanks -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jruud68 Sent: Tuesday, May 17,

RE: [flexcoders] cell render problem

2005-05-16 Thread Abdul Qabiz
When are you calling initCellRenderer? May be data has not yet arrived and this functiong gets called. Are you able to see data in initCellRenderer function? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan Sent: Tuesday

RE: [flexcoders] Re: cell render problem

2005-05-17 Thread Abdul Qabiz
That might also be the case, so there are two reasons it is not working: 1) function to populate combobox being called before data arrives from server 2) dataProvider is not being set to right type. I have doubt in (1), if it is fine, then you can go ahead anc check for second option.. -abdul

RE: [flexcoders] help on HTTP service

2005-05-17 Thread Abdul Qabiz
Hi, Make sure "LOGINVALIDATE.JSP" has XHTML rather than HTML i.e. make sure all tags have end tags or closed properly. You can return a xml string from LOGINVALIDATE.JSP. It's better to create a separate LOGINVALIDATE.JSP for flex only, I mean if you are using LOGINVALIDATE.JSP for a html front

RE: [flexcoders] XML vs Model?

2005-05-17 Thread Abdul Qabiz
They are similar things IMO. If you specify a source file for XML or Model tag, source (xml)file is compiled into swf. So no loading on runtime but a large initial swf size. P I think, Model should be good at performance because it is simple Object not a XMLNode. Let's see, what other people sa

RE: [flexcoders] Remoting Examples for Flex?

2005-05-18 Thread Abdul Qabiz
Hi MIke,   Using Flash Remoting or using AMF is relatively very easy in Flex. If you want to make remoting calls, you can use RemotObject.   You can find a simple example at the following link:   http://livedocs.macromedia.com/flex/15/asdocs_en/mx/servicetags/RemoteObject.html     You can f

RE: [flexcoders] Can Flex make .NET Remoting Calls?

2005-05-18 Thread Abdul Qabiz
Hi,   Yeah Flex works with Flash .Net Remoting gateway. If you have .Net Remoting gateway installed with samples on your machine(localhost), you can run the following example under flex server. Following is the straight forward port of a flash application to flex code. You can compare the

RE: [flexcoders] Fully qualified URL

2005-05-19 Thread Abdul Qabiz
Title: Fully qualified URL Hi,   I thinks,   mx.core.Application.application._url   would return the URL of application.   For example:   http://www.macromedia.com/2003/mxml" creationComplete='alert(mx.core.Application.application._url)'>     -abdul   From: flexcoders@yahoogroups.com [ma

RE: [flexcoders] Flash Drawing API in Flex

2005-05-19 Thread Abdul Qabiz
Hi, You can use drawing API in flex also. Yes you can do this with Canvas because it's only container that supports absolute layouting. Following is simple example: ##DrawingOnCanvas.mxml## http://www.macromedia.com/2003/mxml";> Above code looks too low leve

RE: [flexcoders] using the Style control tag

2005-05-19 Thread Abdul Qabiz
Hi, You can use style tag as shown below, not sure why you got errors. Which version of Flex you are using? You can see into flex docs under section "Using Styles and Fonts": http://livedocs.macromedia.com/flex/15/flex_docs_en/0532.htm ##StyleTagExample.mxml## http://www.macromedia.com/

RE: [flexcoders] passing variables using getURL?

2005-05-19 Thread Abdul Qabiz
Hi, You can pass variable to external script using getURL(...), getURL(..) sends all variable declared in current scope. Infact getURL(..) sends all variable declared, that means it sends unwanted stuff also. But I think, you can use LoadVars object for such kind of work. LoadVars gives more cont

RE: [flexcoders] Re: Flex on the Web

2005-05-20 Thread Abdul Qabiz
Hi, IMHO, No, Flex is not only used for intranets but also for internet apps. But these applications are either private or not publicly available. It is like any other large applications, where you need an access to see those apps. Not every company advertises about their applications... I feel

RE: [flexcoders] HTML form replacement

2005-05-20 Thread Abdul Qabiz
Hi, If you really want to launch different browser and send data to it... Then you can use LoadVars also... function submitLoging():Void { var form_lv = new LoadVars(); form_lv.username = ""; form_lv.password = ""; form_lv.send("theURL","_self","POST

RE: [flexcoders] Re: Bug? image (html) in textarea

2005-05-20 Thread Abdul Qabiz
Hi, Can you please post the sample code? It would save sometime and I can quickly look into it. -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rockmoyosa Sent: Friday, May 20, 2005 4:32 PM To: flexcoders@yahoogroups.com Subject: [flexco

RE: [flexcoders] Flex as a Windows Service?

2005-05-20 Thread Abdul Qabiz
Hi Rich, Never mind :) Please search archives before posting. This has been discussed several times... -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Richard Butler Sent: Friday, May 20, 2005 4:28 PM To: [flexcoders] Subject: [flexcode

RE: [flexcoders] passing variables using getURL?

2005-05-20 Thread Abdul Qabiz
a better way? Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Friday, May 20, 2005 12:34 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] passing variables using getURL? Hi, You can pass variable to external script usin

RE: [flexcoders] Context Menus in complex apps

2005-05-20 Thread Abdul Qabiz
Hi Jeff, I would appriciate if you can post the sample code demonstrating the problem. I think I understand the problem but would like to see the code before commenting. Thanks -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Battershall

RE: [flexcoders] Grid Creation from XML

2005-05-20 Thread Abdul Qabiz
> Is it possible to create GridRows and GridItems via Actionscript? Yes, you can see the following sample code. > I have a Grid that I am using RowSpan and Colspan with the GridItem's. > I am curious if there is any way to Create this Grid dynamically from > XML data? Or is there a way tha

RE: [flexcoders] Flash version detection, precompiled swf's and t he jsp tag.

2005-05-20 Thread Abdul Qabiz
Hi, > When deploying a flex app as a precompiled swf file, the flex jsp tag > appears to generate the same code as the > Flex html wrapper as described in livedocs. That's I believe, History Management code in JavaScript. > Does anyone know what sort of flash player detection is and isn't > h

RE: [flexcoders] multiple threads?

2005-05-21 Thread Abdul Qabiz
I wrote a Thread class & IRunnable interface in AS2 a while back, it has APIs like Java Thread class. So I can either extend Thread or implement IRunnable interface. But code is not at good stage, it just works well.. But you can do something similar using setInterval(..). I found something simila

RE: [flexcoders] simple webService question

2005-05-22 Thread Abdul Qabiz
Sanjay, the only problem I see is: - MyWebService.mxml is not a MXML component because it has Application as root tag. So put everything in another container or tag. A MXML component should not have Application as root tag. Do something like this: http://www.macromedia.com/2003/mxml";>

RE: [flexcoders] simple webService question

2005-05-22 Thread Abdul Qabiz
times...To avoid this, do following: var myWS = new MyWebService(); myWS.init(); myWS.runWebServices(this); That should work fine... -abdul -Original Message- From: Abdul Qabiz Sent: Sunday, May 22, 2005 2:12 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] si

RE: [flexcoders] Operations to perform after sorting of datagrid

2005-05-23 Thread Abdul Qabiz
Hi Pradeep, As Ali confirmed its working for him, please check again in your code. If it is not working, I am going to tell you other way of doing this. All data of DataGrid or other List components are stored in DataProvider, so any changes or manipulation in data triggers DataProvider's model

RE: [flexcoders] implementing init() in subclass

2005-05-23 Thread Abdul Qabiz
Hi Kris,   When a MXML component is converted to ActionScript code, compiler inserts a init(...) method in it. Since MXML components are for developers looking for quick solution, things have been made easier where developer doesn't have to override required methods like init(..) etc. If yo

RE: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Abdul Qabiz
Hi, Can you please post complete code or testable code? I don't see any reason that you should get this error. Which version of Flex you are using? -abdul -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Anderson Sent: Tuesday, May 24, 2

RE: [flexcoders] Problems using percentage in Width property for container...

2005-05-23 Thread Abdul Qabiz
oups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz Sent: Monday, May 23, 2005 10:43 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problems using percentage in Width property for container... Hi, Can you please post complete code or testable code? I don't see any rea

<    2   3   4   5   6   7   8   9   >