[flexcoders] Flex with IBM Websphere / DB2

2009-04-29 Thread byte.sensei
I've been working with Flex using .NET HTTP/SOAP web services and MS SQL Server for a while. Recently I started a new project using IBM Websphere Application Server (6.1) and DB2. The environment is setup with a simple Apache/Linux web server (no Websphere or other app server components), then

[flexcoders] Resetting HSlider / VSlider

2009-04-16 Thread byte.sensei
I have a UI with filters including an HSlider with 2 thumbs representing a start year and end year (range 1854-2008). The HSlider code looks like this: mx:HSlider id=slider_mfg_year minimum=1854 maximum=2008 thumbCount=2 values=[1854,2008] labels=[1854, 2008] width=250 tickInterval=10

[flexcoders] Link/Hand Cursor

2009-04-16 Thread byte.sensei
Flex seems to be sporadic at changing the cursor to a link/hand cursor when rolled over components that allow clicks/linking. I can't find any properties that make it easy to change the cursor on roll-over of an image that is a link, for example. I don't need custom cursors or anything, I'm

[flexcoders] Re: Working with images of varying proportions

2009-02-25 Thread byte.sensei
shows up. Any ideas why the content.loaderInfo would work fine locally but end up null or undefined when running from the web server? Why the difference? What can I do to ensure this works on the server? Thanks! --- In flexcoders@yahoogroups.com, byte.sensei byte.sen...@... wrote: Thanks

[flexcoders] Working with images of varying proportions

2009-02-23 Thread byte.sensei
I have an app that loads several images into mx:Image tags with scaleContent=true and width=160 / height=120. The problem is not all of my images have these proportions, and for odd sized images they end up being loaded into the upper left hand corner instead of centered in the restricting

[flexcoders] Re: Working with images of varying proportions

2009-02-23 Thread byte.sensei
--- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote: Have you tried taking the width/height off of the component and see how it handles the images of varying sizes? - Alex C --- In flexcoders@yahoogroups.com, byte.sensei byte.sensei@ wrote: I have an app that loads several

[flexcoders] Re: Working with images of varying proportions

2009-02-23 Thread byte.sensei
= 330 ; selectedProductImageID.width = 330*selectedProductImageID.content.loaderInfo.width/selectedProductIma geID.content.loaderInfo.height; } } On Mon, Feb 23, 2009 at 9:36 PM, byte.sensei byte.sen...@... wrote: I have an app that loads

[flexcoders] Synchronous web service calls

2008-04-29 Thread byte.sensei
OK, so I understand that Flex web service calls are asynchronous, and I understand the many cases where this makes sense since you don't have to hold up the UI experience while waiting for a web service or remote procedure to return a result. However, I keep running into instances where this

[flexcoders] Re: Synchronous web service calls

2008-04-29 Thread byte.sensei
? Every time a request goes out, increment it, every time you get a response, decrement it. The Print Receipt button only gets enabled if the counter is back to 0. --- In flexcoders@yahoogroups.com, byte.sensei byte.sensei@ wrote: data to produce a PDF receipt. The problem is, if a user

[flexcoders] Re: Flash Player 9.0.124.0 - Web Services Stopped Working

2008-04-15 Thread byte.sensei
] wrote: and maybe this http://kb.adobe.com/selfservice/viewContent.do? externalId=kb403184sliceId=1 Glenn www.flex-ria.com www.tinylion.co.uk www.our-little-secret.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Monday, April 14

[flexcoders] SOAP Web Services not working in Flash Player 9.0.124.0

2008-04-15 Thread byte.sensei
OK, I've been reading all the web content on the security changes that were implemented in 9.0.124.0. I'm more confused than ever. The security updates seem to apply to XMLSockets, and I'm not using these *unless* they are implicitly used by SOAP Web Services. Here is an example of web

[flexcoders] Flash Player 9.0.124.0 - Web Services Stopped Working

