[flexcoders] About Modules

2007-02-26 Thread Guillermo Villasana
Hello everyone I have the following problem. I am trying to make a module that in turn will call another module, but the information from the main App is not reaching the most inner module I don't why I am getting the error 1009 (Null method or object) Flow of data: Main App- Module 1 - Module

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-01 Thread Guillermo Villasana
I downloaded the .swc file, but I don't seem to be able to use the components. I added the xmlns=flexunit.flexui.* is there something else I should be doing? Thanks.

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-02 Thread Guillermo Villasana
I added it in the the Library path tab. Or i should add it int source path? Thanks Terius Troy Gilbert wrote: You've added the SWC to your project? Go to the Project Properties and its on one of the build related tabs. Troy.

[flexcoders] Problem with swc files

2007-03-03 Thread Guillermo Villasana
Hello I have been trying to add a swc file, but I have not been able to make the internal components of the swc file be recognized. In my project I have the following structure my_Project -swc_folder --flexunit.swc -mainapp.mxml I added the swc_folder into my library path and in my

Re: [flexcoders] Re: Announcing FlexLib - open source flex component library

2007-03-06 Thread Guillermo Villasana
for the playerglobal.swc, etc., they basically point to the swc then have an extra attribute describing where the source is located. I find editing the XML directly to be quicker and more dependable. Troy. On 3/2/07, *Guillermo Villasana* [EMAIL PROTECTED] mailto:[EMAIL

[flexcoders] Problems with htmltext

2007-04-02 Thread Guillermo Villasana
Hi everyone, I am puting the following code in the Htmltext area: pspan style=font-size: 14pt; font-weight: bold; color: rgb(255, 165, 0);En/span hoteles de playa proporcionamos habitaciones con vista al mar y en algunos casos, jacuzzi o alberca privada. Nuestro Lounge ofrece diariamente

Re: [flexcoders] Problems with htmltext

2007-04-02 Thread Guillermo Villasana
sorry I checked out the information and htmltext has less than 10 html tags implemented

[flexcoders] Embeding an SWF

2007-04-20 Thread Guillermo Villasana
I know that to embed an swf you can do this: [Embed(source=/assets/myswf.swf)] public var swf_embeded_flex:Class; My question is the following: Is it possible to make /assets/mysqf.swf to be a variable? So I could have: var asset:String=/assets/myswf.swf; [Embed(source={asset})] public var

Re: [flexcoders] Embeding an SWF

2007-04-20 Thread Guillermo Villasana
. You have to load it useing SWFLoader *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Friday, April 20, 2007 8:39 AM *To:* flexcoders@yahoogroups.com *Subject

[flexcoders] Activating styles at runtime

2007-05-01 Thread Guillermo Villasana
Hello everyone, I am having problems assigning styles at runtime.. Here is what I am doing: 1) I genereted an xml with all the parameters (colors, font types, font sizes...etc) 2) In the mxml aplication i call initialize=initApp() 3) in the initApp I read the xml and assign all the styles to

[flexcoders] How to activate browser scroll

2007-05-01 Thread Guillermo Villasana
Is there a way to activate the scroll of the browser and define a height directly in the html without making the flash be reapeted? The thing is that I generated and swf with flex, inserted it in an html with a fixed height that requiered a scroll, but when the flash doesn't use the complete

Re: [flexcoders] Activating styles at runtime

2007-05-01 Thread Guillermo Villasana
); StyleManager.getStyleDeclaration(Application).setStyle('themeColor',color1); and in some cases Id_MyPanel.setStyle('backgroundColor',color1); Manish Jethani wrote: On 5/1/07, Guillermo Villasana [EMAIL PROTECTED] mailto:terius%40villasana.com.mx wrote: 1) I genereted an xml with all the parameters

[flexcoders] Problem with post

2007-05-15 Thread Guillermo Villasana
Is there any reason why if i send with method post, one variable will not be sent ? var params:URLVariables=new URLVariables(); var myservice:HTTPService=new HTTPService(); params.var1=event.values[0]; params.var2=event.values[1]; params.var3=event.values[2]; myservice.method=post;

Re: [flexcoders] Re: Client IP Address

