[flexcoders] Error after loading swf

2007-06-05 Thread tonyx_788
Hi all, i get this error Error: Unable to load ''. after loading a swf
  and my app just stops working
here is part of my code.


*main mxml

 private function ShowPano():void
 {
  var SWFLoaderInstance:Panoramica2 =
Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
instantiate and show the title window

  PopUpManager.centerPopUp(SWFLoaderInstance);
  SWFLoaderInstance.mainAppPano = this  //Reference to the main app
scope
  }

***Panoramica2

?xml version=1.0 encoding=utf-8?
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml;
creationComplete=doInt()
cornerRadius=10 width=600 height=450
mx:Script![CDATA[
import mx.controls.PopUpMenuButton;
import mx.managers.PopUpManager;
import mx.collections.ArrayCollection;
import mx.controls.Button;

 [Bindable]public var mainAppPano:Object = null;
//called by the close event raised byclicking the close button
 private function closeWindow():void
 {
   PopUpManager.removePopUp(this);
 }//closeWindow
 private function doInt():void
 {
 PopUpManager.centerPopUp(this);
 }
]]
/mx:Script
mx:TitleWindow layout=absolute right=10 left=10
showCloseButton=true
 close=closeWindow() top=10 bottom=10
mx:SWFLoader
source={mainAppPano.datagrid.selectedItem.pano..src}
scaleContent=false
 horizontalCenter=0 verticalCenter=0/
/mx:TitleWindow

/mx:Canvas

xml structure
catalog

book
name![CDATA[bBiblioteca Central /b ]]/name
desc![CDATA[Se inauguró el 20 de noviembre de 1978
]]/desc
imagenFOTOS/est/Biblioteca Central Manuel Bartlett
Bautista.jpeg/
imagen
pano nombrePano=Biblioteca Central Bautista
srcFOTOS/Panoramicas/PanoZoom642007.swf/src
/pano
icoBOTONES/gifs/video.gif/ico
video nombreVid=Biblioteca Manuel Bartlet
srcVIDEOS/Biblioteca Manuel Bartlet.flv/src
/video
audio/
pieBiblioteca Central Manuel Bartlett Bautista/pie
/book

/catalog  




[flexcoders] Re: Error after loading swf

2007-06-05 Thread tonyx_788
the swf loads perfectly but once i close the tittlewindow and click my
datagrid where the pictures and swf are i get the error



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

 Are you sure the SWF loaded?  You might want to add trace statements
to the loaded swf or build a debug version of it to see where it is
getting stuck.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of tonyx_788
 Sent: Tuesday, June 05, 2007 8:21 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error after loading swf
 
  
 
 Hi all, i get this error Error: Unable to load ''. after loading a swf
 and my app just stops working
 here is part of my code.
 
 *main mxml
 
 private function ShowPano():void
 {
 var SWFLoaderInstance:Panoramica2 =
 Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
 instantiate and show the title window
 
 PopUpManager.centerPopUp(SWFLoaderInstance);
 SWFLoaderInstance.mainAppPano = this //Reference to the main app
 scope
 }
 
 ***Panoramica2
 
 ?xml version=1.0 encoding=utf-8?
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
 creationComplete=doInt()
 cornerRadius=10 width=600 height=450
 mx:Script![CDATA[
 import mx.controls.PopUpMenuButton;
 import mx.managers.PopUpManager;
 import mx.collections.ArrayCollection;
 import mx.controls.Button;
 
 [Bindable]public var mainAppPano:Object = null;
 //called by the close event raised byclicking the close button
 private function closeWindow():void
 {
 PopUpManager.removePopUp(this);
 }//closeWindow
 private function doInt():void
 {
 PopUpManager.centerPopUp(this);
 }
 ]]
 /mx:Script
 mx:TitleWindow layout=absolute right=10 left=10
 showCloseButton=true
 close=closeWindow() top=10 bottom=10
 mx:SWFLoader
 source={mainAppPano.datagrid.selectedItem.pano..src}
 scaleContent=false
 horizontalCenter=0 verticalCenter=0/
 /mx:TitleWindow
 
 /mx:Canvas
 
 xml structure
 catalog
 
 book
 name![CDATA[bBiblioteca Central /b ]]/name
 desc![CDATA[Se inauguró el 20 de noviembre de 1978
 ]]/desc
 imagenFOTOS/est/Biblioteca Central Manuel Bartlett
 Bautista.jpeg/
 imagen
 pano nombrePano=Biblioteca Central Bautista
 srcFOTOS/Panoramicas/PanoZoom642007.swf/src
 /pano
 icoBOTONES/gifs/video.gif/ico
 video nombreVid=Biblioteca Manuel Bartlet
 srcVIDEOS/Biblioteca Manuel Bartlet.flv/src
 /video
 audio/
 pieBiblioteca Central Manuel Bartlett Bautista/pie
 /book
 
 /catalog





[flexcoders] Re: Error after loading swf

2007-06-05 Thread tonyx_788
this what i get

Error: Unable to load ''.
at mx.controls::SWFLoader/::loadContent()
at mx.controls::SWFLoader/load()
at mx.controls::SWFLoader/mx.controls:SWFLoader::commitProperties()
at mx.core::UIComponent/validateProperties()
at mx.managers::LayoutManager/::validateProperties()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()



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

 Are you sure the SWF loaded?  You might want to add trace statements
to the loaded swf or build a debug version of it to see where it is
getting stuck.
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of tonyx_788
 Sent: Tuesday, June 05, 2007 8:21 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error after loading swf
 
  
 
 Hi all, i get this error Error: Unable to load ''. after loading a swf
 and my app just stops working
 here is part of my code.
 
 *main mxml
 
 private function ShowPano():void
 {
 var SWFLoaderInstance:Panoramica2 =
 Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
 instantiate and show the title window
 
 PopUpManager.centerPopUp(SWFLoaderInstance);
 SWFLoaderInstance.mainAppPano = this //Reference to the main app
 scope
 }
 
 ***Panoramica2
 
 ?xml version=1.0 encoding=utf-8?
 mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml
http://www.adobe.com/2006/mxml 
 creationComplete=doInt()
 cornerRadius=10 width=600 height=450
 mx:Script![CDATA[
 import mx.controls.PopUpMenuButton;
 import mx.managers.PopUpManager;
 import mx.collections.ArrayCollection;
 import mx.controls.Button;
 
 [Bindable]public var mainAppPano:Object = null;
 //called by the close event raised byclicking the close button
 private function closeWindow():void
 {
 PopUpManager.removePopUp(this);
 }//closeWindow
 private function doInt():void
 {
 PopUpManager.centerPopUp(this);
 }
 ]]
 /mx:Script
 mx:TitleWindow layout=absolute right=10 left=10
 showCloseButton=true
 close=closeWindow() top=10 bottom=10
 mx:SWFLoader
 source={mainAppPano.datagrid.selectedItem.pano..src}
 scaleContent=false
 horizontalCenter=0 verticalCenter=0/
 /mx:TitleWindow
 
 /mx:Canvas
 
 xml structure
 catalog
 
 book
 name![CDATA[bBiblioteca Central /b ]]/name
 desc![CDATA[Se inauguró el 20 de noviembre de 1978
 ]]/desc
 imagenFOTOS/est/Biblioteca Central Manuel Bartlett
 Bautista.jpeg/
 imagen
 pano nombrePano=Biblioteca Central Bautista
 srcFOTOS/Panoramicas/PanoZoom642007.swf/src
 /pano
 icoBOTONES/gifs/video.gif/ico
 video nombreVid=Biblioteca Manuel Bartlet
 srcVIDEOS/Biblioteca Manuel Bartlet.flv/src
 /video
 audio/
 pieBiblioteca Central Manuel Bartlett Bautista/pie
 /book
 
 /catalog





[flexcoders] Mouse over image 180 pan

2007-05-11 Thread tonyx_788
hi guys i wonder if any one have a sample like a 360 pan viewer what y
really need is to move over an 180 image so when it gets to the edge
of it, it'll stop, i have a sample but is made in java not in FLEX

thx



[flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread tonyx_788
are you saying there is no way to start a filter search after the b
tag? without typing it first


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

 --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
 
  Hi all i'm looking for a regular expression for mi app
  
  im using CDATA inside my XML so when i try to make a filter search it
  wont work cause of the B or i before the text
  
  lets say in my xml i have something like this:
  name![CDATA[bAcademia./b]]/name
  it dont work if i type academia but
  if i put bAcademia it works
  
  this is what im using to make the filter search
  
   private function filter(item:Object):Boolean
  {
  return item.name.match(new RegExp(^ + inputText.text,i\*));
  }
  
 
 ^ searches from the beginning of the string, so of course it will
 not find it since b is the beginning of your string.
 
  Thanks
 





[flexcoders] Re: Regexp wont work cause of the b labels

2007-03-14 Thread tonyx_788
Thank you very much, im new in regexp is there any web or tutorial to
learn more about it?

THX

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

 no, not at all what I am saying. You can try this...
 
 new RegExp(^(.*)? + inputText.text,i\*)
 
 This should ignore any html tag at the beginning if it exists. I am
 not an expert at regular expressions so this might fail some test cases.
 
 --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
 
  are you saying there is no way to start a filter search after the b
  tag? without typing it first
  
  
  --- In flexcoders@yahoogroups.com, Paul DeCoursey paul@ wrote:
  
   --- In flexcoders@yahoogroups.com, tonyx_788 tonyx_788@ wrote:
   
Hi all i'm looking for a regular expression for mi app

im using CDATA inside my XML so when i try to make a filter
 search it
wont work cause of the B or i before the text

lets say in my xml i have something like this:
name![CDATA[bAcademia./b]]/name
it dont work if i type academia but
if i put bAcademia it works

this is what im using to make the filter search

 private function filter(item:Object):Boolean
{
return item.name.match(new RegExp(^ + inputText.text,i\*));
}

   
   ^ searches from the beginning of the string, so of course it will
   not find it since b is the beginning of your string.
   
Thanks
   
  
 





[flexcoders] Regexp wont work cause of the b labels

2007-03-10 Thread tonyx_788
Hi all i'm looking for a regular expression for mi app

im using CDATA inside my XML so when i try to make a filter search it
wont work cause of the B or i before the text

lets say in my xml i have something like this:
name![CDATA[bAcademia./b]]/name
it dont work if i type academia but
if i put bAcademia it works

this is what im using to make the filter search

 private function filter(item:Object):Boolean
{
return item.name.match(new RegExp(^ + inputText.text,i\*));
}

Thanks



[flexcoders] panorama Viewer without scrollbars

2007-02-05 Thread tonyx_788
hi all does any one have a code to make a Panorama Viewer something
like this http://www.360dof.com/360-flash-panorama-viewer.html i only
need to be able to move the picture when the mouse moves over it and
hide the scrollbars 

Tnx



[flexcoders] Video still playing in background

2006-12-05 Thread tonyx_788
Hello i have a little problem and hope somebody could help me i'm
trying to load diferent video files (made with swishvideo)with a
Datagrid and a SWFLoader the first one plays ok but if i select
another one before the first one finishes the sound keeps playing i
tried SoundMixer.stopAll(); but i also have a background song and it
stops to 
Q. Is there any way to just stop whats playing in the SWFLoader?



[flexcoders] How do i unload a swf after selecting a next one?

2006-10-29 Thread tonyx_788
what i'm trying to do is to have a code to unload the swf
automatically after i select another on. 
this swf's are load via xml when i select another one it just loads
the new one and keeps playing the other one until it finishes.
i can make a code to stop via a button but what if the users forgets
to push it and just goes to the next swf file




--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] flash is not inthe center of my app

2006-10-17 Thread tonyx_788
i have been trying to do this by my self with no good results for the
last 2 weeks, since flex doesn't have a projector option like flash mx
i downloaded mdm and jugglor (both support flash 9) in both programs
when i compile and run the aplication with my flashproject it only
shows the top left corner of flash can somedbody tell me why is this
happening i even tried to do it with a simple app with now resizable
panel or canvas  and still have the same problem here is the link so
you can see it

http://mx.geocities.com/tonyx_788/prueba.zip
copy and paste





--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Problem with video display and xml

2006-10-06 Thread tonyx_788
hi, i have a little problem, what i want to do is set the visible 
propertie to true only if there is a video file (flv) in my xml but 
since there has to be a video tag in the xml even if there is no 
video, my code always sets the videoD visible propertie to true

//**AS CODE
...
private function onDGCV(  event:Event ):void
{
if( datagrid.selectedItem.video) videoD.source = 
datagrid.selectedItem.video;
videoD.visible=true;
}  


//**MXML
Datagrid
...
change=onDGCV(event)


//***XML File
..
catalog
book
nameAbdo Alberto./name
desc![CDATA[Médico Cirujano. font size=10DACS/font]]/desc
videoVIDEOS/lema.flv/video
/book
book
nameAbdo José./name
desc![CDATA[Médico Cirujano. font size=10DACEA/font]]
/desc
video/video
/book
/catalog
...







--
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/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* 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] Re: AUTO DELETE ITEMS IN DATAGRID

2006-09-04 Thread tonyx_788



thanks for the help now this is what i came up with but i get this error in my datagrid component undefined methodany ideas?private function AutoB():void{if (_xlcdatagrid2.length = 2){this._xlcdatagrid2.removeItemAt(0);}}---mx:DatagriddataChange="datagrid2.selectedIndex.AutoB()" 


__._,_.___





--
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
  

   
  







  
  
  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: [Junk E-Mail - LOW] [flexcoders] removeItemAt(0) don't work

2006-09-04 Thread tonyx_788



hi thanks for trying to help my dataprovider is _xlcdatagrid2 this compiles ok i have no problem with it but when i put in my datagrid dataChange="datagrid2.selectedIndex.AutoB()" i get this error undefined methodhere is the code to pass data to datagrid2import mx.collections.XMLListCollection;[Bindable]private var _xlcdatagrid:XMLListCollection;[Bindable]private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;private function onResult(oEvent:ResultEvent):void{_xlcdatagrid = new XMLListCollection(oEvent.result.name) datagrid.dataProvider = _xlcdatagrid; }private function selectItem():void{_xlcdatagrid2.addItem(datagrid.selectedItem);}codepublic function AutoB():void{if (this._xlcdatagrid2.length = 2){_xlcdatagrid2.removeItemAt(0);}}*
mx:Datagrid..dataChange="datagrid2.selectedIndex.AutoB()"/mx:Datagrid..

__._,_.___





--
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
  

   
  







  
  
  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] Re: focus new row?

2006-09-04 Thread tonyx_788
hi after i tried the code came up with another problem what if i want
to automatically removeItemAt(0) when 5 items in my datagrid


this is what i have so far but i get an error in datagrid component

private function AutoB():void{
if (_xlcdatagrid2.length = 2)
{
this._xlcdatagrid2.removeItemAt(0);
}
}

change=datagrid.selectedIndex.AutoB()
...





--
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] Re: AUTO DELETE ITEMS IN DATAGRID

2006-09-03 Thread tonyx_788
--- In flexcoders@yahoogroups.com, Nate Hardt [EMAIL PROTECTED] wrote:

 Does this work?
 
 datagrid.dataProvider.removeItemAt(0);
 
 
 On Aug 29, 2006, at 4:14 PM, tonyx_788 wrote:
 
  IS THERE ANY EXAMPLE TO DELETE THE FIRST ITEM IN A DATAGRID AFTER I
  ADDED  5? HERE IS MY CODE TO ADD ITEMS FROM ONE DATAGRID TO ANOTHER
 
  import mx.collections.XMLListCollection;
  import mx.rpc.events.ResultEvent;
  import mx.controls.TextInput
  import mx.controls.Alert
  import mx.rpc.events.ResultEvent;
  [Bindable]
  private var _xlcdatagrid:XMLListCollection;
  [Bindable]
  private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;
 
  private function onResult(oEvent:ResultEvent):void
  {
  _xlcdatagrid = new XMLListCollection(oEvent.result.name)
  datagrid.dataProvider = _xlcdatagrid;
  }
  private function selectItem():void
  {
  _xlcdatagrid2.addItem(datagrid.selectedItem);
  }
 
 
 
 
 
 
  --
  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


that works with a button but what i want is to automatically
removeItemAt(0) when 5 items in my datagrid







--
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] removeItemAt(0) don't work

2006-09-03 Thread tonyx_788
can somebody please help me with this
i just want to removeItemAt(0) when 6 items in my datagrid automatically


public function AutoB():void{
if (this._xlcdatagrid2.length = 2){
_xlcdatagrid2.removeItemAt(0);
}
}





