Re: [flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread Alex Harui
Every class in the SDK has an mx_internal static VERSION property. I don’t know which APIs changed from 3.2 to 3.4 so you could be just getting lucky. Try building the parent app in Flex 4 and you should definitely see problems. On 2/2/10 4:13 PM, "jamesfin" wrote: I've moved the loa

Re: [flexcoders] How to update styles after a registerColorNames ?

2010-02-02 Thread Alex Harui
Use loadStyleDeclarations(url, false); Call registerColorName Get the IStyleManager (how to do it depends on your version of Flex) Call IStyleManager.styleDeclarationsChanged() On 2/2/10 9:34 AM, "cyril ronseaux" wrote: Hi, background : we are trying to simplify maintenance of CSS stylesh

RE: [SPAM] Re: [flexcoders] Loading XML

2010-02-02 Thread Tracy Spratt
Yes, the physical location is not what matters, it is the domains. Post the error message, it will tell us a lot. Often times people will launch their app using a file url, an then try to access a resource via a net url, this will produce a security error. Tracy Spratt, Lariat Services, d

[flexcoders] Saving a swf file

2010-02-02 Thread flexlearner
Hi, I am creating a application which will allow users to drag n drop few stuffs(rect, circle, images) on some drawing board say canvas. After that user will like to save this drawing board(canvas containg whatevr he has dropped on canvas)as swf file so that he/she can deploy it anywhere. Kindl

Re: [flexcoders] Loading XML

2010-02-02 Thread cholid cholid
can you tell how you call the xml is? From: ztpi1 To: flexcoders@yahoogroups.com Sent: Wed, February 3, 2010 8:53:59 AM Subject: [flexcoders] Loading XML I am getting a security error when trying to load an xml file into my swf. The xml and swf are right n

[flexcoders] Loading XML

2010-02-02 Thread ztpi1
I am getting a security error when trying to load an xml file into my swf. The xml and swf are right next to each other in the same directory. What gives? From what I understand, the swf should have access to the xml file. I have no problem loading jpg, or png.

[flexcoders] Re: Override FileReference Class

2010-02-02 Thread Prabh
Hey thanks for the reply. The way I am doing it is a little different. Since we get the SAVE AS dialog box, the user can change the extension on the file and thats where we want to restrict it. In the FILE TYPE option. It should not say ALL FILES (*.*) --- In flexcoders@yahoogroups.com, "Flex

[flexcoders] How to update styles after a registerColorNames ?

2010-02-02 Thread cyril ronseaux
Hi, background : we are trying to simplify maintenance of CSS stylesheets by declaring "theme colors" once, and using them everywhere else. We intend to read a specific style declaration (e.g. getStyleDeclaration("global", "maincolor") ), to then register color names for that color : StyleManager.

[flexcoders] Flex Canvas "horizontalCenter=0" Scrolling Bug

2010-02-02 Thread Brian Russel Davis
Reference from 2007 http://www.sephiroth.it/weblog/archives/2007/11/flex_canvas_bug_when_it_is_zoomed_in.php Just wondering if there is a work around for this. I am running into it now in my application development. It seems if the canvas is set not to clip content and the contents of the canv

[flexcoders] AdvancedDataGrid and Accessibility

2010-02-02 Thread marguerite.bergel
Hi, 2 questions regarding keyboard access for the AdvancedDataGrid control (Flex 3). We have non-editable AdvancedDataGrids where users can copy/paste data from any rows and/or cells they want. Mouse users can highlight cells/rows and right-click to copy just great. But... 1. Haven't found a

[flexcoders] Limit Text in TextArea

2010-02-02 Thread russdrufer
Hi, I have a Problem with an TextArea. I want to limit the possible Text in a TextArea like this: private var lastValidHTMLText:String = ""; private function checkHeight():void { validateNow(); if (addressText.textHeight < addressText.height ) { lastValidHT

Re: [flexcoders] Flex Builder 3 - A little to be desired

2010-02-02 Thread Clark Stevenson
Ugh i can totally appreciate your email. I have struggled pretty much constantly over the last 2 years with all kinds of problems. My favorite one is the one that you describe. For no reason what so ever, pressing save all of a sudden does not work and you need to goto Project > Clean. The first

[flexcoders] Problems changing labels in MenuBar menu items in real time

2010-02-02 Thread hernanojuel
Hi everybody! I'm having trouble in changing my MenuBar menu items labels in real time, even when I use e4x in order to access the labels and modifiy them. The strangest thing of all is that I'm able to change submenu items' labels, but not the top menu items. Let me explain myself by showinf you

[flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread jamesfin
I've moved the loadForCompatibility and the resizing event is now marshalled. However, the child sub-app is 3.2sdk and the parent is 3.4sdk and nobody is complaining with/without the compatibility flag. It used to though. ;( Is there a way to show an Alert from within a SWF to show which SDK

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
Yup! that sorted it out, and adding classes folder worked as well. Thanks for your time and effort, you have been really patient, I will mention you in my acknowledgements when I write my dissertation. - Stephen --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > If "test" is null, then the

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
Yup! that was it, marvellous. Can't believe I missed that off. You have been very patient, thanks a lot for your help. Yes, I would be interested in squireling away Itest rather than leaving it in the root project folder as I will need to build a number of them one for each popup nearly. How do

Re: [flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread Alex Harui
If “test” is null, then the thing loaded did not implement Itest. Each module’s mxml file must have: wrote: The following works but is rather useless = private var test:IUIComponent; private var module:IModuleInfo; private function openTest():void {

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
The following works but is rather useless = private var test:IUIComponent; private var module:IModuleInfo; private function openTest():void { module=ModuleManager.getModule("comps/admnCntr/test.swf"); module.addEventListener(ModuleEvent.READY, dispTest); mo

[flexcoders] States functions

2010-02-02 Thread Christophe
Hello, I am searching a solution of replacement for the States instructions. Thank you, Christophe,

Re: [flexcoders] Difference between GLOBAL and APPLICATION in CSS

2010-02-02 Thread Alex Harui
Application is the type selector for the Application class. Some things like popups are not children of the application. On 2/2/10 12:54 PM, "boy_trike" wrote: I am sure there is a document somewhere that will explain the different options for CSS and FLEX. Now if someone can point me

[flexcoders] Flex/LCDS Enterprise

2010-02-02 Thread Dan Pride
Ia there a way for startups to get low cost access to Flex/LCDS Enterprise for development purposes only ?

[flexcoders] Update to Flex SDK 3.5 Released

2010-02-02 Thread Deepa Subramaniam
Hello Flexcoders - The Flex team has released an update to the 3.5 SDK that addresses an issue with the Flex-based AIR auto-update UI packaged within the SDK (SDK-24766). The refreshed build, SDK 3.5a, has only a few files modified in order to fix

Re: [flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread Alex Harui
You are using modules, correct? Then you have multiple SWFs. If you’ve put them all in one project that’s fine, then all you need to do is put those files somewhere where they can all see them in their source-paths. On 2/2/10 12:27 PM, "criptopus" wrote: Only one project, multiple comp

Re: [flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread Alex Harui
You need to set loadForCompatility=true before the load() in order to force the child into its own applicationdomain and therefore isolate it from the version of the SDK in the parent app. Doing so will then give the parent and child different versions of ResizeEvent as you would want and expec

[flexcoders] Trapping keydown event when focus is on an AccordionHeader

2010-02-02 Thread flexcoder2008
I am trying to trap the keyDown event when the focus is on an accordion header. My accordion control has a keyDown event that fires when the focus is inside the accordion, but it will not fire if the focus selector is around the actual Accordion header. You can use tab/Shift-tab/up and down arr

[flexcoders] Difference between GLOBAL and APPLICATION in CSS

2010-02-02 Thread boy_trike
I am sure there is a document somewhere that will explain the different options for CSS and FLEX. Now if someone can point me to that, I will be a happy camper. But my 1st question is, whats the diff. between the application and the global sections... thanks bruce

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
Only one project, multiple components. - Stephen --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > You could put them in a SWC that all projects share. > > > On 2/2/10 11:41 AM, "criptopus" wrote: > > > > > > > Got the program working, but just don't have the knowledge to impleme

[flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread jamesfin
I didn't see that small note to move the loadForCompatibility before the load. Now that I have done that, I get this error when sending the test event message. However, if I comment out the loadForCompatibility flag, the child swf still loads fine (with a different SDK) and everything works.

Re: [flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread Alex Harui
The rules are that each sub-app must load its own RSLs. I’m still suspicious that you have the load call before setting loadForCompatiblity On 2/2/10 10:41 AM, "jamesfin" wrote: Forgot to include the error. This error only appears if I have framework.swc being used via RSL in the chi

Re: [flexcoders] Re: SubApplications Chapter Deux...

2010-02-02 Thread Alex Harui
Hmm. I think that you need to set loadForCompatibility before calling load() unless the url for the app is in a different domain. On 2/2/10 9:01 AM, "jamesfin" wrote: Here is the final code that will enable you to have a subapplication and send a simple event to the parent from the ch

Re: [flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread Alex Harui
You could put them in a SWC that all projects share. On 2/2/10 11:41 AM, "criptopus" wrote: Got the program working, but just don't have the knowledge to implement it in my program. It just complains endlessly when I try to change my program. I have one file index.mxml and a directory co

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
Got the program working, but just don't have the knowledge to implement it in my program. It just complains endlessly when I try to change my program. I have one file index.mxml and a directory comps with popup componets in and their are sub directories with more popup components from those popu

[flexcoders] Re: SubApplications Chapter Trois...

2010-02-02 Thread jamesfin
Forgot to include the error. This error only appears if I have framework.swc being used via RSL in the child subapplication. TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.managers::SystemManager/preloader_rslCompleteHandler()[C:\autobu

[flexcoders] Error: Repeater is not executing.

2010-02-02 Thread creativepragmatic
Hello Everyone, I have been trying to get a Repeater to work since yesterday. It works the first time it has been loaded with data but the second time, it is loaded, the following error results with the debugger higlighting a row with the statement isHandlingEvent = false; in the watcherFired meth

[flexcoders] Column Chart - how to disable cancelEffect

2010-02-02 Thread pullzmag
Hi, I have a column chart with dynamically created series. I assigned showDataEffect to column series and noticed that the effect is visible only if the chart displays one category. I have seen http://tech.dir.groups.yahoo.com/group/flexcoders/message/60046 where it seems that the showDataEffe

[flexcoders] Re: SubApplications Chapter Deux...

2010-02-02 Thread jamesfin
Here is the final code that will enable you to have a subapplication and send a simple event to the parent from the child... PARENT APPLICATION... http://www.adobe.com/2006/mxml"; layout="absolute" applicationComplete="init()" preinitialize="preinit()">

[flexcoders] SubApplications Chapter Trois...

2010-02-02 Thread jamesfin
For any Multi-Versioned SubApplication, what are the hard and fast rules about using RSL's? I tried making the parent (3.4sdk) and child subapplication (3.2sdk) both use RSL's but it fails miserably which doesn't surprise me considering the complexity of what's going on already. However, if th

Re: [flexcoders] WSDL objects -> Flex value objects

2010-02-02 Thread claudiu ursica
Google for Object Translator custom class. C From: Nick Middleweek To: flexcoders@yahoogroups.com Sent: Tue, February 2, 2010 5:27:34 PM Subject: [flexcoders] WSDL objects -> Flex value objects Hello, Does anyone know of a way to convert a WSDL document i

[flexcoders] Re: PopUpManager & Module Components

2010-02-02 Thread criptopus
RSL's? Sorry lost me, I have only been programming in Flex for 3 months and object orientated programming for 2 years. Could you or anyone else make what was said a little bit more understandable for a novice? --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Sounds like a config/build is

[flexcoders] WSDL objects -> Flex value objects

2010-02-02 Thread Nick Middleweek
Hello, Does anyone know of a way to convert a WSDL document into a bunch of Flex Classes? I'm working on a project where the WDSL data structures are changing and it's a real pain to have to re-check what has changed and then re-code the classes and Interfaces... Thanks, Nick

Re: [flexcoders] What's up Adobe?

2010-02-02 Thread Wally Kolcz
1.) Keeping all their items more focused on the 'Flash Platform'. 2.) Call yourself a 'Flash Developer specializing in the Flex Framework'. Flex is not a language, its a Framework. It runs your application on a 2 frame time line. Frame 1 is the application loader, Frame 2 is your application. M

Re: [flexcoders] What's up Adobe?

2010-02-02 Thread Tom Chiverton
On Tuesday 02 Feb 2010, Nick Collins wrote: > And Tom, re: "Well, Flash is a subset of Flex...", I would say it's the > other way around, since as I know that you're aware, Flex is simply a > framework written on top of the Flash platform ( AS3 ). Swings and round abouts. I put it the way around I

Re: [flexcoders] What's up Adobe?

2010-02-02 Thread Nick Collins
You're a Flex developer if you are using the Flex SDK, regardless of what your tooling is called. What if you were using FlashDevelop to code in, or FDT, or IntelliJ IDEA? Still a Flex developer. And Tom, re: "Well, Flash is a subset of Flex...", I would say it's the other way around, since as I k

Re: [flexcoders] What's up Adobe?

2010-02-02 Thread Tom Chiverton
On Tuesday 02 Feb 2010, GeorgeB wrote: > 1. What was the meaning of Adobe changing the name from Flex Builder (v3) > to Flash Builder, while keeping the upgrade path from v3 to v4? Marketing bollocks about 'the Flash platform'. > 2. I used > to call myself a Flex developer, i.e MXML plus AS3 pr

Re: [flexcoders] Re: Trapping on BlazeDS server a lost connection to a Flex client. How?

2010-02-02 Thread Fotis Chatzinikos
Hi George, I am sure when your flex client starts it makes a certain series of backend calls. So in the first one, on the server side, update your logged in variable to true and then with a session destroyed filter make the variable = false. On Mon, Feb 1, 2010 at 12:27 PM, GeorgeB wrote: >

Re: [flexcoders] Localization problems mainly on Macs - Cannot switch to second input Language

2010-02-02 Thread Fotis Chatzinikos
Thanks Gordon, I will do as you suggest - I just confirmed that it happens in windows Chrome as well as Mac browsers. I just realized something else which might help you catch it ... In windows chrome, if i go to the windows start bar and change language it.. works. So, iti seems that some brow

[flexcoders] What's up Adobe?

2010-02-02 Thread GeorgeB
Hi all, I am a fully occupied Flex v3 developer, and don't have spare time to switch to Flex v4 before the projects I work on are over and done. While on the side subject that Gordon Smith (post 152124) raised, may I ask for reasonable answers? (since what I read worry me a lot about the future

Re: [flexcoders] How to add styles.css into .swc

2010-02-02 Thread Tom Chiverton
On Monday 01 Feb 2010, gopi nath wrote: > I can use embeding stylesheet as well.. but i am not skinning the > components inside my swc. just to apply colors and bg colors.. > can u pls provide a sample for both linking and Embeding styles inside > swc... This is covered in the docs. -- Helping