2007-05-29 Thread Guillermo Villasana
Lan, why don't you wrap the flex application in a simple .jsp or .php, and let that file take care of the IP using a session or something of the sort? Best regards Terius lanlin998 wrote: Adam, Thanks for the suggestion. You are exactly right about the anonymous client login. However, we

[flexcoders] How to add a component through a library

2007-06-05 Thread Guillermo Villasana
I have a complex component made in mxml, and it has action scripts that make some parts go visible or invisible. The problem is that when I try to add them into a library, the actionscript tells me that I can not hide a specific element of the component because this element does not have

[flexcoders] How to check network information

2007-08-30 Thread Guillermo Villasana
Hello, is there a program that can do something similar to what firebug can do in firefox? to check out what is going on between the server and explorer Thanks

[flexcoders] How to make TextArea resize to fit content

2007-09-11 Thread Guillermo Villasana
Hello, I have been searching around to find out how to make htmlText (or Text if is used instead of htmlText) in TextArea to resize in height so that it won't make a scroll. This is what I was able to understand to achive the problem and generated this class: code package myclases {

Re: [flexcoders] How to make TextArea resize to fit content

2007-09-11 Thread Guillermo Villasana
+ 10 as the measuredHeight *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Tuesday, September 11, 2007 6:50 AM *To:* flexcoders@yahoogroups.com *Subject

Re: [flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Guillermo Villasana
-- --- *From:* flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com] *On Behalf Of *Guillermo Villasana *Sent:* Tuesday, September 11, 2007 6:50

[flexcoders] Problem with sizing