--
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] removeItemAt(0); only 5 items in my datagrid (please, please, please help)

2006-09-02 Thread tonyx_788
hi all,
since i'm really new in Flex don't know how to do this
what i want is to call removeitem after a 6 item  is added in my
datagrid so it will always have 5  items
and check if there's that item already and remove it and add a new one
at the last row

somebody in this group gave me this code it works fine but after 10
items added in my datagrid it starts to slowdown flash,
cause it just add items doesn't matter if the item was already in
datagrid

import mx.collections.XMLListCollection;
import mx.rpc.events.ResultEvent;
import mx.controls.TextInput
import mx.controls.Alert
import mx.rpc.events.ResultEvent;
import flash.events.MouseEvent;
[Bindable]
private var _xlcdatagrid:XMLListCollection;
[Bindable]
private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;

private function onResult(oEvent:ResultEvent):void
{
_xlcdatagrid = new XMLListCollection(oEvent.result.name)
datagrid.dataProvider = _xlcdatagrid;
}
private function selectItem():void
{
_xlcdatagrid2.addItem(datagrid.selectedItem);
}
**removeitem
public function removeItem():void
 {
 _xlcdatagrid2.removeItemAt(0);
 }


***

thank u all!






--
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] extend textarea in PrintJob?

2006-08-31 Thread tonyx_788
hi all, anyone knows how to print all the text of the textarea component
it only prints the component but not the text also the text is bigger
then the one in  the texarea i also would like to know how to add a
mx:image component next to the textarea i tried using the
FormPrintView.mxml Example but it does not print the cursive, bold and
underline text

heres is the code i'm using to print:
private function doPrint():void {
var pj : PrintJob = new PrintJob();
if (pj.start() != true) 
return;
pj.addPage(areaDeTexto,new Rectangle(0, 0, 400, 400));
if(pj.orientation == PrintJobOrientation.LANDSCAPE) {
areaDeTexto.rotation = 90;
}
pj.send();
}






--
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] Re: focus new row?

2006-08-30 Thread tonyx_788
I'll try the code 


gracias Aral






--
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] AUTO DELETE ITEMS IN DATAGRID

2006-08-29 Thread tonyx_788
IS THERE ANY EXAMPLE TO DELETE THE FIRST ITEM IN A DATAGRID AFTER I
ADDED  5? HERE IS MY CODE TO ADD ITEMS FROM ONE DATAGRID TO ANOTHER

import mx.collections.XMLListCollection;
import mx.rpc.events.ResultEvent;
import mx.controls.TextInput
import mx.controls.Alert
import mx.rpc.events.ResultEvent;
[Bindable]
private var _xlcdatagrid:XMLListCollection;
[Bindable]
private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;

private function onResult(oEvent:ResultEvent):void
{
_xlcdatagrid = new XMLListCollection(oEvent.result.name) 
datagrid.dataProvider = _xlcdatagrid; 
}
private function selectItem():void
{
_xlcdatagrid2.addItem(datagrid.selectedItem);
}






--
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] focus new row?

2006-08-23 Thread tonyx_788



hi all i have this code to delete rows in my grid but if there is no selected row it gives an error what i would like is to set focus on the new row so it won't give any errorto add Rows[Bindable]private var _xlcdatagrid:XMLListCollection;[Bindable]private var _xlcdatagrid2:XMLListCollection = new XMLListCollection;private function onResult(oEvent:ResultEvent):void{_xlcdatagrid = new XMLListCollection(oEvent.result.name) datagrid.dataProvider = _xlcdatagrid; }private function selectItem():void{_xlcdatagrid2.addItem(datagrid.selectedItem);}delete code:
function deleteRow():void {

if (datagrid2.selectedIndex!=undefined) {

_xlcdatagrid2.removeItemAt(datagrid2.selectedIndex);



}

__._,_.___





--
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] click=dg2.dataProvider = dg1.selectedItem------Save item????

2006-08-18 Thread tonyx_788
hi i was wondering if theres a way to save the last 5 items cliked in
dg1 to dg2

here's what i saw in an example but it won't keep the items
thanks

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=serv.send() 

mx:HTTPService id=serv
url=http://www.yoursite.co.uk/something.xml; useProxy=false/

mx:Panel width=50% height=100% roundedBottomCorners=true
cornerRadius=25

mx:DataGrid id=dg1 dataProvider={serv.lastResult.nodeName}
width=100% click=dg2.dataProvider = dg1.selectedItem/

mx:DataGrid id=dg2 width=100%/
/mx:Panel
/mx:Application





--
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] Problem after displaying video in TextArea

2006-08-14 Thread tonyx_788



Hi, i'm almost finish with my work but i have one last problemi'm using e4x to make a datagrid filter searchso i have a textinput,datagrid and a textareamx:TextInput id="inputText" width="134" change="xlc.refresh()" fontSize="12" /mx:DataGrid dataProvider="{xlc}" editable="false" width="161" id="datagrid" scroll="true" height="531" x="5" variableRowHeight="true" wordWrap="true"mx:columnsmx:DataGridColumn dataField="name"/   /mx:columns  /mx:DataGridmx:TextArea id="areaDeTexto" width="560" height="414" wordWrap="true" editable="false" htmlText="{datagrid.selectedItem.desc}"/im using XML with CDATA in it to display html text and embed pictures or swf filesdesc![CDATA[img src=""/]]/descfor the pictures i have no problem but if there is a swf file after i watch the video or the flashpaperit slows down and sometimes won't let me select anything else, or make a filter search with the textinputi hope somebody could help me

__._,_.___





--
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] MyPrintPreview,,,,,how to print images?

2006-08-12 Thread tonyx_788



this print example is from the Flex help it just prints the textwhat i want is to print the image on my swfLoader or mx:image componentany one know how to do it i already try the live docs UICOMPONENT class but don't know which one is itimport mx.printing.FlexPrintJob;import MyPrintView; private function copyToClipboard(e:Event):void{ System.setClipboard(this.areaDeTexto.text);   } public function doPrint():void { // Create a FlexPrintJob instance. var printJob:FlexPrintJob = new FlexPrintJob(); // Start the print job. if(printJob.start()) { // Create a MyPrintView control as a child of the current view. var formPrintView:MyPrintView = new MyPrintView(); addChild(formPrintView); // Populate the print control's Name label with the text from  // the form's Name controls. formPrintView.nombre.text = "" + Nombre.text + " "  // Set the print control's textArea data provider to be  // the displayed textArea's data provider. formPrintView.contenido.text = areaDeTexto.text;formPrintView.foto.data= ""> // Add the SimplePrintview control to the print job. // For comparison, try setting the second parameter to "none". printJob.addObject(formPrintView); // Send the job to the printer. printJob.send(); // Remove the print-specific control to free memory. removeChild(formPrintView); }   }

__._,_.___





--
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] HistoryManager with selectedItem??????

2006-08-07 Thread tonyx_788
hi all i'm not sure if this can be done? 
what i want to do is to save the last 10 items clicked in my datagrid
is it posible?, 
i know there should be something about this cause datagrid supports
dragdrop so maybe clicking an item in datagrid could act as  dragdrop
any ideas?






--
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] Newbie question videodisplay problem

2006-08-03 Thread tonyx_788
i'm going crazy with FLEX 
Any one knows why i get NO BITRATE MATCH when selecting a second video
from a list component

i'm using e4x to make a filter search on a xml file, it works fine
my problem is with the video display component


my MXML looks something like this (won't compile)
.
mx:DataGrid dataProvider={xlc}
editable=false width=170 id=datagrid scroll=true 
fontSize=12 height=543 x=6 bottom=6 variableRowHeight=true
wordWrap=true

mx:List x=652 y=382 height=57 width=288
dataProvider={datagrid.selectedItem.video}/
...

mx:VideoDisplay autoPlay=false id=videos
source=[EMAIL PROTECTED] 
right=10 left=10 top=10 bottom=35/
mx:Button click=videos.play() toggle=true
selected={videos.playing} enabled={!videos.playing} x=3
width=30 bottom=5/
mx:Button click=videos.pause() toggle=true
enabled={videos.playing} width=30 x=39 height=22 bottom=5/
mx:Button click=videos.stop() enabled={videos.playing} 
width=30 height=22 x=73 bottom=5/ 

PLEASE PLEASE PLEASE HELP






--
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] datagrid.selectedItem in list

