[flexcoders] Re: custom flex preloader - animation bugs

2009-04-20 Thread carloscarvalhar
maybe you're having different fps in flex (24 i think) and in your animated swc you can set fps trough AS: yourLoadedSWF.stage.frameRate = 12; bye Carlos

[flexcoders] Re: encoding video files (.mov, .avi etc) to flv during upload in flex coldfusion

2009-04-13 Thread carloscarvalhar
Well, this isn't a flex problem, you need to convert it by a serve side script. I have no idea about couldfusion, but i did once using ffmpeg with php. http://ffmpeg-php.sourceforge.net This ffmpeg can be runned in windows or linux, not sure about mac. Converting a video consumes a lot of

[flexcoders] Re: Accordion Button Header Replacement?

2009-04-12 Thread carloscarvalhar
flexlib has a different accordion header, check it: http://dougmccune.com/blog/2007/09/18/using-complex-headers-with-the-flex-accordion/

[flexcoders] Re: Alert Control help

2009-04-08 Thread carloscarvalhar
i think you need more Popup than Alert... you can add childs to your popup, take a look at this example: http://blog.flexexamples.com/2007/08/06/creating-custom-pop-up-windows-with-the-popupmanager-class/ reference: http://livedocs.adobe.com/flex/3/langref/mx/managers/PopUpManager.html bye

[flexcoders] Re: Bizarre browser inconsistencies...?

2009-04-06 Thread carloscarvalhar
this may be happening because www.domain.com and domain.com are considered different domains in some browsers and others no. try to set the crossdomain to allow both, or redirect trough server always for only one domain.

[flexcoders] Re: htmlText with image and ioError

2009-04-02 Thread carloscarvalhar
hi, so...does anyone have any idea how can i handle ioError from images not loaded inside a text with htmlText? where can i add a listener? thanks, Carlos --- In flexcoders@yahoogroups.com, carloscarvalhar carloscarval...@... wrote: Hi, i have a Text with htmlText that can have missing

[flexcoders] htmlText with image and ioError

2009-03-31 Thread carloscarvalhar
Hi, i have a Text with htmlText that can have missing images, so i get this error: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found I have no more new ideas to test...i couldn't find a solution. i tried: stage.addEventListener(IOErrorEvent.IO_ERROR,ioerrorHandler);

[flexcoders] How do I compile a resource module?

2009-03-31 Thread carloscarvalhar
Hello, I tried this tutorial: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization#How_do_I_preload_a_resource_module.3F But i couldn't compile my resources modules. First weird thing: I don't see myResources (as it does have in my main.xml as metadata) in the

[flexcoders] mx:Text and line height

2009-03-27 Thread carloscarvalhar
Hi, how can i get a correct line heigth of mx:Text? This is code that i'm using: public function get textLineHeight():uint { var textLineMetrics:TextLineMetrics = this.getLineMetrics(0); _textLineHeight = textLineMetrics.height + textLineMetrics.leading; return

[flexcoders] Re: mx:Text and line height

2009-03-27 Thread carloscarvalhar
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of carloscarvalhar Sent: Friday, March 27, 2009 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] mx:Text and line height Hi, how can i get a correct line heigth of mx:Text? This is code that i'm

[flexcoders] Embed skinClass - no embed

2009-03-27 Thread carloscarvalhar
Hi, I have an external css file with many embed stuff, like this: borderSkin: Embed(skinClass=Modal_borderSkin); how can i use them without embedding? (This is a flex component skinned in flash) And i don't know this one also: background-image: Embed(source=images/bg.jpg); Just another: is

[flexcoders] Re: bug with remoteObject and ToolTip with loaded flex application

2009-03-25 Thread carloscarvalhar
Flex 3.2. It has bugs related to this configuration. Use 3.3 or 3.1 Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of carloscarvalhar Sent: Tuesday

[flexcoders] Re: HTML in the List Component?

