[flexcoders] Re: Can't seem to receive events when using custom components

2008-02-01 Thread ehsiao_bea
--- In flexcoders@yahoogroups.com, Joe Beuckman [EMAIL PROTECTED] wrote: To listen for an event during all phases of the event flow, you must call addEventListener() twice, once with the use_capture parameter set to true, and again with use_capture set to false.

[flexcoders] Re: Chart Bug? Setting a backgroundElement bitmap at runtime

2008-02-01 Thread EddieBerman
Let me just clarify the specific bit of code that I assumed would work, but isn't. At runtime, way after creationComplete(), I create an mx:Image object, load a .jpg into it from my local file system, and then push it onto the backgroundElements array. I've also tried simply setting it as the

Re: [flexcoders] Re: Streaming Video in Flex using Windows 2003 Server

2008-02-01 Thread greg h
Hi Don, In a Flex/AIR app, the simplest way to do load video is using the component mx:VideoDisplay You can just copy the example in the docs here: http://livedocs.adobe.com/labs/flex3/langref/mx/controls/VideoDisplay.html#includeExamplesSummary Note that as written, the doc example is for a

RE: [flexcoders] Re: Chart Bug? Setting a backgroundElement bitmap at runtime

2008-02-01 Thread Sunil Bannur
Not sure, whether you are setting the width and height of the image you are loading dynamically. Also pushing it in to the backgroundelements array would not work, it should be assigned like this chart.backgroundelements = AnArray; Thanks -Sunil From:

Re: [flexcoders] Re: Streaming Video in Flex using Windows 2003 Server

2008-02-01 Thread YOGESH JADHAV
ya u can use video display , but if your using fms/rtmp combination it is better to use Video object then attach netstream to it. It will give more control to functionality / interactivity and offcourse errors. It is good idea to control the played video form FMS server side using streams instead

Re: [flexcomponents] RE: [flexcoders] update complete of list component