2006-08-03 Thread tonyx_788

what i want is to keep each name i select in the datagrid to stay in
the list so i know the last 10 names i clicked on the datagrid

mx:List  id=lista x=652 y=382 height=57 width=288
dataProvider={datagrid.selectedItem.name}/mx:List






--
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] Problem with videos, using e4x

2006-07-31 Thread tonyx_788



i'm using e4x to make a search in a xml file, the first video displays ok but when i select the second one it'll throw me an error NO BITRATE MATCHmaybe this is something easy but idon't know how to do it, please helpvideos.xmlvideosnameAnimals/namedesc/descvideo src=""Dog/videovideo  src=""Cat/videonameAnimals2/namedescaa/descvideo  src=""Bird/videovideo  src=""worm/video/videosmxml (won't compile)mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*"  viewSourceURL="srcview/index.html" layout="absolute" creationComplete="cargarDatos(),srv.send()" mx:Script![CDATA[public function cargarDatos():void { srv.url = ""; srv.send(); } private function filtrar(item:Object):Boolean   {  return item.name.match(new RegExp("^" + inputText.text, "i\*\t\s[']"));   }  ]] /mx:Script.mx:HTTPService id="srv" resultFormat="e4x" useProxy="false" url=""/mx:XMLListCollection id="xlc" source="{srv.lastResult.*}" filterFunction="filtrar" /mx:TextInput id="inputText" width="151" change="xlc.refresh()" mx:DataGrid dataProvider="{xlc}" editable="false" width="170" id="datagrid" scroll="true"fontSize="12" height="541" cornerRadius="0" x="6" bottom="6" showHeaders="false".mx:ComboBox id="TheVideos" close="selectedItem=ComboBox(event.target).selectedItem" dataProvider="{datagrid.selectedItem.video}" text="{datagrid.selectedItem.video}" width="145" height="24" editable="false" fontSize="9"/mx:VideoDisplay autoPlay="false" id="videos"  source="[EMAIL PROTECTED]"  right="10" left="10" top="10" bottom="35"/mx:Button click="videos.play()" toggle="true" selected="{videos.playing}"  enabled="{!videos.playing}" x="3" width="30" icon="@Embed(source='BOTONES/play.gif')" bottom="5"/

__._,_.___





--
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] Binding 2 datagrids and videoDisplay

2006-07-18 Thread tonyx_788



hi everyone,i have two datagrids1st datagrid id="datagrid1" dataprovider="myxml.xml"2nd datagrid id="datagrid2" dataprovider="{datagrid1.selectedItem.video}"and a videoDisplay source="{datagrid2.selectedItem.video}" i tried with [EMAIL PROTECTED] and nothingi get this errorno bitrate match error 1000myxml.xmlcatalogonenameany name/namedescany desc/descvideoany.flv/videovideoany2.flv/video/onecatalog

__._,_.___





--
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] compile error (Please help)

2006-07-08 Thread tonyx_788



i'm really new in FLEX 2 b1 and ACTIONSCRIPTanyone knows why i get this error when flash compilesError: code:Client.URLRequired string:'A URL must be specified with useProxy set to false.' detail:'null' at mx.rpc.http::HTTPService/send() at mx.rpc.http.mxml::HTTPService/send() at UJAT2/___Application1_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/mx.core:UIComponent::dispatchCreationCompleteEvent() at mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispatchCreationCompleteEvents() at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()This will compile but throw an error*?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" creationComplete="srv.send()" viewSourceURL="srcview/index.html"mx:Style source="main.css"/ mx:Script   ![CDATA[  private function cargarDatos() { srv.url = ""; srv.send(); } private function cargarDatos2() { srv.url = ""; srv.send(); }  private function filtrar(item:Object):Boolean   {  return item.name.match(new RegExp("^" + inputText.text, "i\*\t\s[']"));   }   ]] /mx:Script mx:HTTPService id="srv" resultFormat="e4x" useProxy="false"/ mx:XMLListCollection id="xlc"  source="{srv.result.*}"  filterFunction="filtrar" /mx:Panel width="568" height="569" layout="absolute"   mx:DataGrid dataProvider="{xlc}" height="485"   editable="false" width="150" id="datagrid" scroll="true"change="cargarDatos.refresh()" x="0" y="0"   mx:columns   mx:Array   mx:DataGridColumn columnName="name" showDataTips="true"/   /mx:Array   /mx:columns  /mx:DataGridmx:TextArea width="380" height="348" textAlign="justify" htmlText="{datagrid.selectedItem.desc}" wordWrap="true" y="0" styleName="main.css" editable="false"   mx:layoutConstraintsmx:Anchor right="30"/   /mx:layoutConstraints   /mx:TextArea  mx:Button x="158" y="356" label="Datos" click="cargarDatos()" width="67"/  mx:Button x="158" y="399" label="Datos2" click="cargarDatos2()"/  mx:Label x="158" y="429" width="148" text="{datagrid.selectedItem.desc.link}"/  mx:ControlBar   mx:layoutConstraintsmx:Anchor bottom="0"/   /mx:layoutConstraints   mx:TextInput id="inputText" width="139"change="xlc.refresh()" text="a" backgroundColor="#f0eff1"/  /mx:ControlBar /mx:Panel /mx:Application 

__._,_.___





