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

2008-06-24 Thread Guillermo Villasana
flexcoders@yahoogroups.com [mailto:[EMAIL 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 pr

[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 in myCanvas component I have other components I don't know why the img2 doesn't do the click event any thoughts Thanks

Re: [flexcoders] How to remove an swf completely

2008-02-08 Thread Guillermo Villasana
_STAGE event) > > > > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Guillermo Villasana > *Sent:* Friday, February 08, 2008 10:50 AM > *To:* flexcoders@yahoogroups.com > *S

[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

[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] 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): In flash (myflash.swf): lc:LocalConnection = new LocalConnection(); lc.connect(_level0.IDConnector); (here I also print

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 w

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

Re: [flexcoders] Flash Component Kit and external SWF

2007-11-20 Thread Guillermo Villasana
ould work. > > > > > > *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 &g

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

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

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

Re: [flexcoders] Tooltip

2007-10-15 Thread Guillermo Villasana
flexcoders@yahoogroups.com [mailto:[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 content

[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] Flex 3 beta 2 grew my app

2007-10-07 Thread Guillermo Villasana Cardoza
t; *From:* flexcoders@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

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

[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

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

2007-10-05 Thread Guillermo Villasana
> > ---- > *From:* flexcoders@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

2007-10-03 Thread Guillermo Villasana
leName' ,'button5' ); each button is different and is defined in the swf of the skin I have not tried setting into indivudal buttons, I will try that, but if I used them as this: .ToggleButtonBar2 { buttonStyleName: "button2"; firstButtonStyleName: &qu

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

2007-10-03 Thread Guillermo Villasana
> label="Button1" etc.. > > - Original Message > From: Guillermo Villasana > To: flexcoders@yahoogroups.com > Sent: Wednesday, October 3, 2007 4:15:57 PM > Subject: [flexcoders] Change style

[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'); MyTBB.getChildAt(3).s

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

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

2007-09-26 Thread Guillermo Villasana
gt; you can get whatever details there is in the data > provider that is associated with the 'mouse-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 > > --- G

Re: [flexcoders] Is there a mouseOverIndex?

2007-09-25 Thread Guillermo Villasana
nding what you're trying to do. > > - Gordon > > > *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] > *On Behalf Of *Guillermo Villasana > *Sent:* Tuesday, September 25, 2007 1:46 PM > *T

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 >

[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 I want to change the nav_bloque1.selectedIndex to nav_bloque1.mouseOverIndex or something

[flexcoders] mouseOver/rollOver on ToggleButtonBar

2007-09-24 Thread Guillermo Villasana
Hi again, well, now I have the following problem: I have this ToggleButtonBar: So when I click the button it brings some information, but what I want to do is that when I go over a button, that it will display a new navegation that I made with the TileList depending on the ind

[flexcoders] mouseOver/rollOver on ToggleButtonBar

2007-09-24 Thread Guillermo Villasana
Hi again, well, now I have the following problem: I have this ToggleButtonBar: So when I click the button it brings some information, but what I want to do is that when I go over a button, that it will display a new navegation that I made with the TileList depending on the ind

Re: [flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
ups.com > <mailto:flexcoders%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 > > N

Re: [flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
gt; > *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 followin

[flexcoders] Problem with rollOver and rollOut

2007-09-24 Thread Guillermo Villasana
Hello everyone, I have the following code: The problem I have is that the rollOut is triggered even if I am in the area of the canvas and I don't know why. It seems that every item in the tile list generetes the rollOut and roll over,

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

Re: [flexcoders] Problem with sizing

2007-09-19 Thread Guillermo Villasana
- > > *From:* flexcoders@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

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

Re: [flexcoders] Re: dynamic textArea sizing

2007-09-11 Thread Guillermo Villasana
> > > > Any examples out there? > > > > Thanks, > > Mark > > > > > > > > > > Using the Textfield made the trick I also set to off the scroll > policies > > so they wouldn't show > > Thanks > > Terius > > > &g

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

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

[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: package myclases { import mx.

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

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

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,

[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"; myservice.

Re: [flexcoders] Activating styles at runtime

2007-05-01 Thread Guillermo Villasana
Style('backgroundColor',color1); 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] &g

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

[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

Re: [flexcoders] Embeding an SWF

2007-04-20 Thread Guillermo Villasana
something > at runtime. 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

[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

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] Problems with htmltext

2007-04-02 Thread Guillermo Villasana
Hi everyone, I am puting the following code in the Htmltext area: En hoteles de playa proporcionamos habitaciones con vista al mar y en algunos casos, jacuzzi o alberca privada. Nuestro Lounge ofrece diariamente desayuno continental, y por las noches cocteles y canapés. También se cuenta con se

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

2007-03-06 Thread Guillermo Villasana
xactly what it is that's different, but I know how to > do it by editing the project settings files directly. Just copy > what's already done for the playerglobal.swc, etc., they basically > point to the swc then have an extra attribute describing where the > s

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

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

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.

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