[flexcoders] Flex2B3 - parentDocument definition

2006-05-09 Thread bhaq1972
Hi I've got this simple test http://www.adobe.com/2006/mxml" xmlns="*">         Now, in flex 1.5 the parentDocument for myButton(child of myComponent) is box1. In flex2b3 the parentDocument is comp1. Is this correct? If so why has it been changed. myComponent is define

[flexcoders] Re: Help with conversion from FB2B2 to FB2B3

2006-05-09 Thread bhaq1972
I had this problem as well. i had an Actionscript file associated with an mxml, and it didn't like the public definitions. i had to delete and rename the file. (it had the same name as the mxml file associated with it). that sorted it out. --- In flexcoders@yahoogroups.com, "Jeremy Rottma

[flexcoders] Re: flex2 - ambiguous reference to TextInput

2006-05-04 Thread bhaq1972
type 2 > more letters for clarity and null name collisions, well whatever ;- ) > > Peace, Mike > > On 5/4/06, Manish Jethani <[EMAIL PROTECTED]> wrote: > > > > On 5/4/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > I created my own

[flexcoders] Re: FB2: Uncaught exception in compiler

2006-05-04 Thread bhaq1972
I've noticed that as well. If you have an mxml component and its associated script file have the same name it doesn't like it. why is that not allowed? (btw manish thanks for your last answer to my post) regards bod --- In flexcoders@yahoogroups.com, "John C. Bland II" <[EMAIL PROT

[flexcoders] flex2 - ambiguous reference to TextInput

2006-05-04 Thread bhaq1972
I created my own extended TextInput control which i have named TextInput.mxml. but i'm getting a compiler error "Ambiguous reference to TextInput. [CODEGEN C:\Documents and Settings...\mycontrols\TextInput.mxml" -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/fl

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972
sorry i just realized its not yet out. we signed up to the early release. --- In flexcoders@yahoogroups.com, "Sreejith Unnikrishnan" <[EMAIL PROTECTED]> wrote: > > Beta 3? Out? >   - Original Message - >   From: bhaq1972 >   To: flexcoders@yahoogroup

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972
i got my hands on flex2 beta3 and dropdownFactory works fine. heres a simple example for anyone whos interested                                                                                

[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-02 Thread bhaq1972
I also have a need to have a datagrid as a dropdown. matt's suggestion (previously to me) was to to subclass ComboBox and override the dropdown getter. However, i have never been able to get the dropdown getter to be called (my trace() never shows) override public function get dropdown()

[flexcoders] Re: addEventListener In Flex 2.0

2006-05-02 Thread bhaq1972
you can do the following > In Flex 1.5 I had this: > > Parent > > DesignView[0].addEventListener("selectionChanged", > mx.utils.Delegate.create(this, valueChanged)) > > > function valueChanged(event) > { >   currentSelection = event.selection >   adjustControls(event.style) > }

[flexcoders] Re: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972
to respond --- In flexcoders@yahoogroups.com, Andriy Panas <[EMAIL PROTECTED]> wrote: > > Hello bhaq1972, > > > if i can add to matts suggestion. > > i usually find one doLater() isn't enough so i tried your example > > with the following change >

[flexcoders] Re: dataGridInstance.setVPosition(dataGridInstance.maxVPosition);

2006-04-28 Thread bhaq1972
if i can add to matts suggestion. i usually find one doLater() isn't enough so i tried your example with the following change public function populate():Void {     for (var i:Number = 0; i < largeArray.length; i++) largeArray[i] = {Number: i, TestColumn: 'a' + i};   doLater(this, "sc

[flexcoders] Flex2B2 - flexbuilder warning - application doesnt exist

2006-04-26 Thread bhaq1972
some feedback. i renamed application1.mxml to application2.mxml using the right mouse click option 'Rename' available in the Navigator view. however i keep getting a warning - application1.mxml does not exist. i usually then go into properties, for the project and 1) remove it from the appl

[flexcoders] Flex2B2 - Need to hit 'tab' key twice to fire datagrid.itemEditEnd

2006-04-25 Thread bhaq1972
I have noticed that if you set the editedItemPosition first (on an editable datagrid), it takes two hits on the tab key to trigger the datagrid itemEditEnd event. I'm sure it should trigger straight away. http://www.adobe.com/2006/mxml">     color="yellow" width="50%"/>  

[flexcoders] Re: Dynamic create child in Flex1.5

2006-04-25 Thread bhaq1972
dont forget your component_name has to be the full name, including the folder structure. eg if My_Components sits in a folder called MyComponents then your full name is "MyComponents.My_Component" --- In flexcoders@yahoogroups.com, "sinacapho" <[EMAIL PROTECTED]> wrote: > > Dear all, > >  th

[flexcoders] Re: Flex2B2 - calling a function in the base class to manipulate a base string var

2006-04-25 Thread bhaq1972
sage- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Monday, April 24, 2006 1:56 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Flex2B2 - calling a function in the base class to > manipulate a base string var > > this is fo

[flexcoders] Flex2B2 - calling a function in the base class to manipulate a base string var

2006-04-24 Thread bhaq1972
this is follows on from the post Matt recently answered(thanks btw). i have a function on a base class (MyBox.as..extends a Box) as follows public var myString=""; public function someFunction():void { myString = "helloworld"; } if i now call this function from my extended component (see bel

[flexcoders] Re: Flex2B2 - How to show a button label over 2 lines

2006-04-21 Thread bhaq1972
de createChildren() and > updateDisplayList() to swap out the label component then use a plain > textfield instead. > > however, a button with multiple lines of text as label iskinda weird. > > On 4/21/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > in flex1.

[flexcoders] Flex2B2 - How to show a button label over 2 lines

2006-04-21 Thread bhaq1972
in flex1.5 i could do this the same thing in flex2b2 doesn't work. any ideas how i can achieve this. thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] Re: Could not resolve to a component implementation ??

2006-04-19 Thread bhaq1972
sorry its itemrenderer. flex2docs are out-of-date --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > flex2? cellrenderer is now listItemRenderer > --- In flexcoders@yahoogroups.com, Arnaud GARCIA > wrote: > > > > hi all, > &g

[flexcoders] Re: Could not resolve to a component implementation ??

2006-04-19 Thread bhaq1972
flex2? cellrenderer is now listItemRenderer --- In flexcoders@yahoogroups.com, Arnaud GARCIA <[EMAIL PROTECTED]> wrote: > > hi all, > > Any Idea for this error: > Could not resolve to a component implementation ?? > > I use a simple datagrid > > > >

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
I'm sure its a PopUpManager problem. i took Peter Ent's download and added the following in his SampleApp.mxml but still same error --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > i hit the 'send' too quickly!! > i s

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i hit the 'send' too quickly!! i should've mentioned, my simple LoginPopUp.mxml component when used in a test app doesn't have those runtime errors. eg. only get the problem when using with PopUpManager. --- In flexcoders@yahoogroups.com, "bhaq1972" <[EM

[flexcoders] Re: Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
Thanks Darron I've came across Peter Ents example. It was going to be my second choice way.but now its going to be my first choice (its been promoted) regards bod --- In flexcoders@yahoogroups.com, "Darron J. Schall" <[EMAIL PROTECTED]> wrote: > > bhaq19

[flexcoders] Flex2B2 - PopupManager problem?

2006-04-18 Thread bhaq1972
i'm getting 2 runtime errors when i do the following var pop:Object = mx.managers.PopUpManager.createPopUp(this, LoginPopUp, true); LoginPopUp.mxml looks like this http://www.adobe.com/2006/mxml"; xmlns:nx="*"> and myPanel.

[flexcoders] Re: Flex2B2 - few questions

2006-04-18 Thread bhaq1972
ot;parentDocument" to get at the component that is using you. So maybe you > want > > parentDocument.someObject > > - Gordon > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Thursday

[flexcoders] Re: Custom dg validator

2006-04-13 Thread bhaq1972
dont forget. in flex2 this functionality is already waiting to be used. check out the DataGrid/ veryfyng edited data example http://flexapps.macromedia.com/flex2beta2/flex_explorer/explorer.html --- In flexcoders@yahoogroups.com, "gault17" <[EMAIL PROTECTED]> wrote: > > Andrew, > > I had crea

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-13 Thread bhaq1972
ame compiler. Same player (I assume you're using the one that > came with the beta as I did.) Maybe the version of IE? I am using 6.029. > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: T

[flexcoders] Flex2B2 - few questions

2006-04-13 Thread bhaq1972
1) DispatchChangeEvent doesn't seem to be available is that correct? 2) private variables no longer seem to be accesible in inherited object. is that correct? eg. myBox.as package { public class myBox extends mx.containers.Box { public var string1:String=""; private var boolean1:Boo

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-13 Thread bhaq1972
quest the SWF file directly. Easiest thing to do is > request it's MXML file from the Flex web application > - With these things in mind, I just tried it on FDS beta 2 and it worked > for me. > > LMK if you're still having trouble. > > matt > > -O

[flexcoders] Re: Custom dg validator

2006-04-13 Thread bhaq1972
are you using your textinput as the cell renderer ie if so, you can do add a setValue function to your textinput and as mentioned, use listOwner and getcellIndex to get the colName eg add following code to your script block var colName; var listOwner : Object; var getCellIndex : Function; v

[flexcoders] Re: Flex2B2 - Handling keyboard events

2006-04-12 Thread bhaq1972
> Matthew J. Horn > Flex docs > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Wednesday, April 12, 2006 7:47 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Flex2B2 - Handling keyboard ev

[flexcoders] Flex2B2 - Handling keyboard events

2006-04-12 Thread bhaq1972
The following example from the help doesn't work. how do i make it work? thanks http://www.adobe.com/2006/mxml"; initialize="initApp()"> (btw one typo in the example...needed to remove the 'public' from the local variable) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/gro

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-12 Thread bhaq1972
xl.length(); i++) > > { > > trace (xl[0].toXMLString(); > > // or try typeof, nodeKind(), etc. > > } > > > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Tuesday, April 11, 2006 1:40 AM > To: flex

[flexcoders] Re: DataGrid has items but doesn't display text

2006-04-11 Thread bhaq1972
ction(x..PlanData.Plans.Plan); > tf.text = plans_ac.toString(); > > And here is my DataGrid: > > height="146" showHeaders="true" id="planList_dg"> > > dataField="PlanNumber"/> > dataField="

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
i did the following for each (var a:Object in [EMAIL PROTECTED]) { trace (a.name()); trace (a.toXMLString()); } a.name doesn't trace anything. a.toXMLString() traces the attribute value. so we're half way their. --- In flexcoders@yahoogroups.com, "bhaq1972" <[

[flexcoders] Re: Flex2B2 simple question regarding xml attributes

2006-04-11 Thread bhaq1972
; > > var xml1:XML = > > > > for each (a in [EMAIL PROTECTED]) > > { > > trace (a.name()); > > trace (a.toXMLString()); > > } > > > > > > ____ > > From: flexcoders@yahoogroups.co

[flexcoders] Re: DataGrid has items but doesn't display text

2006-04-11 Thread bhaq1972
Can you show us what your webservice returned data looks like. dont know if this helps but my webservice returned data was a string and i did the following private function returnWebService(event:ResultEvent):void { var xmlobj:XML = new XML(event.result); var xc3:XMLListCollection = new XMLList

[flexcoders] Re: Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-11 Thread bhaq1972
ng a one element array that > contains array1. > > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > > When i call a .net webservice service method that looks like this > > > > public string myWebMethod(string[] array1) > > { > >

[flexcoders] Flex2B2 simple question regarding xml attributes

2006-04-10 Thread bhaq1972
i can't find what i'm looking for in the docs. i need help All i want to do is iterate over an xml node's attributes. XML.attributes() returns a list of all the attributes, but this is only half of what i want. i want the attribute names as well. var xml1:XML = i want the value 'a' and 'b'

[flexcoders] Flex2B2 - bug? problem when calling a webservice method with a string[] arg

2006-04-10 Thread bhaq1972
When i call a .net webservice service method that looks like this public string myWebMethod(string[] array1) { } in flex 1.5 i had no problems but in flex 2 the array argument is being received as a fused string (where all the string args are concatenated). flex1.5 code var array1

[flexcoders] Re: Testing if a variable exist?

2006-04-10 Thread bhaq1972
t; only works on public -- not private or protected -- > things, which I didn't know. I'll ask our AS3 designers whether that's > the intended behavior. > > > > - Gordon > > > > > > -Original Message- > From: flexcoders@yahoo

[flexcoders] Re: Testing if a variable exist?

2006-04-07 Thread bhaq1972
hi Gordon, one question please. how come the following code passes the if test even though myVar clearly exists? private var myVar:Object; private function test():void { myVar = new Object(); if(!("myVar" in this)) { Alert.show("passes"); } } thanks bod --- In flexcoders@yahoogr

[flexcoders] Re: Flex2B2 : buttons on the panel header

2006-04-06 Thread bhaq1972
to answer my own questions > > 1) will i still have to do it that way? i found a link to Peter Ents flex2 panel. i like the way he's done it. http://weblogs.macromedia.com/pent/archives/2006/03/component_templ.c fm > 2) the "btnAddress.move(100, 100);" doesnt work. any ideas? (my x, y > are

[flexcoders] Flex2B2 : buttons on the panel header

2006-04-05 Thread bhaq1972
Hi i wanted to get some ideas/answers for the following. in flex 1.5 i had a extended panel which was based on Christophe Coenraets example where he added mulitiple buttons on the header. He uses the createClassObject() method, and then positions the button in the header. 1) will i still have t

[flexcoders] Re: Flex2B2 - XML.contains()

2006-04-04 Thread bhaq1972
s it should work: xml1.children().contains (xml1.Report[0]) > > Matt > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Monday, April 03, 2006 1:37 AM > To: flexcoders@yahoogroups.com > Subject:

[flexcoders] Re: Flex2B2 - XML.contains()

2006-04-03 Thread bhaq1972
gt; So this would work: > > var test:XML = xml1.Report[0]; > if (xml1.contains(test)) > { > trace('found'); > } > > > Matt > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 >

[flexcoders] Flex2B2 - XML.contains()

2006-03-31 Thread bhaq1972
Just trying out this method. the first 2 if tests are failing (not getting traces). is that correct? var xml1:XML = ; if(xml1.contains()) {

[flexcoders] Re: Fex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
aManager class I wrote > (http://jeff.mxdj.com/as3_datamanager.htm). This does the flex 2 version > of what you are looking for. > > > > At 06:51 AM 3/29/2006, bhaq1972 wrote: > >This is another one of those questions 'i could do this in flex1.5 but > >n

[flexcoders] Flex2 - Asynchronous Completion Token

2006-03-29 Thread bhaq1972
This is another one of those questions 'i could do this in flex1.5 but now cant in flex2b2'. in flex1.5 this worked well var call = service1.HelloWorld(); //service1 is a call.onResult = mx.utils.Delegate.create(this, returnHelloWorld); i cant do this in flex2b2 event after removing the Delega

[flexcoders] Re: Internal Build Error

2006-03-28 Thread bhaq1972
I'm also fustrated by this internal build error. the whole of my monday was wasted on it. i've now gone back to starting the project all over again, but only bringing in a class(or mxml) at a time. painfully slow but has broken yet. --- In flexcoders@yahoogroups.com, "Michael Schmalle" <[EMAI

[flexcoders] Flex2 : Menu bug?

2006-03-28 Thread bhaq1972
Hi Just following on from my previous post. I noticed a difference in the menu behaviour from flex 1.5. if you have a line separator in your menu. you can actually select it with your mouse. This wasn't the case in flex 1.5. I believe the behaviour in flex 1.5 is correct, because a line separa

[flexcoders] Re: flex2 : IMenuDataProvider replacement

2006-03-28 Thread bhaq1972
<>; > > IList(myMenu.dataProvider).addItem(newItem); > > > > Or > > > > IList(myMenu.dataProvider).removeItemAt(0); > > > > Joan > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PRO

[flexcoders] flex2 : IMenuDataProvider replacement

2006-03-27 Thread bhaq1972
Hi Whats the replacement for IMenuDataProvider. Specifically, what do i replace the methods addMenuItem(), removeMenuItemAt() with. thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoder

[flexcoders] Flex2: whats a TreeNode convert to

2006-03-24 Thread bhaq1972
Hi in Flex 1.5 we had mx.controls.treeclasses.TreeNode; what does that now become. thanks -- 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 Links <*> To

[flexcoders] Re: XMLList as dataProvder for TileList

2006-03-09 Thread bhaq1972
without looking at your code, i'll take a big guess. try putting your XMLList into a XMLLIstCollection eg var xlc:XMLListCollection = new XMLListCollection(yourXMLList); yourTileList.dataProvider = xlc; --- In flexcoders@yahoogroups.com, "Jonathan Bezuidenhout" <[EMAIL PROTECTED]> wrote: > >

[flexcoders] Re: flex builder2 internal build error

2006-03-09 Thread bhaq1972
und this and changed the var myButton:Button to public var > > > myButton:Button, I got the REAL error, duplicate public property. > > > > > > I had over 30 different files that could have had this in it, I got > > > lucky. > > > > > > Long

[flexcoders] flex builder2 internal build error

2006-03-08 Thread bhaq1972
Hi In one flexbuilder2 project containing approximately 15 simple mxml apps ( most of which are copies of ones from the livedocs). I am getting 'an internal build error has occured. please check the error log' error. As follows. Any ideas. cant go any further. any help will be appreciated than

[flexcoders] Re: IOError: Error #2058: There was an error decompressing the data.

2006-03-02 Thread bhaq1972
Any Ideas? Anyone? thanks --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > Hi > I'm doing a simple test but get the above error. > what am i doing wrong? > tia > > var byteArr:ByteArray = new ByteArray(); > byteArr

[flexcoders] IOError: Error #2058: There was an error decompressing the data.

2006-03-01 Thread bhaq1972
Hi I'm doing a simple test but get the above error. what am i doing wrong? tia var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF("hello"); byteArr.position = 0; byteArr.compress(); byteArr.position = 0; byteArr.uncompress(); out.text += byteArr.readUTF(); //out is a textarea -- F

[flexcoders] flexbuilder 2 keyboard bug ???

2006-02-23 Thread bhaq1972
Hi A couple of times this has happened. I've been playing with the shortcut keys and somehow my keyboard has ended up being in US keyboard format (i'm used to UK). I don't know how it got like this (but i'm monitoring the situation). Interestingly, if i open up another app (eg Notepad) it reman

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
com/2005/mxml"; xmlns="*" verticalGap="0" >hScrollPolicy="off" vScrollPolicy="off" > > > > > > > > > > > > > - Original Messa

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
--- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" <[EMAIL PROTECTED]> wrote: > > As far as I recall, dropdown object can be "dropped" and recreated when the data model and other things change. If you do not reassign cellrenderer at that time it will be gone. It would make sense to me to

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-22 Thread bhaq1972
. --- In flexcoders@yahoogroups.com, "george_lui" <[EMAIL PROTECTED]> wrote: > > I don't see how this was terribly different from the original code. > But I tried it anyways and it doesn't work. > > thanx anyways, > geo > > --- In flexcoders@yahoo

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
i would also like to see the dropdown property made into a 'Read/Write'. i had to override the getDropdown() method which gave me problems when going from flex1 to 1.5 (i know this method is not in the api) other technologies such as PowerBuilder is not an issue. --- In flexcoders@yahoogroup

[flexcoders] Re: problem with cell renderer in ComboBox

2006-02-20 Thread bhaq1972
why dont you simplify things a bit. put your FullNameRenderer into the same folder location as your ComboBox mxml application. and do this function test(event){ event.target.dropdown.cellRenderer = FullNameRenderer; } --- In flexcoders@yahoogroups.com, "george_lui" <[EMAIL PROTECTED]> wrot

[flexcoders] Re: Response not resolvable with Flex 2.0 and ASP.NET 2.0 Web Service

2006-02-17 Thread bhaq1972
--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > Can you send us the WSDL please? I don't have .NET 2.0 set up. > > Matt Hi Matt I've kind of hijacked this thread so Tony (syndrake7) please don't hesitate to show your wsdl as well. Below is my wsdl and flex 2.0

[flexcoders] Re: getting a compile error running the 'custom event' flex 2 example

2006-02-16 Thread bhaq1972
t; > } > } > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Wednesday, February 15, 2006 8:21 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] getting a compile error running the &

[flexcoders] Re: Response not resolvable with Flex 2.0 and ASP.NET 2.0 Web Service

2006-02-16 Thread bhaq1972
i've noticed this problem as well. Please can you advise Adobe. thanks in advance --- In flexcoders@yahoogroups.com, "syndrake7" <[EMAIL PROTECTED]> wrote: > > Hello, > > I've searched the archive and found a lot of information about > getting a .NET dataset into Flex. I've put together a test

[flexcoders] getting a compile error running the 'custom event' flex 2 example

2006-02-15 Thread bhaq1972
Hi I just copied and pasted the 'Events/ Using a Custom Event Class' example from the following link http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html into flex builder2 but i get the compile error "Type annotation is not a compile-time constant: LogonEvent" in my test flex

[flexcoders] Re: Job: Flash Developer/Programmer

2006-02-14 Thread bhaq1972
Ali My preference would be to have a single mailing list. Keep everything in one place. read what interests you and ignore what doesnt. regards bod --- In flexcoders@yahoogroups.com, "Alistair McLeod" <[EMAIL PROTECTED]> wrote: > > Hi, > > This post shouldn't have gotten through as its nothi

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-10 Thread bhaq1972
thanks. i realize my mistake. --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 2/10/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > event is of type DataGridEvent. > &g

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-10 Thread bhaq1972
some feedback > > > > > > event is of type DataGridEvent. i tried but flexbuilder 2 comes up with a compile error "Expecting right parenthesis after colon" I actually have yet to see an example in livedocs/demos/etc where the event argument is strongly typed. Shouldn't ALL the code be stro

[flexcoders] Re: Select all functionality in datagrid

2006-02-10 Thread bhaq1972
if you want to select all rows. try something like this. relevant bits of code - function selectAll(event)//strongly type if its flex2 beta { var array1:Array = new Array(); for (var i=0; i wrote: > > Hi all, > I have a datagrid with 2 columns of which the first one has > a "checkbox" a

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-09 Thread bhaq1972
ups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 2/8/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > If you run my test in flex 1.5 the result is different. the > > selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are the > > same, as long

[flexcoders] Re: datagrid.selectedIndex not correct in cellPress - flex2

2006-02-08 Thread bhaq1972
> Yes, because the selectedIndex property is updated only after cellPress event. > Hi Manish If you run my test in flex 1.5 the result is different. the selectedIndex and event.itemIndex (aka rowIndex in flex2 beta) are the same, as long as your dg.selectable=true. i'm sure this is a bug i

[flexcoders] datagrid.selectedIndex not correct in cellPress - flex2

2006-02-07 Thread bhaq1972
Following from my previous post about datagrid cellpress event. i'm checking the selectedIndex property. the rowIndex is correct but the selectedIndex is incorrect. its always my previous rowIndex http://www.macromedia.com/2005/mxml"; backgroundColor="#FF">

[flexcoders] Re: cellRenderer not recognizing click events for Custom Mxml Cell Renderer

2006-02-07 Thread bhaq1972
Kevin, > _dgc.cellRenderer = "com.StatusPicker"; Are u sure this should be in double quotes. when i did a dynamic datagrid with a cellRenderer, i never used double quotes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http

[flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2)

2006-02-07 Thread bhaq1972
+ [EMAIL PROTECTED] + "\n"; > } > > } > > >styleName="myButtonStyle"/> > > > > > > > > -Original Message- > >

[flexcoders] Re: how to loop thru mx.events.DataGridEvent (flex 2)

2006-02-07 Thread bhaq1972
); > > or... > > out.text += "\n" + ObjectUtil.toString(evt); > > Does a WONDERFUL job. You will never look at objects the same ;-) > > Peace, Mike > > > On 2/7/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > i have cellPress ev