--
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] Re: datagrid.selectedItem.image (don't work)

2006-07-08 Thread tonyx_788
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 There is no imagen anywhere in that xml.  How do you expect to find
 it?
 
  
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of tonyx_788
 Sent: Friday, July 07, 2006 8:24 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: datagrid.selectedItem.image (don't work)
 
  
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Deepa Subramaniam dsubrama@
 wrote:
 
  If your DataGrid is consuming e4x XML as its dataProvider, then the
  selectedItem value will be an e4x XML node. Is 'imagen' an attribute
 of
  the selected node or a child? If its an attribute then you'll need to
  do: [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] in your Image tag. If
  imagen is a child node, you probably need to dot down correctly to it.
  Trace out selectedItem and you'll see the structure of the XML and
 then
  formulate an expression accordingly.
  
  
  
  -deepa 
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of tonyx_788
  Sent: Thursday, July 06, 2006 9:33 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
  Subject: [flexcoders] datagrid.selectedItem.image (don't work)
  
  
  
  i'm using e4x
  2questions
  everything else works great but the images won't show when using
  e4x,if i use http it'll display the image ok
  anyone knows why?
  
  and the datatip willshow everything on the xml, when hover the
  datagrid why?
  
  ...
  mx:DataGrid dataProvider={xlc} height=419
  editable=false width=150 id=datagrid scroll=true
  change=xlc,cargarDatos.refresh() x=0 y=0
  mx:columnsmx:Array
  mx:DataGridColumn columnName=name showDataTips=true 
  dataTipField=name//mx:Array
  /mx:columns
  /mx:DataGrid
  ..
  
  mx:Image x=369 y=298 id=image1 width=169 height=178 
  visible=true scaleContent=true
  source={datagrid.selectedItem.imagen} horizontalAlign=center/
  
 
 
 i tried with
 [EMAIL PROTECTED] and nothing
 please a little help
 my xml looks something like this
 catalog
 books
 nameany name/name
 descany description/desc
 /books
 /catalog



jajajaja
i'm sorry, i forgot to put the imagen tag
but the problem is that flash won't show the image

catalog
books
nameany name/name
descany description/desc
imagenknowthereisone.jpg/imagen
/books
/catalog






 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] Re: datagrid.selectedItem.image (don't work)

2006-07-07 Thread tonyx_788
--- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
wrote:

 If your DataGrid is consuming e4x XML as its dataProvider, then the
 selectedItem value will be an e4x XML node. Is 'imagen' an attribute of
 the selected node or a child? If its an attribute then you'll need to
 do: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  in your Image tag. If
 imagen is a child node, you probably need to dot down correctly to it.
 Trace out selectedItem and you'll see the structure of the XML and then
 formulate an expression accordingly.
 
  
 
 -deepa 
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of tonyx_788
 Sent: Thursday, July 06, 2006 9:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] datagrid.selectedItem.image (don't work)
 
  
 
 i'm using e4x
 2questions
 everything else works great but the images won't show when using
 e4x,if i use http it'll display the image ok
 anyone knows why?
 
 and the datatip willshow everything on the xml, when hover the
 datagrid why?
 
 ...
 mx:DataGrid dataProvider={xlc} height=419
 editable=false width=150 id=datagrid scroll=true
 change=xlc,cargarDatos.refresh() x=0 y=0
 mx:columnsmx:Array
 mx:DataGridColumn columnName=name showDataTips=true 
 dataTipField=name//mx:Array
 /mx:columns
 /mx:DataGrid
 ..
 
 mx:Image x=369 y=298 id=image1 width=169 height=178 
 visible=true scaleContent=true
 source={datagrid.selectedItem.imagen} horizontalAlign=center/
 


i tried with
[EMAIL PROTECTED] and nothing
please a little help
my xml looks something like this
catalog
books
nameany name/name
descany description/desc
/books
/catalog


















 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/
 




[flexcoders] Datatip (show everything in the xml)

2006-07-06 Thread tonyx_788



hello;iknow this maybe something easy to do but don't know howwhen the app compiles and i put the mouse over a name it shows the datatip but with all in the xmlanybody know why?xml

catalog
 libro
  name id="12"A orillas de una laguna./name
  desc![CDATA[Libro de Edmundo Batres Ledón, Roque Hernández,i Edgar Hidalgo Bocanegra, Ramón León Flores, Leticia Ulín Rodríguez y Carlos López Castro /i,editado por la UJAT a través DACS;b consta de 75 pp./bbLa edición fue de 1,000 ejemplares/b. veasea href=""bAbdo Arias/b/a]]/desc
  imagenFOTOS/A orillas de una laguna.jpg/imagen
  videoVIDEOS/lema.flv/video
  audioAUDIO/1.mp3/audio
  otrosOTROS/Discurso por el instituto.pdf/otros
 /libro
 libro
/catalogthis is the datagrig mx:DataGrid dataProvider="{xlc}" height="419"   editable="false" width="150" id="datagrid" scroll="true"   change="xlc.refresh(),cargarDatos.refresh()" x="0" y="0"   mx:columns   mx:Array   mx:DataGridColumn columnName="name" showDataTips="true"  dataTipField="name"/   /mx:Array   /mx:columns  /mx:DataGrid

__._,_.___





--
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] datagrid.selectedItem.image (don't work)

2006-07-06 Thread tonyx_788
i'm using e4x
2questions
everything else works great but the images won't show when using
e4x,if i use http it'll display the image ok
anyone knows why?

and the datatip willshow everything on the xml, when hover the
datagrid why?

...
mx:DataGrid dataProvider={xlc} height=419
editable=false width=150 id=datagrid scroll=true
change=xlc,cargarDatos.refresh() x=0 y=0
mx:columnsmx:Array
mx:DataGridColumn columnName=name showDataTips=true 
 dataTipField=name//mx:Array
/mx:columns
/mx:DataGrid
..

mx:Image x=369 y=298  id=image1 width=169 height=178 
visible=true scaleContent=true
source={datagrid.selectedItem.imagen} horizontalAlign=center/







 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] Problem auto Refresh in datagrid

2006-07-06 Thread tonyx_788

the problem is that everytime i click on any name or scroll on the
datagrid it refreshes to fast
anyone know something so it wll go slower

mx:DataGrid dataProvider={xlc} height=419
editable=false width=150 id=datagrid scroll=true
change=xlc.refresh(),cargarDatos.refresh() x=0 y=0







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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] Hyperlink to an elemment in textarea

2006-07-05 Thread tonyx_788
hello,
is it posible?
i know in xml this is a hyperlink to a web page
a href=//www.anyweb.com/a

but how do i make a link in a textarea to an elemment in the xml?
what i want to do is reference a word or a phrase to another text in
the xml like in html







 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] Re: e4x (undefined has no properties)

2006-07-04 Thread tonyx_788
--- In flexcoders@yahoogroups.com, Antonio Silva [EMAIL PROTECTED] wrote:

 Hi i'm using Flex 2 Beta1
 
 
 
 also i would like to make another question
 how can i load another xml file when pressing a button and
automatically unload the other one??
 
 
  __
 Correo Yahoo!
 Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
 Regístrate ya - http://correo.yahoo.com.mx/


i just figure it all out






--
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] last Cellpress (back button)

2006-07-04 Thread tonyx_788
hello;
i know this maybe a stupid question but i don't know how to do it.
is there any way with MXML
to make a back and forward

lets say i have a datagrid with

pedro
pablo
paco
luis
tony

if i click pedro and then luis
then click on the back button
it will go back to pedro

i don't wan't to use the explorer's back and forward button

tnx







 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] last Cellpress (back button)

2006-07-04 Thread tonyx_788
hello;
i know this maybe a stupid question but i don't know how to do it.
is there any way with MXML
to make a back and forward

lets say i have a datagrid with

pedro
pablo
paco
luis
tony

if i click pedro and then luis
then click on the back button
it will go back to pedro

i don't wan't to use the explorer's back and forward button

tnx






 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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] E4X (PLEASE READ ANY CLUE WILL HELP)

2006-07-03 Thread tonyx_788



HIIL'TRY TO EXPLAIN THIS AND I HOPE I HAVE ANY ANSWER, TO KNOW WHAT TODO THE CODE AT THE END OF THE MESSAGE IS FROM AN OPENOFFICE DOCUMENT (SOMETHING LIKE MS WORD) I'M TRYING TO DEVELOP AN APPLICATION THAT CAN READ ITI ALREADY HAVE ONE APP WICH HAS 2 XML FILES AS DATAPROVIDERSTHIS IS IT (FLEX2 B1)?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" creationComplete="srv.send()"mx:Style source="main.css"/ mx:Script   ![CDATA[ import mx.messaging.*; import flash.events.DataEvent; import mx.rpc.events.ResultEvent;   private function cargarDatos() { srv.url = ""; srv.send(); } private function cargarDatos2() { srv.url = ""; srv.send(); }  private function filtrar(item:Object):Boolean   {  return item.name.match(new RegExp("^" + inputText.text, "i\*\t\s"));//  return item.imagen.match(new RegExp("^" + imagenes.text, "i\*" + /abc|xyz/));   }   ]] /mx:Script mx:HTTPService id="srv" resultFormat="e4x" useProxy="false"/ mx:XMLListCollection id="xlc"  source="{srv.result.*}"  filterFunction="filtrar" /mx:Panel width="568" height="569" layout="absolute"   mx:DataGrid dataProvider="{xlc}" height="419"   editable="false" width="150" id="datagrid" scroll="true" change="xlc.refresh(),cargarDatos.refresh()" x="0" y="0"   mx:columns   mx:Array   mx:DataGridColumn columnName="name" showDataTips="true"/   /mx:Array   /mx:columns  /mx:DataGridmx:TextArea width="353" height="290" textAlign="justify" htmlText="{datagrid.selectedItem.desc}"wordWrap="true" y="0" styleName="main.css"   mx:layoutConstraintsmx:Anchor right="30"/   /mx:layoutConstraints   /mx:TextArea  mx:Button x="185" y="454" label="Datos" click="cargarDatos()"/  mx:Button x="251" y="454" label="Datos2" click="cargarDatos2()"/  mx:Image x="369" y="298" id="imagenes" width="169" height="178" visible="true" scaleContent="true" source="{datagrid.selectedItem.imagen(true)}"/  mx:ControlBar   mx:layoutConstraintsmx:Anchor bottom="0"/   /mx:layoutConstraints   mx:TextInput id="inputText" width="139"change="xlc.refresh()" text="Buscar" backgroundColor="#f0eff1"/  /mx:ControlBar /mx:Panel /mx:ApplicationTHIS APP LOADS A XML FILE AND USING E4X IT SEARCHES TROUHGT IT(IT HAS A COUPLE OF ERRORS I'M WORKING ON, BUT STILL WORKS)THIS IS PART OF ONE OF THE XMLS:?xml-stylesheet type="text/css"?catalog libro  nameA orillas de una laguna./name  desc![CDATA[Libro de Edmundo Batres Ledón, Roque Ballinas Ballinas, Francisco Fonz Chan, BBUUR/B a través IDARR/I; consta de 75 pp. La edición fue de 1,000 ejemplares. vease]]/desc  imagenFOTOS/A orillas de una laguna.jpg/imagen  videoVIDEOS/lema.flv/video  audioAUDIO/1.mp3/audio  otrosOTROS/Discurso por el instituto.pdf/otros /libro/catalog*THE QUESTIONS ARE:IS IT POSSIBLE TO USE THE OPENOFFICE DOCUMENT INSTEAD OF DOING THE CHANGE TO XML BY TIPYING ALL OVER AGAINIF SO WHERE CAN I FIND SOME DOCS ABOUT ITI KNOW THE DOCUMENT IS IN XML BUT IT HAS A LOT OF XSLT THAT I'M NOT SURE FLASH COULD READHOPE MY QUESTIONS ARE NOT TO HARD TO ANSWER, CAUSE THEY ARE FOR ME*?xml version="1.0" encoding="UTF-8" ? - office:document-content xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" office:version="1.0" office:scripts / - office:font-face-decls style:font-face style:name="Tahoma1" svg:font-family="Tahoma" /  style:font-face style:name="Courier New" svg:font-family="'Courier New'" style:font-family-generic="modern" /  style:font-face style:name="BookAntiqua" svg:font-family="BookAntiqua" style:font-family-generic="roman" /  style:font-face style:name="Arial Unicode MS" svg:font-family="'Arial 

