[flexcoders] Resize Text Area Control

2008-08-30 Thread litesh_b321
Hi Guys 
I want to resize the height of text area control as per the length of
text dynamically. how i can do it ???
PlZ Help me out 
ThanX



RE: [flexcoders] Re: Datagrid item render tooltip issue

2008-08-30 Thread Alex Harui
I'm sorry you are leaving.  If you had followed my recommendation and used the 
datatip mechanism, then I would have a much better idea of any problems you ran 
into, and in theory, you would have found that your custom class would be 
instantiated for every renderer regardless of the length of its text and could 
show anything it wanted, and if it didn't, I'd have an idea of where to look 
next.   I try to get everyone to go down the same small set of paths so I can 
save time to hit as many posts as possible in the time I have  to do so.  I 
know it would take more of your time to re-route your code to my 
recommendations, but, really, I made those recommendations thinking it would 
save both of us time.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
pixelgeek
Sent: Friday, August 29, 2008 10:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Datagrid item render tooltip issue


--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
Harui [EMAIL PROTECTED] wrote:

 Since I don't know your requirements and you don't seem interested
in my recommendations I can't provide further assistance at this time.

Sorry if my asking you for more information is coming across as not
being interested in your recommendations but I thought I was very
clear as to why we can't simply use a text datatip.

There is a reason why we are subclassing a canvas to create a custom
tooltip and I am again sorry that I wasn't explicit enough in the
previous descriptions of the problem to give you the information you
needed to understand why we can't simply use a text datatip.

I have to say that this experience has really soured me on this group
and I'll be leaving right after posting this as I can't really see the
point of a group where one of the prominent members harangues you for
not wanting to follow advice that is clearly not even remotely
appropriate despite being told so on several occasions.

Thanks for wasting my time.



RE: [flexcoders] Resize Text Area Control

2008-08-30 Thread Alex Harui
Fix the width, ask for the measuredHeight.  You may have to use callLater in 
between.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of 
litesh_b321
Sent: Friday, August 29, 2008 11:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Resize Text Area Control


Hi Guys
I want to resize the height of text area control as per the length of
text dynamically. how i can do it ???
PlZ Help me out
ThanX



[flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread David Pariente
Hi all,
I reopen this discussion because i got a case where i need to use vertical 
scrollbars from the explorer,

i tried adding body { margin: 0px; overflow-x:hidden; overflow-y:scroll; } to 
the html, but then the scrollbar appears, but can't use.

we are trying to avoid using the flex scrollbars, cause the app is positioned 
in the middle of the page, and has a special design on the borders of it (that 
whould completely mess if we use a scrollbar there).

So my question is if it's possible to scroll vertically the full app, using the 
navigators scrollbars, or not. In case is not, can we put a flex scrollbar in 
the right border of the explorer (not the right border of the flex app).

I still don't know if i have to contact the designer to tell her to change ALL 
her design cause of this scrollbars :(

thnx in advance.

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread Howard Fore
I'm having a hard time following your explanation of which scrollbar comes
from where (And I've had my own scroll issues), but have you thought about
modifying the html-template file to use HTML frames (or an iFrame) so the
center frame/iframe would have the Flex app and the scroll bars?

On Sat, Aug 30, 2008 at 7:10 AM, David Pariente [EMAIL PROTECTED]wrote:

  Hi all,
 I reopen this discussion because i got a case where i need to use vertical
 scrollbars from the explorer,

 i tried adding body { margin: 0px; overflow-x:hidden; overflow-y:scroll; }
 to the html, but then the scrollbar appears, but can't use.

 we are trying to avoid using the flex scrollbars, cause the app is
 positioned in the middle of the page, and has a special design on the
 borders of it (that whould completely mess if we use a scrollbar there).

 So my question is if it's possible to scroll vertically the full app, using
 the navigators scrollbars, or not. In case is not, can we put a flex
 scrollbar in the right border of the explorer (not the right border of the
 flex app).

 I still don't know if i have to contact the designer to tell her to change
 ALL her design cause of this scrollbars :(

 thnx in advance.


 __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
 Regístrate ya - http://correo.yahoo.es 




-- 
Howard Fore, [EMAIL PROTECTED]
The universe tends toward maximum irony. Don't push it. - Jeff Atwood


Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread Paul Andrews
I think the OP needs scrollbars at the side of the design because the flex app 
is centered and floating inside the html page. Adding a scrollbar to the flex 
would have the scrollbar in the page and spoiling the design aesthetic. I guess 
the designer has a html background to match the design of the flex app so that 
where flex ends and html begins isn't apparent.

Paul
  - Original Message - 
  From: Howard Fore 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 1:12 PM
  Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


  I'm having a hard time following your explanation of which scrollbar comes 
from where (And I've had my own scroll issues), but have you thought about 
modifying the html-template file to use HTML frames (or an iFrame) so the 
center frame/iframe would have the Flex app and the scroll bars?


  On Sat, Aug 30, 2008 at 7:10 AM, David Pariente [EMAIL PROTECTED] wrote:

Hi all,
I reopen this discussion because i got a case where i need to use vertical 
scrollbars from the explorer,

i tried adding body { margin: 0px; overflow-x:hidden; overflow-y:scroll; } 
to the html, but then the scrollbar appears, but can't use.

we are trying to avoid using the flex scrollbars, cause the app is 
positioned in the middle of the page, and has a special design on the borders 
of it (that whould completely mess if we use a scrollbar there).

So my question is if it's possible to scroll vertically the full app, using 
the navigators scrollbars, or not. In case is not, can we put a flex scrollbar 
in the right border of the explorer (not the right border of the flex app).

I still don't know if i have to contact the designer to tell her to change 
ALL her design cause of this scrollbars :(

thnx in advance.



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 



  -- 
  Howard Fore, [EMAIL PROTECTED]
  The universe tends toward maximum irony. Don't push it. - Jeff Atwood

   

Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread David Pariente
yah, its like that, the page is in the middle of the spaceand have some 
kind of shadows on the both sides. If i put scrollbars there design will broke.

so i'm trying to find a way to put standard explorer scrollbar, i made them 
appear, but, they dont seem to work with flash content.



- Mensaje original 
De: Paul Andrews [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: sábado, 30 de agosto, 2008 14:23:53
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


I think the OP needs scrollbars at the side of the 
design because the flex app is centered and floating inside the html page. 
Adding a scrollbar to the flex would have the scrollbar in the page and 
spoiling 
the design aesthetic. I guess the designer has a html background to match the 
design of the flex app so that where flex ends and html begins isn't 
apparent.
 
Paul
- Original Message - 
From: Howard  Fore 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 1:12  PM
Subject: Re: [flexcoders] Vertical Scroll  Bar in Browser, can be done?

I'm having a hard time following your explanation of which  scrollbar comes 
from where (And I've had my own scroll issues), but have you  thought about 
modifying the html-template file to use HTML frames (or an  iFrame) so the 
center frame/iframe would have the Flex app and the scroll  bars?


On Sat, Aug 30, 2008 at 7:10 AM, David Pariente xxmapachexx@ yahoo.es wrote:

Hi all,
I reopen this discussion because i got a case where i need  to use vertical 
scrollbars from the explorer,

i tried adding body {  margin: 0px; overflow-x:hidden; overflow-y:scroll; } to 
the html, but then  the scrollbar appears, but can't use.

we are trying to avoid using  the flex scrollbars, cause the app is positioned 
in the middle of the page,  and has a special design on the borders of it (that 
whould completely mess  if we use a scrollbar there).

So my question is if it's possible to  scroll vertically the full app, using 
the navigators scrollbars, or not. In  case is not, can we put a flex scrollbar 
in the right border of the explorer  (not the right border of the flex app).

I still don't know if i  have to contact the designer to tell her to change ALL 
her design cause of  this scrollbars :(

thnx in  advance.


 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 


-- 
Howard  Fore, howard.fore@ hofo.com
The  universe tends toward maximum irony. Don't push it. - Jeff  Atwood
 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] How do I make sure container's child components have applied new style before ImageSnapshot?

2008-08-30 Thread Ian M. Jones

Thanks Alex for your response.

I tried all kinds of combinations of capturing the updateComplete  
event on different components as well as chaining callLaters with  
checking of properties etc, but couldn't get it to work without side  
effects.


Eventually I found that all I needed to do was validate the container  
and the Legend control before taking the snapshot, the important part  
being that the container must be validated before the Legend so that  
the Legend picks up the CSS changes when it's validateNow is called.


Here's my new method of saving pictures of charts etc for anyone that  
might come across the same problem, it's not particularly efficient  
what with all the validateNows (3 in total), but seeing as this is  
triggered from a button press or hot key, the user isn't doing  
anything else and must have the result as quickly as possible, it's  
not such a big deal. It's pretty responsive.


private function saveToFile():void
{
var crossPlatform:ICrossPlatform;
crossPlatform = CrossPlatform.getInstance();

if (mainTabs.selectedChild.id == casesTab)
{
var dataString:String = delimitedCaseListString();
		crossPlatform.saveStringToFile(dataString, currentFilter.sFilterName  
+ .txt);

}

if (mainTabs.selectedChild.id == pieChartTab)
{
pieChartContainer.styleName = forPrint;
		pieChartContainer.validateNow();	//*** Make sure container has style  
set and displayed.
		pieChartLegend.validateNow();		//*** Make sure troublesome child has  
style set and displayed.

callLater(saveSnapshotAndResetStyleName, [pieChartContainer]);
		pieChartContainer.validateNow();	//*** Kick off snapshot in timely  
fashion.

}
}

private function  
saveSnapshotAndResetStyleName(component:UIComponent):void

{
// Take snapshot and remove print style.
var dataBytes:ByteArray = byteArrayFromComponent(component);
pieChartContainer.styleName = null;

// Save image to file.
var crossPlatform:ICrossPlatform;
crossPlatform = CrossPlatform.getInstance();
	crossPlatform.saveByteArrayToFile(dataBytes,  
currentFilter.sFilterName + .png);

}

private function byteArrayFromComponent(component:UIComponent):ByteArray
{
	var imageSnapshot:ImageSnapshot =  
ImageSnapshot.captureImage(component);

return imageSnapshot.data;
}

It seems to work.

Thanks for trying to help, trying to implement something off your  
suggestion lead to the final fix.


Ian

IMiJ Software
http://www.imijsoft.com
http://www.ianmjones.net (blog)



On 29 Aug 2008, at 18:52, Alex Harui wrote:



Does the legend change color eventually?  Maybe waiting for  
updateComplete will be better.  You can always chain callLaters




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On Behalf Of Ian M. Jones

Sent: Friday, August 29, 2008 4:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I make sure container's child  
components have applied new style before ImageSnapshot?




Hi,

I'm having a bit of a problem with capturing a snapshot of a VBox's
contents with a simple colour change applied through a styleName  
change.


The container layout is something like:

mx:VBox id=pieChartContainer width=100% height=100%
horizontalAlign=center
mx:Label id=pieChartTitle
text={currentFilter.sFilterName}
fontSize=14
fontWeight=bold
textDecoration=underline/
mx:PieChart id=pieChart width=100% height=100%
showDataTips=true dataTipFunction=pieChartDataTipFunction
resizeEffect={moveAndResize}
mx:series
// Some series, not relevant to problem.
/mx:series
/mx:PieChart
mx:Legend id=pieChartLegend
dataProvider={pieChart}
width=100%
visible={chkPieChartLegend.selected}
includeInLayout={chkPieChartLegend.selected}
direction=horizontal
resizeEffect={moveAndResize}/
/mx:VBox

Because by default my app has a dark theme with light text applied
through CSS, before capturing a snapshot, I set the style to:

.forPrint
{
color: #00;
}

This means the image should have black text which is good for print  
etc.


I call saveToFile() to start the capture, only when the referenced pie
chart is visible.

private function saveToFile():void
{
pieChartContainer.styleName = forPrint;
callLater(saveSnapshotAndResetStyleName, [pieChartContainer]);
pieChartContainer.validateNow();
}

private function
saveSnapshotAndResetStyleName(component:UIComponent):void
{
var dataBytes:ByteArray = byteArrayFromComponent(component); // The
bit that does all the real work!
var crossPlatform:ICrossPlatform;

pieChartContainer.styleName = null;

crossPlatform = CrossPlatform.getInstance();
crossPlatform.saveByteArrayFile(dataBytes, currentFilter.sFilterName
+ .png);
}

The problem is that although the pie chart gets the change in text
colour before the snapshot is taken, if the Legend control is included
in 

[flexcoders] Re: Drawing shapes with holes and applyng them as mask in AS3

2008-08-30 Thread Amy
--- In flexcoders@yahoogroups.com, gabriela.perry [EMAIL PROTECTED] 
wrote:

 Hi, Troy.
 It works if I apply it as a circle or a rectangle...
 What I need is a rectangle with a hole in the middle.
 
 If you set a solid fill, then draw a rectangle, then drwa a circle,
 then put it on the stage (addChild), you have the effect Im after (the
 rect with the hole).
 But when I apply it as a mask, it doesnt works...
 
 The link you posted had examples of simple shapes as masks: several
 rect, several circles...
 Anyways, as soon as I figure out a solution, Ill let you know.


Couldn't you just turn the shape that's what you want into a bitmap and 
mask with that?



Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread David Pariente
i will look for a solution to put scroll bars inside the app changing the 
design a little...sorry for designer :P

thnx to everyone anyway :)



- Mensaje original 
De: David Pariente [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: sábado, 30 de agosto, 2008 14:37:34
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


yah, its like that, the page is in the middle of the spaceand have some 
kind of shadows on the both sides. If i put scrollbars there design will broke.

so i'm trying to find a way to put standard explorer scrollbar, i made them 
appear, but, they dont seem to work with flash content.



- Mensaje original 
De: Paul Andrews [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado: sábado, 30 de agosto, 2008 14:23:53
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


I think the OP needs scrollbars at the side of the 
design because the flex app is centered and floating inside the html page. 
Adding a scrollbar to the flex would have the scrollbar in the page and 
spoiling 
the design aesthetic. I guess the designer has a html background to match the 
design of the flex app so that where flex ends and html begins isn't 
apparent.
 
Paul
- Original Message - 
From: Howard  Fore 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 1:12  PM
Subject: Re: [flexcoders] Vertical Scroll  Bar in Browser, can be done?

I'm having a hard time following your explanation of which  scrollbar comes 
from where (And I've had my own scroll issues), but have you  thought about 
modifying the html-template file to use HTML frames (or an  iFrame) so the 
center frame/iframe would have the Flex app and the scroll  bars?


On Sat, Aug 30, 2008 at 7:10 AM, David Pariente xxmapachexx@ yahoo.es wrote:

Hi all,
I reopen this discussion because i got a case where i need  to use vertical 
scrollbars from the explorer,

i tried adding body {  margin: 0px; overflow-x:hidden; overflow-y:scroll; } to 
the html, but then  the scrollbar appears, but can't use.

we are trying to avoid using  the flex scrollbars, cause the app is positioned 
in the middle of the page,  and has a special design on the borders of it (that 
whould completely mess  if we use a scrollbar there).

So my question is if it's possible to  scroll vertically the full app, using 
the navigators scrollbars, or not. In  case is not, can we put a flex scrollbar 
in the right border of the explorer  (not the right border of the flex app).

I still don't know if i  have to contact the designer to tell her to change ALL 
her design cause of  this scrollbars :(

thnx in  advance.


 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 


-- 
Howard  Fore, howard.fore@ hofo.com
The  universe tends toward maximum irony. Don't push it. - Jeff  Atwood
 
 _ _ _ _ __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Drawing shapes with holes and applyng them as mask in AS3

2008-08-30 Thread Paul Andrews
- Original Message - 
From: gabriela.perry [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, August 29, 2008 3:45 PM
Subject: [flexcoders] Drawing shapes with holes and applyng them as mask 
in AS3


 Hi there.
 Im trying to make something that will sound very familiar to
 flashers around here (sure youre here!)
 I need to draw a shape with a hole, and need to apply it as a mask to
 an image. Im doing this with Flex. The hole in the mask is
 dynamically created, thats why Im not using flash to draw a movieclip
 as my mask.
 Any ideas? Thanx in advance :0)

Instead of thinking of two shapes with one being subtracted from the other, 
think of it as one of those inflatable neck pillows, but with the ends 
wrapping around completely. It would look like a regular pillow with a hole, 
but would actually be a horseshoe shape with the ends touching.

Paul

 Gabi



Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread Paul Andrews
David,

Your designer may be able to force the scrollbars by adding an unobtrusive 
design element to the html (long one pixel wide image, or some CSS) to make the 
scrollbars operate.

Paul
  - Original Message - 
  From: David Pariente 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 3:11 PM
  Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


  i will look for a solution to put scroll bars inside the app changing the 
design a little...sorry for designer :P

  thnx to everyone anyway :)



  - Mensaje original 
  De: David Pariente [EMAIL PROTECTED]
  Para: flexcoders@yahoogroups.com
  Enviado: sábado, 30 de agosto, 2008 14:37:34
  Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?



  yah, its like that, the page is in the middle of the spaceand have some 
kind of shadows on the both sides. If i put scrollbars there design will broke.

  so i'm trying to find a way to put standard explorer scrollbar, i made them 
appear, but, they dont seem to work with flash content.



  - Mensaje original 
  De: Paul Andrews [EMAIL PROTECTED] com
  Para: [EMAIL PROTECTED] ups.com
  Enviado: sábado, 30 de agosto, 2008 14:23:53
  Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?



  I think the OP needs scrollbars at the side of the design because the flex 
app is centered and floating inside the html page. Adding a scrollbar to the 
flex would have the scrollbar in the page and spoiling the design aesthetic. I 
guess the designer has a html background to match the design of the flex app so 
that where flex ends and html begins isn't apparent.

  Paul
- Original Message - 
From: Howard Fore 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 1:12 PM
Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


I'm having a hard time following your explanation of which scrollbar comes 
from where (And I've had my own scroll issues), but have you thought about 
modifying the html-template file to use HTML frames (or an iFrame) so the 
center frame/iframe would have the Flex app and the scroll bars?


On Sat, Aug 30, 2008 at 7:10 AM, David Pariente xxmapachexx@ yahoo.es 
wrote:

  Hi all,
  I reopen this discussion because i got a case where i need to use 
vertical scrollbars from the explorer,

  i tried adding body { margin: 0px; overflow-x:hidden; overflow-y:scroll; 
} to the html, but then the scrollbar appears, but can't use.

  we are trying to avoid using the flex scrollbars, cause the app is 
positioned in the middle of the page, and has a special design on the borders 
of it (that whould completely mess if we use a scrollbar there).

  So my question is if it's possible to scroll vertically the full app, 
using the navigators scrollbars, or not. In case is not, can we put a flex 
scrollbar in the right border of the explorer (not the right border of the flex 
app).

  I still don't know if i have to contact the designer to tell her to 
change ALL her design cause of this scrollbars :(

  thnx in advance.



   _ _ _ _ __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo. yahoo.es 



-- 
Howard Fore, howard.fore@ hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood


   _ _ _ _ __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo. yahoo.es 

  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo.yahoo.es  

Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread Paul Andrews
Mission accomplished. Use this:

style

body {overflow:visible; height:1500px }

/style

In your html template for the project. Adapt to suit.

Paul

  - Original Message - 
  From: Paul Andrews 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 3:52 PM
  Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


   
  David,

  Your designer may be able to force the scrollbars by adding an unobtrusive 
design element to the html (long one pixel wide image, or some CSS) to make the 
scrollbars operate.

  Paul
- Original Message - 
From: David Pariente 
To: flexcoders@yahoogroups.com 
Sent: Saturday, August 30, 2008 3:11 PM
Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


i will look for a solution to put scroll bars inside the app changing the 
design a little...sorry for designer :P

thnx to everyone anyway :)



- Mensaje original 
De: David Pariente [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: sábado, 30 de agosto, 2008 14:37:34
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?



yah, its like that, the page is in the middle of the spaceand have some 
kind of shadows on the both sides. If i put scrollbars there design will broke.

so i'm trying to find a way to put standard explorer scrollbar, i made them 
appear, but, they dont seem to work with flash content.



- Mensaje original 
De: Paul Andrews [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado: sábado, 30 de agosto, 2008 14:23:53
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?



I think the OP needs scrollbars at the side of the design because the flex 
app is centered and floating inside the html page. Adding a scrollbar to the 
flex would have the scrollbar in the page and spoiling the design aesthetic. I 
guess the designer has a html background to match the design of the flex app so 
that where flex ends and html begins isn't apparent.

Paul
  - Original Message - 
  From: Howard Fore 
  To: [EMAIL PROTECTED] ups.com 
  Sent: Saturday, August 30, 2008 1:12 PM
  Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


  I'm having a hard time following your explanation of which scrollbar 
comes from where (And I've had my own scroll issues), but have you thought 
about modifying the html-template file to use HTML frames (or an iFrame) so the 
center frame/iframe would have the Flex app and the scroll bars?


  On Sat, Aug 30, 2008 at 7:10 AM, David Pariente xxmapachexx@ yahoo.es 
wrote:

Hi all,
I reopen this discussion because i got a case where i need to use 
vertical scrollbars from the explorer,

i tried adding body { margin: 0px; overflow-x:hidden; 
overflow-y:scroll; } to the html, but then the scrollbar appears, but can't use.

we are trying to avoid using the flex scrollbars, cause the app is 
positioned in the middle of the page, and has a special design on the borders 
of it (that whould completely mess if we use a scrollbar there).

So my question is if it's possible to scroll vertically the full app, 
using the navigators scrollbars, or not. In case is not, can we put a flex 
scrollbar in the right border of the explorer (not the right border of the flex 
app).

I still don't know if i have to contact the designer to tell her to 
change ALL her design cause of this scrollbars :(

thnx in advance.



 _ _ _ _ __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 



  -- 
  Howard Fore, howard.fore@ hofo.com
  The universe tends toward maximum irony. Don't push it. - Jeff Atwood


 _ _ _ _ __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 
   

[flexcoders] Printing Problems

2008-08-30 Thread donvoltz
Would anyone be able to tell me why the following code creates a blank
page. I am using Flex 3 on Mac OS 10.5

I am able to add the custom printing compoent to the application, the
print dialog opens and it looks to be processing the print, however, I
am left with 2 blank pages when it is done. In addition, it crashes
Firefox when the print job is complete. I have added some of the ideas
presented in this group, however, can not seem to find any additional
information on the web about this problem. Has anyone overcome the issue.

The function I am using to print is as follows

private function printDailyManpowerList(event:MouseEvent):void {
var printJob:FlexPrintJob = new FlexPrintJob(); 
//create flex
print job
 if (printJob.start() != true){
return;
 }
var dailyPrint:DailyManpowerListPrintView = new
DailyManpowerListPrintView(); //create new print component
this.parentApplication.addChild(dailyPrint);
printJob.addObject(dailyPrint);
callLater(printJob.send); //start print
this.parentApplication.removeChild(dailyPrint);//remove component from
container
}

The code for the DailyManpowerListPrintView is


?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:views=com.dynamicmedicalventures.De2ORApplication.views.*
backgroundColor=#FF width=500 height=900
mx:Script
![CDATA[
import
com.dynamicmedicalventures.De2ORApplication.vo.CoordinatorMessageVO;
import 
com.dynamicmedicalventures.De2ORApplication.model.AppModelLocator;
import
com.dynamicmedicalventures.De2ORApplication.factories.UtilityFunctions;
import mx.events.CloseEvent;
import mx.managers.PopUpManager;

[Bindable]
private var modelLocator:AppModelLocator = 
AppModelLocator.getInstance();
[Bindable]
public var messageDetails:CoordinatorMessageVO;
]]
/mx:Script

mx:Label id=printTitle text=Daily Manpower List for
{UtilityFunctions.formatDateDisplay(modelLocator.selectedDate)}/
views:UserListPrint id=dailyUsers
initialUserList={modelLocator.dailyUserList} width=100%
height=50% /
/mx:VBox

Thanks for any help

Don






Re: [flexcoders] Flex scheduling framework

2008-08-30 Thread Alan
I also have been curious about the framework -  my impression is that  
it has been 'lead out to pasture' .  Perhaps it's become obsolete or  
there isn't any demand for it.
No doubt the Flex team is over-burdened ( what dev team isn't ) and  
working on more pressing issues.  Maybe Adobe's management can be  
persuaded to allow the team to put together some basic 'getting  
started' articles and document the API.


I think that's the best we can hope for.

Alan
On Aug 30, 2008, at 1:38 AM, hworke wrote:


I guess Adobe Consulting team should guide us with some
good examples, articles and with good documentations so that
this projects do not like a useless piece of code. I
personally do like this a lot and believe that it has all
the potential to become one of the most used compone




Re: [flexcoders] Flex scheduling framework

2008-08-30 Thread Vivian Richard
   I agree with you in the point that Flex team is over-burdened and kind
   of abandoned the frame work. But I can guarantee this framework cannot
   be obsolete in the sense that there is a great demand for it. If you take
   a look at old emails you will be able to see that there are many people
   out there who needed a nice functional scheduling framework. My personal
   opinion is that since they have already put a lot of time to develop it,
   they should put a little more time to make it usable. Like you I am
   also hoping that they will come us with some good examples and
   make the API very clear.



On Sat, Aug 30, 2008 at 10:26 AM, Alan [EMAIL PROTECTED] wrote:
 I also have been curious about the framework -  my impression is that it has
 been 'lead out to pasture' .  Perhaps it's become obsolete or there isn't
 any demand for it.

 No doubt the Flex team is over-burdened ( what dev team isn't ) and working
 on more pressing issues.  Maybe Adobe's management can be persuaded to allow
 the team to put together some basic 'getting started' articles and document
 the API.
 I think that's the best we can hope for.
 Alan
 On Aug 30, 2008, at 1:38 AM, hworke wrote:

 I guess Adobe Consulting team should guide us with some
 good examples, articles and with good documentations so that
 this projects do not like a useless piece of code. I
 personally do like this a lot and believe that it has all
 the potential to become one of the most used compone

 


[flexcoders] What is the best way to measure htmlText at run time?

2008-08-30 Thread Aaron Miller
Hello,

I have to create Text components at run time and assign some content to it's
htmlText. I'm trying to figure out the best way to measure the content's
height, but so far have not been very good at it. Ideally, I would like to
use the same method Flex uses when the Text component is explicitly set in
the MXML like so:

mx:Text width=100% htmlText={HTML_CONTENT} /


I've tried using the seemingly obvious measureHTMLText, but this doesn't
seem to work as I expected it to.

===
?xml version=1.0 encoding=utf-8?
mx:Box xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100%


mx:Script
![CDATA[
import mx.utils.ObjectUtil;

[Bindable]
private var _htmlContent:String;

public function get htmlContent(): String {
return _htmlContent;
}

public function set htmlContent( data:String ): void {
_htmlContent = data;
}

private function onUpdateComplete(): void {
trace('HTMLContentBox.onUpdateComplete: '+_htmlContent);

//mesure content height and update this.height accordingly
var tm:TextLineMetrics = idContentText.measureHTMLText(_htmlContent);
trace( ObjectUtil.toString(tm) );

this.height = tm.height + this.getStyle('paddingBottom') +
this.getStyle('paddingTop');
}

]]
/mx:Script

mx:Text id=idContentText width=100% height=100%
selectable=false htmlText={_htmlContent} styleName=mediumStandardLabel
 updateComplete=onUpdateComplete(); /
/mx:Box
===


So, this leaves me with a question. What is the official way to measure
htmlText at run time?


Thanks for any input!
~Aaron


[flexcoders] Re: Keydownhandler fires twice for each keystroke

2008-08-30 Thread aceoohay
I found a little more information.

This undesireable feature, aka bug manifests itself only if you 
make the combobox editable.

I removed the editable=true and the problem goes away.

Paul

--- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote:

 Since creating a test case would be challenging I am posting the 
 component ValidatedComboBox.as. The problem I am having is that it 
 appears to call the keyDownHandler(event:KeyboardEvent):void 
function 
 twice for each keystroke. I have commented out most of that 
 function's code, as it used to handle all input there but now I 
only 
 handle the backspace there this is a patch to get it to function 
 somewhat.
 
 
 package Classes.Input
 {
   import flash.events.Event;
   import mx.controls.ComboBox;
   import flash.events.KeyboardEvent;
   import flash.ui.Keyboard;
   import flash.events.FocusEvent;
   import flash.events.MouseEvent;
   
   /**
* Create an extended version of the ComboBox that allows the 
 definition of invalid indexes.
* 
* The developer defines one or more invalid indexes in a 
 comma separated list using the property badIndexes.
* Most commonly the developer would specify 0 which is the 
 first element in the list.
* 
* New properties are;
* badIndexes - A string that allows the developer to define 
 a comma separated list of invalid indexes.
* isVald - A boolean that defines whether the field is valid.
* 
* New Methods are;
* validateData() - This method checks if the data is valid 
 and returns true if valid, false if invalid.
* 
*/
   public class ValidatedComboBox extends ComboBox
   {
   /** Bad indexes - A comma separated list of invalid 
 indexes. */
   private var _badIndexes:String = ;
   
   /** Has this field passed validation */
   private var _isValid:Boolean = true;
   
   /** value */
   private var _value:Object;
   
   /** should we validate data */
   private var _doValidateData:Boolean = true;
   
   /** promptLabel */
   private var _promptLabel:String;
   
   /** toolTipField */
   private var _toolTipField:String = ;
   
   /** Default value A literal that represents the value 
 that will replace the value
* property when the method setDefault is executed */
   private var _defaultValue:String = ;
   
   private var _eventHandler:Function = this
 [checkData];
   
   private var _typedText:String = ;
   
   public function ValidatedComboBox()
   {
   //TODO: implement function
   super();
   this.addEventListener
 (Event.CHANGE,_eventHandler)
   }
   
   /**
* Add a new inspectable property so the user can 
 enter the Bad Indexesn 
*  at authortime via the properties panel.
* 
* @return the specified bad indexes
*/
   [Inspectable( type=String , defaultValue= )]
   public function get badIndexes():String 
   {
   return this._badIndexes;
   } 
   /**
* Sets the the specified bad indexes
*/
   public function set badIndexes( 
 badIndexes:String ):void 
   {
   this._badIndexes = badIndexes;
   }
   
   /**
* Add a new inspectable property so the user can 
 enter the promptLabel for the field 
*  at authortime via the properties panel.
* 
* @return the specified promptLabel
*/
   [Inspectable( type=String , defaultValue= )]
   public function get promptLabel():String 
   {
   return this._promptLabel;
   } 
   /**
* Sets the the specified promptLabel
*/
   public function set promptLabel( 
 promptLabel:String ):void 
   {
   this._promptLabel = promptLabel;
   }
   
   /**
* Add a new inspectable property so the user can 
 specify the whether this field should be validated 
* via the properties panel.
* 
* @return the specified validate data flag.
*/
   [Inspectable( type=Boolean , defaultValue=false, 
 enumeration=true,false )]
   public function get doValidateData():Boolean 
   {
 

[flexcoders] Flash skin for DataGrid sort arrow doesn't flip when sort order changes

2008-08-30 Thread rachelmaxim
Hello

I'm wondering if anyone else has encountered this and might know why
it happens and how to fix it :)

I skinned a DataGrid with Flash using the templates provided with
Flash CS3. When I use that skin, the sort arrow in the Data Grid
Header doesn't flip upside down when the sort order of the grid
changes. It just moves up and down a few pixels. So no matter what,
the arrow always points down.

There doesn't seem to be multiple states/frames or anything in the
skins that allow me to specify a different movie clip or skin. I also
can't find anything about explicitly skinning the up/down arrow states.

I'd greatly appreciate any insights.

Thanks!
Rachel Lehman 



Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson

I apologize to you Alex.

You seem level headed, and I agree, after reading some of the things I  
have, perhaps it was perceived as Fire and Brimstone.


One sure fact is, I've spent 3 years developing my own eCommerce  
Platform based on FLEX and an XML storage repository.


To see the press release about Adobe creating applications just like  
the ones I, and I'm sure others, had and have planned, seems to be to  
be not the safest technology base to be in.


I have had a good look at OpenLaszlo.org and in Version 4.0 it looks  
like a great way to integrate things similar to Papervision3D, or even  
a CUDO based plug-in for NVIDIA CUDO 'C' programming language based  
GPU (graphics processing language) usage.


Macromedia has never taken a step like I saw in the press release and  
Whitepaper and client-list as Adobe has with Scene7 that will effect  
FLEX developers more than the majority of them realize right now.


Believe it or not, I'm on the SilverLight soap-box now also.  I'm on  
it all...no more blind happy pappa dedication to Adobe, they've made  
their plans clear.


So that's just my apology and response to you and to anyone I've  
offended.  I'm not making any money or getting off on these posts, I  
am genuinely concerned.


-r

On Aug 29, 2008, at 10:39 PM, Alex Harui wrote:



Matt Chotin is away this week and has moved from development to  
product management and therefore must now choose his words  
carefully.  I’m still in development so maybe I can get away with  
more.




Robert, I don’t think we’ve met, and I haven’t gone back to see your  
past history with Flex, but I would like to ask  you to think twice  
about the way you are trying to get your message across before  
hitting send.  Sending high priority messages, and maybe not having  
all of your facts straight, discredits your message and invites  
others to get mad or poke fun or both.  I believe your message is  
that Adobe also sells solutions via Scene7 and Adobe Consulting and  
could purposefully or accidentally end up competing with  
independents like yourself, and that there are alternatives to Flex  
such as OpenLaszlo and Silverlight and Quicktime.  That part of your  
message is not really debatable.  I’ve worked for Lotus and IBM in  
my past and they also both sold development tools and had solutions  
teams and there is a fine line they have to walk.  Occasionally,  
they stepped on one of their independents.




It is unfortunate that you’ve been burned in the past, and you and  
others should definitely keep on the lookout for competition whether  
from Adobe or other independents.  However, the call to arms to have  
everyone attend a webinar did not warrant “red alert” status.   
Yellow maybe.  And based on your past, I’m surprised you would place  
so much weight on what you would hear in a webinar or in any public  
statement by Adobe.  This is a fast moving marketplace and Adobe can  
change its mind right after talking to you.  You’ll always have to  
read the tea leaves and be ready to change course yourself.




Finally, this forum is not an Adobe forum.  There are non-Adobe  
moderators.  As far as I’m concerned, you can get on your soapbox  
anytime you want, but if you want to reach a wide audience, fire and  
brimstone may not be the best approach.  If you just want to vent,  
please warn us up front.  And when you get on your soapbox,  
sometimes you just have a clever comeback line or just ignore the  
hecklers, including me.  Yelling back at them is a waste of your  
energy.  Take the high road, choose your technologies, remain nimble  
and good luck to you.




-Alex



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On Behalf Of Robert Thompson

Sent: Friday, August 29, 2008 3:50 PM
To: flexcoders@yahoogroups.com
Cc: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight,  
AJAX, soon Quicktime, and also DHTML and W3C




If you would just read your own comments you'd realize I'm posting  
objectively and angering just the few of you.


I'm thankful to the posters the other day who said, essentially, if  
you're not interested don't read it.


If your thankful to get some information to get to the root of the  
matter, look into it.


I spent $1,777 on FLEX 3.0 with ILOG Elixr, and a lot more on Master  
Suite.


So don't tell me I don't have the right to question the money I've  
spent and the time invested, and cut my losses, and simply make  
others aware that there is a War of the RIAs going on and if you  
care to look into it, here's an article on it,


http://counternotions.com/2007/11/15/apple-runtime-answer-2/

I have asked questions about coding. But I'm also looking for the  
stability of the platform. I pushed very hard from someone to step  
up and create an OpenGL framework, and although I'm sure there are  
others, I was one of them, rooting for Adobe, and Macromedia  
developers like Matt Chotin and a few others 

Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson

Alex,

I appreciated your post.

It was helpful.

There have been others that have sent me a nice reply saying that it  
is good to keep any eye out, and for those that look into Scene7, they  
can make their own conclusions.


I appreciated your time and post and thanked you.

I wouldn't demand anything from you - and I don't think anyone else  
should either.


I would demand that Adobe not compete against FLEX users by combining  
the Scene7 platform with a FLEX based user interface that serves the  
masses, and will cause, at the very least, many potential clients to  
say No early on, and then never re-connect again whether they have  
success with Scene7 or not - and it's relevant because it's a FLEX  
based interface for corporations.


I'm for everyone at this point, except those who don't have ethics.

-r

On Aug 29, 2008, at 11:52 PM, Alex Harui wrote:



Didn’t take much time at all.  Wrote it while running unit tests.   
Please start a new thread about a scheduling framework and what is  
missing.  I doubt I will have time to do anything, but maybe someone  
else in the community can.




From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]  
On Behalf Of Vivian Richard

Sent: Friday, August 29, 2008 8:14 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight,  
AJAX, soon Quicktime, and also DHTML and W3C




Wow Alex you definitely did spent a lot of time to write
this email. Your time is really precious for the whole user
group. I am sure you could come up with another excellent
flex example if you would code during this time!!! :-) Alex
please develop a good example of flex schedule framework.
It is been a while that flex schedule framework came out
and there are no good examples out there. Now we
are looking at you to show us the way. Please give us time
and develop ALEXIAN example of flex schedule frame work.
It is not a rude demand but a humble request. Cheers

On Fri, Aug 29, 2008 at 7:39 PM, Alex Harui [EMAIL PROTECTED] wrote:
 Matt Chotin is away this week and has moved from development to  
product
 management and therefore must now choose his words carefully. I'm  
still in

 development so maybe I can get away with more.



 Robert, I don't think we've met, and I haven't gone back to see  
your past
 history with Flex, but I would like to ask you to think twice  
about the way
 you are trying to get your message across before hitting send.  
Sending high

 priority messages, and maybe not having all of your facts straight,
 discredits your message and invites others to get mad or poke fun  
or both.
 I believe your message is that Adobe also sells solutions via  
Scene7 and
 Adobe Consulting and could purposefully or accidentally end up  
competing
 with independents like yourself, and that there are alternatives  
to Flex
 such as OpenLaszlo and Silverlight and Quicktime. That part of  
your message
 is not really debatable. I've worked for Lotus and IBM in my past  
and they
 also both sold development tools and had solutions teams and there  
is a fine

 line they have to walk. Occasionally, they stepped on one of their
 independents.



 It is unfortunate that you've been burned in the past, and you and  
others
 should definitely keep on the lookout for competition whether from  
Adobe or
 other independents. However, the call to arms to have everyone  
attend a
 webinar did not warrant red alert status. Yellow maybe. And  
based on
 your past, I'm surprised you would place so much weight on what  
you would
 hear in a webinar or in any public statement by Adobe. This is a  
fast
 moving marketplace and Adobe can change its mind right after  
talking to
 you. You'll always have to read the tea leaves and be ready to  
change

 course yourself.



 Finally, this forum is not an Adobe forum. There are non-Adobe  
moderators.
 As far as I'm concerned, you can get on your soapbox anytime you  
want, but
 if you want to reach a wide audience, fire and brimstone may not  
be the best
 approach. If you just want to vent, please warn us up front. And  
when you
 get on your soapbox, sometimes you just have a clever comeback  
line or just
 ignore the hecklers, including me. Yelling back at them is a waste  
of your
 energy. Take the high road, choose your technologies, remain  
nimble and

 good luck to you.



 -Alex



 From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On

 Behalf Of Robert Thompson
 Sent: Friday, August 29, 2008 3:50 PM
 To: flexcoders@yahoogroups.com
 Cc: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] OpenLaszlo.org supports Flex,  
Silverlight, AJAX,

 soon Quicktime, and also DHTML and W3C



 If you would just read your own comments you'd realize I'm posting
 objectively and angering just the few of you.

 I'm thankful to the posters the other day who said, essentially,  
if you're

 not interested don't read it.

 If your thankful to get some information to get to the root of the  

Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson

I agree.  Let's see what happens.

Everyone here is an individual that can judge for themselves.

I myself and quite concerned.

I hope to be more informed than the Press Releases, White-paper and  
list of Clients already served by Adobe with a solution akin to the  
Hybrid or Flex Store and based on a high-performance platform.


Great.  But where does that FLEX mass-appeal product leave the  
developers.


If Scene7.com did it themselves great.  But Adobe has purchased them,  
the CEO of Adobe resigned about the same time, and now we have a new  
Adobe who is building a hybrid lightweight operating system in AIR  
that I have been very excited about in the past in my posts here, and  
in an OpenGL display framework (Papervision3D to the rescue), but now  
Adobe has just added a new dimension to all of thiscompetition in  
a very real sense against a developer, for example, bidding for a  
Small Running Shoe company.  Do they choose Adobe Scene7 or do they  
choose a developer?  Probably Adobe.


A ran 8:52 for the 3200m in college, All SEC twice, and NCAA  
Division-1, 3rd place championship team, and had a good running  
career, which is why I brought up the example of a running shoe store.


-r



On Aug 30, 2008, at 1:39 AM, Vivian Richard wrote:


As you said Alex, started a new thread and lets see what happens.

On Fri, Aug 29, 2008 at 8:52 PM, Alex Harui [EMAIL PROTECTED] wrote:
 Didn't take much time at all. Wrote it while running unit tests.  
Please
 start a new thread about a scheduling framework and what is  
missing. I

 doubt I will have time to do anything, but maybe someone else in the
 community can.



 From: flexcoders@yahoogroups.com  
[mailto:[EMAIL PROTECTED] On

 Behalf Of Vivian Richard
 Sent: Friday, August 29, 2008 8:14 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] OpenLaszlo.org supports Flex,  
Silverlight, AJAX,

 soon Quicktime, and also DHTML and W3C



 Wow Alex you definitely did spent a lot of time to write
 this email. Your time is really precious for the whole user
 group. I am sure you could come up with another excellent
 flex example if you would code during this time!!! :-) Alex
 please develop a good example of flex schedule framework.
 It is been a while that flex schedule framework came out
 and there are no good examples out there. Now we
 are looking at you to show us the way. Please give us time
 and develop ALEXIAN example of flex schedule frame work.
 It is not a rude demand but a humble request. Cheers

 On Fri, Aug 29, 2008 at 7:39 PM, Alex Harui [EMAIL PROTECTED]  
wrote:
 Matt Chotin is away this week and has moved from development to  
product
 management and therefore must now choose his words carefully. I'm  
still in

 development so maybe I can get away with more.



 Robert, I don't think we've met, and I haven't gone back to see  
your past
 history with Flex, but I would like to ask you to think twice  
about the

 way
 you are trying to get your message across before hitting send.  
Sending

 high
 priority messages, and maybe not having all of your facts straight,
 discredits your message and invites others to get mad or poke fun  
or both.
 I believe your message is that Adobe also sells solutions via  
Scene7 and
 Adobe Consulting and could purposefully or accidentally end up  
competing
 with independents like yourself, and that there are alternatives  
to Flex

 such as OpenLaszlo and Silverlight and Quicktime. That part of your
 message
 is not really debatable. I've worked for Lotus and IBM in my past  
and they
 also both sold development tools and had solutions teams and  
there is a

 fine
 line they have to walk. Occasionally, they stepped on one of their
 independents.



 It is unfortunate that you've been burned in the past, and you  
and others
 should definitely keep on the lookout for competition whether  
from Adobe

 or
 other independents. However, the call to arms to have everyone  
attend a
 webinar did not warrant red alert status. Yellow maybe. And  
based on
 your past, I'm surprised you would place so much weight on what  
you would
 hear in a webinar or in any public statement by Adobe. This is a  
fast
 moving marketplace and Adobe can change its mind right after  
talking to
 you. You'll always have to read the tea leaves and be ready to  
change

 course yourself.



 Finally, this forum is not an Adobe forum. There are non-Adobe  
moderators.
 As far as I'm concerned, you can get on your soapbox anytime you  
want, but
 if you want to reach a wide audience, fire and brimstone may not  
be the

 best
 approach. If you just want to vent, please warn us up front. And  
when you
 get on your soapbox, sometimes you just have a clever comeback  
line or

 just
 ignore the hecklers, including me. Yelling back at them is a  
waste of your
 energy. Take the high road, choose your technologies, remain  
nimble and

 good luck to you.



 -Alex



 From: flexcoders@yahoogroups.com  

RE: [flexcoders] What is the best way to measure htmlText at run time?

2008-08-30 Thread Jim Hayes
I seem to remember having some case where a textArea would not update it's size 
measurements until it was validated .
I may well be wrong about this, but try :

private function onUpdateComplete(): void {

idContentText.validateNow();

trace('HTMLContentBox.onUpdateComplete: '+_htmlContent);

//mesure content height and update this.height accordingly
var tm:TextLineMetrics = idContentText.measureHTMLText(_htmlContent);
trace( ObjectUtil.toString(tm) );

this.height = tm.height + this.getStyle('paddingBottom') + 
this.getStyle('paddingTop');
}

apologies if it's not actually the correct answer, but the rest of your code 
looks pretty sensible to me - I'm wondering if it's being measured at the wrong 
time?


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Aaron Miller
Sent: Sat 30/08/2008 20:06
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What is the best way to measure htmlText at run time?
 
Hello,

I have to create Text components at run time and assign some content to it's
htmlText. I'm trying to figure out the best way to measure the content's
height, but so far have not been very good at it. Ideally, I would like to
use the same method Flex uses when the Text component is explicitly set in
the MXML like so:

mx:Text width=100% htmlText={HTML_CONTENT} /


I've tried using the seemingly obvious measureHTMLText, but this doesn't
seem to work as I expected it to.

===
?xml version=1.0 encoding=utf-8?
mx:Box xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100%


mx:Script
![CDATA[
import mx.utils.ObjectUtil;

[Bindable]
private var _htmlContent:String;

public function get htmlContent(): String {
return _htmlContent;
}

public function set htmlContent( data:String ): void {
_htmlContent = data;
}

private function onUpdateComplete(): void {
trace('HTMLContentBox.onUpdateComplete: '+_htmlContent);

//mesure content height and update this.height accordingly
var tm:TextLineMetrics = idContentText.measureHTMLText(_htmlContent);
trace( ObjectUtil.toString(tm) );

this.height = tm.height + this.getStyle('paddingBottom') +
this.getStyle('paddingTop');
}

]]
/mx:Script

mx:Text id=idContentText width=100% height=100%
selectable=false htmlText={_htmlContent} styleName=mediumStandardLabel
 updateComplete=onUpdateComplete(); /
/mx:Box
===


So, this leaves me with a question. What is the official way to measure
htmlText at run time?


Thanks for any input!
~Aaron


__
This communication is from Primal Pictures Ltd., a company registered in 
England and Wales with registration No. 02622298 and registered office: 4th 
Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK. VAT 
registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and 
used only by the intended recipient. If you have received it in error, please 
contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 
1010. Please then delete the e-mail and do not disclose its contents to any 
person.
This email has been scanned for Primal Pictures by the MessageLabs Email 
Security System.
__winmail.dat

[flexcoders] Want to build a SWF on the fly when someone requests it

2008-08-30 Thread kuntamayu
From my flex project, I want to create a swf file on fly - to save
clients' data .

Clients' data may contains Image, Text, Video, Audio and web link.

How to save this data in a swf file at server side.

( We are using java for server side code )

Waiting for reply.



RE: [flexcoders] Using view stack to link to mxml

2008-08-30 Thread Pankaj Arora
Yes they are completely different swf files( there are 4 of them in
total). One of them is main.swf which has few text boxes and buttons. On
clicking button 1 hello2. swf is loaded and it access all the
information from main.swf and similarly on clicking button2 another swf
file hello2.swf is loadead and so forth. 

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nate Beck
Sent: Friday, August 29, 2008 3:58 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Using view stack to link to mxml

 

Okay, so just to clarify. You're wanting to communicate from one
application to another application?  They are completely different swf
files?

 

Like this?

 

Example HTML page:

html

headtitleTesting Flex/title/head

body

object id=Hello1 width=300 height=200

param name=movie
value=Hello1.swf /

param name=allowScriptAccess
value=sameDomain /

embed src=Hello1.swf

width=300 height=200
name=Hello1

 
allowScriptAccess=sameDomain

 
type=application/x-shockwave-flash

/embed

/object



object id=Hello2 width=300 height=200

param name=movie
value=Hello2.swf /

param name=allowScriptAccess
value=sameDomain /

embed src=Hello2.swf

width=300 height=200
name=Hello2

 
allowScriptAccess=sameDomain

 
type=application/x-shockwave-flash

/embed

/object

/body

/html

 

On Fri, Aug 29, 2008 at 3:43 PM, Pankaj Arora [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

I am sorry I dint explain it well. Let me give you one example.

 

Two files attached are 2 mxml applications I have in my project. I load
each independently in an .xhtml file.

 

My requirement is when I add text on the text box in Hello1.mxml and
click the click me button Hello2.mxml is shown and the text box in
Hello2 contains the text from the Hello1.mxml text box.

 

 

Do tell me if you need any more information.

 

Thanks,

Pankaj Arora



From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
On Behalf Of Nate Beck
Sent: Friday, August 29, 2008 3:15 PM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Using view stack to link to mxml

 

I'm a bit confused on how you mean load another application.  You
could either load a Component (compiled into your swf) or a Module
(compiled separate from your application).

 

From how I read it, this sounds like you're trying to load one MXML swf
inside of another application. One of the easiest ways to do this would
be through using Flex Modules (mx:Module).

 

More information would we useful.

 

Cheers,

Nate

 

On Fri, Aug 29, 2008 at 2:10 PM, pankajarora_in [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

I have a appplication abc.mxml
and there are 2 buttons but1 and but2 in it.
WHen I press but1 I need to call to anothe application 1.mxml
and when I press button 2 I need to call 3rd application 3.xml. Note
that pressing any button pass on data from abc.mxml to 1.mxml and
2.mxml. Any ideas how it can be done. I think viewstack can be one way
but any examples will be appreciated.

 

 

 



[flexcoders] Re: Flash skin for DataGrid sort arrow doesn't flip when sort order changes

2008-08-30 Thread rachelmaxim
I seem to have solved the problem by exporting the arrow artwork as
its own swf and then using that as the sort arrow skin, not sure why
it won't work as part of the template though! 



Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread [EMAIL PROTECTED]
There is a different way to look at this. Right now, Flash is still just 
and on-line technology in the view of most people. Even though AIR 
does a lot of things, people still don't think it is very important. 
Similar problem that Microsoft had with VB being considered only a 
desktop tech and almost none taking it seriously as a server until 
Microsoft built server based applications.

For me, Mass appeal of AIR is huge! It would mean that I can push Flex 
as a Desktop as well as a Web application. It becomes the replacement 
for VB and .net which then lets me solidify the build once/deploy 
everywhere that we have been talking about since the early Java days.

I understand your concern that Adobe is doing similar things as you are 
however, Micorsoft, IBM, Oracle and most others also make a lot of 
applications that are similar to what their developers build also. The 
difference is customization as well as usage. I think if Adobe can 
produce good desktop and Web applications that we can showcase, we will 
be able to move the market away from Microsoft and Sun and increase the 
viability of using Flex in corporations.

For me, at my company we were choosing between Silverlight, JavaFX, Doja 
and Flex. It was the fact that Microsoft had released Photoshop Express 
that helped to sell Flex.

That is my .02.


Robert Thompson wrote:

 I agree.  Let's see what happens.


 Everyone here is an individual that can judge for themselves.

 I myself and quite concerned.

 I hope to be more informed than the Press Releases, White-paper and 
 list of Clients already served by Adobe with a solution akin to the 
 Hybrid or Flex Store and based on a high-performance platform.

 Great.  But where does that FLEX mass-appeal product leave the developers.

 If Scene7.com did it themselves great.  But Adobe has purchased them, 
 the CEO of Adobe resigned about the same time, and now we have a new 
 Adobe who is building a hybrid lightweight operating system in AIR 
 that I have been very excited about in the past in my posts here, and 
 in an OpenGL display framework (Papervision3D to the rescue), but now 
 Adobe has just added a new dimension to all of thiscompetition in 
 a very real sense against a developer, for example, bidding for a 
 Small Running Shoe company.  Do they choose Adobe Scene7 or do they 
 choose a developer?  Probably Adobe.

 A ran 8:52 for the 3200m in college, All SEC twice, and NCAA 
 Division-1, 3rd place championship team, and had a good running 
 career, which is why I brought up the example of a running shoe store.

 -r

 **
 *  *



Re: [flexcoders] Using view stack to link to mxml

2008-08-30 Thread Pedro Sena
Pankaj,

Do you have control (can alter the source) of all those swfs? I would
recomend you to manipulate those swf files as flex modules instead of put
all of them in yout html. That way you can easily send/receive data between
them AND have the advantage to load them just when you need it, what does
not happens when you put all together in your html file.

Hope this helps

On Fri, Aug 29, 2008 at 8:29 PM, Pankaj Arora [EMAIL PROTECTED] wrote:

Yes they are completely different swf files( there are 4 of them in
 total). One of them is main.swf which has few text boxes and buttons. On
 clicking button 1 hello2. swf is loaded and it access all the information
 from main.swf and similarly on clicking button2 another swf file hello2.swf
 is loadead and so forth.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Nate Beck
 *Sent:* Friday, August 29, 2008 3:58 PM

 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Using view stack to link to mxml



 Okay, so just to clarify. You're wanting to communicate from one
 application to another application?  They are completely different swf
 files?



 Like this?



 Example HTML page:

 html

 headtitleTesting Flex/title/head

 body

 object id=Hello1 width=300 height=200

 param name=movie value=Hello1.swf
 /

 param name=allowScriptAccess
 value=sameDomain /

 embed src=Hello1.swf

 width=300 height=200
 name=Hello1


 allowScriptAccess=sameDomain


 type=application/x-shockwave-flash

 /embed

 /object



 object id=Hello2 width=300 height=200

 param name=movie value=Hello2.swf
 /

 param name=allowScriptAccess
 value=sameDomain /

 embed src=Hello2.swf

 width=300 height=200
 name=Hello2


 allowScriptAccess=sameDomain


 type=application/x-shockwave-flash

 /embed

 /object

 /body

 /html



 On Fri, Aug 29, 2008 at 3:43 PM, Pankaj Arora [EMAIL PROTECTED] wrote:

 I am sorry I dint explain it well. Let me give you one example.



 Two files attached are 2 mxml applications I have in my project. I load
 each independently in an .xhtml file.



 My requirement is when I add text on the text box in Hello1.mxml and click
 the click me button Hello2.mxml is shown and the text box in Hello2
 contains the text from the Hello1.mxml text box.





 Do tell me if you need any more information.



 Thanks,

 Pankaj Arora
  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Nate Beck
 *Sent:* Friday, August 29, 2008 3:15 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Using view stack to link to mxml



 I'm a bit confused on how you mean load another application.  You could
 either load a Component (compiled into your swf) or a Module
 (compiled separate from your application).



 From how I read it, this sounds like you're trying to load one MXML swf
 inside of another application. One of the easiest ways to do this would be
 through using Flex Modules (mx:Module).



 More information would we useful.



 Cheers,

 Nate



 On Fri, Aug 29, 2008 at 2:10 PM, pankajarora_in [EMAIL PROTECTED]
 wrote:

 I have a appplication abc.mxml
 and there are 2 buttons but1 and but2 in it.
 WHen I press but1 I need to call to anothe application 1.mxml
 and when I press button 2 I need to call 3rd application 3.xml. Note
 that pressing any button pass on data from abc.mxml to 1.mxml and
 2.mxml. Any ideas how it can be done. I think viewstack can be one way
 but any examples will be appreciated.





  




-- 
/**
* Pedro Sena
* Systems Architect
* Sun Certified Java Programmer
* Sun Certified Web Component Developer
*
* Net Sar
* www.netsar.com.br
*/


Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Paul Andrews
- Original Message - 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 11:02 PM
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, 
soon Quicktime, and also DHTML and W3C


 There is a different way to look at this. Right now, Flash is still just
 and on-line technology in the view of most people. Even though AIR
 does a lot of things, people still don't think it is very important.
 Similar problem that Microsoft had with VB being considered only a
 desktop tech and almost none taking it seriously as a server until
 Microsoft built server based applications.

 For me, Mass appeal of AIR is huge! It would mean that I can push Flex
 as a Desktop as well as a Web application. It becomes the replacement
 for VB and .net which then lets me solidify the build once/deploy
 everywhere that we have been talking about since the early Java days.

 I understand your concern that Adobe is doing similar things as you are
 however, Micorsoft, IBM, Oracle and most others also make a lot of
 applications that are similar to what their developers build also. The
 difference is customization as well as usage. I think if Adobe can
 produce good desktop and Web applications that we can showcase, we will
 be able to move the market away from Microsoft and Sun and increase the
 viability of using Flex in corporations.

 For me, at my company we were choosing between Silverlight, JavaFX, Doja
 and Flex. It was the fact that Microsoft had released Photoshop Express
 that helped to sell Flex.

Scary. Microsoft just bought Adobe. Shriek!

The development world is big and Adobe consulting doesn't come cheap, so I 
think there's those that can afford the cream of the crop no matter what the 
cost and then there's the rest of the world that have budgets, so there's 
always going to be room for everyone.

Paul

 That is my .02.


 Robert Thompson wrote:

 I agree.  Let's see what happens.


 Everyone here is an individual that can judge for themselves.

 I myself and quite concerned.

 I hope to be more informed than the Press Releases, White-paper and
 list of Clients already served by Adobe with a solution akin to the
 Hybrid or Flex Store and based on a high-performance platform.

 Great.  But where does that FLEX mass-appeal product leave the 
 developers.

 If Scene7.com did it themselves great.  But Adobe has purchased them,
 the CEO of Adobe resigned about the same time, and now we have a new
 Adobe who is building a hybrid lightweight operating system in AIR
 that I have been very excited about in the past in my posts here, and
 in an OpenGL display framework (Papervision3D to the rescue), but now
 Adobe has just added a new dimension to all of thiscompetition in
 a very real sense against a developer, for example, bidding for a
 Small Running Shoe company.  Do they choose Adobe Scene7 or do they
 choose a developer?  Probably Adobe.

 A ran 8:52 for the 3200m in college, All SEC twice, and NCAA
 Division-1, 3rd place championship team, and had a good running
 career, which is why I brought up the example of a running shoe store.

 -r

 ** 



[flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
Hi all, 

I wanna put an icon over a panel title, on the right side.

I tried and tried, but it seems like the panel title allways get over my icon, 
even i put icon inside a canvas, add it from outside the panel element...seems 
nothing i try brings my icon over it :(

If is impossible to do so...I feel is so strange, because is quite normal to 
make an app where u can move panel over eachother, like they where windows.

Anyone knows an easy way to put the icon where i wan it? 

(note: i'm not adding it as a panel title icon, i'm just addding it directy 
over, or inside a canvas).

Thnx a lot.


__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

2008-08-30 Thread David Pariente
I wish i could know the size in pixels of the pagebutit changes with 
the content.
Is ok, i convinced designer to change design a little and use flex scrollbars :)

Hope i don't have to make designer change too many things...:)

thnx for the help :)




- Mensaje original 
De: Paul Andrews [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: sábado, 30 de agosto, 2008 17:05:39
Asunto: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?


 
Mission accomplished. Use this:
 
style
body {overflow:visible; height:1500px }
/style
In your html template for the project. Adapt to suit.
Paul
- Original Message - 
From: Paul Andrews 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 3:52  PM
Subject: Re: [flexcoders] Vertical Scroll  Bar in Browser, can be done?
 
David,
 
Your designer may be able to force the scrollbars  by adding an unobtrusive 
design element to the html (long one pixel wide  image, or some CSS) to make 
the scrollbars operate.
 
Paul
- Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 3:11  PM
Subject: Re: [flexcoders] Vertical  Scroll Bar in Browser, can be done?

i will look for a solution to put scroll bars inside the app changing  the 
design a little...sorry for designer :P

thnx to everyone anyway  :)



-  Mensaje original 
De: David Pariente xxmapachexx@ yahoo.es
Para: [EMAIL PROTECTED] ups.com
Enviado:  sábado, 30 de agosto, 2008 14:37:34
Asunto: Re: [flexcoders] Vertical  Scroll Bar in Browser, can be done?


yah, its like that, the page is in the middle of the spaceand have  some 
kind of shadows on the both sides. If i put scrollbars there design  will broke.

so i'm trying to find a way to put standard explorer  scrollbar, i made them 
appear, but, they dont seem to work with flash  content.



-  Mensaje original 
De: Paul Andrews [EMAIL PROTECTED]  com
Para: [EMAIL PROTECTED] ups.com
Enviado: sábado, 30 de  agosto, 2008 14:23:53
Asunto: Re: [flexcoders] Vertical Scroll Bar in  Browser, can be done?


I think the OP needs scrollbars at the side of  the design because the flex app 
is centered and floating inside the html  page. Adding a scrollbar to the flex 
would have the scrollbar in the page  and spoiling the design aesthetic. I 
guess the designer has a html  background to match the design of the flex app 
so that where flex ends and  html begins isn't apparent.
 
Paul
-  Original Message - 
From: Howard  Fore 
To: [EMAIL PROTECTED]  ups.com 
Sent: Saturday, August 30, 2008 1:12 PM
Subject: Re: [flexcoders] Vertical Scroll Bar in Browser, can be done?

I'm having a hard time following your explanation of which  scrollbar comes 
from where (And I've had my own scroll issues), but have  you thought about 
modifying the html-template file to use HTML frames (or  an iFrame) so the 
center frame/iframe would have the Flex app and the  scroll bars?


On Sat, Aug 30, 2008 at 7:10 AM, David Pariente xxmapachexx@  yahoo.es wrote:

Hi all,
I reopen this discussion because i got a case where i  need to use vertical 
scrollbars from the explorer,

i tried adding  body { margin: 0px; overflow-x:hidden; overflow-y:scroll; } to 
the html,  but then the scrollbar appears, but can't use.

we are trying to  avoid using the flex scrollbars, cause the app is positioned 
in the  middle of the page, and has a special design on the borders of it (that 
 whould completely mess if we use a scrollbar there).

So my  question is if it's possible to scroll vertically the full app, using  
the navigators scrollbars, or not. In case is not, can we put a flex  scrollbar 
in the right border of the explorer (not the right border of  the flex app).

I still don't know if i have to contact the  designer to tell her to change ALL 
her design cause of this scrollbars  :(

thnx in advance.


 _  _ _ _ __
Correo Yahoo!
Espacio para todos  tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.  yahoo.es 


-- 
Howard Fore, howard.fore@ hofo.com
The  universe tends toward maximum irony. Don't push it. - Jeff  Atwood

  _ _ _ _ __
Correo Yahoo!
Espacio para  todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya -  http://correo. yahoo.es 
 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es  

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread Sherif Abdou
Have you tried bringing the index up of the Icon, so doing 
setChildIndex(name,int)
  - Original Message - 
  From: David Pariente 
  To: flexcoders 
  Sent: Saturday, August 30, 2008 5:51 PM
  Subject: [flexcoders] Image over a panel title?



  Hi all, 

  I wanna put an icon over a panel title, on the right side.

  I tried and tried, but it seems like the panel title allways get over my 
icon, even i put icon inside a canvas, add it from outside the panel 
element...seems nothing i try brings my icon over it :(

  If is impossible to do so...I feel is so strange, because is quite normal to 
make an app where u can move panel over eachother, like they where windows.

  Anyone knows an easy way to put the icon where i wan it? 

  (note: i'm not adding it as a panel title icon, i'm just addding it directy 
over, or inside a canvas).

  Thnx a lot.


  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo.yahoo.es 

   

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
oh, didn't know something like that existed...
...i thought that was a tab index...not a depth index...

i will try :) thnx a lot



- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: domingo, 31 de agosto, 2008 1:33:39
Asunto: Re: [flexcoders] Image over a panel title?


 
Have you tried bringing the index up of the Icon, 
so doing setChildIndex( name,int)
- Original Message - 
From: David  Pariente 
To: flexcoders 
Sent: Saturday, August 30, 2008 5:51  PM
Subject: [flexcoders] Image over a panel  title?

Hi all, 

I wanna put an icon over a panel title, on the right  side.

I tried and tried, but it seems like the panel title allways get  over my icon, 
even i put icon inside a canvas, add it from outside the panel  element...seems 
nothing i try brings my icon over it :(

If is  impossible to do so...I feel is so strange, because is quite normal to 
make an  app where u can move panel over eachother, like they where  windows.

Anyone knows an easy way to put the icon where i wan it? 

(note: i'm not adding it as a panel title icon, i'm just addding it  directy 
over, or inside a canvas).

Thnx a  lot.

 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread Sherif Abdou
ya to bring it to the top just do setChildIndex(nameOfIcon, numChildren-1); and 
do it somewhere so it is always up top like updateDisplayList or layoutChrome
  - Original Message - 
  From: David Pariente 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 6:53 PM
  Subject: Re: [flexcoders] Image over a panel title?



  oh, didn't know something like that existed...
  ...i thought that was a tab index...not a depth index...

  i will try :) thnx a lot



  - Mensaje original 
  De: Sherif Abdou [EMAIL PROTECTED]
  Para: flexcoders@yahoogroups.com
  Enviado: domingo, 31 de agosto, 2008 1:33:39
  Asunto: Re: [flexcoders] Image over a panel title?


   

  Have you tried bringing the index up of the Icon, so doing setChildIndex( 
name,int)
- Original Message - 
From: David Pariente 
To: flexcoders 
Sent: Saturday, August 30, 2008 5:51 PM
Subject: [flexcoders] Image over a panel title?



Hi all, 

I wanna put an icon over a panel title, on the right side.

I tried and tried, but it seems like the panel title allways get over my 
icon, even i put icon inside a canvas, add it from outside the panel 
element...seems nothing i try brings my icon over it :(

If is impossible to do so...I feel is so strange, because is quite normal 
to make an app where u can move panel over eachother, like they where windows.

Anyone knows an easy way to put the icon where i wan it? 

(note: i'm not adding it as a panel title icon, i'm just addding it 
directy over, or inside a canvas).

Thnx a lot.


 _ _ _ _ __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 


  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo.yahoo.es 

   

Re: [flexcoders] Want to build a SWF on the fly when someone requests it

2008-08-30 Thread Toby Ashley
You'd most likely be better off storing your users' data / choices as XML or
something, then build a SWF which can read in that XML and load / display
the relevant text / video / audio / links / whatever. Rather than creating
one SWF for each user, just create one SWF and pass it different XML for
each instance to populate the template.



On Sat, Aug 30, 2008 at 12:10 PM, kuntamayu [EMAIL PROTECTED] wrote:

 From my flex project, I want to create a swf file on fly - to save
 clients' data .

 Clients' data may contains Image, Text, Video, Audio and web link.

 How to save this data in a swf file at server side.

 ( We are using java for server side code )

 Waiting for reply.


 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
mmm does it exists a setChildIndex function somewhere? i couldn't find it :(

is it called something else?



- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: domingo, 31 de agosto, 2008 1:33:39
Asunto: Re: [flexcoders] Image over a panel title?


 
Have you tried bringing the index up of the Icon, 
so doing setChildIndex( name,int)
- Original Message - 
From: David  Pariente 
To: flexcoders 
Sent: Saturday, August 30, 2008 5:51  PM
Subject: [flexcoders] Image over a panel  title?

Hi all, 

I wanna put an icon over a panel title, on the right  side.

I tried and tried, but it seems like the panel title allways get  over my icon, 
even i put icon inside a canvas, add it from outside the panel  element...seems 
nothing i try brings my icon over it :(

If is  impossible to do so...I feel is so strange, because is quite normal to 
make an  app where u can move panel over eachother, like they where  windows.

Anyone knows an easy way to put the icon where i wan it? 

(note: i'm not adding it as a panel title icon, i'm just addding it  directy 
over, or inside a canvas).

Thnx a  lot.

 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
Oh sorry, it took me a while to find information on that method...

Actually, if i add the icon child after the panel child, the icon should be 
already have a higher child number, right?? because i allways add them at the 
laschild position.

So the icon should already be on the last child position.

now i don't know what does updateDisplayList or layoutChrome mean...i guess it 
just updates the displays list (obvious), but, as mi icon was, since created, 
the last child, i don't know if updating the display list should make any 
difference...

I'm sorry my knowledge in flex is quite basic :(






- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: domingo, 31 de agosto, 2008 1:56:09
Asunto: Re: [flexcoders] Image over a panel title?


 
ya to bring it to the top just do 
setChildIndex( nameOfIcon, numChildren- 1); and do it somewhere so it is always 
up 
top like updateDisplayList or layoutChrome
- Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 6:53  PM
Subject: Re: [flexcoders] Image over a  panel title?

oh, didn't know something like that existed...
...i thought that was a  tab index...not a depth index...

i will try :) thnx a lot



-  Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado:  domingo, 31 de agosto, 2008 1:33:39
Asunto: Re: [flexcoders] Image over a  panel title?


 
Have you tried bringing the index up of the Icon,  so doing setChildIndex( 
name,int)
-  Original Message - 
From: David  Pariente 
To: flexcoders 
Sent: Saturday, August 30, 2008 5:51 PM
Subject: [flexcoders] Image over a panel title?

Hi all, 

I wanna put an icon over a panel title, on the right  side.

I tried and tried, but it seems like the panel title allways  get over my icon, 
even i put icon inside a canvas, add it from outside the  panel element...seems 
nothing i try brings my icon over it :(

If is  impossible to do so...I feel is so strange, because is quite normal to 
make  an app where u can move panel over eachother, like they where  windows.

Anyone knows an easy way to put the icon where i wan it? 

(note: i'm not adding it as a panel title icon, i'm just addding  it directy 
over, or inside a canvas).

Thnx a  lot.

 _ _ _ _  __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam  ¡gratis! 
Regístrate ya - http://correo. yahoo.es 
 _ _ _ _ __
Correo  Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.es 

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread Sherif Abdou
ok try doing this or you can post some code. So override the layoutchrome 
method call the super function on it and in that method positon your icon and 
do the setChildIndex(icon, int). Now About the icon being the lastChild like 
you said, it depends where you created the icon. Did you override the 
createChildren() and do it there or did you just create it in the constructor.
  - Original Message - 
  From: David Pariente 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 7:28 PM
  Subject: Re: [flexcoders] Image over a panel title?



  Oh sorry, it took me a while to find information on that method...

  Actually, if i add the icon child after the panel child, the icon should be 
already have a higher child number, right?? because i allways add them at the 
laschild position.

  So the icon should already be on the last child position.

  now i don't know what does updateDisplayList or layoutChrome mean...i guess 
it just updates the displays list (obvious), but, as mi icon was, since 
created, the last child, i don't know if updating the display list should make 
any difference...

  I'm sorry my knowledge in flex is quite basic :( 






  - Mensaje original 
  De: Sherif Abdou [EMAIL PROTECTED]
  Para: flexcoders@yahoogroups.com
  Enviado: domingo, 31 de agosto, 2008 1:56:09
  Asunto: Re: [flexcoders] Image over a panel title?


   

  ya to bring it to the top just do setChildIndex( nameOfIcon, numChildren- 1); 
and do it somewhere so it is always up top like updateDisplayList or 
layoutChrome
- Original Message - 
From: David Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 6:53 PM
Subject: Re: [flexcoders] Image over a panel title?



oh, didn't know something like that existed...
...i thought that was a tab index...not a depth index...

i will try :) thnx a lot



- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado: domingo, 31 de agosto, 2008 1:33:39
Asunto: Re: [flexcoders] Image over a panel title?


 

Have you tried bringing the index up of the Icon, so doing setChildIndex( 
name,int)
  - Original Message - 
  From: David Pariente 
  To: flexcoders 
  Sent: Saturday, August 30, 2008 5:51 PM
  Subject: [flexcoders] Image over a panel title?



  Hi all, 

  I wanna put an icon over a panel title, on the right side.

  I tried and tried, but it seems like the panel title allways get over my 
icon, even i put icon inside a canvas, add it from outside the panel 
element...seems nothing i try brings my icon over it :(

  If is impossible to do so...I feel is so strange, because is quite normal 
to make an app where u can move panel over eachother, like they where windows.

  Anyone knows an easy way to put the icon where i wan it? 

  (note: i'm not adding it as a panel title icon, i'm just addding it 
directy over, or inside a canvas).

  Thnx a lot.


   _ _ _ _ __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo. yahoo.es 


 _ _ _ _ __
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo. yahoo.es 


  __
  Correo Yahoo!
  Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
  Regístrate ya - http://correo.yahoo.es 

   

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
mmm...i have no idea about overriding methods...but makes me so scared just to 
listen it :S

i will post the code...
if it's difficult i think i will better make a bitmap that looks like a 
panel...or something easier...

this is the part of code, with the panel and the icon:


mx:State name=recipe basedOn=main
mx:AddChild relativeTo={maincontent} position=lastChild 
creationPolicy=queued
mx:Panel id=rdata_title title={rXML.info.thainame} 
width=100% height=150 
layout=absolute  styleName=recipedataPanel 
creationPolicy=queued cacheAsBitmap=true
creationComplete={setChildIndex(rdata_title,150)}
mx:Canvas left=10 right=10 top=5 bottom=5
mx:VRule x=220 y=0 height=82/
mx:Text id=rdata_by x=241 y=0 text=by 
{rXML.info.author.name} width=178 fontFamily=petitab fontSize=14 
enabled=true selectable=false/
mx:Text id=rdata_date x=241 y=19 
text={rXML.info.date} fontFamily=petitab fontSize=12 /
mx:Text id=rdata_serves x=0 y=64 text=serves: 
{rXML.info.serves} fontFamily=petitab fontSize=12 color=#00/
mx:Text id=rdata_cooktime x=0 y=49 text=Cooking 
time: {rXML.info.cooktime} fontFamily=petitab fontSize=12 color=#00/
mx:Text id=rdata_preptime x=0 y=33 
text=Preparation time: {rXML.info.preptime} fontFamily=petitab 
fontSize=12 color=#00/
mx:LinkButton x=240 y=49 label=Email this recipe 
styleName=bluelink height=17 fontWeight=normal/
mx:LinkButton x=240 y=68 label=More recipes from 
this chef styleName=bluelink height=17 fontWeight=normal/
mx:Text id=rdata_transname x=0 y=0 
text={rXML.info.transname} width=233 color=#0099CC fontFamily=petitab 
fontSize=14/
/mx:Canvas
mx:Image id=rdata_chefphoto scaleContent=false 
autoLoad=true right=10 top=10 
source=pics/chefs/chef_{rXML.info.author.code}.jpg themeColor=#00/

/mx:Panel

/mx:AddChild

mx:AddChild relativeTo={rdata_title} position=lastChild 
creationPolicy=queued
mx:Canvas x=441 y=-17 width=53 height=43
mx:Image x=10 y=6 source=pics/icon_recipes.swf 
scaleContent=false autoLoad=true id=icon_recipe  
creationComplete={setChildIndex(icon_recipe,100)}/
/mx:Canvas
/mx:AddChild




- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: domingo, 31 de agosto, 2008 2:35:20
Asunto: Re: [flexcoders] Image over a panel title?


 
ok try doing this or you can post some code. So 
override the layoutchrome method call the super function on it and in that 
method positon your icon and do the setChildIndex( icon, int). Now About the 
icon 
being the lastChild like you said, it depends where you created the icon. Did 
you override the createChildren( ) and do it there or did you just create it in 
the constructor.
- Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 7:28  PM
Subject: Re: [flexcoders] Image over a  panel title?

Oh sorry, it took me a while to find information on that  method...

Actually, if i add the icon child after the panel child, the  icon should be 
already have a higher child number, right?? because i allways  add them at the 
laschild position.

So the icon should already be on  the last child position.

now i don't know what does updateDisplayList or layoutChrome mean...i guess it 
just updates the  displays list (obvious), but, as mi icon was, since created, 
the last child, i  don't know if updating the display list should make any  
difference.. .

I'm sorry my knowledge in flex is quite basic :( 






-  Mensaje original 
De: Sherif Abdou  [EMAIL PROTECTED] com
Para:  [EMAIL PROTECTED] ups.com
Enviado: domingo, 31 de agosto, 2008  1:56:09
Asunto: Re: [flexcoders] Image over a panel title?


 
ya to bring it to the top just do setChildIndex(  nameOfIcon, numChildren- 1); 
and do it somewhere so it is always up top like  updateDisplayList or 
layoutChrome
-  Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 6:53 PM
Subject: Re: [flexcoders] Image over a panel title?

oh, didn't know something like that existed...
...i thought that was  a tab index...not a depth index...

i will try :) thnx a lot



-  Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED]  ups.com
Enviado: domingo, 31 de agosto, 2008 1:33:39
Asunto: Re:  [flexcoders] Image over a panel title?


 
Have you tried bringing the index up of the  Icon, so doing setChildIndex( 
name,int)
-  Original Message - 
From: David  Pariente 
To: 

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread Sherif Abdou
O i see what your doing, it wont work this way what you need to do is New 
ActionScript file, Extend the Panel and work from there, doing things in mxml 
isnt gona work for what you want. If you want post ur code on vadexFX.com and 
i'll help you there since posting code on mailing list is a pain.
package vadex

{

import mx.core.UIComponent;

public class VadexFlowContainer extends UIComponent

{

public function VadexFlowContainer()

{

super();

}


}

}

  - Original Message - 
  From: David Pariente 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 7:43 PM
  Subject: Re: [flexcoders] Image over a panel title?



  mmm...i have no idea about overriding methods...but makes me so scared just 
to listen it :S

  i will post the code...
  if it's difficult i think i will better make a bitmap that looks like a 
panel...or something easier...

  this is the part of code, with the panel and the icon:


  mx:State name=recipe basedOn=main
  mx:AddChild relativeTo={maincontent} position=lastChild 
creationPolicy=queued
  mx:Panel id=rdata_title title={rXML.info.thainame} 
width=100% height=150 
  layout=absolute  styleName=recipedataPanel 
  creationPolicy=queued cacheAsBitmap=true
  creationComplete={setChildIndex(rdata_title,150)}
  mx:Canvas left=10 right=10 top=5 bottom=5
  mx:VRule x=220 y=0 height=82/
  mx:Text id=rdata_by x=241 y=0 text=by 
{rXML.info.author.name} width=178 fontFamily=petitab fontSize=14 
enabled=true selectable=false/
  mx:Text id=rdata_date x=241 y=19 
text={rXML.info.date} fontFamily=petitab fontSize=12 /
  mx:Text id=rdata_serves x=0 y=64 text=serves: 
{rXML.info.serves} fontFamily=petitab fontSize=12 color=#00/
  mx:Text id=rdata_cooktime x=0 y=49 
text=Cooking time: {rXML.info.cooktime} fontFamily=petitab fontSize=12 
color=#00/
  mx:Text id=rdata_preptime x=0 y=33 
text=Preparation time: {rXML.info.preptime} fontFamily=petitab 
fontSize=12 color=#00/
  mx:LinkButton x=240 y=49 label=Email this 
recipe styleName=bluelink height=17 fontWeight=normal/
  mx:LinkButton x=240 y=68 label=More recipes 
from this chef styleName=bluelink height=17 fontWeight=normal/
  mx:Text id=rdata_transname x=0 y=0 
text={rXML.info.transname} width=233 color=#0099CC fontFamily=petitab 
fontSize=14/
  /mx:Canvas
  mx:Image id=rdata_chefphoto scaleContent=false 
autoLoad=true right=10 top=10 
source=pics/chefs/chef_{rXML.info.author.code}.jpg themeColor=#00/
  
  /mx:Panel
  
  /mx:AddChild
  
  mx:AddChild relativeTo={rdata_title} position=lastChild 
creationPolicy=queued
  mx:Canvas x=441 y=-17 width=53 height=43
  mx:Image x=10 y=6 source=pics/icon_recipes.swf 
scaleContent=false autoLoad=true id=icon_recipe  
creationComplete={setChildIndex(icon_recipe,100)}/
  /mx:Canvas
  /mx:AddChild




  - Mensaje original 
  De: Sherif Abdou [EMAIL PROTECTED]
  Para: flexcoders@yahoogroups.com
  Enviado: domingo, 31 de agosto, 2008 2:35:20
  Asunto: Re: [flexcoders] Image over a panel title?


   

  ok try doing this or you can post some code. So override the layoutchrome 
method call the super function on it and in that method positon your icon and 
do the setChildIndex( icon, int). Now About the icon being the lastChild like 
you said, it depends where you created the icon. Did you override the 
createChildren( ) and do it there or did you just create it in the constructor.
- Original Message - 
From: David Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 7:28 PM
Subject: Re: [flexcoders] Image over a panel title?



Oh sorry, it took me a while to find information on that method...

Actually, if i add the icon child after the panel child, the icon should be 
already have a higher child number, right?? because i allways add them at the 
laschild position.

So the icon should already be on the last child position.

now i don't know what does updateDisplayList or layoutChrome mean...i guess 
it just updates the displays list (obvious), but, as mi icon was, since 
created, the last child, i don't know if updating the display list should make 
any difference.. .

I'm sorry my knowledge in flex is quite basic :( 






- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado: domingo, 31 de agosto, 2008 1:56:09
Asunto: Re: [flexcoders] Image over a panel title?


 

ya to bring it to the top just do 

[flexcoders] Re: Image over a panel title?

2008-08-30 Thread rachelmaxim
You're going to need to extend the Panel class to add the icon to the
header. It's not as difficult as it sounds, check out this example as
a starting point:

http://dougr.net/?p=160

hth
-Rachel

--- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote:

 Hi all, 
 
 I wanna put an icon over a panel title, on the right side.
 
 I tried and tried, but it seems like the panel title allways get
over my icon, even i put icon inside a canvas, add it from outside the
panel element...seems nothing i try brings my icon over it :(
 
 If is impossible to do so...I feel is so strange, because is quite
normal to make an app where u can move panel over eachother, like they
where windows.
 
 Anyone knows an easy way to put the icon where i wan it? 
 
 (note: i'm not adding it as a panel title icon, i'm just addding
it directy over, or inside a canvas).
 
 Thnx a lot.
 
 
 __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
 Regístrate ya - http://correo.yahoo.es





[flexcoders] Re: flex interface with coldfusion

2008-08-30 Thread rachelmaxim
All the suggestions made by other commenters are correct... to
elaborate on that...

You're going to want to write CFCs (ColdFusion components) with
methods whose access attributes are remote. This exposes your CFCs
to Flex.

Then you can use the Flex RPC components to call the CFC. The easiest
way IMO is to use Remoting/AMF which in Flex is the Remote Object
component.

There are many tutorials on Adobe's website that show the basics of
using Flex and ColdFusion together.

Good luck!

--- In flexcoders@yahoogroups.com, Sagar T [EMAIL PROTECTED] wrote:

 Hi guy's
 
 I'm learning flex I have one question How to interface
with flex3.0 and coldfusion 8.0
 
 
 Thanks
 TGR





Re: [flexcoders] Image over a panel title?

2008-08-30 Thread David Pariente
mmm i saw some coding doing that on google...

i think it will be easier for me just using some bitmaps, instead of a panel, 
as i actually don't need much from that panel.

it's a pity that we cannot easily add content ANYWHERE as if there where layers 
(with canvas for example) :(

maybe i try with degrafa...i guess it might be able to do something like that 
with it :)

thnx and sorry for the time waste ;)



- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED]
Para: flexcoders@yahoogroups.com
Enviado: domingo, 31 de agosto, 2008 2:48:30
Asunto: Re: [flexcoders] Image over a panel title?


 
O i see what your doing, it wont work this way what 
you need to do is New ActionScript file, Extend the Panel and work from there, 
doing things in mxml isnt gona work for what you want. If you want post ur code 
on vadexFX.com and i'll help you there since posting code on mailing list is a 
pain.
packagevadex
{
importmx.core.UIComponent ;
publicclassVadexFlowContainer extendsUIComponent
{
publicfunctionVadexFlowContainer( )
{
super();
}
}
}
- Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 7:43  PM
Subject: Re: [flexcoders] Image over a  panel title?

mmm...i have no idea about overriding methods...but makes me so scared  just to 
listen it :S

i will post the code...
if it's difficult i  think i will better make a bitmap that looks like a 
panel...or something  easier...

this is the part of code, with the panel and the  icon:


mx:State name=recipe  basedOn=main
 mx:AddChild relativeTo= {maincontent}  position=lastChild   
creationPolicy= queued
 mx:Panel id=rdata_title  title={rXML. info.thainame}  
width=100% height=150 
 layout=absolute   styleName=recipeda taPanel 
  creationPolicy= queued cacheAsBitmap= true
  creationComplete= {setChildIndex( rdata_title, 150)}
  mx:Canvas left=10 right=10 top=5  bottom=5
 mx:VRule x=220  y=0 height=82/
  mx:Text id=rdata_by x=241 y=0 text=by 
{rXML.info.author. name}  width=178 fontFamily= petitab fontSize=14 
enabled=true  selectable= false/
  mx:Text id=rdata_date x=241 y=19 text={rXML. 
info.date}   fontFamily= petitab fontSize=12 /
  mx:Text id=rdata_serves x=0 y=64 text=serves: 
 {rXML.info.serves}  fontFamily= petitab fontSize=12  color=#00 /
  mx:Text id=rdata_cooktime x=0 y=49 
text=Cooking time:  {rXML.info.cooktime } fontFamily= petitab fontSize=12 
 color=#00 /
  mx:Text id=rdata_preptime x=0 y=33 
text=Preparation time:  {rXML.info.preptime } fontFamily= petitab 
fontSize=12  color=#00 /
  mx:LinkButton x=240 y=49 label=Email this 
recipe  styleName=bluelink  height=17  fontWeight= normal/
  mx:LinkButton x=240 y=68 label=More recipes 
from this chef  styleName=bluelink  height=17  fontWeight= normal/
  mx:Text id=rdata_transname  x=0 y=0  
text={rXML. info.transname}  width=233 color=#0099CC  fontFamily= 
petitab fontSize=14 /
  /mx:Canvas
 mx:Image id=rdata_chefphoto   scaleContent= false 
autoLoad=true right=10 top=10  source=pics/ chefs/chef_ {rXML.info. 
author.code} .jpg  themeColor= #00/
 
 /mx:Panel
 
  /mx:AddChild
 
 mx:AddChild relativeTo= {rdata_title}   position=lastChild   
creationPolicy= queued
 mx:Canvas x=441 y=-17 width=53  height=43
 mx:Image x=10 y=6  source=pics/ icon_recipes. swf 
scaleContent= false  autoLoad=true id=icon_recipe   creationComplete= 
{setChildIndex( icon_recipe, 100)}/
  /mx:Canvas
 /mx:AddChild




-  Mensaje original 
De: Sherif Abdou  [EMAIL PROTECTED] com
Para:  [EMAIL PROTECTED] ups.com
Enviado: domingo, 31 de agosto, 2008  2:35:20
Asunto: Re: [flexcoders] Image over a panel title?


 
ok try doing this or you can post some code. So  override the layoutchrome 
method call the super function on it and in that  method positon your icon and 
do the setChildIndex( icon, int). Now About the  icon being the lastChild like 
you said, it depends where you created the icon.  Did you override the 
createChildren( ) and do it there or did you just create  it in the constructor.
-  Original Message - 
From: David  Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 7:28 PM
Subject: Re: [flexcoders] Image over a panel title?

Oh sorry, it took me a while to find information on that  method...

Actually, if i add the icon child after the panel child,  the icon should be 
already have a higher child number, right?? because i  allways add them at the 
laschild position.

So the icon should  

Re: [flexcoders] Image over a panel title?

2008-08-30 Thread Sherif Abdou
if you want then download the flex 4 sdk and use the new API in there. It does 
the same thing as degrafa and you can be one step ahead ;)
  - Original Message - 
  From: David Pariente 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 8:20 PM
  Subject: Re: [flexcoders] Image over a panel title?



  mmm i saw some coding doing that on google...

  i think it will be easier for me just using some bitmaps, instead of a panel, 
as i actually don't need much from that panel.

  it's a pity that we cannot easily add content ANYWHERE as if there where 
layers (with canvas for example) :(

  maybe i try with degrafa...i guess it might be able to do something like that 
with it :)

  thnx and sorry for the time waste ;)



  - Mensaje original 
  De: Sherif Abdou [EMAIL PROTECTED]
  Para: flexcoders@yahoogroups.com
  Enviado: domingo, 31 de agosto, 2008 2:48:30
  Asunto: Re: [flexcoders] Image over a panel title?


   

  O i see what your doing, it wont work this way what you need to do is New 
ActionScript file, Extend the Panel and work from there, doing things in mxml 
isnt gona work for what you want. If you want post ur code on vadexFX.com and 
i'll help you there since posting code on mailing list is a pain.
  package vadex

  {

  import mx.core.UIComponent ;

  public class VadexFlowContainer extends UIComponent

  {

  public function VadexFlowContainer( )

  {

  super();

  }


  }

  }

- Original Message - 
From: David Pariente 
To: [EMAIL PROTECTED] ups.com 
Sent: Saturday, August 30, 2008 7:43 PM
Subject: Re: [flexcoders] Image over a panel title?



mmm...i have no idea about overriding methods...but makes me so scared just 
to listen it :S

i will post the code...
if it's difficult i think i will better make a bitmap that looks like a 
panel...or something easier...

this is the part of code, with the panel and the icon:


mx:State name=recipe basedOn=main
mx:AddChild relativeTo= {maincontent}  position=lastChild  
creationPolicy= queued
mx:Panel id=rdata_title title={rXML. info.thainame}  
width=100% height=150 
layout=absolute  styleName=recipeda taPanel 
creationPolicy= queued cacheAsBitmap= true
creationComplete= {setChildIndex( rdata_title, 150)}
mx:Canvas left=10 right=10 top=5 bottom=5
mx:VRule x=220 y=0 height=82/
mx:Text id=rdata_by x=241 y=0 text=by 
{rXML.info.author. name} width=178 fontFamily= petitab fontSize=14 
enabled=true selectable= false/
mx:Text id=rdata_date x=241 y=19 
text={rXML. info.date}  fontFamily= petitab fontSize=12 /
mx:Text id=rdata_serves x=0 y=64 
text=serves: {rXML.info.serves}  fontFamily= petitab fontSize=12 
color=#00 /
mx:Text id=rdata_cooktime x=0 y=49 
text=Cooking time: {rXML.info.cooktime } fontFamily= petitab fontSize=12 
color=#00 /
mx:Text id=rdata_preptime x=0 y=33 
text=Preparation time: {rXML.info.preptime } fontFamily= petitab 
fontSize=12 color=#00 /
mx:LinkButton x=240 y=49 label=Email this 
recipe styleName=bluelink  height=17 fontWeight= normal/
mx:LinkButton x=240 y=68 label=More recipes 
from this chef styleName=bluelink  height=17 fontWeight= normal/
mx:Text id=rdata_transname  x=0 y=0 
text={rXML. info.transname}  width=233 color=#0099CC fontFamily= 
petitab fontSize=14 /
/mx:Canvas
mx:Image id=rdata_chefphoto  scaleContent= false 
autoLoad=true right=10 top=10 source=pics/ chefs/chef_ {rXML.info. 
author.code} .jpg themeColor= #00/

/mx:Panel

/mx:AddChild

mx:AddChild relativeTo= {rdata_title}  position=lastChild  
creationPolicy= queued
mx:Canvas x=441 y=-17 width=53 height=43
mx:Image x=10 y=6 source=pics/ icon_recipes. swf 
scaleContent= false autoLoad=true id=icon_recipe  creationComplete= 
{setChildIndex( icon_recipe, 100)}/
/mx:Canvas
/mx:AddChild




- Mensaje original 
De: Sherif Abdou [EMAIL PROTECTED] com
Para: [EMAIL PROTECTED] ups.com
Enviado: domingo, 31 de agosto, 2008 2:35:20
Asunto: Re: [flexcoders] Image over a panel title?


 

ok try doing this or you can post some code. So override the layoutchrome 
method call the super function on it and in that method positon your icon and 
do the setChildIndex( icon, int). Now About the icon being the lastChild like 
you said, it depends where you created the icon. Did you override the 
createChildren( ) and do it there or did you 

[flexcoders] text markup - please help

2008-08-30 Thread natjai
Hello,
  I have a text paragraph (dynamic content) which contain certain words 
(need to be underlined) that need to respond to mouseover (or click) 
that pops open a datagrid/list. I can imagine constructing the 
paragraph with bunch of dynamically positioned textfields (some of 
which) that respond to mouse over/click. Is there a better way (like 
html markup text) I apologize if this is not a flexish issue and hence 
doesn't belong here. 

Thanks for any response,
-jlogan




[flexcoders] Anybody found a workaround for this compiler bug?

2008-08-30 Thread Kevin Benz
This is sapping our productivity and wondered if anybody had seen this
or had any ideas? I certainly see the association with Font rendering as
the obvious first instinct would be to question the font file however
with two machines seeing the same behavior, a wider look seems
appropriate. There is Away3D in the project and we do take the TVNord
font and render the SVG in order to support text overlaying on a 3D
plane. Since the Clean always resolves the issue, I doubt that the
base font file is the issue.

 

We currently see this on 2 developer workstations, one a Mac, one a PC.
The only way to get around this is to clean all the projects in the
Workspace (this is part of an application where we have an Air project
and 3 support library projects. Doing a Clean of the Workspace allows
us to get past this (until you need to build again). 

 

KFB

 

The problem is documented in the Adobe Bug System FB-13828.
 

!ENTRY com.adobe.flexbuilder.project 4 43 2008-08-20 10:27:29.608 
!MESSAGE Uncaught exception in compiler 
!STACK 0 java.lang.ArrayIndexOutOfBoundsException: 0 
at flash.fonts.DefineFontFace.init(DefineFontFace.java:40) 
at
flash.fonts.CachedFontManager.loadDefineFont(CachedFontManager.java:122)

at
flex2.compiler.PersistenceStore.readAssets(PersistenceStore.java:1777) 
at
flex2.compiler.PersistenceStore.readCompilationUnit(PersistenceStore.jav
a:1687) 
at
flex2.compiler.PersistenceStore.readCompilationUnits(PersistenceStore.ja
va:1372) 
at
flex2.compiler.PersistenceStore.read(PersistenceStore.java:803) 
at flex2.compiler.API.loadCompilationUnits(API.java:4161) 
at
flex2.tools.oem.Application.loadCompilationUnits(Application.java:582) 
at flex2.tools.oem.Application.recompile(Application.java:935) 
at flex2.tools.oem.Application.compile(Application.java:636) 
at
flex2.tools.flexbuilder.BuilderApplication.compile(BuilderApplication.ja
va:354) 
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder$My
Builder.mybuild(ASApplicationBuilder.java:271) 
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASApplicationBuilder.bu
ild(ASApplicationBuilder.java:122) 
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASBuilder.build(ASBuild
er.java:139) 
at
com.adobe.flexbuilder.multisdk.compiler.internal.ASItemBuilder.build(ASI
temBuilder.java:73) 
at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build
Item(Unknown Source) 
at
com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build
(Unknown Source) 
at
com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.b
uild(Unknown Source) 
at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:62
4) 
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:166) 
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:197) 
at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:24
6) 
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) 
at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.ja
va:249) 
at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManage
r.java:302) 
at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:33
4) 
at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:
137) 
at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)

at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 







Re: [flexcoders] text markup - please help

2008-08-30 Thread Sherif Abdou
I do not think you can do that with the current Flash Player 9 but maybe with 
10. There were a couple of threads a while ago about the same thing and there 
wasn't a real solution on this but I might be imagining things and be wrong. 
  - Original Message - 
  From: natjai 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 8:28 PM
  Subject: [flexcoders] text markup - please help


  Hello,
  I have a text paragraph (dynamic content) which contain certain words 
  (need to be underlined) that need to respond to mouseover (or click) 
  that pops open a datagrid/list. I can imagine constructing the 
  paragraph with bunch of dynamically positioned textfields (some of 
  which) that respond to mouse over/click. Is there a better way (like 
  html markup text) I apologize if this is not a flexish issue and hence 
  doesn't belong here. 

  Thanks for any response,
  -jlogan



   

Re: [flexcoders] Re: flex interface with coldfusion

2008-08-30 Thread Alan

cough

As long as you don't have a mac

( reference to Coldfusion Application wizard not being supported on  
mac )


sigh


Alan

On Aug 30, 2008, at 9:19 PM, rachelmaxim wrote:


There are many tutorials on Adobe's website that show the basics of
using Flex and ColdFusion together.


Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson

I like you're opinion.

Except the part about IBM and Microsoft developing similarly.

I'm not a Microsoft lover, but I used to be, long story.  But since  
I've recovered from the Ballmer dance most seen on YouTube, I kind of  
like them now.  I've done 4 ASP.Net projects, and 2 very large VB.Net  
projects.  My problem with MS in the 90's was them taking applications  
written by the ISVs that made them popular, and including them one by  
one as time went on, in the OS itself.   The worst of this came in the  
SUN v Microsoft debate.  To actually see in discovery that they hacked  
Java so it would perform poorly.  Hopefully most of those people are  
gone by now, and I hope, though will never know, that Gates now having  
a family has changed his outlook on how he treats young grads. coming  
out of college to start small businesses or freelance.


With Adobe and Scene7.com, do to their great Imaging applications and  
history with users using applications like Lightroom, is see a very  
real close together magnet here (as an analogy IBM, Microsoft and  
others do highly sophisticated contracts that only they could do and  
as far as a gauge for us being in the middle of 2 attracting magnets;  
one being IBM for example and the other being the company we'd like to  
serve; the magnets are far apart).   But with Adobe those magnets are  
very close together, and I see a very user friendly E-Commerce system  
that almost directly mirrors the Adobe Hybrid Store, or the Full  
Store, only even better, and incorporating possibly Edge and Grid  
computing, as well as what Scene7 really was, as that is the way they  
can color images.


So Adobe is on the road to producing an extremely easy to use  
eCommerce application for the masses, and we will be left with  
applications in other areas.  But as time goes by, this will narrow  
more and more.  I've been in the business since 1988 when IBM chose me  
over 8 other graduate applicants (and I was the only other undergrad  
applicant) for a Windows project for an ATM Performance Analyzer with  
the EE Dept.  I was chosen because I showed up for the Interview with  
the application 50% done.


So I went into Windows and I have to be careful about my story, but  
there is a public article not of my doing here at FedCir Federal  
Circuit / only I had to bow out because since I first met with them  
in August of 2001 the following day I had a seizure and I've had a  
seizure condition every since.  Life is no longer a long and winding  
yellow brook road for me, I'm doing things in music that help  
Epilepsy, my SWF and CoreAudio, etc. development for the future will  
be my future as I'm on Medicaid now.  However, I did eventually get a  
great eCommerce platform done, and it will last  probably a year or so  
and I'll get a client when I can (my income is capped anyway) and it  
will be worth little after Scene7 is out for a few years.


So I have a very large perspective on this, and it isn't looking  
pretty.


If you research my past posts, you'll find extreme excitement by me  
about AIR, asking Adobe to find a way to integrate OpenGL before  
Silverlight leveraged DirectX against it.


Now I feel differently.  The CEO resigned last Fall, and whoever is in  
charge now has a different plan that effects us developers.


Scene7 attorneys, as far as I know, are Thompson Reuters in NYC and  
Mary A. Fracis is the executing attorney on some of their issues, and  
I've called her as well as people at Scene7 twice to get more clear on  
the issues.


The 2nd call to Scene7 made very very clear that they do intend to do  
exactly what I felt they would, only they call it eCataloging which  
is a pre-cursor to doing anything eCommerce with the special imaging  
that Scene7 does on, for example, changing the color of a sweater.   
The difference is, Adobe is not bringing this to us as far as I was  
told, they are, and I asked directly, So is it possible that Adobe  
could bid against another company using FLEX to do a contract for a  
company? (I used a shoe company earlier because Nike is one of their  
many, many clients).


I'm not worried about bidding on Fortune 500, I'm worried about the  
more and more often complaint of users who know more and more about  
what's going on saying, No, I just bought Scene7 LE, for example, and  
it makes it so easy.  I don't need any custom development.


This single step that Adobe has taken has totally blurred the line  
that would have never been blurred at Macromedia, Adobe is now both a  
Premiere Imaging Firm, and a Firm using the very programming tools it  
sells, not to integrate into a big operating system, but to Bid on  
contracts using it, even against their own developer community, and in  
the long run, AIR is virtually a lightweight operating system of  
global proportions.


My thinking is that the new CEO of Adobe has lust in his eyes, but I  
don't know that for a fact because I've never seen him.


All I 

Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson

Actually the rumor was and may still be that Apple will buy Adobe.

Now that would be good news to me.

Steven Jobs is the one figure I've been following since I was a kid.

Out of all the CEO's from the old Borland, to Microsoft, to Zinc (when  
AOL was a little DOS app.), he seems to be the only one to maintain a  
calm integrity and come out on top.


You can see it when he gives a speech.

Steve Ballmer when to school here in my home state of Michigan and  
Country Day Prep academy (unfortunately with my attorney when to  
school with him at the same time in my thing which is described not  
by me but by someone writing about the Federal Circuit of appeals;  
they went to school together in '72 '74) and Ballmer is still on the  
board.


Can you ever imagine the cool and calm Jobs doing a dance like Steve  
Ballmer did - the contrast is amazing to anyone who's Scene7 or more  
Jobs' speeches.


In any event, I put Apple over every other company -- that's just me  
-- may not be others, so it's all good, don't flame me.


But I've spent nearly $5,000 on Adobe software and I'd like to return  
every bit of it if this chosen date by them of Sept. 11th Webinar  
proves to be what I think it is.


I'm sure they're listening and may put a spin on it, but please, for  
your own sakes, do not trust any Corporations words, trust only the  
Actions they take.  Take it from a 40 year old telling a 20-25 year  
old, please use your talents wisely and be careful who you dedicate  
yourself too.  Ultimately, you should dedicate yourself to you and  
your family, if you have one, and take the route that will keep your  
investment in time and money safe.  If your a 9-5'er, and I know a lot  
of them in this Big3 area, there are different kinds of risks, that  
have a lot less to do with Flex (usually those are the people that had  
bosses shell out the $20,000 or so, I forget the exact price, for FLEX  
1.0).


-r

On Aug 30, 2008, at 6:50 PM, Paul Andrews wrote:


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 11:02 PM
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight,  
AJAX,

soon Quicktime, and also DHTML and W3C

 There is a different way to look at this. Right now, Flash is  
still just

 and on-line technology in the view of most people. Even though AIR
 does a lot of things, people still don't think it is very important.
 Similar problem that Microsoft had with VB being considered only a
 desktop tech and almost none taking it seriously as a server until
 Microsoft built server based applications.

 For me, Mass appeal of AIR is huge! It would mean that I can push  
Flex
 as a Desktop as well as a Web application. It becomes the  
replacement

 for VB and .net which then lets me solidify the build once/deploy
 everywhere that we have been talking about since the early Java  
days.


 I understand your concern that Adobe is doing similar things as  
you are

 however, Micorsoft, IBM, Oracle and most others also make a lot of
 applications that are similar to what their developers build also.  
The

 difference is customization as well as usage. I think if Adobe can
 produce good desktop and Web applications that we can showcase, we  
will
 be able to move the market away from Microsoft and Sun and  
increase the

 viability of using Flex in corporations.

 For me, at my company we were choosing between Silverlight,  
JavaFX, Doja
 and Flex. It was the fact that Microsoft had released Photoshop  
Express

 that helped to sell Flex.

Scary. Microsoft just bought Adobe. Shriek!

The development world is big and Adobe consulting doesn't come  
cheap, so I
think there's those that can afford the cream of the crop no matter  
what the
cost and then there's the rest of the world that have budgets, so  
there's

always going to be room for everyone.

Paul

 That is my .02.


 Robert Thompson wrote:

 I agree. Let's see what happens.


 Everyone here is an individual that can judge for themselves.

 I myself and quite concerned.

 I hope to be more informed than the Press Releases, White-paper and
 list of Clients already served by Adobe with a solution akin to the
 Hybrid or Flex Store and based on a high-performance platform.

 Great. But where does that FLEX mass-appeal product leave the
 developers.

 If Scene7.com did it themselves great. But Adobe has purchased  
them,
 the CEO of Adobe resigned about the same time, and now we have a  
new

 Adobe who is building a hybrid lightweight operating system in AIR
 that I have been very excited about in the past in my posts here,  
and
 in an OpenGL display framework (Papervision3D to the rescue), but  
now
 Adobe has just added a new dimension to all of  
thiscompetition in

 a very real sense against a developer, for example, bidding for a
 Small Running Shoe company. Do they choose Adobe Scene7 or do they
 choose a developer? Probably Adobe.

 A ran 8:52 for 

[flexcoders] Adobe has no love for Mac users?

2008-08-30 Thread Alan

So..

I'm all excited about integrating Flex and Coldfusion, only to find  
out there are features that don't exist on the mac.


So far I've found

Flex / Coldfusion Project set up is not supprted
Coldfusion query builder


For the love of God why?


Alan



Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Sherif Abdou
Apple will not buy Adobe, Microsoft would not let it without a fight and $22.7 
billion is a big chunk of change and that's just the market cap now add a 
premium and they are looking at $30billion, that's amost 20% of Apple's market 
cap. Also, I really don't want them to ruin everything, i dont wana end up 
saying IFlash , IFlex, IPhotoshop :) 
  - Original Message - 
  From: Robert Thompson 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, August 30, 2008 9:40 PM
  Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, 
soon Quicktime, and also DHTML and W3C


  Actually the rumor was and may still be that Apple will buy Adobe.



  Now that would be good news to me.


  Steven Jobs is the one figure I've been following since I was a kid.


  Out of all the CEO's from the old Borland, to Microsoft, to Zinc (when AOL 
was a little DOS app.), he seems to be the only one to maintain a calm 
integrity and come out on top.


  You can see it when he gives a speech.


  Steve Ballmer when to school here in my home state of Michigan and Country 
Day Prep academy (unfortunately with my attorney when to school with him at the 
same time in my thing which is described not by me but by someone writing 
about the Federal Circuit of appeals; they went to school together in '72 '74) 
and Ballmer is still on the board.


  Can you ever imagine the cool and calm Jobs doing a dance like Steve Ballmer 
did - the contrast is amazing to anyone who's Scene7 or more Jobs' speeches.


  In any event, I put Apple over every other company -- that's just me -- may 
not be others, so it's all good, don't flame me.


  But I've spent nearly $5,000 on Adobe software and I'd like to return every 
bit of it if this chosen date by them of Sept. 11th Webinar proves to be what I 
think it is.


  I'm sure they're listening and may put a spin on it, but please, for your own 
sakes, do not trust any Corporations words, trust only the Actions they take.  
Take it from a 40 year old telling a 20-25 year old, please use your talents 
wisely and be careful who you dedicate yourself too.  Ultimately, you should 
dedicate yourself to you and your family, if you have one, and take the route 
that will keep your investment in time and money safe.  If your a 9-5'er, and I 
know a lot of them in this Big3 area, there are different kinds of risks, that 
have a lot less to do with Flex (usually those are the people that had bosses 
shell out the $20,000 or so, I forget the exact price, for FLEX 1.0). 


  -r


  On Aug 30, 2008, at 6:50 PM, Paul Andrews wrote:


- Original Message - 
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 11:02 PM
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, 
soon Quicktime, and also DHTML and W3C

 There is a different way to look at this. Right now, Flash is still just
 and on-line technology in the view of most people. Even though AIR
 does a lot of things, people still don't think it is very important.
 Similar problem that Microsoft had with VB being considered only a
 desktop tech and almost none taking it seriously as a server until
 Microsoft built server based applications.

 For me, Mass appeal of AIR is huge! It would mean that I can push Flex
 as a Desktop as well as a Web application. It becomes the replacement
 for VB and .net which then lets me solidify the build once/deploy
 everywhere that we have been talking about since the early Java days.

 I understand your concern that Adobe is doing similar things as you are
 however, Micorsoft, IBM, Oracle and most others also make a lot of
 applications that are similar to what their developers build also. The
 difference is customization as well as usage. I think if Adobe can
 produce good desktop and Web applications that we can showcase, we will
 be able to move the market away from Microsoft and Sun and increase the
 viability of using Flex in corporations.

 For me, at my company we were choosing between Silverlight, JavaFX, Doja
 and Flex. It was the fact that Microsoft had released Photoshop Express
 that helped to sell Flex.

Scary. Microsoft just bought Adobe. Shriek!

The development world is big and Adobe consulting doesn't come cheap, so I 
think there's those that can afford the cream of the crop no matter what 
the 
cost and then there's the rest of the world that have budgets, so there's 
always going to be room for everyone.

Paul

 That is my .02.


 Robert Thompson wrote:

 I agree. Let's see what happens.


 Everyone here is an individual that can judge for themselves.

 I myself and quite concerned.

 I hope to be more informed than the Press Releases, White-paper and
 list of Clients already served by Adobe with a solution akin 

Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight, AJAX, soon Quicktime, and also DHTML and W3C

2008-08-30 Thread Robert Thompson
I agree, I doubt it would happen, and MS isn't very successful at  
buying out large companies due to perceived risk of getting into a  
Sherman Act type of thing again.


I'd rather Apple not also, I'm abandoning Adobe unless I hear  
something different.


If I can't get my money back from purchases, I'll just let it go, and  
do Audio Unit and NVIDIA CUDO programming on Mac OS X.  I have an 8- 
core 3.4, 32GB, 4 bay 300GBx15krpm RAID0, dual 30 with NVIDIA 5500.


The things that I'm working on as an accepted CUDO developer are  
amazing.


I hope to encourage Papervision3D to add support for CUDO and to go  
out on their own and develop their own plug-in.


NOW is the perfect TIME for Papervision3D to do this, not later.

I'd be a happy camper then and hide 9 of my fingers for a second a  
send the photoship to Ablwme Corp. whom just a week ago I continiued  
to lovenot after what I've discovered in the past few days.


-r


On Aug 30, 2008, at 10:59 PM, Sherif Abdou wrote:



Apple will not buy Adobe, Microsoft would not let it without a fight  
and $22.7 billion is a big chunk of change and that's just the  
market cap now add a premium and they are looking at $30billion,  
that's amost 20% of Apple's market cap. Also, I really don't want  
them to ruin everything, i dont wana end up saying IFlash , IFlex,  
IPhotoshop :)

- Original Message -
From: Robert Thompson
To: flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 9:40 PM
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex, Silverlight,  
AJAX, soon Quicktime, and also DHTML and W3C


Actually the rumor was and may still be that Apple will buy Adobe.


Now that would be good news to me.

Steven Jobs is the one figure I've been following since I was a kid.

Out of all the CEO's from the old Borland, to Microsoft, to Zinc  
(when AOL was a little DOS app.), he seems to be the only one to  
maintain a calm integrity and come out on top.


You can see it when he gives a speech.

Steve Ballmer when to school here in my home state of Michigan and  
Country Day Prep academy (unfortunately with my attorney when to  
school with him at the same time in my thing which is described  
not by me but by someone writing about the Federal Circuit of  
appeals; they went to school together in '72 '74) and Ballmer is  
still on the board.


Can you ever imagine the cool and calm Jobs doing a dance like Steve  
Ballmer did - the contrast is amazing to anyone who's Scene7 or more  
Jobs' speeches.


In any event, I put Apple over every other company -- that's just me  
-- may not be others, so it's all good, don't flame me.


But I've spent nearly $5,000 on Adobe software and I'd like to  
return every bit of it if this chosen date by them of Sept. 11th  
Webinar proves to be what I think it is.


I'm sure they're listening and may put a spin on it, but please, for  
your own sakes, do not trust any Corporations words, trust only the  
Actions they take.  Take it from a 40 year old telling a 20-25 year  
old, please use your talents wisely and be careful who you dedicate  
yourself too.  Ultimately, you should dedicate yourself to you and  
your family, if you have one, and take the route that will keep your  
investment in time and money safe.  If your a 9-5'er, and I know a  
lot of them in this Big3 area, there are different kinds of risks,  
that have a lot less to do with Flex (usually those are the people  
that had bosses shell out the $20,000 or so, I forget the exact  
price, for FLEX 1.0).


-r

On Aug 30, 2008, at 6:50 PM, Paul Andrews wrote:


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 11:02 PM
Subject: Re: [flexcoders] OpenLaszlo.org supports Flex,  
Silverlight, AJAX,

soon Quicktime, and also DHTML and W3C

 There is a different way to look at this. Right now, Flash is  
still just
 and on-line technology in the view of most people. Even though  
AIR
 does a lot of things, people still don't think it is very  
important.

 Similar problem that Microsoft had with VB being considered only a
 desktop tech and almost none taking it seriously as a server until
 Microsoft built server based applications.

 For me, Mass appeal of AIR is huge! It would mean that I can push  
Flex
 as a Desktop as well as a Web application. It becomes the  
replacement

 for VB and .net which then lets me solidify the build once/deploy
 everywhere that we have been talking about since the early Java  
days.


 I understand your concern that Adobe is doing similar things as  
you are

 however, Micorsoft, IBM, Oracle and most others also make a lot of
 applications that are similar to what their developers build  
also. The

 difference is customization as well as usage. I think if Adobe can
 produce good desktop and Web applications that we can showcase,  
we will
 be able to move the market away from Microsoft and Sun and  
increase the

 viability of using Flex 

[flexcoders] Restraining chart as Module within a Panel

2008-08-30 Thread Mic
I have a canvas with 4 panels inside it. Each panel takes up a quarter
of the canvas. When I populate the panels with modules that are
charts, the modules are not constrained within the outer containers -
the panels, but each chart module fills almost the whole canvas. How
do I get the modules to stay within their parent containers? TIA,

Mic.

mx:Canvas id=canvas1
   mx:Panel label=Test1 width=50% height=50% left=0 top=0
  mx:ModuleLoader url={cht1Strng}/   
   /mx:Panel
   mx:Panel label=Test2 width=50% height=50% right=0 y=0
  mx:ModuleLoader url={chart2String}/   
   /mx:Panel
   mx:Panel label=Test3 width=50% height=50% bottom=0
  mx:ModuleLoader url={chart3String}/   
   /mx:Panel
   mx:Panel label=Test4 width=50% height=50% bottom=0
  right=0
  mx:ModuleLoader url={chart4String}/
   /mx:Panel
/mx:Canvas



RE: [flexcoders] Printing Problems

2008-08-30 Thread Alex Harui
I'm surprised you aren't getting an error or warning in the console.  I think 
the use of callLater doesn't work during a printjob and the job might 
eventually timeout (see Flash Player's printing classes for timeout limits).  
Usually, all external data needs to be pre-loaded and the whole print page 
needs to have some validateNow call and send() right in the loop.  You can't 
put things off.  It is actually a bug in FP that you can't defer work.  I'm 
hoping they'll fix it someday, but it didn't make FP10.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donvoltz
Sent: Saturday, August 30, 2008 8:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Printing Problems


Would anyone be able to tell me why the following code creates a blank
page. I am using Flex 3 on Mac OS 10.5

I am able to add the custom printing compoent to the application, the
print dialog opens and it looks to be processing the print, however, I
am left with 2 blank pages when it is done. In addition, it crashes
Firefox when the print job is complete. I have added some of the ideas
presented in this group, however, can not seem to find any additional
information on the web about this problem. Has anyone overcome the issue.

The function I am using to print is as follows

private function printDailyManpowerList(event:MouseEvent):void {
var printJob:FlexPrintJob = new FlexPrintJob(); //create flex
print job
if (printJob.start() != true){
return;
}
var dailyPrint:DailyManpowerListPrintView = new
DailyManpowerListPrintView(); //create new print component
this.parentApplication.addChild(dailyPrint);
printJob.addObject(dailyPrint);
callLater(printJob.send); //start print
this.parentApplication.removeChild(dailyPrint);//remove component from
container
}

The code for the DailyManpowerListPrintView is

?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:views=com.dynamicmedicalventures.De2ORApplication.views.*
backgroundColor=#FF width=500 height=900
mx:Script
![CDATA[
import
com.dynamicmedicalventures.De2ORApplication.vo.CoordinatorMessageVO;
import com.dynamicmedicalventures.De2ORApplication.model.AppModelLocator;
import
com.dynamicmedicalventures.De2ORApplication.factories.UtilityFunctions;
import mx.events.CloseEvent;
import mx.managers.PopUpManager;

[Bindable]
private var modelLocator:AppModelLocator = AppModelLocator.getInstance();
[Bindable]
public var messageDetails:CoordinatorMessageVO;
]]
/mx:Script

mx:Label id=printTitle text=Daily Manpower List for
{UtilityFunctions.formatDateDisplay(modelLocator.selectedDate)}/
views:UserListPrint id=dailyUsers
initialUserList={modelLocator.dailyUserList} width=100%
height=50% /
/mx:VBox

Thanks for any help

Don



RE: [flexcoders] Re: Keydownhandler fires twice for each keystroke

2008-08-30 Thread Alex Harui
If you override keyDownHandler, you shouldn't need to call addEventListener 
since the base class will.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aceoohay
Sent: Saturday, August 30, 2008 12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Keydownhandler fires twice for each keystroke


I found a little more information.

This undesireable feature, aka bug manifests itself only if you
make the combobox editable.

I removed the editable=true and the problem goes away.

Paul

--- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, 
aceoohay [EMAIL PROTECTED] wrote:

 Since creating a test case would be challenging I am posting the
 component ValidatedComboBox.as. The problem I am having is that it
 appears to call the keyDownHandler(event:KeyboardEvent):void
function
 twice for each keystroke. I have commented out most of that
 function's code, as it used to handle all input there but now I
only
 handle the backspace there this is a patch to get it to function
 somewhat.


 package Classes.Input
 {
 import flash.events.Event;
 import mx.controls.ComboBox;
 import flash.events.KeyboardEvent;
 import flash.ui.Keyboard;
 import flash.events.FocusEvent;
 import flash.events.MouseEvent;

 /**
 * Create an extended version of the ComboBox that allows the
 definition of invalid indexes.
 *
 * The developer defines one or more invalid indexes in a
 comma separated list using the property badIndexes.
 * Most commonly the developer would specify 0 which is the
 first element in the list.
 *
 * New properties are;
 * badIndexes - A string that allows the developer to define
 a comma separated list of invalid indexes.
 * isVald - A boolean that defines whether the field is valid.
 *
 * New Methods are;
 * validateData() - This method checks if the data is valid
 and returns true if valid, false if invalid.
 *
 */
 public class ValidatedComboBox extends ComboBox
 {
 /** Bad indexes - A comma separated list of invalid
 indexes. */
 private var _badIndexes:String = ;

 /** Has this field passed validation */
 private var _isValid:Boolean = true;

 /** value */
 private var _value:Object;

 /** should we validate data */
 private var _doValidateData:Boolean = true;

 /** promptLabel */
 private var _promptLabel:String;

 /** toolTipField */
 private var _toolTipField:String = ;

 /** Default value A literal that represents the value
 that will replace the value
 * property when the method setDefault is executed */
 private var _defaultValue:String = ;

 private var _eventHandler:Function = this
 [checkData];

 private var _typedText:String = ;

 public function ValidatedComboBox()
 {
 //TODO: implement function
 super();
 this.addEventListener
 (Event.CHANGE,_eventHandler)
 }

 /**
 * Add a new inspectable property so the user can
 enter the Bad Indexesn
 * at authortime via the properties panel.
 *
 * @return the specified bad indexes
 */
 [Inspectable( type=String , defaultValue= )]
 public function get badIndexes():String
 {
 return this._badIndexes;
 }
 /**
 * Sets the the specified bad indexes
 */
 public function set badIndexes(
 badIndexes:String ):void
 {
 this._badIndexes = badIndexes;
 }

 /**
 * Add a new inspectable property so the user can
 enter the promptLabel for the field
 * at authortime via the properties panel.
 *
 * @return the specified promptLabel
 */
 [Inspectable( type=String , defaultValue= )]
 public function get promptLabel():String
 {
 return this._promptLabel;
 }
 /**
 * Sets the the specified promptLabel
 */
 public function set promptLabel(
 promptLabel:String ):void
 {
 this._promptLabel = promptLabel;
 }

 /**
 * Add a new inspectable property so the user can
 specify the whether this field should be validated
 * via the properties panel.
 *
 * @return the specified validate data flag.
 */
 [Inspectable( type=Boolean , defaultValue=false,
 enumeration=true,false )]
 public function get doValidateData():Boolean
 {
 return this._doValidateData;
 }

 /**
 * Sets the specified validate data flag.
 */
 public function set doValidateData(
 doValidateData:Boolean ):void
 {
 this._doValidateData = doValidateData;
 }

 /**
 * Add a new inspectable property so the user can
 enter the tool Tip Field for the field
 * at authortime via the properties panel.
 *
 * @return the specified toolTipField
 */
 [Inspectable( type=String , defaultValue= )]
 public function get toolTipField():String
 {
 return this._toolTipField;
 }
 /**
 * Sets the the specified toolTipField
 */
 public function set toolTipField(
 toolTipField:String ):void
 {
 this._toolTipField =toolTipField;
 }

 /**
 * Add a new inspectable property so the user can
 enter a Default value
 * at authortime via the properties panel.
 *
 * @return the specified Maximum value
 */
 [Inspectable( type=String , defaultValue= )]
 public function get defaultValue():String
 {
 return this._defaultValue;
 }
 /**
 * Sets the specified Default value
 */
 public function set defaultValue(
 

RE: [flexcoders] text markup - please help

2008-08-30 Thread Alex Harui
You can use html markup.  See flash.text.TextField for the subset of html tags 
it uses.

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif 
Abdou
Sent: Saturday, August 30, 2008 6:52 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] text markup - please help

I do not think you can do that with the current Flash Player 9 but maybe with 
10. There were a couple of threads a while ago about the same thing and there 
wasn't a real solution on this but I might be imagining things and be wrong.
- Original Message -
From: natjaimailto:[EMAIL PROTECTED]
To: flexcoders@yahoogroups.commailto:flexcoders@yahoogroups.com
Sent: Saturday, August 30, 2008 8:28 PM
Subject: [flexcoders] text markup - please help


Hello,
I have a text paragraph (dynamic content) which contain certain words
(need to be underlined) that need to respond to mouseover (or click)
that pops open a datagrid/list. I can imagine constructing the
paragraph with bunch of dynamically positioned textfields (some of
which) that respond to mouse over/click. Is there a better way (like
html markup text) I apologize if this is not a flexish issue and hence
doesn't belong here.

Thanks for any response,
-jlogan