RE: [flexcoders] Loading socket policy files q

2008-04-15 Thread Jesús Iglesias
Hi!!

 

You have to make a socket policy master SERVER, it’s not just an http
request to port 843. 

You need a server listening on port 843 responding to requests but not as a
http protocol.

 

Here you have one that is working fine:

http://blog.zappmonkey.com/2008/01/13/tcltk-flash-socket-policy-server/

 

 

Jesus Iglesias

 http://blog.osusnet.com http://blog.osusnet.com

 

 

 

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre
de ivo
Enviado el: martes, 15 de abril de 2008 6:01
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Loading socket policy files q

 

I am getting sick of re-reading the Socket Policy update doc.

Seems the Flash Player is always failing to load the master socket policy. I
see in policylog.txt:

Warning: Failed to load policy file from
http://mysite.com:/crossdomain.xml
Error: Request for resource at http://mysite.com:/accounts/login by
requestor from http://192.168.1.100/main.swf is denied due to lack of policy
file permissions.

Sniffing the http I dont see anywhere a request for the master socket policy
file at http://mysite.com:843 . The logging statements show that the line

Security.loadPolicyFile('xmlsocket://mysite.com:843');

is getting hit tho.

going to http://mysite.com:843 returns an xml socket policy file:

curl -v http://mysite.com:843

 HTTP/1.1 200 OK
 Date: Tue, 15 Apr 2008 03:55:09 GMT
 Server: Apache
 Last-Modified: Tue, 01 Apr 2008 21:32:45 GMT
 ETag: 10c81a9-119-47f2a9fd
 Accept-Ranges: bytes
 Content-Length: 281
 Connection: close
 Content-Type: application/xml
 
?xml version=1.0?
http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd; 
cross-domain-policy
  site-control permitted-cross-domain-policies=master-only/
  allow-access-from domain=* to-ports=/
/cross-domain-policy
* Closing connection #0


So what am I missing?

- Ivo