[flexcoders] XML CSS (new in FLEX)

2006-06-21 Thread tonyx_788



Helloi have this xml with a CDATA as u can seecatalog libro  nameA orillas de una laguna./name  desc![CDATA[ la iUJAT/i a través bDACS/b]]/desc/libro/catalogand this CSS fileTextArea{font-family: Garamond;font-size:16;margin-left:6;margin-right:6;}in flashUJAT a través DACSMY QUESTION IS HOW DO I MAKE DACS TO BE IN ANOTHER FONT LIKE ARIAL OR ANOTHER COLOR LIKE RED?

__._,_.___





--
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] e4x (couple of questions)

2006-06-15 Thread tonyx_788



i'll put where my problems are in red1.- whats the regular _expression_ so when typing it don't matter if is a or á and if using tab it keeps matching words2.-i can't see the pictures in mx:image, why?3.- when i click on mx:list if there is a video i see an error4.-datatips popup all the content of xml and sotimes it don't popup at alland i know i saw a blog talking about a back button in flash  without using any explorer something about hystory.js in the bin filethanks for your time***mxml***?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" xmlns="*" creationComplete="srv.send()" viewSourceURL="srcview/index.html" mx:Style source="main.css"/  mx:Script   ![CDATA[import mx.charts.events.ChartMouseEvent;  private function filterProduct(item:Object):Boolean   {1.- return item.name.match(new RegExp("^" + inputText.text, "i\*" + /abc|xyz/));   }  ]] /mx:Script mx:Style  showDataTips  {font-famile:arial;  font-weight:bold;  font-size:12;  } /mx:Style mx:HTTPService id="srv" url=""  resultFormat="e4x" / mx:XMLListCollection id="xlc"  source="{srv.result.*}"  filterFunction="filterProduct" / mx:Panel width="568" height="569" layout="absolute" backgroundColor="#ff8000"   mx:DataGrid dataProvider="{xlc}" height="419"   editable="false" width="150" id="datagrid" scroll="true" change="xlc.refresh()" x="0" y="0"   mx:columns   mx:Array   mx:DataGridColumn columnName="name" showDataTips="true"/   /mx:Array   /mx:columns  /mx:DataGridmx:TextArea width="353" height="419" textAlign="justify" text="{datagrid.selectedItem.desc}" wordWrap="true" y="0"   mx:layoutConstraintsmx:Anchor right="30"/   /mx:layoutConstraints   /mx:TextArea  mx:ControlBar   mx:layoutConstraintsmx:Anchor bottom="0"/   /mx:layoutConstraints   mx:TextInput id="inputText" width="139"change="xlc.refresh()" text="Buscar" backgroundColor="#f0eff1"/  /mx:ControlBar2.- mx:Image source="{datagrid.selectedItem.imagen}" id="image1" horizontalAlign="center" visible="true" height="150" width="150"mx:List dataProvider="{datagrid.selectedItem.video}" width="167" height="65" id=listV3.-mx:VideoDisplay id="videos" x="25" y="178" width="319" height="246" volume=".8" autoPlay="true" url=""#c0">listV.selectedItem.video}"/mx:VideoDisplay /mx:Panel /mx:Applicationthis is the xmlcatalog libro  nameA orillas de una laguna./name  descLibro de Edmundo Batres Ledón, /desc  imagenFOTOS/A orillas de una laguna.jpg/imagen  videoorillas.flv/video /libro

__._,_.___





--
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] XML and CSS Bold Text

2006-06-13 Thread tonyx_788



hii have this xml text as a data provider...nombre dato="Abdo Andrade, Alberto. "descMédico cirujano. Nació el lt;bgt;13 de mayo de 1957 lt;/bgt;, originario../desc...and this CSSb {font-family: Garamond;font-size:17;color: #00;font-weight: bold;}i know i can not use b/b in XML cause FLEX won't compileso i'm using lt;bgt;13 de mayo de 1957 lt;/bgt;and i get Médico cirujano. Nació el b13 de mayo de 1957/b, originario..instead ofMédico cirujano. Nació el 13 de mayo de 1957 , originario..maybe a stupid question 

__._,_.___





--
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] Re: accessing HttpService in Beta 3

2006-06-13 Thread tonyx_788
hi mike
is that all of your code??? post the ActionScript code,
if you have any.
and part of the xml to,


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

 I'm having trouble accessing an HttpService in Beta 3.
 
 The problem I'm having is similar to the one described in the comment
 at the bottom of this page:

http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1124.html
 
 
 Here is my MXML:
 ?xml version=1.0 encoding=utf-8?
 mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml;
 xmlns:nf=Assets.Components.*
 layout=absolute width=100% height=100%
 paddingTop=10 paddingRight=10 paddingBottom=10
paddingLeft=10

 mx:HTTPService id=srv useProxy=false
 url=restAPI/getProspects?searchString=acme/

 mx:TextInput y=81 width=169 horizontalCenter=-36.5
 id=searchInput/
 mx:Button y=81 label=Search horizontalCenter=88.5
 click=currentState='results' id=searchButton/

 mx:states
 !-- The Search Result state --
 mx:State name=results
 mx:AddChild position=lastChild
 mx:Panel layout=absolute title=Prospects Found
 id=panel1
 mx:DataGrid id=ProspectList
 dataProvider={srv.result.prospectList.prospect}   
 mx:columns
 mx:DataGridColumn headerText=Name
 dataField=name/
 mx:DataGridColumn headerText=Company
 dataField=company/
 /mx:columns
 /mx:DataGrid
 /mx:Panel
 /mx:AddChild
 /mx:State
 /mx:states
 /mx:Panel
 
 
 When I try to compile this, I get the following error on the
 mx:DataGrid line:
 Access of possibly undefined property result through a reference with
 static type mx.rpc.http.mxml:HTTPService.
 
 Any ideas on what's going wrong and how to fix it?
 
 
 Thanks!
 Mike







 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

* 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] e4x (undefined has no properties)

2006-06-13 Thread tonyx_788



this my mxml?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" creationComplete="srv.send()" viewSourceURL="srcview/index.html" mx:Script  ![CDATA[   private function filterProduct(item:Object):Boolean   {return item.name.match(new RegExp("^" + inputText.text, "i"));//  item.price = priceSlider.values[0]//  item.price = priceSlider.values[1];   }  ]] /mx:Script mx:HTTPService id="srv" url=""  resultFormat="e4x" / mx:XMLListCollection id="xlc"  source="{srv.result.*}"  filterFunction="filterProduct" / mx:Panel width="500" height="335" layout="absolute"   mx:DataGrid dataProvider="{xlc}" height="100%"   editable="false" width="141" id="datagrid" scroll="true"   mx:columns   mx:Array   mx:DataGridColumn columnName="name"/   /mx:Array   /mx:columns  /mx:DataGridmx:TextArea width="331" height="100%" textAlign="justify" text="{datagrid.selectedItem.desc}"   change="xlc.refresh()" wordWrap="true"   mx:layoutConstraintsmx:Anchor right="20" top="0"/   /mx:layoutConstraints   /mx:TextArea  mx:ControlBar   mx:Label text="Nombre" /   mx:TextInput id="inputText" width="75"change="xlc.refresh()" /  /mx:ControlBar /mx:Panel /mx:Applicationpart of the xmlcatalog libro  nameA orillas de una laguna/name  descLibro de Edmundo Batres Ledón, Roque Ballinas Ballinas, /desc /libro libro  nameAbdo Andrade, Alberto. /name  descMédico cirujano. Nació el 13 de mayo de 1957, /desc /libro libro  nameAbdo Arias, Williams Alejandro. /name  descMaestro en Derecho Constitucional y Amparo. /desc /libro libro  nameAbdo Francis, Jorge./name  desc Licenciado y doctorado en Derecho por la unam. Ha sido profesor en la unam, en la uvm, en la ujat y en la upch. /desc /libro libro  nameAbogado General. /name  descÁrea que depende directamente de la Rectoría /desc /libroi works great after it compiles if you try to scroll down it gives this errorTypeError: Error #1010: undefined has no properties. at mx.controls.listclasses::ListBase/scrollVertically() at mx.controls::DataGrid/scrollVertically() at mx.controls.listclasses::ListBase/set vPosition() at mx.controls::DataGrid/scrollHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.controls.scrollClasses::ScrollBar/dispatchScrollEvent() at mx.controls.scrollClasses::ScrollBar/http://www.macromedia.com/2005/flex/mx/internal::scrollIt() at mx.controls.scrollClasses::ScrollBar/mx.controls.scrollClasses:ScrollBar::scrollTrack_mouseDownHandler()

