[flexcoders] Help needed -- Reloading SWFLoader leads to Unexpected Behaviour

2008-09-23 Thread sudha_bsb
Hi, I have an application with multiple states. Each state changes the source of a SWFLoader present in the base state. Switching between states forces the SWFLoafer to reload the source file. Such reload results in some unexpected behaviour such as the contents of the individual SWF files are

RE: [flexcoders] Does localconnection Class works with different Port numbers ?

2008-09-23 Thread Gregor Kiddie
So what are the errors you are getting? LocalConnection is pretty unchanged over the years. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our

[flexcoders] Download more than 5 MB data using URLLoader

2008-09-23 Thread verma.java
Hello All, I have to download data from some server which could be in JSON format. the data length could be 3 to 5 MB. When I am using URLLoader for that it raise Stream error 2032. What could be the solution. Best Regards Ashish

Re: [flexcoders] Download more than 5 MB data using URLLoader

2008-09-23 Thread Samuel Colak
2032 is when the server disconnects due to a buffer failure.. Seen it happen previously - the following link might help. http://kbalertz.com/906977/experience-performance-applications-hosted-Internet-Information-Services-responses.aspx Hope that helps.. Samuel On Sep 23, 2008, at 10:19 AM,

Re: [flexcoders] invalidateList or itemUpdated?

2008-09-23 Thread Haykel BEN JEMIA
Binding showButton to Application.application.foo in the item renderer should do the trick. On Tue, Sep 23, 2008 at 2:21 AM, david.marr [EMAIL PROTECTED] wrote: Hi, I have an item renderer which checks an application scoped variable to determine whether to show a display object. When that