2008-04-14 Thread byte.sensei
I've got a live Flex 3 site that uses SOAP web services. I've had a number of users over the weekend who updated to Flash Player 9.0.124.0 and now they can't get past the login screen -- it's like the login web service is not being called at all. The site works fine with version 9.0.115.0

[flexcoders] Simple Image Rotator

2008-04-01 Thread byte.sensei
I'm trying to implement a simple image rotator that just rotates among 5 different images. I have it working except that I want a smooth fade out/in between each image. To keep things simple, I implemented this using mx:states / mx:transitions, as follows: mx:states mx:State name=image01

[flexcoders] Load HTML from URL into Flex Component (via iframe)

2008-02-26 Thread byte.sensei
I've got a Flex site with several pages that load HTML content from an older HTML version of the site into an iframe that I then place over the Flash movie so it looks like the content has been embedded into the Flex UI even though it's still being loaded from the old HTML site. I've got the

[flexcoders] Re: Load HTML from URL into Flex Component (via iframe)

2008-02-26 Thread byte.sensei
@yahoogroups.com, byte.sensei [EMAIL PROTECTED] wrote: I've got a Flex site with several pages that load HTML content from an older HTML version of the site into an iframe that I then place over the Flash movie so it looks like the content has been embedded into the Flex UI even though it's still

[flexcoders] Strange Page Titles with HistoryMangement

2008-01-09 Thread byte.sensei
Ever since I enabled HistoryManagement on a Flex app the HTML Page Titles have been messed up. Instead of my normal page titles, the page title becomes something like #app=e75-action=... I thought that putting a hard-coded Page title into my index.template.html would fix the problem (and

[flexcoders] Browser window size

2008-01-08 Thread byte.sensei
This is probably a simple question but is there an easy way to get the current browser window size? I have a Flex app with the application height/width set to 100%, and then I divide that up into various vbox/hbox elements. However, in some instances I create a pop-up with PopUpManager. The

[flexcoders] Re: Browser window size

2008-01-08 Thread byte.sensei
Both suggestions worked -- I implemented the javascript / ExternalInterface method first, then saw the other reply and that worked out, too. I kept the systemManager.screen version since it doesn't require Javascript, and the Javascript code I was using to detect the size of the current

[flexcoders] Save/Recall a Password field?

2008-01-08 Thread byte.sensei
I have a Flex app where the first screen is a Login page. This is replacing an ASPX/HTML site, and one thing I never realized was how much users rely on the browser's ability to remember passwords. Now that I've launched the new site, a lot of users are asking why it doesn't save their

[flexcoders] VBox content not refreshing on scroll

2008-01-08 Thread byte.sensei
I've noticed in several places that when scroll bars are used that the content in whatever component is being scrolled doesn't get updated. I have several different Canvas and VBox/HBox screens with a vertical scroll bar, and when you scroll up and down it seems to jumble up the content and

[flexcoders] Re: VBox content not refreshing on scroll

2008-01-08 Thread byte.sensei
a simple test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Tuesday, January 08, 2008 10:28 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] VBox content not refreshing on scroll I've noticed in several

[flexcoders] Re: VBox content not refreshing on scroll

2008-01-08 Thread byte.sensei
Quick addendum: I remembered why I added wmode,opaque to my AC_FL_RunContent -- I'm using a hidden iframe in the HTML wrapper to pull in content from another site on certain pages. I had read that for this to work properly you had to add wmode=opaque to the html wrapper...

[flexcoders] Enabling/Disabling Components

2007-12-20 Thread byte.sensei
What's the easiest way to make components visible/invisible in a VBox/HBox so that they collapse their real estate. When you just set visible=false, the space for the component is still reserved in the associated VBox/HBox. In addition, setting width=0 or height=0 collapses the space for the

[flexcoders] Re: Enabling/Disabling Components

