[flexcoders] Re: Support movie format other than flv?

2007-05-12 Thread Stefan Schmalhaus
--- In flexcoders@yahoogroups.com, ad9798 [EMAIL PROTECTED] wrote:

 Is there way to make Apollo to play movie files other than flv format?
 Thinking about creating a simple media player with Apollo and I would
 love to make that player support avi or other format. Can we use
 DirectShow with actionscript 3.0 in any way?


No, I don't think so. DirectShow is platform-specific (Windows), and
Apollo is a cross-platform runtime. 

You could try to embed a QuickTime movie in an HTML file and load this
file into an HTML component, but if there's no QuickTime player on the
user's computer the movie doesn't play. 

Stefan



[flexcoders] Accessing SWF file from a URL

2007-05-12 Thread Gaurav Jain
 

Hi,

 

I have a flex application and I am trying to set the source of SWFLoader as
a URL of a SWF file.

But while doing so I am getting following error:

 

Error: SecurityError: Error #2047: Security sandbox violation:.

 

I had tried the same through Loader class as well. But the result is same.

 

 

Please suggest.

 

 

Thanks,

Gaurav



[flexcoders] Re: Can I debug a flex app running in the browser?

2007-05-12 Thread Cosma
--- In flexcoders@yahoogroups.com, meteatamel [EMAIL PROTECTED] wrote:

 Did you see James Ward's Debug Flex and Java together blog?
 

That post is about setting up a FDS project, I suppose that things are
a little different with plain client-only flex project.. anyway I'll
give it a try, thank you.



[flexcoders] Accessing SWF file from a URL

2007-05-12 Thread Gaurav Jain
 

Hi,

 

I have a flex application and I am trying to set the source of SWFLoader as
a URL of a SWF file.

But while doing so I am getting following error:

 

Error: SecurityError: Error #2047: Security sandbox violation:.

 

I had tried the same through Loader class as well. But the result is same.

 

 

Please suggest.

 

 

Thanks,

Gaurav



[flexcoders] Accessing SWF file from a URL

2007-05-12 Thread gaurav . jain
Hi,


I have a flex application and I am trying to set the source of  
SWFLoader as a URL of a SWF file.

But while doing so I am getting following error:

Error: SecurityError: Error #2047: Security sandbox violation.

I had tried the same through Loader class as well. But the result is same.

  Please suggest.


Thanks,

Gaurav



Re: [flexcoders] dataTipFunction on DataGridColumn with custom itemRenderer?

2007-05-12 Thread Igor Costa

Todd
Presuming on what Alex Harui said,  here's how to procedure:


mx:Component id=todd
mx:Label mouseOver=parentDocument.showDaysToolTip()/
/mx:Component

mx:DataGridColumn headerText=Days dataField=daysOfWeek
sortable=false editable=false
itemRenderer={todd}
width=40 showDataTips=true dataTipFunction=showDaysToolTip/

And my function is defined like this:

public function showDaysToolTip(obj:Object): String {
trace(in showDaysToolTip);
return testing;
}


Regards.

On 2/13/07, Todd Breiholz [EMAIL PROTECTED] wrote:


  Is it just me, or is it not possible to set a dataTipFunction on a
DataGridColumn that uses a custom itemRenderer?

I have the following DataGridColumn defined:

mx:DataGridColumn headerText=Days dataField=daysOfWeek
sortable=false editable=false
itemRenderer=com.meredith.newmedia.bhgdesktop.view.admin.blogDaysIcon
width=40 showDataTips=true dataTipFunction=showDaysToolTip/

And my function is defined like this:

public function showDaysToolTip(obj:Object): String {
trace(in showDaysToolTip);
return testing;
}

But this is never getting called.

Am I doing something unsupported?

Thanks!

Todd
 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] Re: DataGridColumn showDataTips problem

2007-05-12 Thread Igor Costa

Robert here's an example

?xml version=1.0?
!-- Simple example to demonstrate the Alert control. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Script
![CDATA[

public function flexItem(item:Object):String
{ var s:String = Harvard School;
return s;
}
]]
/mx:Script