__._,_.___





--
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] Re: Exportar DataGrid(flex) a Excel

2006-06-10 Thread tonyx_788
que version de FLEX estas usando?
da un poco mas de datos
para que lo usaran?
van a imprimirlo?
van a editarlo en excel?
para que lo quieres a excel?


--- In flexcoders@yahoogroups.com, Mónica Cantillo
[EMAIL PROTECTED] wrote:

 Hola
 
 Tengo que hacer las siguientes cosas ... y soy nueva on Flex por lo que
 requiero la ayuda de todos ustedes...Necesito saber cómo:
 
 
-  exportar los datos de un datagrid a un archivo Excel... cómo
podría
hacerlo???
- combinar clases en java (clases hechas por mí) con mi aplicación en
Flex (actualmente uso NetBeans para la programación en Java)
- Combinar otros leguajes con Flex: PHP, JSP...
- Hacer un print screen y guardar lo que capture en un archivo de
word, power point y/o pdf.
 
 Por favor si tienen respuestas a alguna de las cosas que les menciono...
 envíenmelas lo antes posible y si tienen ejemplos mucho mejor...
 
 Agredezco mucho la ayuda que me puedan brindar...
 
 Saludos
 
 
 
 -- 
 Mónica Cantillo Acosta









 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

* 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] Is it posible to bind this xml to textarea?

2006-06-09 Thread tonyx_788
is it posible to bind this kind of xml to a FLEX Textarea?

doument:document-content
text:p text:style-name=P1
text:span text:style-name=T1A orillas de una laguna./text:span


text:p text:style-name=P2Libro de Edmundo Batres Ledón, Roque
Ballinas Ballinas, Francisco Fonz Chan, José Francisco Fonz Prott,
Pedro Hernández Franco, Víctor Hernández Hernández, Edgar Hidalgo
Bocanegra, Ramón León Flores, Leticia Ulín Rodríguez y Carlos López
Castro, editado por la text:span text:style-name=T2ujat
/text:spana través text:span text:style-name=T2dacs;/text:span
consta de 75 pp. La edición fue de 1,000 ejemplares./text:p
/text:p
/doument:document-content






 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/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] stupid question, CSS and XML

2006-06-09 Thread tonyx_788



Hi,anyone knows how i can make a specific text (in a textarea) boldhere is part of theXML*datosnombre dato="A orillas de una laguna."desc B353/B Libro de Edmundo Batres Ledón, B353/BRoque Ballinas Ballinas, B353/BFrancisco Fonz Chan, consta de 75 pp. La edición fue de 1,000 ejemplares./desc/nombreand the***CSSB {font-family: Arial;font-size:16.5;font-weight:bold}iwant it to look like this:*353 Libro de Edmundo Batres Ledón, 353 Roque Ballinas Ballinas,353 Francisco Fonz Chan, consta de 75 pp. *main.mxml.mx:Style source="main.css"/mx:TextArea width="439" height="100%" id="areadetexto" text="{datagrid.selectedItem.desc}" editable="false" wordWrap="true" backgroundImage="FONDOS/fondo.gif" textAlign="justify" fontStyle="main.css" /mx:TextArea when i compileError: code:Client.CouldNotDecode string:'Error #1096: XML parser failure: Unterminated element' detail:'null' at mx.rpc.http::HTTPService/http://www.macromedia.com/2005/flex/mx/internal::processResult() at mx.rpc::AbstractInvoker/http://www.macromedia.com/2005/flex/mx/internal::resultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/acknowledge() at C:\dev\enterprise_beta1\frameworks\libs\framework.swc(mx/validators/Validator)$132::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete()

__._,_.___





--
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] datatips in datagrid, whats wrong?

2006-06-09 Thread tonyx_788
anybody knows why datatips are to slow or sometimes don't show at all?

mx:DataGrid
id=datagrid
dataProvider={datos} 
width=180 height=100%
editable=false
fontFamily=garamond fontSize=14
mx:layoutConstraints
mx:Anchor horizontalCenter=10 verticalCenter=0/
/mx:layoutConstraints
mx:columns
mx:Array

mx:DataGridColumn showDataTips=true headerText=Lista
columnName=dato/
/mx:Array
/mx:columns
/mx:DataGrid







 Yahoo! Groups Sponsor ~-- 
Home is just a click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/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] Re: Viewing HTML

2006-06-08 Thread tonyx_788
hi Suzy i think Phil is talking about coenraets blog,
this is the link   hope it helps

http://www.coenraets.com/apps/iframe/index.htm

**Saludos**
Tony

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

 Hi Suzy,
 
 I can't remember which blog I saw it on (one of the Adobe guys I
think), 
 but I saw an example using an IFrame to load the HTML in.  Then a
custom 
 component in the Flex movie sent messages to Javascript so the IFrame 
 always appeared in the right place and the right size over the Flex
page 
 - it worked really nicely and sound like just what you need - sorry I 
 can't be more help, but perhaps this'll jog the memory of someone
who as 
 a memory!
 
 HTH
 
 Phil
 
 Suzy Lawson wrote:
  Hello Group-
I have an app that receives XML data over the socket. Specifically,
  it is data that is in 2 formats (plain text and HTML).
 
  The HTML that gets sent represents the FULL html code (i.e. the
  top-level 'html', 'meta', 'head', 'style', 'div', 'body' tags etc..).
 
  Sometimes the tags have namespaces and even 'class' attributes
  assigned to them which relate to styles defined w/i the style tag.
 
  For this reason, I can't just set the XML value to the 'htmlText'
  attribute of a text field. 
 
  I tried using the ExternalInterface API and pass the HTML (see example
  below) to a javscript method which opens a new window and calls
  'document.write(passedValueFromFlex)', but that does not work b/c of
  the extra rows between tags. If I manually remove the white spaces
  from each row where the HTML is one long String...it works fine. 
 
  Using a parser to handle that would be near impossible to create
  though. Does anyone have any ideas for a solution (to display
HTML) 
 
  Thanks.
 
 
 
  message
plainTextThis is the message./plainText
htmlTextlt;htmlgt;
 
 
 
  lt;headgt;
 
  lt;/headgt;
 
 
 
  lt;body lang=EN-USgt;
 
  This is the lt;bgt;messagelt;/bgt;.
 
  lt;/bodygt;
 
 
 
  lt;/htmlgt;
  /htmlText
  /message
 
 
 
 
 
 
 
  --
  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
 
 
 
   
 
 

 
 -- 
 __ 
 Phil Marston 
 Learning Technologist
 Learning Technology Unit 
 Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
 [EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
 http://www.abdn.ac.uk/diss/ltu/pmarston/
 http://www.abdn.ac.uk/diss/ltu/
 __
 
 The University of Aberdeen Open Day 29th August 2006
 Booking is essential
 www.abdn.ac.uk/openday
 email [EMAIL PROTECTED]
 or call 0800 027 1495








 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/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] Re: quick filter for datagrid

2006-06-07 Thread tonyx_788
thanks i'been reading about sho's auto complete sample and i think it
wont be dificult to do it for datagrid i'll upload my file and give
you the url 

thanks for the help


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

 yap, directly migrating from b1 to b3 would be a huge pain, but