- Original Message 
From: ivo [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, April 14, 2008 3:04:00 PM
Subject: Re: [flexcoders] Loading socket policy files q

That should have been...(http://mysite. com:843/crossdomain . xml
http://mysite.com:/crossdomain.xml ).

also, I dont have control of the server so I cannot place a socket policy
file at port 

Thanks,

- Ivo

- Original Message 
From: ivo cervantes_vive@ yahoo.com
To: FlexCoders [EMAIL PROTECTED] ups.com
Sent: Monday, April 14, 2008 2:50:59 PM
Subject: [flexcoders] Loading socket policy files q

My app is hosted on a server that has a master Socket policy file served
from port 843 (http://mysite. http://mysite.com:/crossdomain.xml
com:/ crossdomain. xml):

cross-domain- policy
site-control permitted-cross- domain-policies= master-only /
allow-access- from domain=* to-ports= /
/cross-domain- policy

In the code I explicitly load the master policy file, yet the player still
tries to load

http://mysite. http://mysite.com:/crossdomain.xml  com:/
crossdomain. xml

And fails when it doesnt find one preventing me from communicating with the
service. Is there a step I am missing?

Thanks,

- Ivo

 

 

 



[flexcoders] text background color on textarea

2008-01-30 Thread Jesús Iglesias
Hi all, 

Is there a way to change the background color of some text in a textarea?

I have tried a style with backgroundColor=#00 and does not work.

Any ideas?

Thanks, 
Jesus

[flexcoders] text background color on textarea

2008-01-29 Thread Jesús Iglesias
Hi all, 

Is there a way to change the background color of some text in a textarea?

I have tried a style with backgroundColor=#00 and does not work.

Any ideas?

Thanks, 
Jesus

[flexcoders] capture ctrl+tab and ctrl+f4 on Explorer

2008-01-27 Thread Jesús Iglesias
Hi, 

I have made an app with a SuperTabNavigator where I catch ctr+tab and ctrl+f4 
events so you can navigate through the Tabs with keyboard.
The problem is it works fine on firefox but on Explorer7 that events dispath 
default browser actions (close tab and change tab onbrowser). 
Is there a way to cancel default events?

Thanks, 
JEsus

[flexcoders] Problem setting efects on TitleWindow

2007-02-02 Thread Jesús Iglesias
 
Hi all, 

I have a problem trying to set a Zoom efect on showing one TitleWindow as
popup. Effect is made ok, but at the end it throws one error:



ReferenceError: Error #1069: No se encontró la propiedad autoLayout en
_AdminContenidos_mx_managers_SystemManager y no hay ningún valor
predeterminado.
at mx.effects.effectClasses::ZoomInstance/onTweenEnd()
at mx.effects::Tween/endTween()
at
mx.effects::Tween/http://www.adobe.com/2006/flex/mx/internal::doInterval()
at mx.effects::Tween$/::timerHandler()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()


In english should be something like:

ReferenceError: Error #1069:  autoLayout property was not found on
_AdminContenidos_mx_managers_SystemManager and there is no default value.


The component:

?xml version=1.0 encoding=utf-8?
mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml;
close=PopUpManager.removePopUp(this);
 creationComplete=doInit() width=100% height=100%
autoLayout=false
  visible=false showEffect={ZoomRotateShow}
removedEffect={ZoomRotateHide}
mx:Script
![CDATA[
private function doInit():void {
this.visible=true;
PopUpManager.centerPopUp(this);
this.setFocus();
}   
]]
/mx:Script

mx:Parallel id=ZoomRotateShow
mx:Zoom id=myZoomShow 
zoomHeightFrom=0.0 zoomWidthFrom=0.0 
zoomHeightTo=1.0 zoomWidthTo=1.0/
!--
mx:Rotate id=myRotateShow /
--
/mx:Parallel

mx:Sequence id=ZoomRotateHide
!--
mx:Rotate id=myRotateHide/
--
mx:Zoom id=myZoomHide 
zoomHeightFrom=1.0 zoomWidthFrom=1.0 
zoomHeightTo=0.0 zoomWidthTo=0.0/
/mx:Sequence

..
...

/mx:TitleWindow



¿Any idea this error appears?


Regards,
Jesus



RE: [flexcoders] Re: detect activity on audio stream

2006-12-20 Thread Jesús Iglesias
Hi Derrick,
 
I have'nt tried, what I need is activity on incoming netStream, microphone
was only an example of activity method.
 
JEsus

  _  

De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre
de Derrick Grigg
Enviado el: miércoles, 20 de diciembre de 2006 2:32
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: detect activity on audio stream



Hey Jesus,

I don't have an answer for your question but I do have a question 
regarding the activity on the microphone. Are you able to detect the 
audio signal or just the start and stop events? I have been trying to 
find a way to get the SoundChannel from the microphone or outgoing 
netstream with no luck.

Derrick



 


[flexcoders] detect activity on audio stream

2006-12-19 Thread Jesús Iglesias
Hi,

I have an audio chat application that runs with flash media server. For each 
user I open a stream and all the user conects to this streams to hear each 
other.
I want to have an activity signal on each user, so I thought the best solution 
would be to detect activity on the stream, but there is no method. On 
microphone you get the activity event, but there is no similar thing on 
netstream.

Is there a way to know when there is activity on a netstream?

Thanks, 
Jesus


[flexcoders] detect activity on audio stream

2006-12-19 Thread Jesús Iglesias
Hi,

I have an audio chat application that runs with flash media server. For each 
user I open a stream and all the user conects to this streams to hear each 
other.
I want to have an activity signal on each user, so I thought the best solution 
would be to detect activity on the stream, but there is no method. On 
microphone you get the activity event, but there is no similar thing on 
netstream.

Is there a way to know when there is activity on a netstream?

Thanks, 
Jesus


[flexcoders] where to drop on tree

2006-11-07 Thread Jesús Iglesias





Hi again,

Thanks to you I have found that, on drag and drop 
with trees, data comes on treeItems. :)

Now i have one more problem. What I'm trying to do 
is a tree where you can move elements from one node to another and dispatch an 
event to upgrade database, so I need to know the new node where you drop the 
item (dataprovider is xml) and update databse with the ID of this 
node.
I alsa need to update the order of this item y the 
node, one of the main features of the aplicacion is to order items on a 
node.

I don't know where to begin, I do drag and drop 
fine and get "treeItems" moved, but I don't know how to get the info I 
need.


Thanks again,
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] help moving elements in a tree

2006-11-06 Thread Jesús Iglesias





Hi, 

I have a tree where I can move elements from one 
node to another. I have enabled drag and drop and all works fine. The last step 
is I need to know some details about destination. I created a doDrgagDrop 
function as on doc, 

dragEnabled="true" 
dropEnabled="true"dragMoveEnabled="true"dragEnter="doDragEnter(event);"dragExit="doDragExit(event);"dragOver="doDragOver(event);"dragDrop="doDragDrop(event);"
where:

 private 
function doDragDrop(event:DragEvent):void 
{ 
 var 
dropTarget:Tree=Tree(event.currentTarget); 
 
doDragExit(event); 
 var 
items:Array =event.dragSource.dataForFormat("items") as 
Array; 
Alert.show(items.length.toString()); 
}

But I get an error accesing a null 
object.

I supose after moving the element I could find the 
parent node in order to update database which this movement, but I need to know 
son info about moved element.