mx:ArrayCollection id=flexbrasil
   mx:source
   mx:Object nome=item valor=200 imagem=photo.png/
   mx:Object nome=item 2 valor=100/
   mx:Object nome=item 3 valor=500/
   mx:Object nome=item 4 valor=140/
   mx:Object nome=item 5 valor=340/
   /mx:source
/mx:ArrayCollection
mx:DataGrid dataTipFunction=flexItem dataProvider={flexbrasil}
 mx:columns
  mx:DataGridColumn showDataTips=true dataTipFunction=flexItem
headerText=Column 1 dataField=nome/
  mx:DataGridColumn headerText=Column 2 dataField=valor/
 /mx:columns
/mx:DataGrid


/mx:Application


---
Igor Costa

On 2/23/07, Robert Chyko [EMAIL PROTECTED] wrote:


   Nope, no dataTipFunction is declared anywhere.



 -Original Message-
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Doug Lowder
*Sent:* Thursday, February 22, 2007 6:23 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: DataGridColumn showDataTips problem

 Are you also setting the dataTipFunction property? That would cause
the bahavior you're seeing.

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

 I am trying to use the showDataTips property of the
DataGridColumn. The
 documentation states:

 Datatips are tooltips designed to show the text that is too long
for
 the row. 

 I swear that in Flash, the similar functionality (whatever it was
called
 - not showDataTips) would only show the toolTip for a cell if the
text
 in the cell was wider than the width of the cell.

 The behavior I am seeing is that if I set showDataTips to true, the
 toolTip is always being shown, regardless of whether or not the
cells
 text is longer than the cell.

 Can anyone confirm/deny? Or am I just that thick...

 Thanks

 Bob Chyko


 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] DataGrid Tooltips

2007-05-12 Thread Igor Costa

Steve

If you're creating a custom toolTip you can't start using the property
toolTip= in blank

You have to just add createToolTip

But in your case I'd better advice you to using instead of toolTip use
DataTip there's a property called DataTipFunction

where you can put only the name of your method without curclly braces.


Regards.

--
Igor Costa


On 1/24/07, Steve House [EMAIL PROTECTED] wrote:


  With Flex 2, when the user mouses over a row in a datagrid, I would
like to show details of that particular row's object in the tooltip.
The datagrid dataProvider is an ArrayCollection of objects with many
properties. Only a few of the properties are shown in the DataGrid.

I am currently using this to get a custom tool tip...

(mx:script section)
private function createCustomTip(title:String, body:String,
event:ToolTipEvent):void {
var rtt:RequestToolTip = new RequestToolTip();
rtt.title = title
rtt.bodyText = body;
event.toolTip = rtt;
}