[flexcoders] how to loop thru mx.events.DataGridEvent (flex 2)

2006-02-07 Thread bhaq1972
i have cellPress event in my DataGrid. The following code doesnt work. can someone tell me the correct syntax private myCellPressEvnt(event:DataGridEvent):void { for(var obj1:Object in event) { //out is a out.text += obj1 + event[obj1] + "\n"; } } TIA bod -- Flexcoders Mail

[flexcoders] bug? tabIndexes on editable comboboxes don't work (flex 1.5)

2006-02-02 Thread bhaq1972
Hi Maybe this is a bug. If you add a tabIndex attribute to an editable combobox, it doesnt work. try this simple test. if u remove the tabindexs, its okay http://www.macromedia.com/2003/mxml"; > -- Flexcoders Mailing List FAQ: http://groups.yahoo

[flexcoders] Re: Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5

2006-02-01 Thread bhaq1972
Manish > Works for me in Flex 2 - must be a bug in 1.5. Does it work if you > set an explicit height for the Form? > an explicit height is okay. i tried it in flex 2 alpha and i get the same result.maybe thats what differentiates the two containers. here's some test code. just swap between

[flexcoders] Re: Return of the Menu Depth Monster!

2006-01-31 Thread bhaq1972
orks, Datagrid "change" does not. > > > > Anyone successfully got a menu to popup with a change event? > > _ > > Jonathan Miranda > > Flexible Master of the Web > > > > From: flexcoders@yahoogro

[flexcoders] Re: Return of the Menu Depth Monster!

2006-01-31 Thread bhaq1972
maybe your menu dataprovider needs to be added another way you could try the following myMenu = Menu.createMenu(myApp, null); //populate dataprovider for (var obj in myEMP2Service.result.query.row) { myMenu.addMenuItem(myEMP2Service.result.query.row[obj]); } myMenu.show(200, 10); or if your ro

[flexcoders] Form containers don't allow datagrids (heght=100%) to stretch - flex 1.5

2006-01-31 Thread bhaq1972
Hi i've got the following. this gives a real dataGrid with a height=100% However, if i use a Form container instead, the datagrid doesnt stretch (height!=100%) i used minHeight=0 but that did not work. is this how form is meant to work. tia bod -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
thanks. thats a better idea. --- In flexcoders@yahoogroups.com, Johannes Nel <[EMAIL PROTECTED]> wrote: > > use do later and cgheck the variable on each frame and release it when its > value is > 0 instead of a count, since this could vary > > On 1/23/06, bhaq1972 &

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
as i posted this, i then tried another test (Matt your suggestion of trying 2-3 frames later) and this time it worked. not sure what the correct code is (for continuing code 3 frames later) but i used a doLater() and a 'count' variable. --- In flexcoders@yahoogroups.com, "bh

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-23 Thread bhaq1972
at > works just write code to wait 3 or 4 frames and see if you can process > everything then. > > Matt > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Wednesday, January 18, 2006 7:54 AM &

[flexcoders] Re: Flex 1.5 how to get Menu height and width

2006-01-20 Thread bhaq1972
oders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > Hi > I'm looking at the flex 1.5 livedocs example of how to create a Menu - > http://livedocs.macromedia.com/flex/15/asdocs_en/index.html (at the > bottom). > > I cant seem to get the height and wi

[flexcoders] Flex 1.5 how to get Menu height and width

2006-01-18 Thread bhaq1972
Hi I'm looking at the flex 1.5 livedocs example of how to create a Menu - http://livedocs.macromedia.com/flex/15/asdocs_en/index.html (at the bottom). I cant seem to get the height and width of the Menu after creating the menu. eg myMenu = Menu.createMenu(panel, myMenuData); trace(myMenu.heigh

[flexcoders] Re: What event is data that can change in Editable DataGrid and how to updata its!

2005-12-23 Thread bhaq1972
if your trying to edit a cell directly (by clicking on the cell) on your datagrid, use the cellEdit event. this gets triggered if you make changes in an editable datagrid eg import mx.events.DataGridEvent; function doCellEdit(event:DataGridEvent):Void { //do something. } --- In flexcoder

[flexcoders] Re: Web services: Question about array serialization

2005-12-14 Thread bhaq1972
I should be looking at Flex 2 migration issues (but i'll take a break). You can have a flex datagrid be populated by a .net dataset my .net webservice looks like this [Webmethod] public DataSet GetDataSet() { //code here } flex 1.5 in as code function getdataset(){ var call = service1.GetData

[flexcoders] Re: flex 2 translation

2005-12-13 Thread bhaq1972
t an > example) elsewhere in you application: > > public function someFunction():Void{ // do stuff pehaps with val1 etc.} > > As to the mouse event vs mouse event type, check here: > > http://livedocs.macromedia.com/labs/1/flex/langref/flash/events/Mouse Event.html

[flexcoders] Re: flex 2 translation

2005-12-13 Thread bhaq1972
want to send information using an an event you'll need to find > a different mechanism e.g. a global variable, or another interface > function that is step up to pass data. The event listener is more to > say 'when' something happens, not 'what' is to happen

[flexcoders] flex 2 translation

2005-12-13 Thread bhaq1972
Hi i've got a knowledge issue. what does this flex 1.5 code translate to Flex 1.5 function startUp():Void { this.addEventListener("click", this); this.addEventListener("myEvent", this.parentDocument); dispatchEvent({type:"myEvent", val1:"hello"}); } function click(event):Void { /

[flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread bhaq1972
ECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq1972 > Sent: Friday, December 02, 2005 7:04 AM > To: flexcoders@yahoogroups.com > Su

[flexcoders] Re: tomcat mxml/swf expiry issue (flex 1.5)

2005-12-02 Thread bhaq1972
you can turn on production mode for your app but production mode has its > drawbacks. In order to request a recompile, you have to refresh the web > application or restart the server causing downtime to production sites. > > > Carson > > > > Carson Hager > Cynergy Systems, I

[flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread bhaq1972
Hi We recently purchased a flex license and i'm just trying out a few initial things. the licensed flex server is installed on apache tomcat. My problem is any mxml pages i request, expire after 1 day i.e. .. when i go to work the following day, and request the same pages, it gets re-compiled

[flexcoders] Re: datagrid dragdrop question

2005-10-28 Thread bhaq1972
thanks --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 10/28/05, Manish Jethani <[EMAIL PROTECTED]> wrote: > > On 10/26/05, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > > Can i drag and drop single cells as oppose

[flexcoders] Re: set Effect at runtime

2005-10-27 Thread bhaq1972
vas1.viewstack1.panel1.viewstack2. selectedChild.childDescriptors[0].getStyle("fontSize"); > > It returns 'undefined'. > I presume my reference to the might be wrong... > Shouldn't use '.childDescriptors[0]'

<    1   2   3   4   5   >