Re: [flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread Tom Chiverton
On Monday 22 Sep 2008, ozziegt wrote: I am using the event so the MXML component knows when it has been added to the stage, and also removed so it can set up and tear down some event listeners appropriately. I normally use creationComplete for setting up the listeners. -- Tom Chiverton

Re: [flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread Samuel Colak
Use Event.ADDED_TO_STAGE instead of creation-complete - you can also use init to construct listeners in the MXML although i have seen in the past this occasionally gets messy. The reason behind this is that after the first hit of the event, you dont want it to occur again - in the MXML

[flexcoders] AIR: Call a JavaScript function after initialization

2008-09-23 Thread Haykel BEN JEMIA
Hi, I have a AIR application with a HTML control. I want to call a JavaScript function in the embedded HTML page from the AIR app automatically after initialization. I thought the best place for this would be the handler for the HTML_DOM_INITIALIZE event, but I'm getting the following error

[flexcoders] Scroll bar Skinning

2008-09-23 Thread Girish Kumar
Hi How to change the color of the Scrollbar(I have changed its skin) when I select a color from Standard ColorPicker Note: I know this will work if we didn't skin the Scrollbar mx:Script private function init():void  {                                    vs.setScrollProperties(300,0,310,300);

Re: [flexcoders] Flex Framework RSL

2008-09-23 Thread Tom Chiverton
On Sunday 21 Sep 2008, julianabiodun wrote: I'm trying to determine what the likelihood is that a client will already have the Flex Framework RSL .swz cached. There is no central database of how many clients have or have not. I'd err toward using RSL, unless your clients are atypical in some

Re: [flexcoders] Questions on AIR and Flex Builder

2008-09-23 Thread Michael Schmalle
I know that there's an Apollo list, but I don't want to subscribe for a couple of questions. That just sounds funny. ;-) 1. Do you have a semi-simple mxml/as setup that shows this or is application pretty large? 2. Give a procedure of what you do, I could see if it messes up in mine as well.

Re: [flexcoders] [Bindable] is not getting updated..

2008-09-23 Thread Manu Dhanda
Do I explicitly need to dispatch any event for BindUtils.bindProperty(..) to happen ?? Cuz, I am not getting my xyz var changed with the change in someVar. Note: I am putting this line of code (BindingUtils.bindProperty(this,xyz,MyModel.getInstance,someVar) in creationComplete(). Thanks, Manu.

Re: [flexcoders] [Bindable] is not getting updated..

2008-09-23 Thread jitendra jain
BindingUtils will automatically notify this object about Property change event. Make sure xyz is bindable. Example look below: BindingUtils.bindProperty(textBox,text,grpCbx.selectedItem,value);  Here my textBox ix TextInput control and grpCbx is Combo Box . I used this statement in creation

Re: [flexcoders] [Bindable] is not getting updated..

2008-09-23 Thread Ralf Bokelberg
Also shouldn't it be BindingUtils.bindProperty(this,xyz,MyModel.getInstance(),someVar); Note the () after getInstance r. On Tue, Sep 23, 2008 at 1:21 PM, jitendra jain [EMAIL PROTECTED] wrote: BindingUtils will automatically notify this object about Property change event. Make sure xyz is

[flexcoders] inline script ignored if source is specified.

2008-09-23 Thread Tapan Ghia
Hey.. In a mxml file some part of my action script lies in the mx:Script tag. i also want to place some of my action script in a .as file which i am trying to specify as source in the mx:Script source= tag. While compiling, it gives a warning saying the inline script is ignored because a source

Re: [flexcoders] [Bindable] is not getting updated..

2008-09-23 Thread Haykel BEN JEMIA
someVar must be bindable and dispatch an event.If you have a setter and getter for the property, or it's a public property, just use the [Bindable] metatag. Otherwise, if you only have a getter, you have to use the [Bindable(event=event name)] syntax with the getter and dispatch the given event

Re: [flexcoders] inline script ignored if source is specified.

2008-09-23 Thread Derrick Anderson
i dont get it, why don't you use 2 mx:script tags? d. On Tue, Sep 23, 2008 at 7:38 AM, Tapan Ghia [EMAIL PROTECTED] wrote: Hey.. In a mxml file some part of my action script lies in the mx:Script tag. i also want to place some of my action script in a .as file which i am trying to specify

[flexcoders] Re: Bad quality for JPEG encoded images ,,***(sample images INSIDE)***

2008-09-23 Thread semelak1
Is it possible to use external libraries with Flex/Air ??? Say I found a c++ or c sharp class that does the image encoding,,, can I call it and make use of it in my AIR application ?? --- In flexcoders@yahoogroups.com, semelak1 [EMAIL PROTECTED] wrote: I have noticed that the quality of the

[flexcoders] Flex Application In Website

2008-09-23 Thread supriya p
Hi all, this is supriya and am new to Flex.. Can anyone tell me how to deploy the flex application in the website. For example:  I have a Image Gallary Application and i want to put it in my website. And can u people suggest me any blogs or websites regarding this. Connect with

[flexcoders] Re: Is it possible to change showDelay for only errorTips?

2008-09-23 Thread Todd
Also, it'd be great for a solution that doesn't involve patching the original ToolTipManager class. Thanks, Todd --- In flexcoders@yahoogroups.com, Todd [EMAIL PROTECTED] wrote: Hello All, I know about ToolTipmanager.showDelay. But I want to only affect the showDelay for errorTips, while

RE: [flexcoders] Re: Bad quality for JPEG encoded images ,,***(sample images INSIDE)***

2008-09-23 Thread Gregor Kiddie
There is a compiler that can take C / C++ code and output Actionscript that you might want to take a look at. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in

Re: [flexcoders] Flex Application In Website

2008-09-23 Thread Haykel BEN JEMIA
Just go to Project-Export Release Build... in Flex Builder and copy the created files directories to your server. For the links there are s many! Here are some: http://www.adobe.com/devnet/flex/ http://blogs.adobe.com/flex/ http://blogs.adobe.com/flexdoc/ http://flex.org/

Re: [flexcoders] Flex Application In Website

2008-09-23 Thread wkolcz
If you want to put the app inside on of your exisiting pages, just grab the swf and the swf object code and put it into any page. Make sure you have the correct dimensions of the mx:Application. I added a flex based RSS Reader into our static page. The app is only 148px.205px

[flexcoders] Dynamic binding with slider in actionscript

2008-09-23 Thread netdeep
I have a loop which creates a given number of charts at runtime (based on user requests) and adds them to my main application. I would like for a slider to be also associated with each chart so that the width of the chart can be adjusted. I can create everything, but I do not know how to do

[flexcoders] PopupButton Background Color

2008-09-23 Thread itdanny2002
I can't change the background color of popupbutton even I set fillAlphas: 1.0, 1.0, 1.0, 1.0; fillColors: #00, #00; I want totally black background with a white text rather than gradient background. Any helps from you ? Many Thanks !

Re: [flexcoders] PopupButton Background Color

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 10:02 AM, itdanny2002 wrote: I want totally black background with a white text rather than gradient background. I believe the PopUpButton control uses the highlightAlphas properties to draw a highlight on the button (so it's not the background that you are seeing get

[flexcoders] Re: Changing flex app background color

2008-09-23 Thread valdhor
Use ExternalInterface... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundColor=#BB initialize=init(event) mx:Script ![CDATA[ import mx.events.FlexEvent; import mx.controls.Alert;

Re: [flexcoders] Dynamic binding with slider in actionscript

2008-09-23 Thread Haykel BEN JEMIA
In this case it's perhaps easier to listen for an event from the ZoomSlider (change event?) and set the chartPanel's width in the event handler. On Tue, Sep 23, 2008 at 3:57 PM, netdeep [EMAIL PROTECTED] wrote: I have a loop which creates a given number of charts at runtime (based on user

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread itdanny2002
Dear Jon, Many thanks. Danny

Re: [flexcoders] Changing flex app background color

2008-09-23 Thread Haykel BEN JEMIA
try setting backgroundGradientAlphas and/or backgroundGradientColors on the mx:Application tag. On Wed, Sep 17, 2008 at 11:57 PM, whatabrain [EMAIL PROTECTED] wrote: How do I make the background color of my flex app match the color of the HTML page behind it? It seems that no matter what I

[flexcoders] scriptTimeOut limit

2008-09-23 Thread Ben Marchbanks
I set the scriptTimeLimit to 120 but it is being ignored - Is there no way to override the 60 second limit ?

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread itdanny2002
Jon, it works on purely black but not on purely white any idea ?

[flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Amy
I have my image set up just like in the docs http://livedocs.adobe.com/flex/3/html/help.html?content=embed_4.html, but my image isn't actually scaling. What am I missing? This is my code: [Embed(source='images/window.png', scaleGridTop='40', scaleGridBottom='185', scaleGridLeft='300',

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Michael Schmalle
Hi Amy, I remember something weird about this, try loosing the apostrophe's around the numbers. [Embed(source='images/window.png', scaleGridTop=40, scaleGridBottom=185, scaleGridLeft=300, scaleGridRight=585)] Mike -- Teoti Graphix, LLC http://www.teotigraphix.com Teoti Graphix Blog

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 10:55 AM, Amy wrote: mx:Image id=backgroundImage source={windowImage} width=1000 / You're missing the height parameter. I think this is necessary - either as a percent or static value - to force the image component resize. You can also try adding scaleContent=true

Re: [flexcoders] Re: PopupButton Background Color

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 10:47 AM, itdanny2002 wrote: Jon, it works on purely black but not on purely white any idea ? Not sure. I don't particularly have time to check it out. Highlight is drawn as white, and is something that, oddly, the framework engineers failed to include as a CSS driven

[flexcoders] Re: DateFormatter Bug?

2008-09-23 Thread kramus0
Should I report this a bug? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 19 Sep 2008, kramus0 wrote: trace(myDateFormatter.format(myDate)); // -- returns an empty string!!! I would have expected 00:00 or 12:00. I suspect the timeOffeset is trying to

[flexcoders] Re: Scrolling screws up display

2008-09-23 Thread Randy Martin
Anyone?? This is really driving me crazy! --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: This is a strange problem that only seems to happen in Flex 3 (not 2). I have a form that pops up in a panel that needs to scroll vertically. If I use the wheel or click on

Re: [flexcoders] scale9Grid: What am I missing?

2008-09-23 Thread Jon Bradley
On Sep 23, 2008, at 11:02 AM, Michael Schmalle wrote: I remember something weird about this, try loosing the apostrophe's around the numbers. Good catch. I haven't run into that in a long time probably because I've been setting this stuff through AS now (or skins). - j

Re: [flexcoders] Re: Scrolling screws up display

2008-09-23 Thread Michael Schmalle
Hi, I have had this happen before but I was messing around with the contentPane (low level stuff). Can you post something semi simple to reproduce this? Mike On Tue, Sep 23, 2008 at 11:12 AM, Randy Martin [EMAIL PROTECTED] wrote: Anyone?? This is really driving me crazy! --- In

[flexcoders] Re: PopupButton Background Color

2008-09-23 Thread Tim Hoff
Hi Danny, Not sure if you figured this out yet, but this CSS works for me: PopUpButton { color: #ff; iconColor: #ff; rollOverColor: #cc; borderColor: #00; fillAlphas: 1, 1, 1, 1; fillColors: #00, #00, #00, #00; highlightAlphas:

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi Amy, I remember something weird about this, try loosing the apostrophe's around the numbers. [Embed(source='images/window.png', scaleGridTop=40, scaleGridBottom=185, scaleGridLeft=300, scaleGridRight=585)]

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Amy
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Schmalle teoti.graphix@ wrote: Hi Amy, I remember something weird about this, try loosing the apostrophe's around the numbers. [Embed(source='images/window.png',

Re: [flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Michael Schmalle
Ok, I think that needs to be without quotes but Jon is probably right, you need to try setting some sort of height. When you get it working, try it with the quotes, then you can be sure. :) Mike On Tue, Sep 23, 2008 at 11:51 AM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com

RE: [flexcoders] scriptTimeOut limit

2008-09-23 Thread Tracy Spratt
No way. Oh, one way, use Flash Player 7. I have a client who has to keep this version on a special machine because this arbitrary hard limit was added to FP 8. It still infuriates me. Someone will surely start pontificating about user experience, but that comes from a parochial view of

RE: [flexcoders] e4x problem - filtering elements based on multiple child conditions

2008-09-23 Thread Tracy Spratt
I don't remember the all syntax offhand, but you can pass any XML expression you want into the function. For example, * would be an xmllist of all children. I think . would pass in the current context node (I think that would be the item node in this case). parent() would pass the parent node

[flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
Anyone know how to detect when the end of a streaming video has been reached using the three basic classes: Video, NetStream or NetConnection? Here are the approaches I'm aware of: 1. Listen on the NetStream for the NetStream.Play.Stop status event. Problem here is that this doesn't

[flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread ozziegt
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: I normally use creationComplete for setting up the listeners. I have been using creationComplete, but there is no way for me to remove the listeners when the object is removed from the stage, which leads to memory

[flexcoders] Error #2060: Security sandbox violation: ExternalInterface caller

2008-09-23 Thread markgoldin_2000
I am building an app. that uses ExternalInterface. As soon as I built it into a different than default folder, it does not run anymore from within Builder. Any idea how to fix it? Thanks

RE: [flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
6. Further digging found the NetStream time property. Which I could use to compare with the metadata's duration property. My tests show that this is fairly accurate - but it still relies on the metadata being set correctly on the video. Not optimal - but as far as I know, all of the videos I

Re: [flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Samuel Colak
You could also signal from the server that the end of the stream has been reached through a call back to the client. Although from FMS you would have to write a little bit of code (not too dramatic) to help this via a server callback. Hope that option 6 helps... Samuel On Sep 23, 2008,

Re: [flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread Samuel Colak
Ok - i did a bit of research you can do the following - trap for the notification FlexEvent.Remove which occurs when a child is removed from a container. Other than that im not sure what else to do.. Basically trap this function... my own code already did something similar but this

Re: [flexcoders] Re: Getting multiple addedToStage events

2008-09-23 Thread Samuel Colak
All, Heres a little bit of code i knocked up to demonstrate For MXML - just extend the class and tie into the functions via the override. On another note, you might want to check if the current object contains children - if so remove them before you remove yourself (via the

[flexcoders] Re: What Flex method can I use to close the main window of a Flex application?

2008-09-23 Thread tungchau81
Yeah, but I want to move away from JavaScript since I do not want to depend on browser version. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Or use navigateToURL() to load an ordinary html error page? Tracy From:

[flexcoders] OT: FP Ubiquity Stats Lack Silverlight Comparison

2008-09-23 Thread Merrill, Jason
Excuse the mild OT, just curious if anyone knows why Microsoft Silverlight stats are not included here in penetration comparisons: http://www.adobe.com/products/player_census/flashplayer/ It would seem to me, with Silverlight having fairly low penetration stats I would imagine (even after

RE: [flexcoders] detect video end with Video, NetStream or NetConnection

2008-09-23 Thread Jonathon Stierman
I hadn't considered that option! We are indeed streaming from FMS. I'll google some tutorials on this one. Thanks! Jonathon

[flexcoders] LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread TJ Downes
Here's the simple use case: I have a viewstack with a few components. Each of these is based on a panel. The linkbar controls the viewstack When the user logs in I remove a child and add two children to the viewstack When the user logs out I remove the two children I previously added and readd

[flexcoders] How to make only certain rows in an AdvancedDataGrid selectable?

2008-09-23 Thread tungchau81
Hi, I have an AdvancedDataGrid and I only want to me rows of leaf nodes selectable. Rows of parent nodes should not be selectable. However, AdvancedDataGrid only has a global selectable property. Any advice on how to do this is greatly appreciated. Regards, Tung Chau

[flexcoders] Gradient that is vertical and horizontal!

2008-09-23 Thread tchredeemed
Heres the problem, I need to draw a gradient that goes from 0 opacity black to 100% opacity black from left to right. However, this also needs to fade out the further down you go. The gradient is 10 pixels wide, and about 400 pixels tall. So its essentially a horizontal gradient that fades as

RE: [flexcoders] Re: What Flex method can I use to close the main window of a Flex application?

2008-09-23 Thread Tracy Spratt
use navigateToURL() to load an ordinary html error page That uses no javascript. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tungchau81 Sent: Tuesday, September 23, 2008 2:13 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread Tracy Spratt
That sounds like a crazy amount of work. Are you manipulating the ViewStack just to control what is visible on the link bar? Just leave the viewstack alone, use a separate dataProvider for the link bar, and manipulate that directly to control access the the ViewStack. Tracy

[flexcoders] Issue with TabBar Label Control

2008-09-23 Thread ajpapada
Hello Everyone, I've come across a strange issue involving the TabBar control. My TabBar controls the active child container of a ViewStack container and receives the value of lableField from the child container. When looking at the panel in design mode in FlexBuilder, the labels on the tabbar

[flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread gwangdesign
Sorry if this question should be better showing up at the flexcomponent group. I didn't have any luck there so far;) Suppose I am motivated enough to roll up my sleeves to do something like what McCune is doing here at tileUI.com: http://www.youtube.com/watch?v=T0N7tgF7OOM Just for the drag

[flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread gwangdesign
Sorry if this question should be better showing up at the flexcomponent group. I didn't have any luck there so far;) Suppose I am motivated enough to roll up my sleeves to do something like what McCune is doing here at tileUI.com: http://www.youtube.com/watch?v=T0N7tgF7OOM Just for the drag

[flexcoders] Re: LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread TJ Downes
Hi Tracy Only partially to control what is displayed. The other, and probably most important reason i am choosing this method is to ensure that the containers that are removed are destroyed so that any and all personal information is destroyed when they log in and out... this way I dont have to

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
You're probably better off just creating an image and using that as the skin for a container. Might be a bit tricky getting this to work with a programmatic skin. -TH --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: Heres the problem, I need to draw a gradient that

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread tchredeemed
I was hoping you wouldnt say that! :) --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: You're probably better off just creating an image and using that as the skin for a container. Might be a bit tricky getting this to work with a programmatic skin. -TH --- In

[flexcoders] Re: SWFLoader loads image relative to the SWF

2008-09-23 Thread hannes.stockner
when i load an image without flex classes the image will be loaded relatively to the html!!! --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: Why you don't believe it? It's just normal as the application is the swf and not the html file! You can get the url of the

RE: [flexcoders] Issue with TabBar Label Control

2008-09-23 Thread Tracy Spratt
I do not see anything wrong with your code. Maybe strip out everything but the empty canvases and see if that changes the behavior. But I feel obliged to advise against proceeding down this path. Using the ViewStack as a dataProvider seems to be a handy shourtcut, but if you ever want to do

[flexcoders] Using just one mx:WebService

2008-09-23 Thread Eduardo Souza
Hello Everyone, I'm working on a project wich uses a Web service on the server side (SOAP1.1). Now our team is studying to develop a client app. And we're developing an organizational software for our team by the way. But I got a problem. When I create my MXMLs files, I need to create a

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
Hey, if you can do it with the drawing API, cool. But, this is rather easy to do in Fireworks or Photoshop. Just flatten your image and you won't add that much size to the swf. -TH --- In flexcoders@yahoogroups.com, tchredeemed [EMAIL PROTECTED] wrote: I was hoping you wouldnt say that! :)

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Tim Hoff
Btw, either way that you do it, you're probably going to have to layer a gradient rectangle over another gradient rectangle; with the proper opacity. The trick will be getting the colors to be what you want. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hey, if

Re: [flexcoders] Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread Doug McCune
For basic dragging stuff, here's typically what I do. Have a mouse down listener on whatever component you want to drag. On mouse down you keep track of the coordinates where the user pressed. Then you add a mouse move listener to the system manager. Also add a mouse up listener to system manager.

RE: [flexcoders] Re: LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread Tracy Spratt
Your choice. If you *really* want to clean up completely, call navigateToURL() using Application.url. We in the RIA world are loathe to refresh the page, but there are times when it is valid, and user logout is one, IMO. Tracy From:

RE: [flexcoders] Using just one mx:WebService

2008-09-23 Thread Ryan Graham
This is one of the architectural best practices Cairngorm was designed to handle. Encapsulating service invocation through [Event Command Delegate Service] structure sounds like it will fit your needs. An easier, but more tightly coupled and limited solution, would be to declare your service

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Ok, I think that needs to be without quotes but Jon is probably right, you need to try setting some sort of height. When you get it working, try it with the quotes, then you can be sure. :) I tried that, and it

RE: [flexcoders] Issue with TabBar Label Control

2008-09-23 Thread Andrew Papada
Tracey, Thank you for your response. I will look to implement the solution you described. Sincerely, Andy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, September 23, 2008 3:54 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Using just one mx:WebService

2008-09-23 Thread Tracy Spratt
There are many ways to do this but here is one: * Create a singleton class (.as) to hold your data access code and your dataModels. * expose your data models as public properties * You can make the whole class Bindable or just the public properties you want. * Your public properties can be

RE: [flexcoders] Re: SWFLoader loads image relative to the SWF

2008-09-23 Thread Tracy Spratt
Huh? If you load an image without a computer it will probably be relative to your hand. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hannes.stockner Sent: Tuesday, September 23, 2008 3:39 PM To: flexcoders@yahoogroups.com

[flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Jason Reynolds
Hi, I have a component that extends VBox. I am making around 20 instances of this component. That component also contains a VBox, each of which contains 2-6 components. This takes a long time from creation to when I can see it on the screen -- around 3000ms. If I don't use a VBox in that 2nd

RE: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Tracy Spratt
The first question is, do you need Vbox functionality, punk? ;) If so, then you are stuck with it. If you are just using it to lay out static vertical display, then there may be other approaches. Layout containers are very easy to use, but are heavy (slow) Next thing is they way you are

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Tim Hoff
Hi Amy, Using the example in that you linked, I noticed that only the top and left sides scaled as expected (quotes used). Could be a bug in the Image class. However, by using the image as a borderSkin and CSS, I was able to get it to scale properly. A possible workaround: CSS: .test {

Re: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Jason Reynolds
__ Information from ESET NOD32 Antivirus, version of virus signature database 3466 (20080923) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[flexcoders] Re: Retry: Question for Doug McCune on Drag-drop component?

2008-09-23 Thread gwangdesign
Thanks much Doug! --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED] wrote: For basic dragging stuff, here's typically what I do. Have a mouse down listener on whatever component you want to drag. On mouse down you keep track of the coordinates where the user pressed. Then you

Re: [flexcoders] OT: FP Ubiquity Stats Lack Silverlight Comparison

2008-09-23 Thread Matt Chotin
I'm not sure how much we're going to get into penetration battles by putting that data in our survey results directly. But I know the marketing teams are thinking about it :-) On 9/23/08 11:33 AM, Merrill, Jason [EMAIL PROTECTED] wrote: Excuse the mild OT, just curious if anyone knows why

[flexcoders] Re: AIR: Call a JavaScript function after initialization

2008-09-23 Thread haykelbj
No comments? --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA [EMAIL PROTECTED] wrote: Hi, I have a AIR application with a HTML control. I want to call a JavaScript function in the embedded HTML page from the AIR app automatically after initialization. I thought the best place for this

RE: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Tracy Spratt
not the same, but with AS2 I could make 10X more display objects and not see this kind of performance. Any help is appreciated! Jason __ Information from ESET NOD32 Antivirus, version of virus signature database 3466 (20080923

Re: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Jason Reynolds
and not see this kind of performance. Any help is appreciated! Jason __ Information from ESET NOD32 Antivirus, version of virus signature database 3466 (20080923) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

[flexcoders] Re: LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread TJ Downes
Ya, I've already switched the method to what you suggested. Albeit it feels a bit hackish, and I do believe the method I was using should work properly, otherwise what good is using the viewstack as a dataProvider? ;) However, it did make me rethink how I reset the user, so that's a good thing.

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Amy, Using the example in that you linked, I noticed that only the top and left sides scaled as expected (quotes used). Could be a bug in the Image class. However, by using the image as a borderSkin and CSS, I was

[flexcoders] Re: scale9Grid: What am I missing?

2008-09-23 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi Amy, Using the example in that you linked, I noticed that only the top and left sides scaled as expected (quotes used). Could be a bug in the Image class. However, by using the image as a borderSkin and CSS, I was

RE: [flexcoders] Re: LinkBar + ViewStack + Adding and removing children = wierdness

2008-09-23 Thread Tracy Spratt
...what good is using the viewstack as a dataProvider...? IMO: Demoware. It is like leaving the resultFormat as the default object. Great for demos, but not for real work. And binding to lastResult. And default scrollPolicy=auto and Tracy From:

[flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-23 Thread pratikshah83
Hi Guys, I would like to know if there is any other way to find out if the object is of a particular type. I am currently using the IS keyword to check if the object is of a particular type. (Object is Type) But doing that is loading the complete class in the swf file which if increasing the

RE: [flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-23 Thread Tracy Spratt
Have you looked into describeType()? I understand it is 'expensive' from a computational perspective, but might avoid the problem you are having. It returns xml describing the object. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] Speeding up draw time with nested VBoxes

2008-09-23 Thread Michael Schmalle
plus I have a grudge against vboxes now :P It's not the gun that kills but the finger that pulled the trigger... ;-) VBoxs serve their purposes and perform great when they are used 'correctly'. I know that sounds bad but I don't mean it like that. There are while(loops) in the layout code that

[flexcoders] Is anyone using flex to create/replace client server business applications?

2008-09-23 Thread aceoohay
We are attempting to use flex as a tool to create what traditionally would have been thick client/server applications. We are looking for other developers that are doing similar type projects so that we can get together and show Adobe that the things that will make our lives easier are worth

Re: [flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Josh McDonald
It'll (probably) be faster to generate a bitmap at 400x400, using a 45 degree radient fill. Then simply scale that bitmap to 400x10. You'll only need to do this once, then use a bitmap fill. -Josh On Wed, Sep 24, 2008 at 5:57 AM, Tim Hoff [EMAIL PROTECTED] wrote: Btw, either way that you do

Re: [flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Josh McDonald
s/45 degree radient fill/45 degree gradient fill/ -Josh On Wed, Sep 24, 2008 at 9:46 AM, Josh McDonald [EMAIL PROTECTED] wrote: It'll (probably) be faster to generate a bitmap at 400x400, using a 45 degree radient fill. Then simply scale that bitmap to 400x10. You'll only need to do this

[flexcoders] Re: Gradient that is vertical and horizontal!

2008-09-23 Thread Michael VanDaniker
If 45 degree fill doesn't work out, you can implement bilinear interpolation. http://en.wikipedia.org/wiki/Bilinear_interpolation --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: s/45 degree radient fill/45 degree gradient fill/ -Josh On Wed, Sep 24, 2008 at 9:46

Re: [flexcoders] Is anyone using flex to create/replace client server business applications?

2008-09-23 Thread Josh McDonald
While I disagree with the philosophy of the local tabloop, I do think it's an interesting problem to solve within the current framework, and I could spare an hour or two a week to cook something up. Mail me off list if you want to work together on some open source to address this. -Josh On Wed,

  1   2   >