mx:DataGrid id=dgRequestList dataProvider={requests} toolTip= 
toolTipCreate=createCustomTip('DELETE','Click this button to delete
the report.', event)
mx:columns
mx:DataGridColumn headerText=Id dataField=iRequestId
width=50 / mx:DataGridColumn headerText=Title
dataField=sRequestTitle width=300/
/mx:columns
/mx:DataGrid

For example, these objects also have sRequestDescription properties
that I would like to show in the tooltip.

Thanks in advance,

Steve House
 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


[flexcoders] How to make text to flow around image component?

2007-05-12 Thread aibo747
I want to make some text to flow (wrap) around image component. Please
help.



Re: [flexcoders] show data tips not working for datagrid

2007-05-12 Thread Igor Costa

Cashorali


Here's an example
?xml version=1.0?
!-- Simple example to demonstrate the Alert control. --
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
!--
   mx:Script
   ![CDATA[
   import mx.controls.Alert;
   import mx.events.CloseEvent;

   // Event handler function uses a static method to show
   // a pop-up window with the title, message, and requested
buttons.
   private function clickHandler(event:Event):void {
   Alert.show(Do you want to save your changes?, Save
Changes, 3, this, alertClickHandler);
   }

   // Event handler function for displaying the selected Alert
button.
   private function alertClickHandler(event:CloseEvent):void {
   if (event.detail==Alert.YES)
   status.text=You answered Yes;
   else
   status.text=You answered No;
   }

   // Event handler function changes the default Button labels and
sets the
   // Button widths. If you later use an Alert with the default
Buttons,
   // you must reset these values.
   private function secondClickHandler(event:Event):void {
   Alert.buttonWidth = 100;
   Alert.yesLabel = Magenta;
   Alert.noLabel = Blue;
   Alert.cancelLabel = Green;

   Alert.show(Select a color:,Color Selection,1|2|8,this);
   }
   ]]
   /mx:Script

   mx:Panel title=Alert Control Example width=75%
horizontalAlign=center paddingTop=10
 mx:Text width=100% color=blue textAlign=center
 text=Click the button below to display a simple Alert window./
 mx:Button label=Click Me click=Alert.show('Hello World!',
'Message');/

 mx:Text width=100% color=blue textAlign=center
 text=Click the button below to display an Alert window and
capture the button pressed by the user./
 mx:Button label=Click Me click=clickHandler(event);/
 mx:Label id=status fontWeight=bold/

 mx:Text width=100% color=blue textAlign=center
 text=Click the button below to display an Alert window that uses
custom Button labels./
 mx:Button label=Click Me click=secondClickHandler(event);/
   /mx:Panel
--
mx:Script
![CDATA[

public function flexItem(item:Object):String
{ var s:String = Harvard School;
return s;
}
]]
/mx:Script

mx:ArrayCollection id=flexbrasil
   mx:source
   mx:Object nome=item valor=200 imagem=photo.png/
   mx:Object nome=item 2 valor=100/
   mx:Object nome=item 3 valor=500/
   mx:Object nome=item 4 valor=140/
   mx:Object nome=item 5 valor=340/
   /mx:source
/mx:ArrayCollection
mx:DataGrid dataTipFunction=flexItem dataProvider={flexbrasil}
 mx:columns
  mx:DataGridColumn showDataTips=true dataTipFunction=flexItem
headerText=Column 1 dataField=nome/
  mx:DataGridColumn headerText=Column 2 dataField=valor/
 /mx:columns
/mx:DataGrid


/mx:Application


Regards

--
Igor Costa


On 2/23/07, Cashorali, Tanya M. [EMAIL PROTECTED] wrote:


   I'm trying to get a certain field to show up because it is clipped by
the cell in my datagrid.



I've set showDataTips = 'true' in the datagrid column that I want to
show.  I've also set a dataTipFunction = showDetails on the datagrid
itself and for the column.



The function looks like this:

private function showDetails( item:Object ) : String {
var xmlItem:XML = item as XML;

return [EMAIL PROTECTED];

}



Nothing is happening though, no pop-up box, nothing.  I am using an
XMLListCollection as the dataprovider for the datagrid.
 The information transmitted in this electronic communication is intended
only for the person or entity to whom it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of or taking of any action in reliance upon this
information by persons or entities other than the intended recipient is
prohibited. If you received this information in error, please contact the
Compliance HelpLine at 800-856-1983 and properly dispose of this
information.

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


[flexcoders] uploading file flex - servlet

2007-05-12 Thread Luis Eduardo
  Hello, can some one send me just a bit of code regard of how to make a 
servlet handle a fileupload coming from flex?
  To flex send the file appear to be ok...  but my servlet simple appear 
to not know how to get the data of the image being uploaded.

i already search and read a lot but unfortunatelly dont figured out 
how to separate the data from the other headers.

so...  just a peace of code regard of this is enought.


  thanks!


Re: [flexcoders] setting toolTip of Tree Node

2007-05-12 Thread Igor Costa

Try to setup showDatatips=true in your Tree component

Best
--
Igor Costa


On 2/5/07, Greg Morphis [EMAIL PROTECTED] wrote:


  [related to the tree node rollOver message I started the other day..]

I'm trying to set the toolTip of a tree node and running into problems.
I'm not sure if it's a bug or what.

I can set the toolTip of the Tree, however you have to move the mouse
all the way off of the
Tree and back onto one of the nodes for it to change.
It doesnt seem to fire when moving from node to node..

I use the itemRollOver event as such : itemRollOver=rollOverEvent(event)

and
private function rollOverEvent(event : ListEvent ):void {
locationsTree.toolTip = [EMAIL PROTECTED];
}

this shows the toolTip of the node but as I move through the list it
doesnt change.
I have to mouse out of the Tree and back in to get it to fire again.

I've also tried using the dataTipField and showDataTips but that
doesnt work either.
I've also tried the dataTipFunction, but couldnt get that to work either.

Can someone offer some help..
 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] DataGrid dataTipFunction

