[Flashcoders] disable datagrid

2006-05-05 Thread Rodrigo Guerra
hi 
i´m trying to disabe a datagrid items

(from flash help)
my_dg.setSize(140, 100);

// Set up sample data.
var myDP_array:Array = new Array();
myDP_array.push({name:Clark, score:3135});
myDP_array.push({name:Bruce, score:403});
myDP_array.push({name:Peter, score:25});
my_dg.dataProvider = myDP_array;

my_dg.selectable = false; 


i just can't make it work(the items still highlight and are selectable) what 
i'm missing?

thanks.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] alert box component mess up

2006-03-20 Thread Rodrigo Guerra
Hi all, 

i'm using a alert box that i got here: http://www.rich-media-project.com/, 
(very good product, with all the icons already set.) also, i'm using this 
component with some usual flash components like buttons and comboboxes.

i realized that the Alert component dosen't work very well with the componts 
that came with flash. in the site it's said  Macromedia V2 Component 
Architecture and Compatible player : Flash Player 8, moreover just dragging 
this obect to stage along with a button or a combo shows the error.

and testing the movie give me the error.

example: a button and a combo box (both flash UI components in the stage and 
the Alert Component in the library.

http://www.alumni.org.br/tmp/rodrigo/pergv3.swf

using flash IDE /player = 8.

thank you very much, 
rodrigo.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] tooltip in the combobox.

2006-03-15 Thread Rodrigo Guerra
hi all,

i was wondering if there is a way to put some kind of tooltip in the combobox 
options, so putting the mouse over an combobox optin besides it get highlighted 
i can have a tip about the option.

regards,
rodrigo.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] tooltip in the combobox.

2006-03-15 Thread Rodrigo Guerra
thank you very much.!

- Original Message - 
From: eric dolecki [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Wednesday, March 15, 2006 11:22 AM
Subject: Re: [Flashcoders] tooltip in the combobox.


yup. look for an event:itemRollOver like this...

foo.itemRollOver = function ( oEvt ):Void {
var indx:Number = oEvt.index;
// pop your own tooltip using this event ...


- e.dolecki


On 3/15/06, Rodrigo Guerra [EMAIL PROTECTED] wrote:

 hi all,

 i was wondering if there is a way to put some kind of tooltip in the
 combobox options, so putting the mouse over an combobox optin besides it
get
 highlighted i can have a tip about the option.

 regards,
 rodrigo.
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] componet buttons without border.

2006-03-14 Thread Rodrigo Guerra
hi, 


my component button started appearing today without borders ! it appears just 
the text set for the button, the code inside it works good.

using flash 8 , screens, as2.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] nested screens and setVisible

2006-03-14 Thread Rodrigo Guerra
flash 8, as 2.

i 'm maiking my first flash screen application.
here its the structure (screen name)


roots.
login
mainMenu
inclusao
cons

each screen has a fade transition onRevel and onHide. ok.

n the roots screen first frame i hide the mainMenu and the mainMenu nested 
screens, leaving only the login screen visible.

mainmenu.setVisible(false);
mainmenu.incluir.setVisible(false);
mainmenu.cons.setVisible(false);

i set the mainmenu neasted sceens visibility to false hoping that when i show 
the mainMenu screen it dosen't show it's nested screens.
but this dosen't happen.

when i show the mainmenu using mainmenu.setVisible(true); it shows the nested 
screens too. i have to set AGAIN the nested screens to false to hide them, and 
the hide occurs AFTER the mainmenu fade in showing both screens during the 
fade and then after it hides the nested screens.

i want to know if tis is the correct behavior

code in the component login screen :

 login.setVisible(false);
 mainmenu.setVisible(true); 
mainmenu.inclusao.setVisible(false);
mainmenu.cons.setVisible(false);


thanks!___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

[Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Rodrigo Guerra
hi all,

i'm using this example from phil, 
http://philflash.inway.fr/dgrenderer/dgiconrd.html to put a image inside a 
datagrid colum. (any other you can share would be appreciated)

what i want is click in the image and delete the row. i thought the datagrid 
class would provide a easy method like removeRow(index).. but there isn't.
what's the code to delete a row in the datagrid.


thanks!


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Rodrigo Guerra
my grid dataprovider is a xml (created in flash).

the only way i can think to refresh the datagrid is associate it (again) to
the xml source (updated). like delete the node then myDG.dataProvider =
myXml (updated)

is this correct?





- Original Message - 
From: Clint Tredway [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 10, 2006 2:19 PM
Subject: RE: [Flashcoders] datagrid icon to delete a row.


Basically what you will need to do is get the id of that row and remove
it from the data populating the grid and then refresh the grid. (If I
remember correctly) ;)

HTH

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
Guerra
Sent: Friday, March 10, 2006 11:07 AM
To: Flashcoders mailing list
Subject: [Flashcoders] datagrid icon to delete a row.

hi all,

i'm using this example from phil,
http://philflash.inway.fr/dgrenderer/dgiconrd.html to put a image inside
a datagrid colum. (any other you can share would be appreciated)

what i want is click in the image and delete the row. i thought the
datagrid class would provide a easy method like removeRow(index).. but
there isn't.
what's the code to delete a row in the datagrid.


thanks!




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] datagrid icon to delete a row.