2008-02-01 Thread learner
got it... I changed my code and checked if the lenght of the dataprovider is greater than 0 but thats a kinda of hack which i did not like :( On Feb 1, 2008 12:37 PM, Alex Harui [EMAIL PROTECTED] wrote: updateComplete will be called several times during the lifetime of a List. Your

[flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread polestar11
Hi I've run into a seemingly common problem of setting videoDisplay source to an rtmp stream. I get the following exception as soon as the video-display's play is triggered: ArgumentError: Error #2126: NetConnection object must be connected. at flash.net::NetStream/construct() at

Re: [flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread YOGESH JADHAV
U don't need to start from scrath , i hv once seen such component developed on net. Google may help. On Feb 1, 2008 3:59 PM, YOGESH JADHAV [EMAIL PROTECTED] wrote: exactly, VideoDisplay Sucks, use Video Object and add it to panel ( if u want same looks of videodisplay ) On Feb 1, 2008 3:13

Re: [flexcoders] VideoDisplay over RTMP - Not possible?

2008-02-01 Thread YOGESH JADHAV
exactly, VideoDisplay Sucks, use Video Object and add it to panel ( if u want same looks of videodisplay ) On Feb 1, 2008 3:13 PM, polestar11 [EMAIL PROTECTED] wrote: Hi I've run into a seemingly common problem of setting videoDisplay source to an rtmp stream. I get the following exception

[flexcoders] How does a PopUp Window know when it has been added

2008-02-01 Thread reflexactions
If a window is shown by PopUpManager.addPopUp() how does it know when it has been added given that this window maybe be pop'd up many times during the life of the application? The initialize function is only called by the parent the first time after that it is skipped Thoughts?

[flexcoders] Re: Flex compiler: missing SWF for modules without any error?

2008-02-01 Thread Cosma
Found some workarounds: - create a new flex application, copy and paste the source of the module's mxml (changing top level tags from mx:Module to mx:Application) and build.. errors should now be appears. - export a release version using Project - Export Release Build, error shoud be displayed

[flexcoders] Re: How does a PopUp Window know when it has been added

2008-02-01 Thread reflexactions
Forget it, figured it out --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: If a window is shown by PopUpManager.addPopUp() how does it know when it has been added given that this window maybe be pop'd up many times during the life of the application? The

[flexcoders] SoundEffectInstance Bug on Resume in Flex 2

2008-02-01 Thread chrycheng
SoundEffectInstance resumes incorrectly the second and subsequent times. The resume position is computed by the resume method as: resumePosition += pausedPosition. This is correct only if resumePosition is 0 (i.e., the first time resume is invoked). The right formula is resumePosition =

Re: [flexcoders] RemoteObject call...No Result Handler: performance question

2008-02-01 Thread Tom Chiverton
On Thursday 31 Jan 2008, Tom Sammons wrote: Does anyone know who or a team I could forward this question to at Adobe that might be able to answer this? I would have though rigging up your own test using Timer and a for loop would suffice. -- Tom Chiverton Helping to interactively extend

[flexcoders] Ctrl-c on firefox

2008-02-01 Thread kenkc007
Hi all, I'm having an issue running a flex application in firefox. Left ctrl-c is not copying text. Right ctrl-c works perfectly. This does not happen on IE. I'm running firefox 2.0.0.11 so I don't think it is anything to do with the old ctrl-c bug. On top of this, it only happens when I'm in a

[flexcoders]

2008-02-01 Thread Guilherme Defreitas Juraszek
Hey guys My name is Guilherme and i`m from Brasil. I`m new in flex world but I have a little question. Sorry about my English, its not good J How I can make a auto refresh of data when this data is modified without using RMTP or calling a function to retrieve de data. For example

[flexcoders] Embedding String Variable in dataprovider name

2008-02-01 Thread brad.bueche
Really what I need to be able to do is insert the variable name in this: dataProvider={chartXML2.lastResult.month.day} I need to replace the month with a string variable name (i.e public var monthName = January;) I also need to do the same for the categoryfield as it will not let me do

[flexcoders] Customizing DateCooser/DateField Component

2008-02-01 Thread Varun Shetty
Hi, Is it possible to customize DateCooser/DateField component in flex to a calendar component similar to *kayak.com* or many other such sites that would display two month for a date selection.. well i saw the properties/methods of datefield ... and it certainly didnt look possible. I had to

[flexcoders] Fwd: autoresize text area as a itemrenderer

2008-02-01 Thread learner
Hi all, I want to have my list variable row height ...precisely the height of the row should the height of the text displayed in it.. I have my item rendere like this ..it has image to show and textArea which will have html text to display in it... public class MessageBox extends Canvas {

RE: [flexcoders] Getting events from non-visual components created in actionscript?

2008-02-01 Thread Merrill, Jason
Yeah I've looked at Cairngorm, but I don't like my chances of getting approval to use it, even though it's a tiny company we've got a committee to approve tech stuff already... *sigh* Cairngorm is just a free class library (Adobe sanctioned), it's just Actionscript code - you can modify it to

[flexcoders] TabNaviigator tabBar index doesn't update on selectedIndex change

2008-02-01 Thread Battershall, Jeff
I'm using Flex 3 Beta 3. I have a TabNavigator component where the children are created dynamically from a Repeater. When the dataProvider of the repeater changes, the tab labels update accordingly, EXCEPT the tabBar index of the component doesn't visually update. I would just set

Re: [flexcoders] Getting events from non-visual components created in actionscript?

2008-02-01 Thread Manish Jethani
On 2/1/08, Josh McDonald [EMAIL PROTECTED] wrote: Yeah I've looked at Cairngorm, but I don't like my chances of getting approval to use it, even though it's a tiny company we've got a committee to approve tech stuff already... *sigh* You don't have to use Cairngorm, you can just see what it

RE: [flexcoders] Adobe Flex Application not working on Citrix

2008-02-01 Thread Clinton D. Judy
A program I developed here is accessed at work through Citrix. We don't use Linux though. We had a problem with most of the servers because Flash wasn't installing correctly (users were trying to automatically install it). That would be the first thing you should check, is that as an

[flexcoders] Referencing components from custom controls

2008-02-01 Thread nocturnal_world
Hello, I'm a noob in flex. I have no training on it but I try to learn it as much as I could. I think my problem is simple to you guys. I have this in my main.mxml code mx:Image x=204 y=7 source=images/new.gif visible=false id=imgNewMessage/ Now, if I reference it in an action script file

[flexcoders] Re: family tree in flex

2008-02-01 Thread andrewwestberg
Check out Mark Shepherd's SpringGraph component http://mark-shepherd.com/blog/springgraph-flex-component/ -Andrew --- In flexcoders@yahoogroups.com, ravi mishra [EMAIL PROTECTED] wrote: Hi All, Can anybody of you please give me an idea of how to create Family tree component in Flex?

RE: [flexcoders] Referencing components from custom controls

2008-02-01 Thread Randy Martin
I'm assuming that your main.mxml contains your mx:Application tag, so try this: package mycontrol.container-s { import mx.controls.-Alert; import flash.display.-DisplayObject; import flash.events.-Event; import flash.events.-MouseEvent; import flash.events.-TimerEvent; import flash.utils.-Timer;

Re: [flexcoders] Adobe Flex Application not working on Citrix

2008-02-01 Thread Osvaldo Aufiero
Have you checked the flash player version on the thin clients? On Feb 1, 2008 6:32 AM, sameerb4k [EMAIL PROTECTED] wrote: Hi, I have developed application in flex using modules which works fine on windows system but when we try to run it from thin clients based on Linux using citrix it

[flexcoders] Adobe Flex Application not working on Citrix

2008-02-01 Thread sameerb4k
Hi, I have developed application in flex using modules which works fine on windows system but when we try to run it from thin clients based on Linux using citrix it fails. Only the application grey canvas displays no modules loads. Please help!!! Thanks in advance for

[flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Merrill, Jason
I'm somewhat new to Flex, but NOT new to Actionscript, and this is the oddest and one of the most frustrating things I have ever had to debug. I'm sure it's just me not understanding how Flex, components, and databinding works, but I'm at a loss. The core of my question is: What could cause a

[flexcoders] Re: [flexcomponents] autoresize text area as a itemrenderer

2008-02-01 Thread learner
thanks Manish, But in which function shall i do that?? In measure(), in updateDisplayList () or commitProperty(). and . also the height of the textArea should affect the row height in list... so i also need to dosomething like this this.height = messageTxt.heigt+messageTxt.y how can

[flexcoders] I don't get it!!! what is this problem

2008-02-01 Thread Gustavo Duenas
I have this code: mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:states mx:State name=b1 mx:SetProperty target={panel1} name=y value=133/ mx:SetProperty target={panel1} name=width value=636/

RE: [flexcoders] Re: Flex buttons and screen readers

2008-02-01 Thread Merrill, Jason
I have spoken to our QA here and they are going to try to get a copy of JAWS to test with. Freedown Scientific provides a trial version for free - you can download and test with that. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America

RE: [flexcoders] I don't get it!!! what is this problem

2008-02-01 Thread Mike Krotscheck
You're trying to apply an effect to a state, rather than to the object that should be modified by the effect. Use _either_ transitions _or_ states. State Method: ?xml version=1.0 encoding=utf-8? mx:Application

RE: [flexcoders] Menu icons not displayed

2008-02-01 Thread D Unit
That was just a copy-paste error. I'm using Flex 3 Beta 2. Joan Lafferty wrote: You are missing a quotation mark in your dataProvider: item label=Options icon=configure16/ I think that is your problem because I can see an icon in the main menu item and its submenus. Joan

[flexcoders] Re: Flex buttons and screen readers

2008-02-01 Thread moogster31
The screen readers that have been run over the site are WindowsEyes and Narrator - both of which have encountered some problems with reading all elements on the screen. I have spoken to our QA here and they are going to try to get a copy of JAWS to test with. thanks --- In

Re: [flexcoders]

2008-02-01 Thread Maciek Sakrejda
Unfortunately, your only other option is magic. Well, technically, you could reimplement a subset of RTMP by having User2 make a URLStream request to the server, have the server keep the connection open and push data as it gets changes from User1, and retrieve this on User2's machine by listening

[flexcoders] RPC call

2008-02-01 Thread madhavipdm
Hello, I created a FlexProject name Test1 and created jave src under it now created java file in the javascr folder, crated WEB-INF under Test1 and saved my .class file to Test1/WEB-INF/classes dir and stored remotingconfig.xml in Test1/WEB-INF/flex and deployed my class file. now I have

Re: [flexcoders] Embedding String Variable in dataprovider name

2008-02-01 Thread Maciek Sakrejda
I'm no e4xpert, but dataProvider={chartXML2.lastResult.[month].day} should do it. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: brad.bueche [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: RES: [flexcoders]

2008-02-01 Thread Maciek Sakrejda
Right, I believe that's not implemented. Alternately, you could take a look at Granite Data Services, which just released 1.0 and does provide a data push implementation, although I haven't used it and I don't know how compatible this is with RTMP. We are using GDS for AMF at Truviso, and that

RES: [flexcoders]

2008-02-01 Thread Guilherme Defreitas Juraszek
Thanks Maciek RTMP not is implemented in BlazeDS right? I Will study more about blazeds to understand it. Thanks De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de Maciek Sakrejda Enviada em: sexta-feira, 1 de fevereiro de 2008 15:25 Para: flexcoders@yahoogroups.com

[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

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Alex Harui
Don't forget Jason, we're all new to AS3, no matter how much time you spent with AS2. In AS3, if some outer method in your call stack has a try/catch handler (which binding does), then if something in the new MyClass line throws an error, you'll see exactly what you described.

Re: [flexcoders] Re: Flex buttons and screen readers

2008-02-01 Thread Matt Morgan-May
I wouldn¹t recommend testing with Narrator. I¹ve never encountered a single Narrator user. We do the bulk of our testing on JAWS and Window-Eyes. In the US, JAWS has the majority share of the screen reader market, and we support Flex 2 on JAWS 6 and up. If you¹re testing with JAWS, you will need

[flexcoders] Need IF Logic for Chart Data Provider

2008-02-01 Thread Brad Bueche
The problem (in short): I need to be able to hook up my charts to dataproviders where month_name equals January. And only pull that. I dont need it to read every month in the hierarchy. Or month_name is January and day_name is '14'. In order to do this I need to do IF logic with the dataprovider

Re: RES: [flexcoders]

2008-02-01 Thread Jhonny Everson
You can use Red5 with sharedObjects. -- Jhonny Everson

[flexcoders] Flex App in Email

2008-02-01 Thread [p e r c e p t i c o n]
Hi All, Does anyone have experience embedding a flex app in an email? all suggestions welcome... thanks

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Jim Hayes
That's making sense for me now, a few days ago I made a *very* stupid mistake and saw exactly the same symptoms as you, Jason. Again, a simple bare bones test showed everything working exactly as expected, yet the flow of execution in the application itself stopped dead with no error raised.

RE: [flexcoders] Embedding String Variable in dataprovider name

2008-02-01 Thread Brad Bueche
Maciek, Thanks for the quick reply. That generates the following errors: Syntax error: expecting rightparen before rightbrace. [Generated code (use -keep to save): 1084: Syntax error: expecting identifier before leftbracket 1084: Syntax error: expecting rightparen before destination I put

Re: [flexcoders] Flex buttons and screen readers

2008-02-01 Thread Matt Morgan-May
Just so I have this right, other objects in the app are reading correctly, except for buttons behind the mask? Thanks, Matt May Accessibility Engineer On 1/31/08 10:33 AM, moogster31 [EMAIL PROTECTED] wrote: Hi I have built an application with buttons behind a mask. The buttons have all

Re: [flexcoders] Flex App in Email

2008-02-01 Thread Nick Collins
Bottom line, you can't. For security reasons, email clients a) do not allow javascript to be executed, and b) standalone clients (Outlook, Thunderbird, Mail, etc.) do not support browser plugins, so even using a normal EMBED of the swf won't work. On Feb 1, 2008 12:44 PM, [p e r c e p t i c o n]

Re: [flexcoders] Flex App in Email

2008-02-01 Thread Nick Collins
Your best bet is to have an email that looks nice and links to your Flex app online that will be viewed in the browser. On Feb 1, 2008 1:14 PM, Nick Collins [EMAIL PROTECTED] wrote: Bottom line, you can't. For security reasons, email clients a) do not allow javascript to be executed, and b)

RE: [flexcoders]

2008-02-01 Thread Seth Hodgson
For auto-synchronized data sets across multiple Flex clients, it's simplest to use the Data Management Service in LiveCycle Data Services in auto-sync mode. There's nothing else out there that provides that functionality out of the box. If you're OK with just doing CRUD style interactions with

[flexcoders] Flex running in Flash Lite 3 Developer edition

2008-02-01 Thread Guilherme Defreitas Juraszek
Hi Flex 3 runs in Flash Lite 3? I try to run the simple application in my N95 with Flash Player 3 Developer and I receive the error Not enough memory. If I know Flash Lite 3 runs AS 2, not 3. This is the reason for de incompatibility? Thanks

Re: [flexcoders] Menu icons not displayedMore info

2008-02-01 Thread D Unit
So after playing around with this mxml, I've found that if I place the mxml for the menubar within the main application mxml tag, then everything works. However, if I put the menubar mxml in a separate file and include it within the application mxml, then the sub-menu icons are not displayed. Is

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Merrill, Jason
Thanks Alex, Jim, I'm sprinkling around some try/catch statements and I'll try debugging this a little further. Seems something in my class is getting a null value somewhere, so that's a start anyway. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia

RE: [flexcoders] RemoteObject call...No Result Handler: performance question

2008-02-01 Thread Seth Hodgson
When you invoke a RemoteObject, it's going to send a request via HTTP to your server which will do some processing. Regardless of whether your server returns a result or not, an HTTP response must be returned to the browser/player. That'll be parsed by the browser networking stack, passed into the

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Alex Harui
I usually put a try/catch around the suspected line and dump the stacktrace from the error. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, February 01, 2008 11:25 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: [flexcomponents] autoresize text area as a itemrenderer

2008-02-01 Thread Manish Jethani
On 2/1/08, learner [EMAIL PROTECTED] wrote: thanks Manish, But in which function shall i do that?? In measure(), in updateDisplayList () or commitProperty(). and . also the height of the textArea should affect the row height in list... so i also need to dosomething like this

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Merrill, Jason
When you say, dump the stacktrace from the error, do you mean what I'm doing here or something different? Here is what I'm doing: try { _myClass = new MyClass(this, _dp); } catch (e:Error) { trace(A code error occured. +e.message); } Jason Merrill Bank of America

[flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-01 Thread jer_ela
If you use the square brackets then you don't use the dot so it should be: dataProvider={chartXML2.lastResult[month].day} --- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: I'm no e4xpert, but dataProvider={chartXML2.lastResult.[month].day} should do it. --

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Alex Harui
e.getStackTrace(). It will show you the line number that died. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Friday, February 01, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Set

[flexcoders] Re: Need IF Logic for Chart Data Provider

2008-02-01 Thread Abyss Knight
One option would be to change the chart's viewable area, as in modify the start of the axes to only show the data you want to show. This would obviously put a strain on the client if there was far too much data loaded into an ArrayCollection though. The other option is to query the XML using e4x

RE: [flexcoders] Re: How can I save XML path deep inside my XML data ?

2008-02-01 Thread Tracy Spratt
Yes, you will need to do something like this, save a reference. On problem is that you can't easily run-time parse a string representation of an e4x expression. Look in the archives, there are some techniques that let you do it, but they are not simple. Save a reference, that is probably the

RE: [flexcoders] Set dataProvider method stops at midpoint?

2008-02-01 Thread Merrill, Jason
ah getStackTrace- thanks Alex. Only been digging aroundin AS3 since Dec. Need to do some more reading in the help docs on the Error class. Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community

RE: [flexcoders] Embedding String Variable in dataprovider name

2008-02-01 Thread Tracy Spratt
When you use bracket notation, it replaces the left dot. Try: chartXML2.lastResult[month].day However, this is going to be hard to debug. I'd advise binding to an instance variable, and assigning the xmllist to that var in a result handler. Tracy From:

[flexcoders] RE: Flex, Thermo, Flash - Why Thermo? Make Flash Flex Happy Together...

2008-02-01 Thread Justin Winter
Jaime, Nice to hear someone else feels similar to the way I do regarding this topic. I really don't want to come off on this thread as being unhappy with Flex or Flash. I LOVE flex, I love Flash, I love Actionscript 3.0, the guys and girls on the Flash Flex teams are seriously my heroes. I'm

RE: [flexcoders] Re: How can I save XML path deep inside my XML data ?

2008-02-01 Thread Tracy Spratt
Here is another possibility. Climb up the ancestor chain, saving the current node's childIndex() at each point, maybe in a delimited string. You chould then replay that string, using .child(i) to retrace your path. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Proxying RMPTS in a DMZ

2008-02-01 Thread Seth Hodgson
There's no way to load balance both AMF (sticky HTTPS with cookies) and direct RTMPS socket connections from a swf to the same backing application server. I'd recommend sticking to all HTTPS communication between the client and server or all RTMPS. There's nothing preventing the client from

RE: [flexcoders] RE: Flex, Thermo, Flash - Why Thermo? Make Flash Flex Happy Together...

2008-02-01 Thread Merrill, Jason
Well, to be fair to Adobe, they had a sweet deal when they could build Flexbuilder off the Eclipse sourcecode. Eclipse was not built for Flash, AFAIK, it was built as a general code editor (mostly Java focused I think initially), and to get it more integrated with Flash, they probably did as much

RE: [flexcoders] RE: Flex, Thermo, Flash - Why Thermo? Make Flash Flex Happy Together...

2008-02-01 Thread Clinton D. Judy
Gosh, I'm in the same boat. I've been trying to figure out how to do this one application for a personal project, and it could honestly use a 50-50 blend of Flash and Flex. I think it's weird that a third application has to come out to bridge Flash and Flex together. Why can't the two become

[flexcoders] Re: Flex running in Flash Lite 3 Developer edition

2008-02-01 Thread tomeuchre
--- In flexcoders@yahoogroups.com, Guilherme Defreitas Juraszek [EMAIL PROTECTED] wrote: Hi Flex 3 runs in Flash Lite 3? I try to run the simple application in my N95 with Flash Player 3 Developer and I receive the error Not enough memory. If I know Flash Lite 3 runs AS 2,

RE: [flexcoders] Invalid login with LCDS RemoteObject custom authentication

2008-02-01 Thread Seth Hodgson
Hi Rod, What's the specific error you're hitting (either on the client or recorded in your server logs)? Have you tried defining your security-constraint at the top level in services-config.xml, and then just referencing it from your destination? Best, Seth

Re: [flexcoders] RE: Flex, Thermo, Flash - Why Thermo? Make Flash Flex Happy Together...

2008-02-01 Thread Jamie S
I don't think IDE is the issue (I use Textmate sometimes). Even MXML compiles down to ActionScript. But try using any .as file from the Flex Framework in Flash _or_ Flash Component .as file in Flex... You are looking at nightmareish integration problems as the OP has found out. I like Flex a lot,

RE: [flexcoders] LCDS and log4J

2008-02-01 Thread Seth Hodgson
I think that the logging system in LCDS was originally put in to explicitly avoid issues with using log4j in shared deployment environments that the JRun team often ran into due to different web apps or libraries bundling different, and apparently non-compatible, log4j releases or configuration

RE: [flexcoders] how to create a file and then download

2008-02-01 Thread Seth Caldwell
Sort of a limitation in flex, but created because of browser security. So its not really a limitation of flex, but a limitation of the web in general. What you are trying to do is very easy, though, so I wouldn't worry. If you must send the file back and forth, you always can. In fact, its so

[flexcoders] flex to movie clip control

2008-02-01 Thread Gustavo Duenas
Does anyone know where I can find a simple info about flex controlling a movie clip inside a embedded swf? Regards Gustavo

[flexcoders] Pack and unpack for flex

2008-02-01 Thread Atlanta Geek
Anyone know of if there is an implementation of pack and unpack for flex. Or if not pack and unpack then how can I map binary strings into a class. I need to reimplement a binary socket protocol in flex. This protocol is legacy stuff and I don't have the option of reimplementing it in AMF or

RE: [flexcoders] Re: Need IF Logic for Chart Data Provider

2008-02-01 Thread Brad Bueche
Abyss, I forgot to mention, that I am using e4x. I see ted's mention of that @ syntax not sure what that is. I'll have play around with it. Do you know where there is a good practical (cheat sheet) approach (as opposed to a comp sci approach) to using E4X? I've looked at amfphp but I

[flexcoders] Pack and unpack for flex

2008-02-01 Thread atlantageek
Anyone know of if there is an implementation of pack and unpack for flex. Or if not pack and unpack then how can I map binary strings into a class. I need to reimplement a binary socket protocol in flex. This protocol is legacy stuff and I don't have the option of reimplementing it in AMF or

[flexcoders] Generic showPopupWindow function

2008-02-01 Thread markgoldin_2000
I am trying to create a generic showpoppup function: public function showPopupWindow(parent:DisplayObject, WhatToShow:String):void { var helpWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(parent, WhatToShow, true)); PopUpManager.centerPopUp(helpWindow); } But WhatToShow is a

Re: [flexcoders] Flex App in Email

2008-02-01 Thread [p e r c e p t i c o n]
thanks much! On Feb 1, 2008 11:14 AM, Nick Collins [EMAIL PROTECTED] wrote: Bottom line, you can't. For security reasons, email clients a) do not allow javascript to be executed, and b) standalone clients (Outlook, Thunderbird, Mail, etc.) do not support browser plugins, so even using a

RE: [flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-01 Thread Brad Bueche
That worked! I still get the following warning: Data binding will not be able to detect changes when using square bracket operator. For Array, please use ArrraCollection.getItemAt() instead. But it still works. brad -Original Message- From: flexcoders@yahoogroups.com

[flexcoders] Re: Pack and unpack for flex

2008-02-01 Thread atlantageek
FYI pack and unpack are functions found in Ruby perl and other similar scripting languages. --- In flexcoders@yahoogroups.com, Atlanta Geek [EMAIL PROTECTED] wrote: Anyone know of if there is an implementation of pack and unpack for flex. Or if not pack and unpack then how can I map binary

RE: [flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-01 Thread Tracy Spratt
Yep, as I said earlier, don't do it like that. This warning is one reason. It won't work if you call the rpc service again. Use a result handler. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brad Bueche Sent: Friday,

RE: [flexcoders] flex to movie clip control

2008-02-01 Thread Tracy Spratt
Well, I don't do flash, and wouldn't know a movieclip if it bit me on the butt, but if you want to use SWFLoader and communicate between the parent app and the content swf, check out this example, which extends the example in the docs.

Re: [flexcoders] flex to movie clip control

2008-02-01 Thread Gustavo Duenas
thanks tracy but this is actually how to communicate using a flex application with a swf loaded in a swfloader. yes a movie clip with some frames, something like gotoandstop(), etc. Regards Gustavo On Feb 1, 2008, at 6:10 PM, Tracy Spratt wrote: Well, I don’t do flash, and wouldn’t

[flexcoders] padding on tab navigator, but for the tabs only

2008-02-01 Thread dnk
Good day, I have a tab navigator in use which I have my tabs on the right side. Now my tab navigator is set to be 100% wide as i need. However with my tabs aligned right, they hit the edge of my browser. I was hoping there was a way to pad just the tabs themselves and not the container itself

RE: [flexcoders] padding on tab navigator, but for the tabs only

2008-02-01 Thread Tracy Spratt
Check out the Flex Style Explorer, it is excellent for experimenting with what can be done. http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplo rer.html Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dnk

[flexcoders] How to remove color in a round area?

2008-02-01 Thread Larry Zhang
Hi all, I'm now doing something with BitmapData class. Now I have a bitmap data with many colors in it. I want to implement some function like Eraser in photo processing tools. User can choose some area and click a button to remove all the colors in that area (set all colors to

Re: [flexcoders] Generic showPopupWindow function

2008-02-01 Thread shrikant.patil
hi please refer the link below, u may get useful; http://blog.flexexamples.com/2007/08/20/creating-custom-dialog-boxes-using-the-popupmanager-and-titlewindow-classes/ markgoldin_2000 wrote: I am trying to create a generic showpoppup function: public function

[flexcoders] Re: Array vs ArrayCollection

2008-02-01 Thread rmarples
But don't most controls internally wrap the array set as a dataprovider into an arraycollection? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You should use Array anywhere you don't need binding or events that indicate changes to the array.

RE: [flexcoders] Re: Array vs ArrayCollection

2008-02-01 Thread Alex Harui
The List classes wrap arrays because they expect change events, but the set of DataGridColumn and many other things are Arrays, and sometimes it is faster to work directly with the Array inside the ArrayCollection. From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: container width parent container's width when vertical scrollbar present

2008-02-01 Thread Alex Harui
I spend a couple of minutes on this. The rules are that, when verticalScrollPolicy=auto (default), the verticalScrollBar is not factored into the measurements and overlaps content, otherwise it would cause the scrollbar ripple. The simplest change to remove the horizontal scrollbar is to set

RE: [flexcoders] Re: Seriously, what is the 'right' way to do default styles?

2008-02-01 Thread Alex Harui
So it turns out that Flex ignores the skin size if it less than 12. You can ask the skin for its measuredWidth/Height and you'll get the right number, but the measure() method ignores it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of