there's a
 migration script in beta2 which automatically do most of the job for you
 
  (but it's a unix shell script so you need cygwin on windows to use
it, if
 you have probelm setting that up, send me the file I can convert
that since
 I still have cygwin installed)
 
 then it's a snip to migrate from b2 to b3, guess this is the fact of
life
 for playing with beta proggy.
 
 ComboBox and DataGrid are both ListBased classes, so they shared
almost the
 same APIs, like getItem(), getItemAt() thru dataProvider, so it
should not
 be difficult to modify that sample to use Datagrid.
 
 
 
 On 6/7/06, tonyx_788 [EMAIL PROTECTED] wrote:
 
the problem is i'm almost finish with my project and the last time i
  tried to install beta3 it throw me lots of errors
  after i finish i'll install it
  the other thing is that sho's example it's only for comboboxes
  and i have a text input an a datagrid
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Jeremy
  Lu wade.lu@ wrote:
  
   well, I'm not sure about that, why not ask Sho about it ?
  
   btw, as Flex2 is very close to release, why not port your
application to
   Beta3 ?
  
  
   On 6/6/06, tonyx_788 tonyx_788@ wrote:
   
Thanks for the fast reply Jeremy
but do you know if this works in Flex 2 Beta1
i only see it for beta 3
   
   
  
 
   
 








 Yahoo! Groups Sponsor ~-- 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/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] Re: quick filter for datagrid

2006-06-06 Thread tonyx_788
the problem is i'm almost finish with my project and the last time i
tried to install beta3 it throw me lots of errors
after i finish i'll install it
the other thing is that sho's example it's only for comboboxes
and i have a text input an a datagrid



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

 well, I'm not sure about that, why not ask Sho about it ?
 
 btw, as Flex2 is very close to release, why not port your application to
 Beta3 ?
 
 
 On 6/6/06, tonyx_788 [EMAIL PROTECTED] wrote:
 
  Thanks for the fast reply Jeremy
  but do you know if this works in Flex 2 Beta1
  i only see it for beta 3
 
 







 Yahoo! Groups Sponsor ~-- 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/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] 2 Datagrids and 1 Popup with Videodisplay

2006-06-05 Thread tonyx_788




		

			
			


	hi everyonei've been for weeks trying to figure out how to do this, i hope somebody can help meI have 2 datagrids, first one is bind to an xmlmx:DataGridid="datagrid"dataProvider="{datos}" x="2" y="71" width="150" height="507"editable="false"mx:columns	mx:Array		mx:DataGridColumn headerText="Lista" columnName="dato"/	/mx:Array/mx:columns			/mx:DataGrid2nd datagrid is bind to the first onemx:datagrid x="600" y="468" width="157" height="40" dataProvider="{datagrid.selectedItem.video}"id="vLista"/mx:datagridThis one shows if there is a video on the xmlThis is part of the xml**datos.xml**datos	nombre dato="A orillas de una laguna."		descLibro de Edmundo Batres Ledón siajhdsifsdfirfd/desc		imagenA orillas de una laguna.jpg/imagen		videoVIDEO/aOrillas.flv/video	/nombre/datosand i have another MXML file whish is video.mxmlwhat i want to do is that if there is a video on datagrid 2  click on it and see the .flv on the video.mxml filethanks













	
	
		






		
			






--
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] 2 Datagrids y 1 Popup con Videodisplay

2006-06-05 Thread tonyx_788



Hola atodos sabe alguien como hacer para a darle click a un nombre el cual estaen un datagrid este me muestre un video en un popuppondre un ejemploTengo mi primer datagridmx:DataGridid="datagrid"dataProvider="{datos}"x="2" y="71" width="150" height="507"editable="false"mx:columnsmx:Arraymx:DataGridColumn headerText="Lista" columnName="dato"//mx:Array/mx:columns/mx:DataGrideste es el segundo datagridel cual esta conectado con el primeroeste me muestra si el xml tiene video o nomx:datagrid x="600" y="468" width="157" height="40" dataProvider="{datagrid.selectedItem.video}"id="vLista"/mx:datagridThis one shows if there is a video on the xmleste es parte del xml**datos.xml**datos	nombre dato="A orillas de una laguna."		descLibro de Edmundo Batres Ledón siajhdsifsdfirfd/desc		imagenA orillas de una laguna.jpg/imagen		videoVIDEO/aOrillas.flv/video	/nombre/datosy por ultimo tengo un archivo mxml el cual se llama video.mxmllo que quiciera hacer es que si el datagrid 2 muestra que si ay video le de un click al video que yo quiera y este se reproduzca en el video.mxml






--
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] quick filter for datagrid

2006-06-05 Thread tonyx_788



I everyone
i think my cuestion is simple


i have a datagrid with 1000 names (this names are in a xml file)
what i one to do is to put an input text so when somebody
is looking for a specific name he just start typing and the datagrid
start showing only what is being type on the textinput

one more thing i am using this for distribution on a cd so i don't
think i can use any other language,
can i?












--
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] TextArea, XML y CSS ¿como se hace?

2006-06-05 Thread tonyx_788



hola a todos espero esto sea posible en FLEXresulta que tengo un texto en WORD este texto contiene versalitas, cursivas, letras gruesas, etc,son aproximadamente 1000 nombres cada uno con su deficion por ejemploA orillas de una laguna. Libro de Edmundo Batres Ledón, Leticia Ulín Rodríguez y Carlos López Castro, editado por la ujat a través dacs; consta de 75 pp. La edición fue de 1,000 ejemplares.

notan como tiene los tipos de letra de los que le hablobueno mi gran problema es que no puedo hacer que estos se vean exactamente como estan en   WORDya que tendria que hacerlo de uno por unoESTE ES EL DATAGRID DONDE ME MUESTRA EL NOMBRE EN ESTE CASO A orillas de una laguna.el cual no me interesa como se vea el tipo de letra puede cambiar aquimx:DataGridid="datagrid"dataProvider="{datos}" mx:columnsmx:Array  mx:DataGridColumn headerText="Lista" columnName="dato" showDataTips="true"/ /mx:Array/mx:columnsal darle click a "A orillas de una laguna." me aparecen en el textarea la informacion de este pero yo quiero que por medio de css se puede ver tal y como lo tengo en word si tener que hacerlo uno por uno






--
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] Re: quick filter for datagrid

2006-06-05 Thread tonyx_788



Thanks for the fast reply Jeremy
but do you know if this works in Flex 2 Beta1
i only see it for beta 3

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

 there's an excellent article on Sho Kuwamoto's blog @
 

http://kuwamoto.org/2006/04/03/flex-auto-complete-text-input-control-v06/
 
 it's not exactly what you want, but the way Sho filters the items in the
 Listbox may shed a light on your need.
 
 
 
 On 6/5/06, tonyx_788 [EMAIL PROTECTED] wrote:
 
  I everyone
  i think my cuestion is simple
 
 
  i have a datagrid with 1000 names (this names are in a xml file)
  what i one to do is to put an input text so when somebody
  is looking for a specific name he just start typing and the datagrid
  start showing only what is being type on the textinput
 
  one more thing i am using this for distribution on a cd so i don't
  think i can use any other language,
  can i?
 
 
 
 
 
 
 
 
 
  --
  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] Re: Question about History Management

2006-06-05 Thread tonyx_788



Hi everyone
i have Flex 2 Beta1
any one of u have an example code
for this history managment button


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

 Hello Matt,
 
  Yes, for Flex 1.5, history management requires the server.
 
 But still, history management works for static SWF files generated in
 offline by mxmlc Flex 1.5 standalone compiler, at least in our case.
 
 We use SWFObject in our custom HTML wrapper file to display this
 static SWF, something like that:
 
 ---
 var swfObj = new SWFObject(swfSource, testmovie, swfWidth,
swfHeight, requiredVer, null, useExpressInstall);
 swfObj.addVariable(historyUrl,
escape(/flex-internal?action="">
 swfObj.addVariable(lconid, lc_id);
 swfObj.addVariable(versionChecked, true);
 
 swfObj.write(flashcontent);
 ---
 
 Flex server 1.5 is also installed at the deployment server as the
 license requires.
 
 Also, I must admit, the details on who delivers this mistery variable
 lc_id to the movie are unknown to me.
 
 
 
 
 -- 
 Best regards,
 Andriy mailto:[EMAIL PROTECTED]











--
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.