2007-05-12 Thread Igor Costa

Why do you want another argument into the DatatipFunction?

That's an thing on my concern you dont'  have to use it, because the you
already pass an Object wich can contain lot's of things.


Regards

--
Igor Costa


On 1/2/07, graysonpierce [EMAIL PROTECTED] wrote:


  Hello,

I was wondering if there is a way of passing more than the default
item:Object argument to a dataTipFunction of a datagrid. In addition
to the item I'd like to pass a string variable.

GP

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] toolTip type behavior for DataGridColumns?

2007-05-12 Thread Igor Costa

DJBrown

The DataGrid Classes has three properties ( showDataTips,dataTipField and
DataTipFunction)

Here's an example of them using it.

http://www.igorcosta.org/flex2/AdvancedToolTip_Package.zip


Regards

--
Igor Costa


On 6/23/06, djbrown_rotonews [EMAIL PROTECTED] wrote:


  I'm wanting to add some toolTip type behavior when the user rolls over
some data in a DataGridColumn. It doesn't appear that the
DataGridColumn natively supports toolTip behavior, but is there a way
I can mimic one via the itemRollOver event?

Something like popping up a Label just under the current x,y
coordinates would suffice.

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] DataTip on DataGrid doesn't support html?

2007-05-12 Thread Igor Costa

Actually

Datagrid supports HTML, because the DataTips showed are derivated from
toolTip of our core.

Check this package I extended into the url bellow

Maybe this will help you to find out how to use it.

http://www.igorcosta.org/flex2/AdvancedToolTip_Package.zip


This could be the end of Spider Plain Text ToolTip for Datatip in Datagrid

On 1/26/07, Ely Greenfield [EMAIL PROTECTED] wrote:




I don't believe DatGrid supports HTML datatips.

Ely.


 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *ben.clinkinbeard
*Sent:* Friday, January 26, 2007 6:23 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] DataTip on DataGrid doesn't support html?

 The docs show examples of using dataTipFunction for charts, and they
show/say you can use simple html tags in the returned string. However,
I am using dataTipFunction on a dataGrid, and any tags I put in the
return string (b) are displayed as plain text. Am I missing a flag
somewhere or is html just not supported in this context?

Thanks,
Ben

 





--

Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta


Re: [flexcoders] uploading file flex - servlet

2007-05-12 Thread Luis Eduardo


  Sry, never mind.  after searching with some more faith  :)   i 
discover the o'reilly servlet multipart API on http://servlets.com/cos/ 
that, with some black magic, did the trick!

 


Luis Eduardo escreveu:

 Hello, can some one send me just a bit of code regard of how to make a
 servlet handle a fileupload coming from flex?
 To flex send the file appear to be ok... but my servlet simple appear
 to not know how to get the data of the image being uploaded.

 i already search and read a lot but unfortunatelly dont figured out
 how to separate the data from the other headers.

 so... just a peace of code regard of this is enought.

 thanks!

  




Re: [flexcoders] output formats (excel/word)

2007-05-12 Thread John Robinson
Flex doesn't have any output formats or any of this functionality  
built in. I'd say build your front end in Flex, but continue to use  
CF for your file output. Simply send your data to a CFC that does the  
conversion and then allow the user to download (or whatever) the  
outputted file.


John


On May 10, 2007, at 5:22 PM, Derrick Anderson wrote:


hi,