Please help!!

Thanks, 
Jesus

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] set one tab on tabnavigator without complete first

2006-11-02 Thread Jesús Iglesias





Hi, 
Ia have a tabNabigator with many tabs. I need some 
users to first open tabNavigator on one concrete tab, not the first, and in this 
case I don't want creationComplete event on this first tab to be executed. I can 
change the default tab to see, but first tab is always "created" completely. 


¿Can this be done?

Thanks.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] avoid propagate event on itemrenderer to datagrid

2006-11-02 Thread Jesús Iglesias





Hi again, 

I have a datagrid with a checkbox as itemrenderer. 
Datagrid has a "change" event and checkbox has a click event. 

If I click on checkbox, I want to execute checkbox 
click event but NOT datagrid change event, but I don't know how to stop event 
propagation.

Does anybody know?

Thanks again.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] update itemRenderer value when dataprovider change

2006-10-27 Thread Jesús Iglesias





Hi, 


I 
have a datagrid with a numericstepper as itemrenderer and an ArrayCollection as 
dataProvicer.
Although you can change the corresponding value of the ArrayCollection 
when clicking numericStepper, this values can change with external events 
too. So, when I modify the value on the Array collection, I need the numeric 
stepper to be updated to that value, but I don't know how to detect changes to 
listData.
I 
tried also distpaching a FlexEvent.DATA_CHANGE but nothing happens. 
ArayCollection is well updated, if y click on datagrid headers to order, all 
values are updated fine. I only need how to update the 
itemrenderer.

Please help!!!

Thanks.
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] update an itemrenderer from outside

2006-10-25 Thread Jesús Iglesias





Hi and thanks Igor.

I think I haven't understand what you 
said.

outerDocument is used inside the itemRenderer, but what I 
want to do is just the opposite, in the main app update the renderer "value". I 
update the data provider and when I do that I need the numericstepper to be 
updated too. 
If I could detectchanges on the dataprovider I could 
use outerdocument inside the renderer.

so, ¿how?

Thanks again.





De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Igor CostaEnviado 
el: miércoles, 25 de octubre de 2006 13:19Para: 
flexcoders@yahoogroups.comAsunto: Re: [flexcoders] update an 
itemrenderer from outside
Jesusyou have to create a function to do that, but in the 
case of update the grid after you change in the numeric stepper you just have an 
a scope problem. To acess a member outside an itemrender you have to choose the 
item " outerDocument.functionyouCreate()" in the tigger click.So, that's 
you need.Regards.
On 10/24/06, Jesús 
Iglesias  [EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  Hi again,
  
  I have a datagrid with a numericstepper 
  asitemrenderer. What I need todo is the opposite of the traditional 
  change method, instead of clicking the numericstepper, I have to update de 
  datagrid's dataprovider and have the numericstepper updated as it's field 
  change.
  
  ¿How to update the itemrenderer when you change 
  the dataprovider?
  ¿how to tell the numericstepper to update value 
  property?
  
  I have tried dataChange property of the 
  itemrenderer but it seems it's not what i'm looking for.
  
  Thanks again...
  Jesus
  -- 
Igor Costawww.igorcosta.com  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] update an itemrenderer from outside

2006-10-24 Thread Jesús Iglesias





Hi again,

I have a datagrid with a numericstepper 
asitemrenderer. What I need todo is the opposite of the traditional change 
method, instead of clicking the numericstepper, I have to update de datagrid's 
dataprovider and have the numericstepper updated as it's field 
change.

¿How to update the itemrenderer when you change the 
dataprovider?
¿how to tell the numericstepper to update value 
property?

I have tried dataChange property of the 
itemrenderer but it seems it's not what i'm looking for.

Thanks again...
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] netstream onPlayStatus

2006-10-23 Thread Jesús Iglesias





Hi, 

I have a netstream which plays a video from 
FlashComm. I need detect when playback finish, soy I think I could use 
onPlayStatus event. 
The proble is I don't know how to use 
it.

Does anybody know something?

Thanks, 
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Fw: [flexcoders] Re: insert image on richtexteditor

2006-10-19 Thread Jesús Iglesias
Hi Jason,

Well, I found a dirty solution, but works. First of all, think that image 
support is not well supported on RichTextEditor, in fact it's not well 
suported on TextArea, if you change the image and play arround a little, it 
runs unstable.

