[flexcoders] Re: Please, help: the release player displays a blank page in all browsers.

2008-07-20 Thread wiley_jacobs1
I have spent the last two days working on this issue. I have narrowed it down that the SystemManager isn't able to register the application. It runs the preloader fine in both the release player and the debug, although when it tries to pass this: document = app = topLevelWindow =

[flexcoders] Debug Mode Prematurely Terminating

2008-07-20 Thread kenny14390
In both Eclipse and Flex Builder 3, the Debug mode prematurely terminates. I have an error in my code, which isn't being picked up by the compiler, so it's hard to debug. Regardless of break points, the debugger will launch the app in the browser and then immediately terminate, not checking for

[flexcoders] Re: Please, help: the release player displays a blank page...(solved for me!)

2008-07-20 Thread wiley_jacobs1
I finally figured it out. I was using MyFlexSpy which overrides mx.core.FlexSprite.as and mx.core.ListenerTracker.as. I took MyFlexSpy out of my app including the overriding mx package and everything came up in the release player!! --- In flexcoders@yahoogroups.com, wiley_jacobs1 [EMAIL

Re: [flexcoders] Debug Mode Prematurely Terminating

2008-07-20 Thread Daniel Freiman
I had a problem like this when I moved to my new computer last week. Inexplicably, changing the html template to include the parameter wmode = opaque fixed it. I agree this doesn't make any sense, but according to googling it has worked for other people and it worked for me. - Daniel Freiman On

[flexcoders] Re: Debug Mode Prematurely Terminating

2008-07-20 Thread kenny14390
I'm glad to hear I'm not the only one with this weird problem. How do you change the html template? --- In flexcoders@yahoogroups.com, Daniel Freiman [EMAIL PROTECTED] wrote: I had a problem like this when I moved to my new computer last week. Inexplicably, changing the html template to

[flexcoders] Re: Binding for Dynamic Datagrid

2008-07-20 Thread limhy0306
If that's the case, how would set data() be called? Previously, i've tried something similar; such as myDP.refresh() - set data() is called --- In flexcoders@yahoogroups.com, Johannes Nel [EMAIL PROTECTED] wrote: in code it is grid.dataprovider = youDP; in mxml it's mx:whatever

[flexcoders] Re: Performance profile strangeness

2008-07-20 Thread Mike
Thanks, yes it's the debug player... nice link. --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: even better http://flashplayerversion.com/ nice! DK On Sat, Jul 19, 2008 at 4:02 PM, Douglas Knudsen [EMAIL PROTECTED] wrote: double check that you are

[flexcoders] RE: Loop creator

2008-07-20 Thread acintron421
I'm looking into building a loop manipulator application. I basically want to take 10 preset loops and place them on a time track. Each, loop can be placed before or after another loop. I then want to combine the entire track and export as an mp3, is this possible via ActionScript, or do I need

[flexcoders] Bake XML File into ActionScript

2008-07-20 Thread edlueze
What's the best way to compile an XML file directly into ActionScript? You can assign an XML literal to a variable as such: var novel:XML = BOOKTITLEMy Book/TITLE/BOOK But it would be much better to have the XML in an externally managed file. I'd much prefer to do something like: var novel:XML

[flexcoders] ADG MultipleRows FilterFunction

2008-07-20 Thread Don Kerr
How do I allow the user to select multiple rows (by holding down CTRL or SHIFT) and when they are done making selections, fire an event to execute a filterfunction within the same ADG? I'm trying to allow the user to filter down a grid data to only show all the rows they just selected. With

RE: [flexcoders] Bake XML File into ActionScript

2008-07-20 Thread Randy Martin
You can include an ActionScript file in it's own script block. Then in the .as file, you could just have the XML defined and nothing else. // put this in books.as -- or whatever filename you choose private var novel:XML = BOOKTITLEMy Book/TITLE/BOOK; ?xml version=1.0 encoding=utf-8?

[flexcoders] Re: Flash USB-API :)

2008-07-20 Thread Cato Paus
hm yes, we need to vote for it, I have filed a fr so go and vote https://bugs.adobe.com/jira/browse/FP-247 I suspect that we will have it, probably something that wil come a long with the OpenScreen Project. So we dont have to start writing code to PS3, WII and so on! Just a thought :) ---

[flexcoders] air sqlite example with BLOB datatype

2008-07-20 Thread sudha_bsb
Hi, Can someone share a simple example on how to store and retrieve the BLOB data from SqLite using AIR. I want to store images in the database using BLOB type, retrieve them and show them as images. Please help, Thanks, Sudha.

Re: [flexcoders] Re: Debug Mode Prematurely Terminating

2008-07-20 Thread Daniel Freiman
In your project in Flex Builder there should be an html-template folder with a file index.template.html. It's a normal html file except that it has some ${var} style includes (which you can ignore for now). Find the second AC_FL_RunContent javascript call in the file (the first takes care of the

[flexcoders] Re: ADG MultipleRows FilterFunction