2007-12-20 Thread byte.sensei
Sweet - Thanks! --- In flexcoders@yahoogroups.com, rueter007 [EMAIL PROTECTED] wrote: includeInLayout=false visible=false - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com, byte.sensei byte.sensei@ wrote: What's the easiest way to make components visible/invisible

[flexcoders] Specifying Component Height/Width Percentages via Actionscript

2007-12-19 Thread byte.sensei
Is there an easy way to specify a component height/width in percentages rather than pixels via Actionscript? I have a UI that has 2 VBox components. By default, the height of the top is set to 100% and the height of the bottom is 0. However, I want to be able to dynamically change the

[flexcoders] Re: Preserving History when leaving and returning to Flex

2007-12-04 Thread byte.sensei
Yes, I believe that might be a good option in this case -- thanks for the suggestion. --- In flexcoders@yahoogroups.com, Ben Marchbanks [EMAIL PROTECTED] wrote: What about using local shared object, is that an option for you ? byte.sensei wrote: While working on a small test case

[flexcoders] Re: Preserving History when leaving and returning to Flex

2007-12-03 Thread byte.sensei
on the correct page. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Flex should reload the saved state. Can you create a small test case? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent

[flexcoders] Load HTML from URL into Flex Component

2007-11-28 Thread byte.sensei
I have a Flex 3 application that generates HTML, PDF, and Excel reports from SQL Server Reporting Services. In the case of HTML, I've been using navigateToURL() to load the result into the browser. This works fine, but I'd really like to embed the HTML into a Flex container and wrap the

[flexcoders] Preserving History when leaving and returning to Flex

2007-11-28 Thread byte.sensei
I have History Management working on a Flex app (ViewStack), but then I've got a NavigateToURL() call that leaves the Flex app and opens an external URL. The problem is, when you click Back after leaving Flex, it looks like the History Manager no longer works and it just returns you to the

[flexcoders] Re: Load HTML from URL into Flex Component

2007-11-28 Thread byte.sensei
help to you http://www.deitte.com/IFrameDemo3/IFrameDemo.html d. On Nov 28, 2007 10:48 AM, byte.sensei [EMAIL PROTECTED] wrote: I have a Flex 3 application that generates HTML, PDF, and Excel reports from SQL Server Reporting Services. In the case of HTML, I've been using

[flexcoders] Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread byte.sensei
I was recently forced to upgrade from Flex 2 to Flex 3 because of a bug in Flex 2 that was fixed in Flex 3 that was affecting a couple of projects I'm working on. Flex 3 Beta 2 has been great, however it looks like it's set to expire in 4 days (not sure if that's just my machine or a fixed

[flexcoders] Re: Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread byte.sensei
27, 2007 12:13 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex 3 Beta 2 Expires in 4 days - Original Message - From: byte.sensei [EMAIL PROTECTED] mailto:byte.sensei% 40yahoo.com To: flexcoders@yahoogroups.com mailto:flexcoders% 40yahoogroups.com Sent

[flexcoders] Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
I've been working with Flex Builder 3 beta 2 fine for the past several days, and then all of the sudden I got a message saying, an internal build error has occurred. Please check the Error log. So I opened the error log (at {Workspace Dir}\.metadata\.log) and have been trying to figure out how

[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
Note: I already tried Project Clean and running Flex from the command line with the -clean option, but it's still giving me the internal build error. I also tried dropping the entire project and re- creating it from scratch, but still no luck... --- In flexcoders@yahoogroups.com, byte.sensei

[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
(and not the general IDE / compiler) but I can't figure out what. I'm at a loss... Anyone out there experienced anything like this? --- In flexcoders@yahoogroups.com, byte.sensei [EMAIL PROTECTED] wrote: Note: I already tried Project Clean and running Flex from the command line with the -clean

[flexcoders] Re: Flex Builder 3 - internal build error

2007-10-05 Thread byte.sensei
) {} } ]] /mx:Script Is it just me or does this seem like a pretty harsh error for an empty switch() statement! ;) Then again, Flex Builder 3 is still in beta... --- In flexcoders@yahoogroups.com, byte.sensei [EMAIL PROTECTED] wrote: I tried un-installing, deleting the My