What I did was a new component extending RichTextEditor. The button to 
insert image opens a WindowPopup to select the image and returns the path to 
the component. Then:

 public function addImagen(url:Object):void{
 var inicio:Number=this.textArea.selectionBeginIndex;
   var myTARange:TextRange = new TextRange(this, false, inicio, inicio+1);
   myTARange.htmlText=##||##;

   var html:String=this.htmlText;
   var id:Date=new Date();
   var 
idlink:Number=Math.round((Math.random()*10)*(Math.random()*10));

   var 
imagen:String=##||##+id.time.toString()+##||##+url.src+##||##+url.ancho 
+
 
##||##+url.alto+##||##+url.vspace+##||##+url.hspace+##||##+url.align+##||##+idlink.toString();

   html=html.replace(##||##, A HREF=\event:IMAGEN+imagen+\  +
 ID=\+idlink.toString()+\ +
 IMG  +
 SRC=\+url.src+\  +
 ID=\+id.time.toString()+\  +
 WIDTH=\+url.ancho+\  +
 HEIGHT=\+url.alto+\  +
 VSPACE=\+url.vspace+\  +
 HSPACE=\+url.hspace+\  +
 ALIGN=\+url.align+\/IMG/A);
   this.htmlText=html;
}

This way you can change the image only clicking on it.

Later there is another problem. As I said this is a dirty and poor supported 
job. When you try to save and later load the content with the image ther was 
a xml exception (maybe it was solved on final version, I think I develop 
this module with Beta 3).
If you look at the generated text you find that... it's not well formed 
xml Although you insert a correct img tag, img.../img (or img 
.../), the editor returns img... whithout closing whe node. So I had to 
make an postprocessing before saving:

 private function desProcesaTexto(texto:String):String{
 XML.ignoreWhitespace = true;
   XML.prettyPrinting = false;

   var pattern:RegExp = /IMG([^]*)/gi;
   texto=texto.replace(pattern, IMG $1 /IMG);

 var temp:XML=XML(texto+texto+/texto);
   var allTags: XMLList;
   var item:XML;
   var href:String;
   var params:Array;
   var protocolo:String;
   var tempitem:XML;

   //primero las imagenes
   allTags= temp..IMG;
   for each(item in allTags) {
var xlcParent:XMLListCollection = new 
XMLListCollection(item.parent().parent().children());
tempitem=XML(xlcParent.toXMLString());
xlcParent.setItemAt(item, 0);
   }
   //ahora los links
   allTags = temp..A;
   for each(item in allTags) {
[EMAIL PROTECTED];

 href=href.replace(event:, );
params = href.split(##!!##);
if(params[1]==HTTP) protocolo=http://;;
if(params[1]==MAIL) protocolo=mailto:;;
[EMAIL PROTECTED];
[EMAIL PROTECTED];
   }

   texto=temp.toString();
   texto=texto.replace(IMGAGEN , IMG );
   texto=texto.replace(texto, );
   texto=texto.replace(/texto, );
 return  texto;
}


This function also does some postprocesing with links and images. I didn't 
like the add link method of ricchtexteditor and made my own, so you can edit 
the link easily. This also removes links on images, those links I inserted 
when adding an image. This way you can also make a change image method.


Well, maybe is not very clear, I said it was ugly and dirty, but works fine 
:)

If you have doubts I can send you the component... no problem.

Regards,
Jesus



-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En nombre
de Jason
Enviado el: miércoles, 18 de octubre de 2006 23:30
Para: flexcoders@yahoogroups.com
Asunto: [flexcoders] Re: insert image on richtexteditor

Hi Jesús,

Did you ever find a solution to this problem?  I too am trying to allow
users to insert an image into a RTE (RichTextEditor) and am having problems.

--jason

--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote:

 Hi,

 I have added a new control to a richtexteditor to let user insert
 images.
 I'm inserting the image this way:

 var myTARange:TextRange = new TextRange(editor, false, 10, 10);
 myTARange.htmlText=img src=\url\ /;

 But the image is not inserted. If I do this:

 editor.textArea.htmlText+=img src=\url\ /;

 the image is inserted and displayed.

 How to insert an image in the middle of the text?

 Jesús Iglesias
 Alvento Soluciones Móviles
 Poeta Querol, 5 - 2
 46002 Valencia (España)
 [tel]: (+34) 96.353.02.15
 [fax]: (+34) 96.353.08.09
 [e-mail]:  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 [web]:  http://www.alvento.com/ www.alvento.com

 Este correo electrónico y, en su caso, cualquier fichero anexo al
 mismo, contiene información de carácter confidencial exclusivamente
 dirigida a su destinatario o destinatarios y propiedad de Alvento
Soluciones S.A.
 Queda prohibida su divulgación, copia o distribución a terceros sin la
 previa autorización escrita de Alvento Soluciones S.A., en virtud de
 la legislación

[flexcoders] Problem with memory effect on datagrid

2006-10-08 Thread Jesús Iglesias