2008-07-20 Thread Don Kerr
Nevermind...I got it working with this... [unless there is a more elegant way?] keyUp=myKeyUpHandler(event) public function myKeyUpHandler(event:KeyboardEvent):void { if (!event.ctrlKey !event.shiftKey) { filterSelected();} } public function filterSelected():void { riskDP.filterFunction =

[flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread edlueze
Hi Randy - thanks for the feedback! I was hoping to find a way to preserve the XML file without contaminating it with the private var novel:XML = bit. That way I can create the XML file using my favorite XML generator (and use a validating XSD schema to make sure everything is correct). When the

RE: [flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread Randy Martin
I'd just read the XML file in using HttpService. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edlueze Sent: Sunday, July 20, 2008 1:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bake XML File into ActionScript Hi Randy - thanks

[flexcoders] Showing ContextMenu conditionally

2008-07-20 Thread markgoldin_2000
I have desgined ContextMenu for DG which pops up every time the user user uses right mouse click, but now they want to see the ContextMenu only if a cell has a value. How can supress it in case the cell does not have a value? Thanks

[flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread edlueze
Yeah - that's what I'm currently doing. But that's a runtime solution - I was hoping for a compile-time solution. Thanks anyway!! --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: I'd just read the XML file in using HttpService. ~randy _ From:

[flexcoders] Re: (OT) need a US state selector component

2008-07-20 Thread benjidudu
http://www.ilog.com/products/ilogelixir/ --- In flexcoders@yahoogroups.com, Aaron Miller [EMAIL PROTECTED] wrote: Anyone know of a good US state selector component where you can pick a state from the map, or set a 'selected' state problematically? I found a few but they were all geared to be

[flexcoders] Stop execution till Popup is closed

2008-07-20 Thread kroghadam
Hi, I am trying to create a button that when clicked shows a popup, the user then enters information into this popup and clicks create. My main application then takes this information creates an object and uses it as a data provider to show a node on a graph. The problem I am having is that

RE: [flexcoders] Stop execution till Popup is closed

2008-07-20 Thread Rick Winscot
So. you probably should revisit your event cycle something like: # popup your dialog # attach a custom event listener to your dialog (see below) # take the information in your dialog # dispatch a custom event (enclose the data provided in the dialog) when the user clicks save # handle this

RE: [flexcoders] RE: Loop creator

2008-07-20 Thread Rick Winscot
Anthony - I'm a long time user/fan of Fruity Loops. Is this 'kind-of' what you are doing? If so, you've probably found that loading samples is no big. Repeating the samples is a little harder (due to timing accuracy) but still no big. Where you are going to hit some practicality issues is around

RE: [flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread Alex Harui
You might be able to embed it. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of edlueze Sent: Sunday, July 20, 2008 11:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Bake XML File into ActionScript Hi Randy - thanks

RE: [flexcoders] datagrid item renderer on change

2008-07-20 Thread Alex Harui
Search our doc and the web. There should be plenty of examples of using ComboBox in a DG. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nathank000 Sent: Sunday, July 20, 2008 9:03 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread Tim Hoff
Hi, Here's a way that you can embed an external xml file into your app: [Embed('/data/myStubData.xml')] private var myStubDataXML : Class; private function onInitialize() : void { var myXML : XML = new XML( myStubDataXML.data ); } -TH --- In flexcoders@yahoogroups.com, edlueze [EMAIL

RE: [flexcoders] controls not not loading..

2008-07-20 Thread Alex Harui
Make sure someone is setting the size of the control. I'm not sure how you are parenting it, but parents size their children in Flex so maybe you have a custom parent that doesn't do the sizing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Re: Aligning images in TileList itemRenderer

2008-07-20 Thread Alex Harui
No, the dimensions of each renderer will be the same. You can tweak where the image is displayed if it is too small, but if it is too large, it'll probably just overlay something else. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] TextArea popup editor in DataGrid

2008-07-20 Thread Alex Harui
It uses PopUpManager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Glenn Jones Sent: Saturday, July 19, 2008 3:37 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TextArea popup editor in DataGrid Yes, I don't want the

RE: [flexcoders] htmlText to Text

2008-07-20 Thread Alex Harui
If you read the text property, it won't have the angle brackets. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hugocorept Sent: Saturday, July 19, 2008 3:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] htmlText to Text

RE: [flexcoders] need help urgent - multiple images printing

2008-07-20 Thread Alex Harui
Probably not possible with current versions. Your print job will probably take more than 60 seconds on some machines and timeout. Someday, I hope the Flash Player will fix the bug that will allow printing in the background. From: flexcoders@yahoogroups.com

Re: [flexcoders] controls not not loading..

2008-07-20 Thread [p e r c e p t i c o n]
Thanks for your help. I ended up being able to call the mxml version of the component (as opposed to the as3 version) but the as3 version does function as code behind. With that accomplished.i'm wondering why it calls some constructor that i didn't define...this default has no params and the one

RE: [flexcoders] controls not not loading..

2008-07-20 Thread Alex Harui
AS3 only allows one constructor per class so I'm not sure what you are referring to. If you use the compiler option -keep-generated-actionscript you can see what the MXML is generating as actionscript and compare From: flexcoders@yahoogroups.com

Re: [flexcoders] RE: Loop creator

2008-07-20 Thread Anthony Cintron
Really? I would assume, I can join the byteArrays some how - Which will than be a full length track that will enable me to encode. I mean, how complicated is it to do that? Andrea Michelle did something similar, didn't he? I think I have a solution for the mp3 encoding. I'm looking into

Re: [flexcoders] controls not not loading..

2008-07-20 Thread [p e r c e p t i c o n]
ok then...i'll try that...thanks percy On Sun, Jul 20, 2008 at 9:54 PM, Alex Harui [EMAIL PROTECTED] wrote: AS3 only allows one constructor per class so I'm not sure what you are referring to. If you use the compiler option –keep-generated-actionscript you can see what the MXML is