2009-03-24 Thread carloscarvalhar
Maybe this gonna help you: http://www.flexer.info/2009/02/06/auto-resizable-text-area-component/ --- In flexcoders@yahoogroups.com, Brandon Krakowsky krakows...@... wrote: I have a List component with both variableRowHeight and wordWrap set to true. Is there anyway to leverage the labelField

[flexcoders] bug with remoteObject and ToolTip with loaded flex application

2009-03-24 Thread carloscarvalhar
Hi, I have a flex application working fine, but i need to load it into a flash swf and it is giving me a lot of trouble. I get a really strange behavior: my mouse doesn't shows anymore (although i'm not changing cursors), remote object's calls doesn't load anymore and tooltips don't show. I

[flexcoders] hide accordion headers

2009-03-23 Thread carloscarvalhar
Hi, I have a flex application with an accordion 100% width/height and i'd like to show the accordion headers only when the mouse is at the corners. Is it possible to hide accordion headers and show it only when i want? Is there any possibility to implement this? how can i do this? thanks,

[flexcoders] Re: Flex Preloader issue

2009-03-23 Thread carloscarvalhar
Application will load only when it receives a complete event. So you can load one swf, listen for INIT_COMPLETE (that's before complete) preloader.addEventListener(FlexEvent.INIT_COMPLETE, myHandleInitEnd); At myHandleInitEnd loads another swf and so on... then at last preload you dispatch the

[flexcoders] Re: rollover is blinking

2009-03-22 Thread carloscarvalhar
statements in your handlers or step through in the debugger so you can see what is happening. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of carloscarvalhar Sent: Saturday

[flexcoders] Re: rollover is blinking

2009-03-22 Thread carloscarvalhar
ok, i got it. i had to check in rollOut if the mouse is over the hitare of the components. i'm posting here as reference if someone else needs this. public function toogleVisiOut():void{ if (! (container.hitTestPoint(stage.mouseX, stage.mouseY, true) || myComponent.hitTestPoint(stage.mouseX,

[flexcoders] rollover is blinking

2009-03-21 Thread carloscarvalhar
Hi, My rollover is blinking and i don't know how to fix this. I have this structure: panel vbox image / /vbox canvas / /panel My image has the rollOver/rollOut (and i also tried mouseOver/mouseOut) but what i got is a simple blinking frustrating effect. My code in image is setting

[flexcoders] Re: rollover is blinking

2009-03-21 Thread carloscarvalhar
Hi, I tried what you said, but didn't worked, it's blinking yet. Here's my code: public function toogleVisiOver():void{ if(! mycanvas.visible){ mycanvas.visible =true; } } public function toogleVisiOut():void{ if(mycanvas.visible){

[flexcoders] Re: Is it possible to query Flash Player attributes e.g. allowFullScreen?

2009-03-21 Thread carloscarvalhar
about full screen: switch (Application.application.stage.displayState) { case StageDisplayState.FULL_SCREEN: /* If already in full screen mode, switch to normal mode. */ Application.application.stage.displayState = StageDisplayState.NORMAL; break; default: /* If not in full

[flexcoders] flex application inside flash loader and resize event

2009-03-21 Thread carloscarvalhar
Hi, I have a problem with resize event: My flex application is loaded inside a loader in Flash and when i resize my windows, my flash loader resizes (at least i think so) but my application doesn't resize. I tried to add listeners for both flash and flex. Here's the code: the loader in Flash:

[flexcoders] how to convert html to flex components?

2009-03-19 Thread carloscarvalhar
Hi, I'm using htmlText and i think it's full of bugs...I'd like to know alternatives about how to read a html page (or html source from database) and translate into flex components. For example, i'd like to have an option that from a img / html tag, create an mx:Image / flex component and

[flexcoders] Re: Embedding/visualizing special characters issue

2009-03-19 Thread carloscarvalhar
hi, are you sure if the font has those characters? Sometimes the font file doesn't have them and the system automatically uses a system font. try one font manager, as font navigator, to really be sure if your font has that characters before embedding.