I have a datagrid in which I have an itemRenderer 
(a canvas with a text field). Depend on certain value of data, I change the 
background color of the canvas and the text of textfild. The problem comes when 
I have many records and scrollbar appears on datagrid. When scrolling the values 
of this itemrenderer are not updated fine, so I have wrong values. I know Flex 
reuses the itemrenderes, so...How to avoid this 
"memory effect"?

Thanks, 
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] binding datagrid and form

2006-09-26 Thread Jesús Iglesias





Hi 

I have one datagrid and a form. The form displays 
data of datagrid selectedItem. 
What I want is to bind datagrid and form 
"bidirectionaly" so that if you change data on the form, data gets changed on 
datagrid.

I don't know how to do this. 

Thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] add event to panel titlebar

2006-09-21 Thread Jesús Iglesias





Hi, 

I need to add a doubleclick event to the titlebar 
of a Panel on a mxml component. ¿how?

I don't want to have to extend Panel making a new 
component on AS3, I want ton only add the event on mxml script.

Thanks.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Chage text on main preload

2006-08-07 Thread Jesús Iglesias





Yes, thanks Samuel.

Jesus


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] En nombre de Samuel 
ReubenEnviado el: lunes, 07 de agosto de 2006 14:01Para: 
flexcoders@yahoogroups.comAsunto: Re: [flexcoders] Chage text on main 
preload

I think you posted the same question on the Discussion forum, it's answered 
there for you.

Thanks,
-sam
On 8/2/06, Jesús 
Iglesias [EMAIL PROTECTED] 
wrote: 

  
  
  
  
  
  
  Hi again, 
  
  Does anybody know how to change the text of the 
  main preload "Loading" and "Initializing"?
  
  Thanks.
  
   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] show points on linechart

2006-07-28 Thread Jesús Iglesias





Hi, 

I am starting with chart components and I am a 
little missing.

How to show the points of a lineseries on a 
linechart?


I have my line graph but I want it to show all de 
points that generate the line, as when you are over the point with mouse but all 
the points and forever.

Thanks.

jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] delete a xml node

2006-07-24 Thread Jesús Iglesias
Title: Mensaje





Hi, 

I 
have a XML which really is some xhtml.
I 
want to delete come nodes but but I can't find the right 
way:

var 
temp:XML;
delete temp..A.(@HREF == id);
This 
reports error: delete operand cand not be used with xmllist operand (more or 
less)

And 
this way:

var 
allTags: XMLList = temp..A.(@HREF == id);var 
item:XML;for each(item in allTags) 
{delete item;
}
Reports: Attempt to delete the fixed property 
item. Only dynamically defined properties can be 
deleted.TextEditorNuevaImagen.mxmlgrupochs.comline 
9624 de julio de 2006 12:26:48728
I can delete all subnodes and all attributes, but A node stays empty. I 
want to remove the whole A node.

Thanks.
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



RE: [flexcoders] Not acept drag on Tree nodes

2006-07-20 Thread Jesús Iglesias
Yes, it is supposed to work, but drop event is made always.

My tree have:

dragEnabled=true dropEnabled=true
dragEnter=handleDragDrop(event) 

And the handler (empty):

private function handleDragDrop(event:DragEvent) : void{

}

I don't call acceptDragDrop but the drop is made the same.

Please any help. 

Thanks again.




-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 10:47
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes


On Wednesday 19 July 2006 17:57, Jesús Iglesias wrote:
 I have read the docs, but I don't know how to deny drop, there is aa 
 acceptDragDrop method, but not anything to deny.

In your dragEnter handler, don't call DragManager.acceptDragDrop if you
don't 
want it dropped.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.




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



 






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Not acept drag on Tree nodes

2006-07-20 Thread Jesús Iglesias
Yeah!!!
We are on the right way. 

Now I have another problem:

private function dragIt(event:MouseEvent):void {
var dragInitiator:Tree=Tree(event.currentTarget);
var ds:DragSource = new DragSource();
DragManager.doDrag(dragInitiator, ds, event);
}

As you know I want to only drag the nodein which you click, but now I
don't know how to ger that node. If I do something like:

var dragInitiator:Obejct=Tree(event.currentTarget).selectedItem;

But it's an object, not an UIComponenet.

How to get and duplicate as dragsource the node?

Thanks

-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 12:05
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes


On Thursday 20 July 2006 10:36, Jesús Iglesias wrote:
 Yes, it is supposed to work, but drop event is made always.