[flexcoders] Re: Flash CS3 Components - Tweens in Flex

2007-10-02 Thread byte.sensei
] wrote: I think that's a bug that's been fixed in 3.0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Monday, October 01, 2007 2:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flash CS3

[flexcoders] Flash CS3 Components - Custom Properties Methods

2007-10-02 Thread byte.sensei
I've been experimenting with Flex SWC Components developed in Flash CS3 (using Flex Component Kit for Flash CS3). I've successfully created some custom properties/methods on these that I can use in Flex. Here's a quick example of a UIMovieClip class extension: package { import

[flexcoders] Re: Flash CS3 Components - Tweens in Flex

2007-10-01 Thread byte.sensei
Here's the stack trace: TypeError: Error #1006: effectStarted is not a function. at mx.effects::EffectInstance/startEffect() at mx.effects::Effect/play() at com.symetri.elf_island.ui.view::room_forest/::moveImage() at

[flexcoders] Flash CS3 Components - Tweens in Flex

2007-09-30 Thread byte.sensei
I have some Flash CS3 animations (characters walking/running) that I have exported as Flex 2 components (SWC files) using the Flex Component Kit for Flash CS3. I create an instance of the component in Flex, then need to be able to have the character move to the mouse position when a user

[flexcoders] Motion/Zoom Tweens on Flash CS3 Components

2007-09-30 Thread byte.sensei
I have a Flex app with some animated characters that (are supposed to) move around the screen when you click the mouse. The animations are done in Flash CS3, then exported as Flex SWC Components using the Flex Component Kit for Flash CS3. Initially, I used static JPG/PNG images for characters,

[flexcoders] DataGrid itemRenderer

2007-09-26 Thread byte.sensei
I've been pulling my hair out trying to figure out the best way to format numbers in a DataGrid. I've got a dataProvider with fields used in the grids that are of type Number -- some are currency, some are integers, and some are numbers that need to be formatted to 1 decimal point. In other

[flexcoders] Re: DataGrid itemRenderer

2007-09-26 Thread byte.sensei
on labelFunction From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of byte.sensei Sent: Wednesday, September 26, 2007 7:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid itemRenderer I've been pulling my hair out trying

[flexcoders] tabNavigator - dynamic tabs?

2007-09-24 Thread byte.sensei
I have a tabNavigator with 3 mx:Canvas tabs, each containing a dataGrid for a different user/customer. Above the tabNavigator you can select up to 3 different users/customers, and this populates the associated grid in the tabNavigator. Pretty straightforward -- *except* that I don't want the

[flexcoders] Embedded SWF in Flex 2

2007-09-21 Thread byte.sensei
I have a Flex 2 app with an embedded SWF file that I'm loading into Flex with mx:SWFLoader. The swf file is a fairly complex form written in Flash 8 / AS 2.0 that uses xml web services to pull data into a form which is edited and then re-submitted. Once a user is finished with the embedded

[flexcoders] Flex / Web Integration

2007-09-20 Thread byte.sensei
I have a Flex 2.0 app that has to open a URL used to configure a shopping cart item. When finished configuring an item and you return to Flex, Flex calls a web service to retrieve the item configuration and all is good. Currently, I'm opening a new browser window using navigateToURL() with

[flexcoders] Re: Flex / Web Integration

2007-09-20 Thread byte.sensei
is closed, and then call the web service -- works great! --- In flexcoders@yahoogroups.com, byte.sensei [EMAIL PROTECTED] wrote: I have a Flex 2.0 app that has to open a URL used to configure a shopping cart item. When finished configuring an item and you return to Flex, Flex calls a web