i am digging my heels into flex and as I am about to start a  
project for a client of mine to build a 'reporting dashboard' i am  
really considering using flex to do it (i am SO not impressed with  
coldfusion anymore :) )  I am up for the challenge but I am  
wondering how easy it is to create xls/doc/pdf documents in flex.   
i'm sure the pdf integration is there, but if i want to allow users  
to export data into excel and send it directly to their desktop  
(like cfcontent does),  would it be worth getting into?  are there  
any resources explaining how to do it?


thanks

Ahhh...imagining that irresistible new car smell?
Check out new cars at Yahoo! Autos. 




[flexcoders] binding chart data to getters

2007-05-12 Thread simonjpalmer
I have a bubble chart with a custom renderer which is a pie chart.  I
bind the chart to data which is an array of complex objects which
themselves contain references to other data objects in my application.  

The data displayed on the chart does not come from the bound object
but from the object that it contains.  

So the main chart looks like this

mx:BubbleChart xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:graphs=pmco.graphs.*
mx:series
graphs:LinearAreaBubbleSeries
dataProvider={fBubbles.bubbles} 
xField=x 
yField=y 
radiusField=radius 
itemRenderer=pmco.tv.tv_RSPPiePoint
minRadius=5
maxRadius=100
 showDataEffect=rearrangeData
id=bubbleSeries/
/mx:series
/mx:BubbleChart

LinearAreaBubbleSeries is just an overloaded BubbleSeries which scales
areas rather than radii with bubble  value.

The item renderer is a canvas with a pie chart on it (I have omitted
script code for brevity).

mx:Canvas 
xmlns:mx=http://www.adobe.com/2006/mxml; 
width=400 height=300 
horizontalScrollPolicy=off verticalScrollPolicy=off 
implements=pmco.graphs.IPiePoint

mx:PieChart id=chart height=100% width=100%
paddingRight=0 paddingLeft=0
showDataTips=false 
added=init_Pie()
 left=0 top=0
mx:series
mx:PieSeries 
dataProvider={RSPBubble(data.item).Slices} 
nameField=name field=size 
labelPosition=none 
id=pieSeries 
fills={data.item.fillColours}
/mx:PieSeries
/mx:series

/mx:PieChart

/mx:Canvas

the data items are complex objects (RSPBubble) which refer to an
underlying object which contains the real data (Competitor) (silly is
there because I can't figure out how to make the bubble chart show a
single series, it only shows anything when there are two bubbles, so I
add a silly one by default, a hack for another message...)

package pmco.graphs
{
import pmco.pojos.Competitor;
import mx.collections.ArrayCollection;
import pmco.utils.PieSegment;
import pmco.pojos.States;
import mx.graphics.SolidColor;
import pmco.pojos.User;

[Bindable]
public class RSPBubble
{
public var competitor:Competitor;
public var silly:Boolean;
public function toString():String
{
return competitor.name;
}
public function get y():Number
{
if (silly) return -99.99;
return competitor.market_attractiveness;
}
public function set y(_y:Number):void
{
if (!silly) competitor.market_attractiveness = _y;
}
public function get x():Number
{
if (silly) return -99.99;
return competitor.competitive_position;
}
public function set x(_x:Number):void
{
if (!silly) competitor.competitive_position = _x;
}
public function get total():Number
{
if (silly) return 0;
return competitor.potential;
}

public function get fillColours():Array
{
if (silly) return null;
return competitor.fillColours
}

// Artificially create pie slices
public function get Slices():ArrayCollection
{
if (silly) return pieSegments;
return competitor.Slices;
}
}
}

The point of the RSPBubble object is to abstract the chart rendering
from the underlying data and to be able to switch which data gets
displayed by adjusting the properties of the bubble, not the
underlying value object.  I haven't quite managed to do this cleanly
so the value object still has some remnants of chart knowledge (again,
snipped for brevity):