AFAIK you can't mix automatic drag/drop behaviour (dragEnabled=true 
dropEnabled=true as MXML attributes) and doing it yourself 
(mouseMove=dragIt()... dragEnter=doDragEnter(event); 
dragDrop=doDragDrop(event); as MXML events).

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office
address is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Any
reference to a partner in relation to Halliwells LLP means a member of
Halliwells LLP. Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee
you must not read it and must not use any information contained in nor
copy it nor inform any person other than Halliwells LLP or the addressee
of its existence or contents.  If you have received this email in error
please delete it and notify Halliwells LLP IT Department on 0870 365
8008.

For more information about Halliwells LLP visit www.halliwells.com.




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



 






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Not acept drag on Tree nodes

2006-07-20 Thread Jesús Iglesias
Hi again and thanks for your help.

I had saw the sample from de the docs, but the sample tries to drag and
drop a Canvas.

Following that sample I can drag and drop full tree object, but I want
to drag only one node. The problem is how to instantiate that node and
not the tree:

var dragInitiator:Tree=Tree(event.currentTarget);

This, obviously, works, but drags entire tree.

What I need is something likd:

var dragInitiator:Object=Tree(event.currentTarget).selectedItem;

But it has to bee a UIComponent, not just an object.

Is ther any component such a TreeNode or similar?

Thanks again.


-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Tom Chiverton
Enviado el: jueves, 20 de julio de 2006 12:40
Para: flexcoders@yahoogroups.com
Asunto: Re: [flexcoders] Not acept drag on Tree nodes


On Thursday 20 July 2006 11:34, Jesús Iglesias wrote:
 private function dragIt(event:MouseEvent):void {
 var dragInitiator:Tree=Tree(event.currentTarget);
 var ds:DragSource = new DragSource();
 DragManager.doDrag(dragInitiator, ds, event);
 }
 var dragInitiator:Obejct=Tree(event.currentTarget).selectedItem;

I've got:
private function dragIt(event:MouseEvent, text:String,
format:String):void {
// Get the drag initiator component from the event object.
var dragInitiator:Canvas=Canvas(event.currentTarget);
// Create a DragSource object.
var ds:DragSource = new DragSource();
// Add the data to the object.
ds.addData(text, format);

// Create a Canvas container to use as the drag proxy.
// You must specify a size for the proxy image,
// or else it will not appear.
var canvasProxy:Canvas = new Canvas();
canvasProxy.width=30;
canvasProxy.height=30;
canvasProxy.setStyle('backgroundColor',
dragInitiator.getStyle('backgroundColor'));

// Call the DragManager doDrag() method to start the drag.
// For information on this method, see
// the Initiating the drag section.
DragManager.doDrag(dragInitiator, ds, event, canvasProxy);
}
here from the docs, and it has more stuff in the doDrag() call...

-- 
Tom Chiverton



 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Not acept drag on Tree nodes

2006-07-19 Thread Jesús Iglesias
I have read the docs, but I don't know how to deny drop, there is aa 
acceptDragDrop method, but not anything to deny.


Jesus

- Original Message - 
From: Tom Chiverton [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 19, 2006 1:31 PM
Subject: Re: [flexcoders] Not acept drag on Tree nodes


On Tuesday 18 July 2006 21:19, Jesús Iglesias wrote:
 subnode's drag and drop, from one node to another. The problem is I don't
 know how to reject the drag when your are on a subnode (showing the stop
 signal) and enable it only when you are on a node.

You'll need to write custom drag handling code as per the docs.

-- 
Tom Chiverton



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
St James's Court Brown Street Manchester M2 2JF.  A list of members is 
available for inspection at the registered office. Any reference to a 
partner in relation to Halliwells LLP means a member of Halliwells LLP. 
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may 
be confidential or legally privileged.  If you are not the addressee you 
must not read it and must not use any information contained in nor copy it 
nor inform any person other than Halliwells LLP or the addressee of its 
existence or contents.  If you have received this email in error please 
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.




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










 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Not acept drag on Tree nodes

2006-07-18 Thread Jesús Iglesias





Hi, 

I have a tree in which I want to enable drag and 
drop between main nodes, i.e. the tree have online nodes and subnodes, what I 
want is to enable subnode's drag and drop, from one node to 
another.
The problem is I don't know how to reject the 
dragwhen your are on a subnode (showing the stop signal) and enable it 
only when you are on a node.

Thanks.

Jesus
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] selecting a child node on a tree

2006-07-16 Thread Jesús Iglesias





Hi, 

I have a tree with an XML as dataProvider, 
something like


node label="label1"

 node label="label11" / 
 node label="label12" / 
 node label="label13" 
/
/node
node label="label2"
 node label="label21" / 
 node label="label22" / 
 node label="label23" 
/
/node

I need to select one node child, i.e. label12