2007-09-19 Thread Guillermo Villasana
Hi everyone, well I am still having problems with resizing a Text Area. At the moment I am using this code: package mylib { import mx.controls.TextArea; import flash.text.TextField; import mx.controls.Alert; public class AdvancedTextArea extends TextArea { public

Re: [flexcoders] Problem with sizing

2007-09-19 Thread Guillermo Villasana
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Wednesday, September 19, 2007 10:45 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Problem with sizing Hi everyone, well I am still having problems with resizing a Text Area. At the moment I am

[flexcoders] How to make a flex app load faster

2007-09-20 Thread Guillermo Villasana
Hi guy I have a 500K flex file, but I need it to load faster, At the moment all libraries are merged to the code, (I am not using flex3) I tried using linked but the app seemed to stop working, I copied al the swf files in the same directory, so I don't know what I am doing wrong. Thanks

[flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
Hello everyone, I have the following code: !code -- mx:Canvas id=id_cvs rollOut=Alert.show('Roll out'); rollOver=Alert.show('Roll over'); mx:TileList x=0 top=24 id=id_tile_subnav direction=vertical themeColor=#006633

Re: [flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Monday, September 24, 2007 12:01 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Problem with rollOver and rollOut Hello everyone, I have the following code

Re: [flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
%40yahoogroups.com] On Behalf Of Guillermo Villasana Sent: Monday, September 24, 2007 1:07 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: Re: [flexcoders] Problem with rollOver and rollOut Now I have this with the same result, actually the tile list is smaller and set

[flexcoders] mouseOver/rollOver on ToggleButtonBar

2007-09-24 Thread Guillermo Villasana
Hi again, well, now I have the following problem: I have this ToggleButtonBar: !-- code -- mx:ToggleButtonBar id=nav_bloque1 alpha=0.5 useHandCursor=true buttonMode=true itemClick=ChangeContent(nav_bloque1.selectedIndex);

[flexcoders] mouseOver/rollOver on ToggleButtonBar

2007-09-24 Thread Guillermo Villasana
Hi again, well, now I have the following problem: I have this ToggleButtonBar: !-- code -- mx:ToggleButtonBar id=nav_bloque1 alpha=0.5 useHandCursor=true buttonMode=true itemClick=ChangeContent(nav_bloque1.selectedIndex);

[flexcoders] Is there a mouseOverIndex?

2007-09-25 Thread Guillermo Villasana
Hi again, well sorry about the other post that get duplicated, but as I asked before, is there a way to get the index of a button in a togglebuttonbar when you just go over the button? here is my code !-- code -- mx:ToggleButtonBar id=nav_bloque1 alpha=0.5 useHandCursor= true buttonMode=true

Re: [flexcoders] Is there a mouseOverIndex?

2007-09-25 Thread Guillermo Villasana
Anyone, any thoughts? None? Thanks Guillermo Villasana wrote: Hi again, well sorry about the other post that get duplicated, but as I asked before, is there a way to get the index of a button in a togglebuttonbar when you just go over the button? here is my code !-- code

Re: [flexcoders] Is there a mouseOverIndex?

2007-09-25 Thread Guillermo Villasana
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Tuesday, September 25, 2007 1:46 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders

Re: [flexcoders] Is there a mouseOverIndex? - QUICK SOLUTION

2007-09-26 Thread Guillermo Villasana
-overed' button. But if you just need the index, i think the solution above will be enough. p.s. are you from the Philippines? Best, Leds --- Guillermo Villasana [EMAIL PROTECTED] mailto:terius%40villasana.com.mx wrote: Anyone, any thoughts? None? Thanks Guillermo Villasana wrote

Re: [flexcoders] DataGrid in flex 2.0

2007-09-27 Thread Guillermo Villasana
If you mean clear the old data as that the content of the dataprovider should be = NULL, then maybe the variable that is assigned to the dataprovider is not [Bindable]? and thus the dataprovider doesn't reassing values? Alex Harui wrote: Not sure what you mean by clear and why you think

[flexcoders] Change style on each button on a ToggleButtonBar

2007-10-03 Thread Guillermo Villasana
Is it possible to change the sytle of each button in a toggle buttonbar? I tried this... but it doesn't seem to work: MyTBB.getChildAt(0).setStyle('styleName','button1'); MyTBB.getChildAt(1).setStyle('styleName','button2'); MyTBB.getChildAt(2).setStyle('styleName','button3');

Re: [flexcoders] Change style on each button on a ToggleButtonBar

2007-10-03 Thread Guillermo Villasana
.. - Original Message From: Guillermo Villasana terius! @villasana.com.mx To: flexcoders@yahoogroups.com Sent: Wednesday, October 3, 2007 4:15:57 PM Subject: [flexcoders] Change style on each button on a ToggleButtonBar Is it possible to change the sytle of each button in a toggle buttonbar? I

Re: [flexcoders] Change style on each button on a ToggleButtonBar

2007-10-03 Thread Guillermo Villasana
? *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Wednesday, October 03, 2007 4:08 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Change style on each button on a ToggleButtonBar Well, this is not working, not even

Re: [flexcoders] Change style on each button on a ToggleButtonBar

2007-10-05 Thread Guillermo Villasana
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Wednesday, October 03, 2007 4:45 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Change style on each button on a ToggleButtonBar Sorry. Here is what I am doing: !-- css code -- .button1

[flexcoders] Tooltip

2007-10-15 Thread Guillermo Villasana
Is it possible to make the tooltip check that if it's contents go out of the visible area to change its position to be shown up or left of the cursor position? Thanks

Re: [flexcoders] Tooltip

2007-10-15 Thread Guillermo Villasana
:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Monday, October 15, 2007 8:46 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Tooltip Is it possible to make the tooltip check that if it's contents go out of the visible area to change its position to be shown up

[flexcoders] Problem with frame rates of flash swfs and flex

2007-10-24 Thread Guillermo Villasana
Hello I am having the following problem, I am loading some swfs made in flash at a frame rate of 24, (same as flex) but the timing is totally off, the swf made in flash are running very fast, what could it be thanks Terius

[flexcoders] Howto replay an external swf?

2007-10-24 Thread Guillermo Villasana
I have an external swf that stops after some animation, but I want to make a button that will tell the loaded swf to replay (this swf is in flash) How can I do this? I am using SWFLoader, but I don't see something like id_MySWFLoader.paly(); or something of the sort. Thanks

[flexcoders] Flash Component Kit and External swfs

2007-11-19 Thread Guillermo Villasana
Hello, I am wondering is it possible to create a flex component with the FCK like this? 1) The flash component has in its time line 5 Keyframes In each key frame it loads 5 different swfs is it possible that the swfs be also components that can be access by the flex app.? For example the swf

[flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Guillermo Villasana
Hello, so I was able to Load an external SWF, in a state in flash like this: stop(); request = new URLRequest(external.swf); loader = new Loader() loader.load(request); this.addChild(loader); This code is in the timeline but is there a way to reuse the external.swf and replay it without

Re: [flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Guillermo Villasana
. *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Tuesday, November 20, 2007 2:31 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flash Component Kit and external SWF Hello, so I was able to Load an external SWF

Re: [flexcoders] Reusing a localconnection

2007-12-06 Thread Guillermo Villasana
I forgot, I am using it to send and recieve between flex and flash using AS2. Thanks Guillermo Villasana wrote: Hello everyone, I know that with LocalConnection you can only have one connection with the same name... the problem I am having here is that if you open a second window of the same

[flexcoders] Reusing a localconnection

2007-12-06 Thread Guillermo Villasana
Hello everyone, I know that with LocalConnection you can only have one connection with the same name... the problem I am having here is that if you open a second window of the same page, the comunication is lost, so is there a way to determine that an id is already open, an use it, so the

[flexcoders] Multiple LocalConnection

2007-12-12 Thread Guillermo Villasana
Hello everyone I have been trying to solve the problem that LocalConnection can only use one Identifier and must not be used again. I tried doing this: In flex (myFlex.swf): mx:SwfLoader source=myflash.swf?IDConector={RandomID}/ In flash (myflash.swf): lc:LocalConnection = new

[flexcoders] Adding you tube's flv

2008-02-01 Thread Guillermo Villasana
Is it possible to load into a flex app, an flv from you tube? if so is there an example or something I can see? Thanks Terius

[flexcoders] How to remove an swf completely

2008-02-08 Thread Guillermo Villasana
How can I remove an swf including the sound it has in it? I have a canvas and I use RemoveAllChildren on the canvas and then I add a new swf, the problem is that the sound stays. Thanks Terius

Re: [flexcoders] How to remove an swf completely

2008-02-08 Thread Guillermo Villasana
) *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Friday, February 08, 2008 10:50 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] How to remove an swf completely How

[flexcoders] Problem with click event and Image component

2008-06-24 Thread Guillermo Villasana
Hello guys, I am having problems adding a click event to an image, I don't know why it just doesn't work. I have an app something like this mx:Application ... mycomponent:myCanvas/ /mx:Application in myCanvas component I have mx:Canvas ... mx:Script ![CDATA[ ... import flash.events.MouseEvent;

Re: [flexcoders] Problem with click event and Image component

2008-06-24 Thread Guillermo Villasana
PROTECTED] *On Behalf Of *Guillermo Villasana *Sent:* Tuesday, June 24, 2008 8:35 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Problem with click event and Image component Hello guys, I am having problems adding a click event to an image, I don't know why it just doesn't

[flexcoders] Can't see app in html

2007-09-03 Thread Guillermo Villasana Cardoza
I am having problems viewing my flex app in IE7. I am running Windows XP and I have installed the latest version of the flash player (also I have all my windows updates) but still I get the following: Alternate HTML content should be placed here. This content requires the Adobe Flash Player.

[flexcoders] IE 7 not showing my flex app

2007-09-22 Thread Guillermo Villasana Cardoza
Hello, I have a problem with ie 7 and flex, IE7 keeps telling me that flash is not installed, I was told that I had to specify size of my app. But the problem is that even though I specify size, it still shows me that flash is not installed. How can I solve this? Thanks

[flexcoders] Cancel an HttpService call

2007-10-06 Thread Guillermo Villasana Cardoza
Is there a way to cancel an HttpService call? What I want to do is that if someone click button 1, then an httpsevice is called,but if button 2 is clicked then cancel button 1 call and call a new httpservice. Is this possible? Thanks

[flexcoders] Flex 3 beta 2 grew my app

2007-10-06 Thread Guillermo Villasana Cardoza
I installed FB3 beta2 and after compiling my app, it grew from 500K to 725K why? I had --optimze option enable... what made it grew?

Re: [flexcoders] Flex 3 beta 2 grew my app

2007-10-07 Thread Guillermo Villasana Cardoza
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Guillermo Villasana Cardoza *Sent:* Saturday, October 06, 2007 9:57 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Flex 3 beta 2 grew my app I installed FB3 beta2 and after compiling my app, it grew from 500K to 725K why? I had