package pmco.pojos
{
import mx.collections.ArrayCollection;
import mx.graphics.SolidColor;
import mx.formatters.CurrencyFormatter;
import pmco.utils.PieSegment;
import pmco.interfaces.IAssumptionOwner;
import pmco.interfaces.INotesOwner;
import pmco.interfaces.IPojo;

[Managed]
[RemoteClass(alias=pmco.pojos.Competitor)]
public class Competitor implements IPojo
{  

private var arrFillColours:Array;
public function get fillColours():Array
{
if (arrFillColours == null)
{
arrFillColours = new Array();
arrFillColours.push(new
SolidColor(States.STATUS_COLOUR[state],States.ALPHA_VALUE));
if (isus)
{
arrFillColours.push(new
SolidColor(States.COLOUR_BUBBLE_BACKGROUND,States.ALPHA_VALUE));
}
else
{
arrFillColours.push(new
SolidColor(States.COLOUR_BUBBLE_BACKGROUND_C,States.ALPHA_VALUE));
}
}

Flash Player Security Forum (was Re: [flexcoders] Re: Load Display Image from FileReference)

2007-05-12 Thread John Robinson
Initially I had a whole post asking questions about why this was the  
case (can't reference user-selected file without uploading/ 
downloading first) but I felt it was pretty OT for the flexcoders  
list (or probably flashcoders list for that matter). Does anyone know  
of a venue for discussing Flash Player security specifics?


Thanks,
John

On May 11, 2007, at 4:45 PM, Daniel Freiman wrote:


Apollo would work.

I have no specific knowlage but my guess is that flex doesn't  
actually access your file system.  What it probably does is tell  
your browser to access the file system.  In any event, this issues  
has been widely discussed and there isn't a way around it (unless  
you can figure out how to hack adobe's security sandbox).


Dan Freiman
nondocs





RE: [flexcoders] Flex Component Kit for Flash CS3

2007-05-12 Thread Lincoln Mitchell
I think this is related to me updating Eclipse 3.2. Because I created a new
mxml file and got all the errors listed in post #60878

I will try to resolve this 1st and then see if the other errors still
appear.

Linc




Re: [flexcoders] Font Size Issue in Rich Text Editor Component

2007-05-12 Thread Daniel Freiman

This isn't a bug, it's by design.

In flash, 1pt is rendered as 1px so there's not much of a point of making
the distinction in the htmltext.

Additionally, the HTML that flash outputs isn't true html.  If you look
through your output you'll probably see other tags that don't look right
either (like textformat).  Flash html is described here:
http://livedocs.adobe.com/flex/201/html/textcontrols_060_10.html

Daniel Freiman
nondocs http://nondocs.blogspot.com

On 5/11/07, iko_knyphausen [EMAIL PROTECTED] wrote:



Hi all,

I think I found a bug in the RTEditor. When you select a font size, i.e.
12 it is interpreted in the component as 12pixels. Once you look at the
HTML property, you will see a FONT tag with the SIZE attribute set to
12. No px. This is something very different than 12px and it shows.

Is it a known bug... or am I missing something?

Thx

 



[flexcoders] Re: Font Size Issue in Rich Text Editor Component

2007-05-12 Thread iko_knyphausen

Thanks for clarifying. Yes I did note the textformattag, and that does
not matter, as most browsers are tolerant towards unrecognized tags.
The font size issue is sad though, because any other target platform
than Flash, will interpret point sizes. Maybe a solution would be to
have an optional property, such as htmlText and flashHtmlText, and
depending on your needs you get browser compatible HTML or Flash
compatible HTML.

Now I have to run global replaces to fix the issue, which is not very
efficient...

Thanks again

P.S. btw, the apros; entitity name is not recognized in IE. Using
#039; would be a better option.


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

 This isn't a bug, it's by design.

 In flash, 1pt is rendered as 1px so there's not much of a point of
making
 the distinction in the htmltext.

 Additionally, the HTML that flash outputs isn't true html. If you look
 through your output you'll probably see other tags that don't look
right
 either (like textformat). Flash html is described here:
 http://livedocs.adobe.com/flex/201/html/textcontrols_060_10.html

 Daniel Freiman
 nondocs http://nondocs.blogspot.com

 On 5/11/07, iko_knyphausen [EMAIL PROTECTED] wrote:
 
 
  Hi all,
 
  I think I found a bug in the RTEditor. When you select a font size,
i.e.
  12 it is interpreted in the component as 12pixels. Once you look at
the
  HTML property, you will see a FONT tag with the SIZE attribute set
to
  12. No px. This is something very different than 12px and it
shows.
 
  Is it a known bug... or am I missing something?
 
  Thx
 
 
 






[flexcoders] Re: Error Handling on Computers with No Sound Hardware

2007-05-12 Thread Danko Kozar
--- In flexcoders@yahoogroups.com, jpc14_99 [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
 
  Maybe I'm a little naive, but wouldn't you just use a try/catch to
  suppress the error.
  
 

1) I think that if Flash player handles issues such as working on 
multiple platforms - it has to address the absence of sound card issue 
too
2) OK, I've tested it with a debug version of Flash player too, so I 
don't know if the error is suppressed with an ordinary player



[flexcoders] Re: Flex crashes if no sound card present

2007-05-12 Thread Danko Kozar
Thanks, Doug!

Btw I have been using a debug version of Flash player on this computer, 
so I can't say that error isn't supressed on the ordinary one..


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

 Have you seen this thread?
 
 http://tech.groups.yahoo.com/group/flexcoders/message/66211




[flexcoders] Where are the templates for the class files? I want to change the bracket placement

2007-05-12 Thread Manuel Saint-Victor

Good evening everyone.  I'm looking for the templates that Flex Builder uses
to create the class files?  Can anyone advise me as to where that would be.
I've Googled myself into oblivion about this.
Mani


[flexcoders] Weird scrolling bug!

2007-05-12 Thread Abhishek Sil
Hi Guys,

I'm working on a moderated chat app. in flex. I'm using an
itemRenderer within a List to display a series of questions which the
expert can choose to reply. Now this itemRendered consists of:

text to display the question,
textInput to allow the expert to reply to it and a
button which is the send button.

Now the weird part is, say I type something into the first textInput
box to reply to the first question. when I scroll down, I see this
text which I entered in the first inputBox repeated in random rows
below too. Sometime when I scroll back up to the first item, the reply
is just not there... it's actually jumped from the box I typed it in
to some other box altogether! :S

Any help in this regard will be very helpful.

Cheers,
Abhishek



Re: [flexcoders] XMLHTTPRequest in Flex instead of Javascript

2007-05-12 Thread James Ward
You can also use the HTTPService and integrate with JAAS pretty easily.
We do this in the Meldware Flex based email client.  Here are a few code
snippets:

From Services.mxml:

mx:HTTPService id=loginService
url=j_security_check
showBusyCursor=true
useProxy=false/


From LoginDelegate.as:

public function login(user:UserVO):void
{
  var params:Object = new Object();
  params.j_username = user.username;
  params.j_password = user.password;
  var call:AsyncToken = service.send(params);
  call.addResponder(responder);
}

Hope that helps.

-James


On Fri, 2007-05-11 at 04:41 -0700, Jon Bradley wrote:
 On the same line of thought, since HTTPRequest seems to be one of the 
 answers to my problem, has anyone tried to perform user 
 authentication through that?
 
 The system we're developing uses servlets for all communication - but 
 it creates these dynamically as we define pages that contain 
 'portals' (every page is a dynamically created JSP page basically) in 
 the backend system.
 
 Am I correct to assume that if I can do a form post in an XHTML page, 
 I can convert that post to the HTTPRequest in Flex?
 
 thanks all!
 
 jon
 
 
 
 
  


[flexcoders] embeding swf file in java application

2007-05-12 Thread manas143_123
hi people i want to learn flex but i am not an web developer so how  
is it possibe to embed d swf file in java application i am using 
netbeans...actually i am working on some kind of network 
application..



[flexcoders] XMLRPC Web Service

2007-05-12 Thread Zeb
Can anyone give me an example of using an XMLRPC webservice with Flex
2? I need to be able to use methods like 'user.login', etc.

Does Flex  not support XMLRPC out of the box?? :(