2006-03-10 Thread Rodrigo Guerra
thanks spike, clint for the help.

the dataProvider removeItemAt method works like a charm.

i added the code below to get the grid row, but it's not working:

var myListener = new Object();
myListener.cellFocusIn = function(eventObject) {
var cell = eventObject.itemIndex ;
trace(The cell row is  + cell +  has gained focus);
};
myGrid.addEventListener(cellFocusIn, myListener);

but it ONLY works if i have the property dg.editable set to true, and this
property can't be true at this time.
how can i get the dg row?

regards,
rodrigo

- Original Message - 
From: Spike [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 10, 2006 4:01 PM
Subject: Re: [Flashcoders] datagrid icon to delete a row.


Not sure if this applies to the datagrid component in Flash, but to to
this in Flex 1.5 you would do:

myDataGrid.dataProvider.removeItemAt(someIndex);

Spike

On 3/10/06, Rodrigo Guerra [EMAIL PROTECTED] wrote:
 my grid dataprovider is a xml (created in flash).

 the only way i can think to refresh the datagrid is associate it (again)
to
 the xml source (updated). like delete the node then myDG.dataProvider =
 myXml (updated)

 is this correct?





 - Original Message -
 From: Clint Tredway [EMAIL PROTECTED]
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Sent: Friday, March 10, 2006 2:19 PM
 Subject: RE: [Flashcoders] datagrid icon to delete a row.


 Basically what you will need to do is get the id of that row and remove
 it from the data populating the grid and then refresh the grid. (If I
 remember correctly) ;)

 HTH

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo
 Guerra
 Sent: Friday, March 10, 2006 11:07 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] datagrid icon to delete a row.

 hi all,

 i'm using this example from phil,
 http://philflash.inway.fr/dgrenderer/dgiconrd.html to put a image inside
 a datagrid colum. (any other you can share would be appreciated)

 what i want is click in the image and delete the row. i thought the
 datagrid class would provide a easy method like removeRow(index).. but
 there isn't.
 what's the code to delete a row in the datagrid.


 thanks!




 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



--

Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] trace inside the browser

2006-03-07 Thread Rodrigo Guerra
hi, 

i'm trying to figure out a way to implement a debug that i can see online (in 
the browser) and not just inside the flash environment. just like trace, but it 
must work when the swf is online.

i thought about a list component that appear and desapeear on a X keypress, and 
a function that could add my traces outputs to it
i was wondering what other methods/ways you are doing this.

thanks in advice.
rodrigo___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] trace inside the browser

2006-03-07 Thread Rodrigo Guerra
i was using the folowing code that i got from another list, it's quick and
dirty, (the problem is the *no history*)

_global.alerta = function(mensagem){
getURL(javascript:alert('  + mensagem +  '));
}

alerta(bla)

but for sure the ones showd here are more robust...i'm give a try...
thank you all!


- Original Message - 
From: Mark Walters [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Tuesday, March 07, 2006 12:41 PM
Subject: Re: [Flashcoders] trace inside the browser


or if you just like using trace, follow my post here:
http://www.digitalflipbook.com/archives/2005/07/trace_from_the.php

- markW

On 3/7/06, Chris Hill [EMAIL PROTECTED] wrote:
 Use the luminic box logger.
 http://www.luminicbox.com/blog/default.aspx?page=postid=2

 Rodrigo Guerra wrote:
  hi,
 
  i'm trying to figure out a way to implement a debug that i can see
online (in the browser) and not just inside the flash environment. just like
trace, but it must work when the swf is online.
 
  i thought about a list component that appear and desapeear on a X
keypress, and a function that could add my traces outputs to it
  i was wondering what other methods/ways you are doing this.
 
  thanks in advice.
  rodrigo
 
 
  
 
  ___
  Flashcoders@chattyfig.figleaf.com
  To change your subscription options or search the archive:
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
  Brought to you by Fig Leaf Software
  Premier Authorized Adobe Consulting and Training
  http://www.figleaf.com
  http://training.figleaf.com
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] datagrid schema

2006-02-23 Thread Rodrigo Guerra
Can anyone help me understanding how i use the datagrid schema, i know it helps 
a lot in the parsing but i couldn't much info about it.

i think the principle it's the same for others components that has this 
function too
for what i see it will describe, or validate , or facilitate the parsing of the 
data tha comes for the specific component, something like that.


thanks in advice.___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com