[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] 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: 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] 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: 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: 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] 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: 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] 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-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
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: Flex2B3 - LinkBar advice please

2006-06-14 Thread bhaq1972
e.com/2006/mxml";> --- In flexcoders@yahoogroups.com, "bhaq1972" <[E

[flexcoders] Re: How to change vertical position of a buttonlabel??

2006-06-14 Thread bhaq1972
are u using flex2? checkout labelPlacement property. --- In flexcoders@yahoogroups.com, "moyosaned" <[EMAIL PROTECTED]> wrote: > > Does anybody know how to set the vertical position of a label(of a > Button) I want my label 3 pixels down. > Yahoo! Groups Sponsor -

[flexcoders] Re: Flex2B3 - LinkBar advice please

2006-06-14 Thread bhaq1972
i'm down to one problem. how can i supress the horizontalScrollBar from appearing. btw. the answer to problem 2 was hbox1.horizontalScrollPosition = hbox1.maxWidth;//not hbox1.width --- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote: > > I&

[flexcoders] Re: Flex2B3 - LinkBar advice please

2006-06-14 Thread bhaq1972
ollBar.visible=false during a hbox.updateComplete Event. --- In flexcoders@yahoogroups.com, "Jim Robson" <[EMAIL PROTECTED]> wrote: > > Did you try horizontalScrollPolicy ? > > > > > > _ > > From: flexcoders@yahoogroups.com [mailto

[flexcoders] Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-15 Thread bhaq1972
I'm trying to cut off any gui controls that appear outside the parent container. In this case, any part of button2 which appears outside the yellow hbox. how do i achieve this ? TIA http://www.adobe.com/2006/mxml"; xmlns="*" > Ya

[flexcoders] Flex2B3 - Tree question

2006-06-15 Thread bhaq1972
Whats the replacement for rowRenderer. i want to create a Tree which has lines (going accross) imbetween every node/item any suggestions TIA Yahoo! Groups Sponsor ~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQ

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-16 Thread bhaq1972
akes > > negetives into account. > > > > You could always subclass HBox and create a mask over it and use > > borderMetrics to size the mask. > > > > Peace, Mike > > > > > > > > On 6/15/06, Tom Chiverton <[EMAIL PROTECTED]> wrot

[flexcoders] Re: Flex2B3 - Tree question

2006-06-16 Thread bhaq1972
lex.net/showfiledetails.cfm? ChannelID=1&Object=File&objectI\ > D=427 > <http://www.cflex.net/showfiledetails.cfm? ChannelID=1&Object=File&object\ > ID=427> > > -TH > > > --- In flexcoders@yahoogroups.com, "bhaq1972" wrote: > > > &g

[flexcoders] Re: Panel percentheight does not affect scrolling

2006-06-16 Thread bhaq1972
this is a guess try adding minHeight="0" to your Panel. --- In flexcoders@yahoogroups.com, "Bas J. Brey" <[EMAIL PROTECTED]> wrote: > > I have 2 panels on a screen (25%, 75%). > > When I use a percentage height the content of a panel cannot be scrolled, > however when I use a fixed height it w

[flexcoders] Flex2B3 - Resize effect problem

2006-06-19 Thread bhaq1972
hi In my example i'm resizing a panel's width from 300 to 0 (and vice versa). However i've got one issue. I sometimes see a ghost of the panel's title still there. somekind of refresh issue? how do i remove it. thanks http://www.adobe.com/2006/mxml";> --

[flexcoders] Re: Flex2B3 - Resize effect problem

2006-06-19 Thread bhaq1972
Beta3 like this as well. > For now, you could use a work-around like this: > > http://www.adobe.com/2006/mxml > <http://www.adobe.com/2006/mxml> "> > > > > height="200"/> > > > > -TH > > --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
e clipping for you. eg: > > > > > > > > > > On 6/16/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > > > Mike and Tom thanks for the input. > > > > firstly, I tried using clipContent before but doesn't work. > > > > if i was dealing with fixed w

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-20 Thread bhaq1972
be 100 pixels wide, the > right 25 pixels are cut off. > > But if you set the HBox's width to be 100%, then that 25% space could be a > lot wider than 75 pixels. If it goes over 100 pixels, then of course all of > button2 would be shown. You'll have to play with the numbe

[flexcoders] Re: Flex2B2 - cut off any gui controls that appear outside of parent container

2006-06-21 Thread bhaq1972
. You can make > use of binding: > > > > > > > > > Yes, it's quite a pain when the HBox/VBox just won't clip their content. I > always thought it was a bug. > > > On 6/20/06, bhaq1972 <[EMAIL PROTECTED]&g

[flexcoders] flex2b3 - datgrid tabbing problem as well

2006-06-26 Thread bhaq1972
I've seen a few people mentioning having problems with datagrid tabbing. I thought i'd might mention this as well. i haven't been able to create a test to demonstrate this, but what i have noticed is that when i tab from column0(which has the itemEditorInstance) to column1 i lose the tabbing an

[flexcoders] Flex2B3 - flex and url variables

2006-06-27 Thread bhaq1972
i was looking in the archives. the issue was raised a few months ago. however i wasn't able to make Matt Horn or Abdul's code work. my problem - i want to pass request data using query string to the html wrapper. eg http://myserver/myflexapp.html?foo=bar it would be nice if it was easy like do

[flexcoders] Flex2B3 - Item Renderer and scrolling runtime error

2006-06-30 Thread bhaq1972
I've got 3 questions if anyone could kindly help me on. I have an itemRenderer that looks like this http://www.adobe.com/2006/mxml"; backgroundColor="yellow" width="100%"> and is being used in a DataGridColumn. 1) How do i access the DataGridColumn its res

[flexcoders] Flex2B3 - how to clear XML node values

2006-06-30 Thread bhaq1972
I have the following XML var xml1:XML = hello world i want to clear the node values 'hello' and 'world' in a generic way meaning i dont know how many nodes there are (ie nodeA, nodeB, nodeX etc). thanks

[flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread bhaq1972
Hi can someone confirm this. i'm now having to set the widths and heights of the popups i create using PopUpManager. i never had to do this before. flex/flashplayer would do it for me. is this correct? Yahoo! Groups Sponsor ~--> Yahoo! Groups

[flexcoders] Re: Flex2 release version - PopUp mangager ..sizing popups

2006-07-04 Thread bhaq1972
es of the TitleWindows, > I don;t believe this has changed. > > > > On 7/3/06, bhaq1972 <[EMAIL PROTECTED]> wrote: > > Hi > > can someone confirm this. i'm now having to set the widths and heights > > of the popups i create using PopUpManager. > &

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread bhaq1972
try something like this var byteArr:ByteArray = new ByteArray(); byteArr.writeUTF("hello"); trace(byteArr.length); byteArr.position = 0; trace(byteArr.readUTF()); (something i tried in beta2...so who knows) --- In flexcoders@yahoogroups.com, "davidgolds" <[EMAIL PROTECTED]> wrote: > > How can I

[flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-05 Thread bhaq1972
from what your describingyour itemRenderer is an 'edit' button. the itemRenderer is appearing in a datagrid. save the row index during a datagrid.itemFocusIn event eg private var savedIndex:int; private function saveIndex(event:DataGridEvent):void { this.savedIndex = event.rowIndex; } an

[flexcoders] Re: A datagrid with a separate scrollbar

2006-07-05 Thread bhaq1972
Firstly, you need to make sure scrollPolicy is swicthed off eg then for example, have a button which changes the scrollposition as follows this is untested --- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote: > > If you could provide some visual mock-ups, I might be abl

[flexcoders] Re: RPC result paging - please, help

2006-07-07 Thread bhaq1972
Hi Kelly its sounds very good what you've done. i will be in the process of doing something similar. Care to share your c# code. would be very appreciated. regards Bod --- In flexcoders@yahoogroups.com, "Kelly Birr" <[EMAIL PROTECTED]> wrote: > > Dmitry, > > I've done it from ASP.NET to Flex 2

[flexcoders] Flex2 final - Another 'security error accessing url'

2006-07-12 Thread bhaq1972
Hi (I didn't want to take over Sathish's post but i have a similar problem.) My problem is as follows. I'm taking my flex app and trying to expose it to the internet. in our LAN environment, everything is okay. My flex swf is hosted on IIS...which also hosts my webservice. my flex app looks

[flexcoders] Re: Flex2 final - Another 'security error accessing url'

2006-07-13 Thread bhaq1972
cynergysystems.com <http://www.cynergysystems.com/> > > Email: [EMAIL PROTECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of bhaq19

[flexcoders] Flex 2 final XML attributes

2006-07-14 Thread bhaq1972
Hi just wondered, the XML.attributes() method only list the values of all the attributes of the specified node. how can i get a list of name/value pairs of all the attributes. this is possible using XmlDocument class but not with the new XML class. am i right? thanks Bod -- Flexcoders

[flexcoders] Re: Flex work in the UK

2006-07-24 Thread bhaq1972
have u checked the jobserve web site. they have a few listings in there --- In flexcoders@yahoogroups.com, "jamiebadman" <[EMAIL PROTECTED]> wrote: > > Hi, > > I've been working with Flex application development for a good while > now and am looking for a new role. Can anyone recommend either

[flexcoders] flex2 final - CheckBox itemrenderer question

2006-07-26 Thread bhaq1972
i have a checkbox renderer like this. http://www.adobe.com/2006/mxml"; horizontalAlign="center" How do i get access to the DataGridColumn its being referenced in ie i want to access the dataField. regards Bod Yahoo! Groups Sponsor ~

[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: 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] 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: 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] 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] 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] 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] Re: how to loop thru mx.events.DataGridEvent (flex 2)

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

[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] 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: 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] 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: 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-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: 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: 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] 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: 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] 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-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: 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: 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-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-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
com/2005/mxml"; xmlns="*" verticalGap="0" >hScrollPolicy="off" vScrollPolicy="off" > > > > > > > > > > > > > - Original Messa

[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] 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] 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] 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: 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] 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] 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] 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] 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 : 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: 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 - 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: 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] 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: 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] 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] 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 : 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] 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: 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] 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] 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] 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] 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 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: 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: 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-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] 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 - 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] 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-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] 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
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] 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

<    1   2   3   4   5   >