RE: [flexcoders] Timer Solution

2009-01-13 Thread Kenneth Sutherland
You can listen for the enterFrame event but also make sure you have set the frameRate inside the application tag (default isn’t 15). Although I wouldn’t recommend setting the framerate to 15, an easier/quicker method would be to set it to 30 and only do something on every 2nd frame. Should

RE: [flexcoders] regex

2009-01-13 Thread Kenneth Sutherland
You should check out http://www.regular-expressions.info/regexbuddy.html. this is a great tool for learning how to do regex. The site and tool also contains many common expressions to start from. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] Re: swf caching

2009-01-13 Thread Cato Paus
Hi Tracy, How can I do that ? --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: You could modify the html wrapper to append a unique string to the swf url. Tracy From: flexcoders@yahoogroups.com

[flexcoders] Quicktime API

2009-01-13 Thread vinod kumar
Any one used Quicktime API. Please reply me Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/

Re: [flexcoders] regex

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 9:56 AM, flexaustin flexaus...@yahoo.com wrote: Does anyone know how to write a regular expression that says find a pattern in a String that contains 0 or more letters, numbers, or spaces, but not a , (one double quote and a comma). [a-z0-9 ]* That will match 0 or

[flexcoders] Encode Flex / PHP on Client/Server machine

2009-01-13 Thread itdanny2002
Dear All, I have Flex program as client with PHP on server side. I use web hosting. How can I protect my source code ? Seems that Web Hosting Company can read my files or even decompile if necessary. Is there any encoding method (something like exe file) on client and server side ? Or, I

Re: [flexcoders] Re: security sandbox violation in standalone player but not in browser

2009-01-13 Thread Tom Chiverton
On Thursday 08 Jan 2009, Maciek Sakrejda wrote: Interesting; however I'm using Evolution against an Exchange server, Your 'From' address just changed from @gmail to something else... -- Tom Chiverton Helping to paradigmatically monetize distributed sticky granular infrastructures

Re: [flexcoders] Re: Flash Remoting Options

2009-01-13 Thread Tom Chiverton
On Sunday 11 Jan 2009, Amy wrote: Any options for earlier php versions? Plain on XML in response to a HTTP GET/POST, old school style. It'll almost certainly be good enough. -- Tom Chiverton Helping to dramatically develop efficient synergistic total innovative functionalities

[flexcoders] Quicktime API

2009-01-13 Thread vinod kumar
Please send the examples on how to use the QuickTime API functions Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/

Re: [flexcoders] regular expression tester says it works, but it doesnt????

2009-01-13 Thread Guy Morton
Is your data actually split over multiple lines? Or is it just wrapping in the email? The problem, I think, is in your second set of parentheses. You search for , followed by 0 or more word characters, then a colon. That pattern does not appear in your search string. Also, that .*

[flexcoders] Re: swf caching

2009-01-13 Thread Cato Paus
Thanks :) --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Look at the generated wrapper code. Track the AC_FL_RunContent function into the AC_OETags.js file, You will see where the url to the swf is being built. Append a string to that, maybe using Date.getTime().

RE: [flexcoders] Re: swf caching

2009-01-13 Thread Tracy Spratt
Look at the generated wrapper code. Track the AC_FL_RunContent function into the AC_OETags.js file, You will see where the url to the swf is being built. Append a string to that, maybe using Date.getTime(). Be sure to save your changes to the html/js files so they are not lost if you change

[flexcoders] Disableing FlexBuilders CSS editor.

2009-01-13 Thread Wesley Acheson
Hi All, When I downloaded flex builder (as an eclipse plugin) It hijacked my CSS editor. I was previously using the WTP CSS editor. Now when I try to open CSS files with the WTP editor, I recieve a message saying unsupported content type. Is it possible to keep having the flex functionality

[flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Dan
Nope, I meant the process described here: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html Howard, I read the docs before posting to the group but it does not provide the answer for what I am looking. But I think Manish's answer is the easier approach. Neither

[flexcoders] Re: Stupid Question - Flex width and height

2009-01-13 Thread kylewburke
It's probably null because the stage isn't available yet. Try doing it in your application complete handler. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: On Mon, Jan 12, 2009 at 9:48 PM, Wally Kolcz wko...@... wrote: This is probably a dumb question but...

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-13 Thread kylewburke
I don't know if Cairgorm is anything like PureMVC but if you have a reference to the UIComponent that you want to dispatch the event, you would so something like this: MXML: MyComponent mx:Metadata [Event(name=rowSelected, type=mx.events.DynamicEvent)] /mx:Metadata /MyComponent

Re: [flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Paul Andrews
- Original Message - From: Dan danijel.arsenov...@gmail.com To: flexcoders@yahoogroups.com Sent: Monday, January 12, 2009 9:57 PM Subject: [flexcoders] Re: How to create universal event handler? Nope, I meant the process described here:

Re: [flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Paul Andrews
- Original Message - From: Dan danijel.arsenov...@gmail.com To: flexcoders@yahoogroups.com Sent: Monday, January 12, 2009 9:57 PM Subject: [flexcoders] Re: How to create universal event handler? Nope, I meant the process described here:

[flexcoders] Comparing Array and Object, not expected results

2009-01-13 Thread Marco Catunda
Hi, Why the Alert method shows Crazy string at this code below? I really didn't fingure it out. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=onCreationComplete(event) mx:Script ![CDATA[

[flexcoders] Loading images using binary data

2009-01-13 Thread Dan Vega
I have a data grid that lists the contents of a folder an the server.What I want to do is have a button that allows the user to swap between a data grid and a list of thumbnails. There maybe a chance that these directories have more than images but for now lets just pretend they are all images.

Re: [flexcoders] How to test flash apps in the normal (non-debug) player with the debug player in installed?

2009-01-13 Thread Tom Chiverton
On Monday 12 Jan 2009, tom s wrote: What is the best way to test flash apps in the normal (non-debug) player on the *same machine*? (I don't have access to a spare machine right now). VMWare. Lets you test multiple versions of IE etc. too without relying on the hacky unoffical

[flexcoders] Re: Encode Flex / PHP on Client/Server machine

2009-01-13 Thread valdhor
Check out: http://www.zend.com/en/products/guard/ http://www.raizlabs.com/software/phpobfuscator/ --- In flexcoders@yahoogroups.com, itdanny2002 itdann...@... wrote: Dear All, I have Flex program as client with PHP on server side. I use web hosting. How can I protect my source code ?

[flexcoders] Re: Disableing FlexBuilders CSS editor.

2009-01-13 Thread valdhor
Check your preferences... Window-Preferences-General-Editors-File Associations --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: Hi All, When I downloaded flex builder (as an eclipse plugin) It hijacked my CSS editor. I was previously using the WTP CSS editor.

RE: [flexcoders] Loading images using binary data

2009-01-13 Thread Kenneth Sutherland
Check out Ted's examples with code. http://www.onflex.org/ted/2007/12/progressive-image-loading-with.php this shows how to get binary data and turn it into an image. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dan Vega Sent: 13 January

[flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Dan
I can't help but think that you're getting mixed up between the difference in concept between the class of an event and the event name. Event handlers respond to specific event instances by name and not class. Paul, I think you are right. Since Event is represented by object, I thought

[flexcoders] Re: regex

2009-01-13 Thread flexaustin
Well I need to match anything and everything, including single and double quotes, but it can't match the series , (read as dbl quote comma dble quote). So if I have this string (quotes are included in the string): name:Big Brown Cow b'(--Foot)'/b,title:hello I want to include everything after

[flexcoders] Re: regular expression tester says it works, but it doesnt????

2009-01-13 Thread flexaustin
Yeah that works sort of. The issue is that I need to stop before or right after a , series. So given this string: title:houses,count:47,group:true,connection:39, I need to stop when I get title:houses, or title:houses or title:houses or houses. I am trying to extract whatever is given for

[flexcoders] Making the Slider Track behaving like a ProgressBar

2009-01-13 Thread Robert Csiki
Hello, Is there an easy way to achieve this? I am working on a video player and I want to visualize the content buffering the same way say YouTube's one (and most other video players I've seen) does. Thanks Robert

Re: [flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Paul Andrews
Dan, the concept for try and catch is quite different to error handling. In try/catch you provide a reference to an object that represents the kind of error you can expect to handle. Event handlers are not trying to catch a kind of event, they are catching a specific event. It's the differenc

[flexcoders] Need a Flex 3, using local cfc server, tutorial

2009-01-13 Thread Brad Bueche
Ok, finally getting back into flex (TO STAY) after almost a year. I even purchased Flex 3 professional with my own money! And I'm going to make another attempt to get flex apps into my area of the company. I tried the wizard but wizards are a Catch-22: If you need the wizard to create your

[flexcoders] HTTPService Busy Cursor

2009-01-13 Thread shafram
I am using the mx:HTTPService from Flex and it has a showBusyCursor property that I set to true: mx:HTTPService id=httpService showBusyCursor=true result=handleResult(event) fault=handleFault(event)

[flexcoders] Yahoo ads (or any other kind)

2009-01-13 Thread arshak_navruzyan
I'm wondering if anyone has implemented a component to help display Yahoo API based ads: http://help.yahoo.com/l/us/yahoo/amp/webservices/reference/data/ If you have any other information regarding putting ads into a Flex app please chime in (including Adwords and Video ads) Thanks.

Re: [flexcoders] Re: Quicktime API

2009-01-13 Thread Greg Hess
I found apples API doc very helpful: http://developer.apple.com/documentation/QuickTime/Rm/Fundamentals/QTOverview/QTOverview_Document/chapter_1000_section_3.html FYI: - Quicktime wont let you use width and height of 0,0 Player will not function - Quicktime wont let you embed it in a hidden div,

[flexcoders] Re: Need a Flex 3, using local cfc server, tutorial

2009-01-13 Thread valdhor
I would start with: http://tutorial1.flexcf.com/ http://www.adobe.com/devnet/flex/flex_cf.html --- In flexcoders@yahoogroups.com, Brad Bueche b...@... wrote: Ok, finally getting back into flex (TO STAY) after almost a year. I even purchased Flex 3 professional with my own money! And I'm

Re: [flexcoders] Loading images using binary data

2009-01-13 Thread Dan Vega
I am able to read in images via the server returning the binary data of the image. My question is can I then create a thumbnail or should I be doing that on the server as well? Thank You Dan Vega danv...@gmail.com http://www.danvega.org

[flexcoders] Re: HTTPService Busy Cursor

2009-01-13 Thread valdhor
Check out http://www.switchonthecode.com/tutorials/flex-custom-cursor-tutorial --- In flexcoders@yahoogroups.com, shafram shaf...@... wrote: I am using the mx:HTTPService from Flex and it has a showBusyCursor property that I set to true: mx:HTTPService id=httpService

Re: [flexcoders] Re: Clearspring and facebook

2009-01-13 Thread Fernando Wermus
I've read it and there are old version which doesnt work anymore. I am having some problems with the html that use the js bridge and de swfobject. The problem is that the facebook api has changed and I tried several times to figurite out how to solve it without any luck. I was wondering if

[flexcoders] Re: Comparing Array and Object, not expected results

2009-01-13 Thread andrii_olefirenko
This happens because of implicit type conversion (in this case it's more than just type conversation but it makes sense here). notice that adding another element to array leads to Ok --- In flexcoders@yahoogroups.com, Marco Catunda marco.catu...@... wrote: Hi, Why the Alert method shows

[flexcoders] Re: HTTPService Busy Cursor

2009-01-13 Thread shafram
Thanks. But this example assumes that I have full control over when I want to show and hide the cursors. The HTTPService, however will show and hide the busy cursor for me automatically (hence the property showBusyCursor). I guess I would have to set that property to false and then manually show

[flexcoders] When to use the include directive?

2009-01-13 Thread Nate Beck
Hey list, I just wanted to ping everyone and get their opinion on something. Why would anyone ever want to use the include directive? I've recently been working on poorly designed project where at the top of every module there is an include Header.as statement that has 30 include statements

[flexcoders] FlexSkinning problem

2009-01-13 Thread Mark Hage
Problems with skinning components for Flex 3 in Illustrator CS3 I have installed the FlexSkinning plugin for Illustrator CS3. When I customize a Panel and import it into Flex as Skin Artwork, I have problems when scaling the Flex application in the browser. When I scale my browser window to a

Re: [flexcoders] Re: Clearspring and facebook

2009-01-13 Thread Nate Beck
I can tell you that most people on this list probably have never looked at the Facebook API. From my experience, using the Facebook Developer Platform Forums are a much better way to get answers specific to Facebook, than the flexcoders list. http://forum.developers.facebook.com/ HTH, Nate On

[flexcoders] Re: Flash Remoting Options

2009-01-13 Thread Amy
--- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Sunday 11 Jan 2009, Amy wrote: Any options for earlier php versions? Plain on XML in response to a HTTP GET/POST, old school style. It'll almost certainly be good enough. Except that part of what the example

[flexcoders] Flex to Ajax/Javascript

2009-01-13 Thread flexaustin
Is it possible to send over more than simple objects from Flex to Ajax, meaning can I send over more than a int, String, or Number? Can I send say: var myObj:Object = {something:hello, id:45, {title:groupify, model:somemodel}}; Then send over myObj?

Re: [flexcoders] Re: regex

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 8:16 PM, flexaustin flexaus...@yahoo.com wrote: So if I have this string (quotes are included in the string): name:Big Brown Cow b'(--Foot)'/b,title:hello I want to include everything after name: and before , var s:String = \name\:\Big Brown Cow

[flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Amy
--- In flexcoders@yahoogroups.com, Dan danijel.arsenov...@... wrote: I can't help but think that you're getting mixed up between the difference in concept between the class of an event and the event name. Event handlers respond to specific event instances by name and not class.

Re: [flexcoders] Re: How to create universal event handler?

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 8:09 PM, Dan danijel.arsenov...@gmail.com wrote: I think you are right. Since Event is represented by object, I thought you could create event handlers in polymorphic manner, just like when handling errors, when you write catch(e:MyErrorClass). Such catch would also

RE: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-13 Thread Alex Harui
We draw the arrow in with the rest of the artwork. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Monday, January 12, 2009 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom mouse cursors including the system cursor? Hey

[flexcoders] Re: Using dispatchEvent ?

2009-01-13 Thread biosmonkey
Yes. As I said in the other post, my confusion was not understanding the relationship between the bubbling mechanism and the UI display list. I changed it back to extending EventDispatcher and dispatching off the main app object. All is well. --- In flexcoders@yahoogroups.com, Manish Jethani

[flexcoders] Data Grid Issue

2009-01-13 Thread Dharmendra Chauhan
Hello, I have designed a custom dataGird which allows user to select multiple row without shift key. that meas user just need to right click the mouse and drag it over the grid. For this I have override mouseOverHandler Function in my dataGrid. override protected function

Re: [flexcoders] Re: Generating random colors, excluding others

2009-01-13 Thread john fisher
from: http://livedocs.adobe.com/flex/3/html/Capturing_User_Input_4.html here is some Adobe code to create random colors: function changeColor(event:ContextMenuEvent):void { square.transform.colorTransform = getRandomColor(); } function getRandomColor():ColorTransform { return new

[flexcoders] Re: Data Grid Issue

2009-01-13 Thread Dharmendra Chauhan
Here is complete code:- ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() backgroundColor=#b3b4ae mx:Script ![CDATA[ import mx.charts.HitData;

[flexcoders] Re: Mouse wheel scrolling past entries in combobox

2009-01-13 Thread kaleb_pederson
Done. It turns out it takes Firefox under Remote Desktop to reproduce: https://bugs.adobe.com/jira/browse/SDK-18680 I'm not sure where the fault might lie -- Firefox, Flash Player, or Flex, but it's reported now. Thanks. --Kaleb --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:

Re: [flexcoders] Re: Disableing FlexBuilders CSS editor.

2009-01-13 Thread Wesley Acheson
Its not that. The problem is that when I change the preferred editor in this window when opening a .css file I get a dialog saying unsupported content type in editor. The editor then reverts to plain text. If I set the flex editor as the preferred editor then it works correctly. I also get the

Re: [flexcoders] Flex to Ajax/Javascript

2009-01-13 Thread Wesley Acheson
That works fine I've even used it to log objects in firebug. HOWEVER be aware that if you have a recursive object. I.e. an object that refers to itself or has a child that refers to the parent. So you may not be able to pass some of the flex internal objects, as they do this. You'll eventually

[flexcoders] Re: regex

2009-01-13 Thread flexaustin
Thanks! --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Tue, Jan 13, 2009 at 8:16 PM, flexaustin flexaus...@... wrote: So if I have this string (quotes are included in the string): name:Big Brown Cow b'(--Foot)'/b,title:hello I want to include

[flexcoders] Binding and the Model

2009-01-13 Thread stldvd
Hi guys, I'm trying to concatenate a series of string literals and bound variables into a model variable called 'summary', which will be displayed in a 'summary' textarea or text control. The variables come from various control settings -- numeric steppers etc. I can bind the variables to UI

Re: [flexcoders] When to use the include directive?

2009-01-13 Thread Wesley Acheson
I don't think that forcing people to follow OOP is necessarly the best idea. I'd imagine that a lot of the people who use flex come from more of a web presentation background then any other background and don't necessarily know the best practices. The thing about the include statement is that it

Re: [flexcoders] Re: Comparing Array and Object, not expected results

2009-01-13 Thread Wesley Acheson
I agreen but I think that === will give you the behaviour you expect. On Tue, Jan 13, 2009 at 5:33 PM, andrii_olefirenko andr...@gmail.comwrote: This happens because of implicit type conversion (in this case it's more than just type conversation but it makes sense here). notice that adding

Re: [flexcoders] Binding and the Model

2009-01-13 Thread Wesley Acheson
I think you can add something like. mx:string id=summary{model.duration + model.start}/mx:string Regards, Wesley On Tue, Jan 13, 2009 at 8:37 PM, stldvd stl...@yahoo.com wrote: Hi guys, I'm trying to concatenate a series of string literals and bound variables into a model variable called

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
I don't think there's an mx:string tag. But even if I do this: mx:Text id=summary text=Start Time: {model.start}\nRepeat: {model.repeat} / etc. I don't think it will work. If there is no value for model.repeat then I want to leave it out of the summary description.

Re: [flexcoders] Re: Binding and the Model

2009-01-13 Thread Wesley Acheson
On Tue, Jan 13, 2009 at 9:02 PM, stldvd stl...@yahoo.com wrote: I don't think there's an mx:string tag. But even if I do this: There is but it should be Capitaliased. I found this via playing arround basically type mx:[any mx data type] id=variableName / creates a variable with that name in

[flexcoders] Cant empty context menu- previous answers don't work...

2009-01-13 Thread john fisher
-This was discussed as recent;y as late last month, but I have tried all the solutions and they are not working.- -problem: I want to get control of the contextMenu, and I need to remove the built-in items. I am able to add menuitems -I tried advice from these sources:

RE: [flexcoders] Re: Binding and the Model

2009-01-13 Thread Ryan Graham
You could take control of the situation by updating the summary property inside the setter of each property that makes up the summary itself. Forgive the quick code, but something along the lines of: public function set repeat(value:int):void { _repeat = value;

[flexcoders] Re: When to use the include directive?

2009-01-13 Thread Amy
--- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote: Hey list, I just wanted to ping everyone and get their opinion on something. Why would anyone ever want to use the include directive? I've recently been working on poorly designed project where at the top of every module there

Re: [flexcoders] Re: regular expression tester says it works, but it doesnt????

2009-01-13 Thread Guy Morton
ok. i think you could take a simpler approach then, eg var pattern:RegExp = new RegExp('\title\:\([a-zA-Z ]+)','i'); var str:String = 'title:houses or houses,count: 47,group:true,connection:39,'; trace(str.match(pattern)[1]); returns houses or houses ie, the matched string is 'title:houses

Re: [flexcoders] When to use the include directive?

2009-01-13 Thread Manish Jethani
On Tue, Jan 13, 2009 at 10:19 PM, Nate Beck n...@tldstudio.com wrote: I just wanted to ping everyone and get their opinion on something. Why would anyone ever want to use the include directive? I've recently been working on poorly designed project where at the top of every module there is

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
Thanks, Ryan. If I understand you correctly you're suggesting I create a Summary class with those setters and that function. If the generateSummary() function returns a string, it would return the generated summary. At the end of this function I set the bindable summary property equal to

[flexcoders] Re: regex

2009-01-13 Thread flexaustin
Ok, this i killing me. I have down to this: \\\name:something\\soemthing\\ How do I replace \\\ with \\ and all \\ with \. Thanks, Jason --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Tue, Jan 13, 2009 at 8:16 PM, flexaustin flexaus...@... wrote: So if

[flexcoders] Validating file size before upload

2009-01-13 Thread oneworld95
Hi. I'd like to extend the Validator class to create a custom validation object; it'll be used with a file upload app. Before calling the upload() method on the FileReference object, I need to ensure it doesn't exceed 1MB. I've got code that checks that, but wondered how to do the custom

[flexcoders] Re: regular expression tester says it works, but it doesnt????

2009-01-13 Thread flexaustin
So for you last version: var pattern:RegExp = new RegExp('\title\:\([^,\]+)','i'); How would I say everything but a , would it be this? var pattern:RegExp = new RegExp('\title\:\([^[\,\]]+)','i'); J --- In flexcoders@yahoogroups.com, Guy Morton g...@... wrote: ok. i think you could take a

[flexcoders] Re: Binding and the Model

2009-01-13 Thread stldvd
Yes, well, I'll answer my own question for the benefit of all. :) It's working like a champ. Here's my takeaway from this: If you've got to populate a control with a string value from your data model, and you need to perform operations on that value (validation, whatever) then this is how you

Re: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-13 Thread Josh McDonald
I was poking around in the .fla file, I thought there was some process by which the cursor symbol is replaced with the system cursor... If not, does that not mean then that under windows, when you drag over something you can't drop on, and it switches to mx.skins.cursor.DragReject the pointer also

[flexcoders] Binding to a Vector object

2009-01-13 Thread Ryan Graham
Hi All, I really like the thought of typed collections, but it looks like new Vector class is dynamic, and descends directly from Object, so that makes it useless for data binding, right? Has anyone worked around this by doing something like subclassing and implementing IEventDispatcher or

Re: [flexcoders] Cant empty context menu- previous answers don't work...

2009-01-13 Thread john fisher
well since nobody had time to answer yet, I kept digging. here's one bug: if you add Settings as part of the string which forms your custom menuitem label, not just the whole String which could collide with the Settings menu, but part of a custom string, it won't show at all in the menu, and no

Re: [flexcoders] Cant empty context menu- previous answers don't work...

2009-01-13 Thread Doug McCune
This is specifically (and has always been) impossible. You cannot ever get rid of those context menu items. As in never ever ever. The best you can hope for is supressing the context menu and replacing it with your own, which is sort of possible with a javascript hack I believe (google stuff about

[flexcoders] Re: AIR and SQLLite

2009-01-13 Thread bonny_us
Hi Kevin, i want to do synchronize all client sqlite db's from a common back-end db? Thanks, Bonny --- In flexcoders@yahoogroups.com, Kevin Benz kb...@... wrote: What are you asking? Are you wanting to synchronize all client sqlite db's from a common back-end db? Are you wanting

RE: [flexcoders] Re: AIR and SQLLite

2009-01-13 Thread Kevin Benz
If you don't have to preserve any existing client data, then you could simply rip and replace the existing db file. Your Air application could drop the file, back it up or whatever and then replace it with another copy downloaded from a server. If you need to preserve some of the data then

RE: [flexcoders] Re: AIR and SQLLite

2009-01-13 Thread Tim Rowe
You also need to consider how you patch your DB when you don't want it to be destructive. I would suggest for this that you have your base version-1 database, and every change from then on is applied as a patch, incrementally. If you have 60 different database structure changes, then that's

[flexcoders] Adding more than one function to creationComplete

2009-01-13 Thread brucewhealton
Hello all, I am having trouble finding out how to do this. Is it not possible to call two different applications on creationComplete for the Application tag? I have an application that calls two different xml files that have lists of one full-size images and two thumbnail size images

Re: [flexcoders] Adding more than one function to creationComplete

2009-01-13 Thread Sam Lai
Should just be something like - mx:Application creationComplete=method1(); method2(); Code appearing in event attributes are compiled as an anonymous function I believe. 2009/1/14 brucewhealton br...@futurewavedesigns.com: Hello all, I am having trouble finding out how to do this.

[flexcoders] Flex 2 to 3 combo box reset issue.

2009-01-13 Thread gcnfaq
Hi, I upgraded my application from Flex 2 to Flex 3 a while ago and had various upgrade issues which I resolved. One problem I have not found a satisfactory solution to is that combo boxes now resets there selectedIndex every time I use an addChild() method to add it's parent to the display.

RE: [flexcoders] Custom mouse cursors including the system cursor?

2009-01-13 Thread Alex Harui
Well, I don't know of any particular magic there, but I could be wrong. I'm not in position to dig further on it right now. Try modifying the assets in the FLA and see what happens From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Tuesday,

RE: [flexcoders] Re: Data Grid Issue

2009-01-13 Thread Alex Harui
The renderers don't fully cover the DG so parts of the underlying and parenting ListBaseContentHolder show through so the target won't always be an IListItemRenderer. mouseEventToItemRenderer will probably help you resolve the mouse to a target renderer From: flexcoders@yahoogroups.com

[flexcoders] Re: Data Grid Issue

2009-01-13 Thread sanjaypmg
Hello Dharmendra, I have done this type of functionality in Flex 2. That functionality was like :: User can select multiple rows on a single click without pressing SHIFT key and when user again click on the selected row it gets deselected. for that functionality I have not override any method. I

[flexcoders] AdvancedDatagrid and Lazy loading ?

2009-01-13 Thread Stephane Guyot
Hi list, i'm currently fighting with AdvancedDataGrid and Lazy Loading :-( When opening a node, sometimes it works, somtime i'm stuck with partial data rendering, it depends of the server response delay. Dispacthing CollectionEvent.RESET, sometimes solve the trouble, but

[flexcoders] Bookmark no longer valid, please help

2009-01-13 Thread luke_lee1124
Hi, All, In my application, var tempAC:ArrayCollection = (lastSectionItem.children as ArrayCollection); tempAC.addItemAt(newPage,insertIndex); //lastSectionItem is the selected node of advanceddatagrid. //so those codes means add a child to a