[Bindable]private var 
arbolXML:XMLListCollection=new 
XMLListCollection();arbolXML.source=XMLList(result.arbol);my_tree.dataProvider=arbolXML;my_tree.validateNow();my_tree.selectedIndex=0;my_tree.expandItem(arbolXML.getItemAt(0), 
true);
With this code I expand de node label1, but now, how to set selected item 
no child label12?

Thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Get A nodes from html-xml

2006-07-03 Thread Jesús Iglesias





Hi, 

I have a htmltext wich I cast to XML. Now I need to 
read all of the A tags of the html,something like myxml.*.A, but nothing 
seems to work.

Do you know how to read all links?

Thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] remove all content of RichtextEditor

2006-06-20 Thread Jesús Iglesias
Title: Mensaje





Hi, 


I 
have a richtexteditor in wich I load some html with embeded images, 
ie:

ptext text text img src=""/ 
more text more text /p

At 
one moment I need to change the content of the richtexteditor and load other 
diferent text. This is partially done, the text is changed but the images does 
not disapeared, it seems asthe images where objects of the textarea, but 
the textarea has no getchilds method to remove each image.

How 
can I remove ALL the content of the richtexteditor?

Thanks!!
Jesus Iglesias
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] RV: insert image on richtexteditor

2006-06-09 Thread Jesús Iglesias
Title: Mensaje





Any 
help on this?



-Mensaje original-De: Jesús Iglesias 
[mailto:[EMAIL PROTECTED] Enviado el: jueves, 08 de junio de 2006 
11:51Para: 'flexcoders@yahoogroups.com'Asunto: insert 
image on richtexteditor
Hi, 


I 
have added a new control to a richtexteditor to let user insert images. 

I'm 
inserting the image this way:

var 
myTARange:TextRange = new TextRange(editor, false, 10, 
10);myTARange.htmlText="img src="" /";

But 
the image is not inserted. If I do this:

editor.textArea.htmlText+="img src="" 
/";

the 
image is inserted and displayed.

How 
to insert an image in the middle of the text?
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] RV: resizable, maximize and minimize TileWindow

2006-06-09 Thread Jesús Iglesias
Title: Mensaje





Nobody has made somthing similar?


-Mensaje original-De: Jesús Iglesias 
[mailto:[EMAIL PROTECTED] Enviado el: miércoles, 07 de junio de 2006 
17:29Para: 'flexcoders@yahoogroups.com'Asunto: resizable, 
maximize and minimize TileWindow
Hi 
all, 

Have 
any of you made a TileWindow component with resize, maximize and minimize 
controls?
Can 
you give me any idea on how to do it?

Thanks.
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] insert image on richtexteditor

2006-06-08 Thread Jesús Iglesias
Title: Mensaje





Hi, 


I 
have added a new control to a richtexteditor to let user insert images. 

I'm 
inserting the image this way:

var 
myTARange:TextRange = new TextRange(editor, false, 10, 
10);myTARange.htmlText="img src="" /";

But 
the image is not inserted. If I do this:

editor.textArea.htmlText+="img src="" 
/";

the 
image is inserted and displayed.

How 
to insert an image in the middle of the text?
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] resizable, maximize and minimize TileWindow

2006-06-07 Thread Jesús Iglesias
Title: Mensaje





Hi 
all, 

Have 
any of you made a TileWindow component with resize, maximize and minimize 
controls?
Can 
you give me any idea on how to do it?

Thanks.
Jesús 
IglesiasAlvento Soluciones MóvilesPoeta Querol, 5 - 246002 Valencia 
(España)[tel]: (+34) 96.353.02.15[fax]: (+34) 96.353.08.09[e-mail]: 
[EMAIL PROTECTED][web]: www.alvento.com

Este correo 
electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios y propiedad de Alvento Soluciones S.A. Queda prohibida su 
divulgación, copia o distribución a terceros sin la previa autorización escrita 
de Alvento Soluciones S.A., en virtud de la legislación vigente. En el caso de 
haber recibido este correo electrónico por error, se ruega notificar 
inmediatamente esta circunstancia mediante reenvío a la dirección electrónica 
del remitente y la destrucción del mismo.

The information in this e-mail and in any attachments is classified as 
Alvento Soluciones S.A. Confidential and Proprietary Information and solely for 
the attention and use of the named addressee(s). You are hereby notified that 
any dissemination, distribution or copy of this communication is prohibited 
without the prior written consent of Alvento Soluciones S.A. and it is strictly 
prohibited by law. If you have received this communication by error, please, 
notify the sender by replying e-mail.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] add target to link on RichTextEditor

2006-06-06 Thread Jesús Iglesias





Hi again, 

I have a richtexteditor and I want to let the user 
add the "target" field when inserting a link. 
How to add the target to a link on the 
richtexteditor?


Regards, 
Jesus
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] diferent color for each day on datachooser

2006-05-28 Thread Jesús Iglesias





Hi, 

Is there a way to style each day of a datechooser 
indepent of all the other? i.e.
day 1: background red
day 2: blue
day 3: green

and so on...

thanks.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias





Hi again, 

On Flex2b3, is there a way to hide the day chooser 
on a DateChooser and leave only top Month/year 
navigator?





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias



Yes, I know, but I only need a month/year navigator, datechooser with day 
navigator is very big if all the days are unusable.




- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, May 26, 2006 12:26 AM
Subject: [flexcoders] Re: hide day navigator on DateChooser


I don't think that you can hide the days (unless you want to
subclass), but the dateChooser does have disabledDays, disabledRanges
and selectableRange properties.

-TH

--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote:

 Hi again,

 On Flex2b3, is there a way to hide the day chooser on a DateChooser
and leave only top Month/year navigator?









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














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Re: hide day navigator on DateChooser

2006-05-25 Thread Jesús Iglesias



Yeah!!! that's an idea !!!

Thanks !!!

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Friday, May 26, 2006 1:13 AM
Subject: [flexcoders] Re: hide day navigator on DateChooser


Ok, how about resizing the control like:

mx:DateChooser height=31 width=153/

-TH

--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote:

 Yes, I know, but I only need a month/year navigator, datechooser
with day
 navigator is very big if all the days are unusable.




 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, May 26, 2006 12:26 AM
 Subject: [flexcoders] Re: hide day navigator on DateChooser


 I don't think that you can hide the days (unless you want to
 subclass), but the dateChooser does have disabledDays,
disabledRanges
 and selectableRange properties.

 -TH

 --- In flexcoders@yahoogroups.com, Jesús Iglesias jesus@ wrote:
 
  Hi again,
 
  On Flex2b3, is there a way to hide the day chooser on a
DateChooser
 and leave only top Month/year navigator?
 








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









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














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] set node selected on a tree

2006-05-20 Thread Jesús Iglesias





I have a tree width an object as 
dataProvider.

In response a some events of my aplication I need 
to select one node from the tree. The problem is I don't know how to do 
it.

I tried 

treExplorer.selectedItem=treExplorer.getChildAt(i);

but it does nothin. Even more, how would I select a 
child node?and a child of a child node?

Thanks.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Re: set node selected on a tree

2006-05-20 Thread Jesús Iglesias



Sorry,
Flex 2b3.

Jesus

- Original Message - 
From: Michael Montagna [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Saturday, May 20, 2006 8:22 PM
Subject: [flexcoders] Re: set node selected on a tree


--- In flexcoders@yahoogroups.com, Jesús Iglesias [EMAIL PROTECTED] wrote:

 I have a tree width an object as dataProvider.

 In response a some events of my aplication I need to select one node
from the tree. The problem is I don't know how to do it.

 I tried

 treExplorer.selectedItem=treExplorer.getChildAt(i);

 but it does nothin. Even more, how would I select a child node? and
a child of a child node?

 Thanks.


Which version of Flex are you using?

-Michael







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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  












[flexcoders] AMFPHP credentials, secured services

2006-05-18 Thread Jesús Iglesias



Hi, 

How can I run secured services now on Flex2 through amfphp. I have not
found any setCredentials method.

Thanks.







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] AMFPHP credentials, secured services

2006-05-18 Thread Jesús Iglesias



Hi,
Here you got. What I don't know is how to pass credentials. 
Thanks.

private var gateway : RemotingConnection;
gateway = new RemotingConnection( http://domain.com/amfphp/gateway.php
);
gateway.call( Service.getMethod, new Responder(onResultGetMethod,
onFault));

RemotingConnection.as
-
package {
 import flash.net.NetConnection;
 import flash.net.ObjectEncoding;
 public class RemotingConnection extends NetConnection{
  public function RemotingConnection( sURL:String ){
   objectEncoding = ObjectEncoding.AMF0;
   if (sURL) connect( sURL );
  }
  public function AppendToGatewayUrl( s : String ) : void{
  //
  }
 }
}




-Mensaje original-
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] En
nombre de Peter Farland
Enviado el: jueves, 18 de mayo de 2006 15:55
Para: flexcoders@yahoogroups.com
Asunto: RE: [flexcoders] AMFPHP credentials, secured services


How are you calling your amfphp endpoint?
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jesús Iglesias
Sent: Thursday, May 18, 2006 7:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] AMFPHP credentials, secured services

Hi, 

How can I run secured services now on Flex2 through amfphp. I have not
found any setCredentials method.

Thanks.



 Yahoo! Groups Sponsor ~--
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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



 





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



 










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.