Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread iiley
Hi you can use FileReference.size to judge whether to upload or not when Event.SELECT -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com

Re: [flexcoders] Animated gif

2008-01-29 Thread iiley
Hi tommek, Check this, http://www.bytearray.org/?p=95 It should can be use in Flash CS3. -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com

Re: [flexcoders] Dictionary weakKeys feature or it's a GC bug

2008-01-29 Thread iiley
I ran TestDic again for test3 method, it eat all my 2G ram after a while. The key has no more referrence, so the value should be GCed, well, however the GC is opportunistic, but why he did not find a chance to free some memory till all 2G are eaten? Such a GC, i'm afraid to trust it. Or, there's

[flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
Greeting! I would like to ask of what is the maximum size limit of one image to upload through File Reference? Thanks' a lot for your response, Romeo

RE: [flexcoders] Running a flex app from local file system

2008-01-29 Thread Fidel Viegas
mx:HTTPService id=photosIn url=images/gallery/photos.xml result=photosInHandler(event)/ Try adding useProxy=False as follows: mx:HTTPService id=photosIn url=images/gallery/photos.xml result=photosInHandler(event) userProxy=false/ Hope that helps.

Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
Hi, Thanks iiley for your quick reply! Yes, you are right, but in other hand, I need to know the maximum image file size that Flex can handle to upload? Thanks :) On 1/29/08, iiley [EMAIL PROTECTED] wrote: Hi you can use FileReference.size to judge whether to upload or not when

Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread yigit
it depends on the server side. e.g. @ php default value is 2 mb im many servers but you can configure php.ini file to edit it. Romeo Obane wrote On 01/29/2008 10:13 AM: Greeting! I would like to ask of what is the maximum size limit of one image to upload through File Reference? Thanks' a

Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Romeo Obane
You gave me a good idea! Thanks a lot yigit! :) On 1/29/08, yigit [EMAIL PROTECTED] wrote: it depends on the server side. e.g. @ php default value is 2 mb im many servers but you can configure php.ini file to edit it. Romeo Obane wrote On 01/29/2008 10:13 AM: Greeting! I would

Re: [flexcoders] Animated gif

2008-01-29 Thread tommek
Thanks iiley, I just found it. iiley wrote: Hi tommek, Check this, http://www.bytearray.org/?p=95 http://www.bytearray.org/?p=95 It should can be use in Flash CS3. -- iiley AsWing http://www.aswing.org http://www.aswing.org Personal http://www.iiley.com http://www.iiley.com

[flexcoders] Update viewstack view on each button click

2008-01-29 Thread Berkay Unal
Hi Coders I have 2 buttons and when clicked i am changing the viewstack's selectedChild. My problem is i have some dynamic content on the peopleView. When i click on the UserList button the stack change and data is loaded. But when i click it again it does not refresh. What i need to know is

Re: [flexcoders] Running a flex app from local file system

2008-01-29 Thread Tom Chiverton
On Monday 28 Jan 2008, Greg Hess wrote: - It seems xml file format (xml) is not specifically supported by Flex and will require me to set the MIME type and the embedded object is a ByteArrayAsset. Is this the only way? Bwuh ? [Embed(source=style/gmpClient.xml)] [Bindable]

[flexcoders] other way of opening a new browser?

2008-01-29 Thread Lee
Hi =) Is there any other way of opening/creating/launching a new browser window from flex aside from using javascript with ExternalInterface? Thanks! :) Lee Looking for last minute shopping

Re: [flexcoders] other way of opening a new browser?

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Lee wrote: Is there any other way of opening/creating/launching a new browser window from flex aside from using javascript with ExternalInterface? Thanks! :) navigateToUrl(); -- Tom Chiverton Helping to biannually cultivate leading-edge information on:

Re: [flexcoders] other way of opening a new browser?

2008-01-29 Thread yigit
use : navigatetoURL(URL); Lee wrote On 01/29/2008 11:24 AM: Hi =) Is there any other way of opening/creating/launching a new browser window from flex aside from using javascript with ExternalInterface? Thanks! :) Lee

Re: [flexcoders] No referrer header from firefox

2008-01-29 Thread Tom Chiverton
On Monday 28 Jan 2008, Sam Nichols wrote: it turned out my httpRequests from firefox were not sending the referrer header, my requests in Safari sent the referrer just fine. Anybody else I wouldn't rely on this header for anything. It can be faked, or, as you found out, some

Re: [flexcoders] creating a new Livecycle DS project

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Bart Ronsyn wrote: I have installed JBosss as J2EE server on a remote Linux machine.  I have placed the flex.war file in the following directory on the server : /opt/jboss/server/default/deploy/ Why not do your dev. locally ? location' and fill in the Root URL

Re: [flexcoders] other way of opening a new browser?

2008-01-29 Thread Lee
thanks to everyone who replied! =) Lee - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 10:03:45 PM Subject: Re: [flexcoders] other way of opening a new browser? navigateToURL(new URLRequest(/*Add the

Re: [flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread Sherif Abdou
just call the invalidateSize(); - Original Message From: bjorn - [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 6:58:30 AM Subject: [flexcoders] RadioButton's label - truncateToFit = false? I have a problem with the label used by RadioButton - it

Re: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Sherif Abdou
make sure u have a bindable getter/setter dispatch in setter, and update in getter override public function set data(value:Object): void { // drag and drop can call this with a 'string' value (i.e. no xml element tags) so that is odd _data = value; dispatchEvent(new Event(dataChange)); }

Re: [flexcoders] Why does this print a blank page?

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, jesse_bigfix wrote: The code below results in a blank page, I don't understand why... After adding the items to be printed, callLater() the FlexPrintJob code. -- Tom Chiverton Helping to continuously revolutionize exceptional methodologies on:

[flexcoders] Re: flex Outlook integration

2008-01-29 Thread Dominic Pazula
Try this. It pops up a new blank explorer window, but it does what you are looking for. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function sendEmail():void{

Re: [flexcoders] other way of opening a new browser?

2008-01-29 Thread Sherif Abdou
navigateToURL(new URLRequest(/*Add the Link*/),_blank);//_blank,_self - Original Message From: Lee [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 3:24:21 AM Subject: [flexcoders] other way of opening a new browser? Hi =) Is there any other way of

[flexcoders] Flex Applicatin and Theme/CSS

2008-01-29 Thread Jehanzeb Musani
Hello All, I want to incoportate the support of theme/css for my flex application. The requirement is that once the application is deployed, it's theme can be changed by the users. For that I want to specify theme using CSS files and don't want the CSS files to be embedded in the application SWF

[flexcoders] xml data in a datagrid

2008-01-29 Thread atlas1j
This is probably simple for those that aren't flex newbies but my flex books haven't arrived yet from Amazon and I am getting confused by reading and searching on the web. What I have are xml document that I don't control that describe their own structure. See the simplified sample below: xml

Re: [flexcoders] xml data in a datagrid

2008-01-29 Thread Sherif Abdou
you would at least need to change the xml for these to work i think so data1Joe Doe/data1 data2Anywhere USA/data2 data3555-555- /data3 mx:DataGrid dataProvider={myXML} mx:columns mx:DataGridColumn dataField={myXML.contact.data} headerText={myXML.structure.data}/ /mx:columns /mx:DataGrid

[flexcoders] Re: Symmetric Key Encryption in Flex Client C# WebServices

2008-01-29 Thread bhaq1972
Hi Kaleb (or anyone else) This is slightly off topic but can you point me to a c# example that works with Metal Hurlat. thanks Bod --- In flexcoders@yahoogroups.com, kaleb_pederson [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, peeyushtuli peeyush81@ wrote: Thank you all

Re: [flexcoders] Still very confused with object referencing

2008-01-29 Thread Sherif Abdou
try var PersonnelGrid: Object = accidentsModule[ consist + consistnumber][TabSet.ConsistPers onnel + consistnumber]; - Original Message From: markgoldin_2000 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 8:47:01 AM Subject: [flexcoders] Still very

[flexcoders] Re: Module hell... Flex 3

2008-01-29 Thread dbronk
I've tried adding the event listener before and after with no change. The onModuleLoad does not get called on the first execution of the code. That is my problem. It works every time after the first execution. I've debugged down to where I think the problem is, just don't know why. On the

[flexcoders] Re: Possible to discern between inline style and style from type selector?

2008-01-29 Thread ben.clinkinbeard
Figured it out. Triple equals will tell me if they are pointing to the same actual style. this.getStyle(style) === typeSelector.getStyle(style) Sorry for the interruption, Ben --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: As part of my well-documented default

[flexcoders] Re: Cazirngorn and AMFPHP1.9 HELP

2008-01-29 Thread ericbichara
Hej, try substituting the following lines var token : AsyncToken = service.sendAll(); token.addResponder(responder); with var token:Object = service.sendAll(); call.addResponder(responder); also check that your php file and class are called sendServices --- In flexcoders@yahoogroups.com,

Re: [flexcoders] AS3: How to avoid loading the same asset repeatedly

2008-01-29 Thread Steve Mathews
I believe most people just go ahead and load again because the file should be in the browser cache once it has been loaded. I would also be interested in the performance effects of each method. Steve On 1/29/08, ronnlixx [EMAIL PROTECTED] wrote: Say i have 400 objects that contain the same

[flexcoders] RemoteObject call...No Result Handler: performance question

2008-01-29 Thread Tom Sammons
Hi everyone, I know I don't have to handle a remote object call results simply by not defining the method's result event. Why would I want to do this? Because I just want to record some action data in the database, and I don't need to do anything on completion of the call. My question is

[flexcoders] Setting canDropLabels=true may drop all labels on a cartesian chart

2008-01-29 Thread shafram
Hi, I have a Cartesian chart and I have the horizontal axis renderer set to canDropLabels to true. I am reading my category axis from a file and in certain cases when I resize my window, all labels seem to be dropped. If I set my category axis from inside my flex app instead of relying on the

[flexcoders] Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
I have problem to bind image to static var my piece of code is: [EMAIL PROTECTED]('/images/image.png')] [Bindable] public static var image:Class; getting exception: TypeError: Error #1009: Cannot access a property or method of a null object reference. at support::PublicConstants$/get

Re: [flexcoders] Flex Applicatin and Theme/CSS

2008-01-29 Thread Jehanzeb Musani
What I know about StyleManager is that it can load only styles SWF not CSS text files. I dont want to complie the CSS file into SWF file. The users of my application are familiar with CSS files so they want to edit it using text editors and want the application to update as per the updated CSS

Re: [flexcoders] Cazirngorn and AMFPHP1.9 HELP

2008-01-29 Thread Muzak
Make sure that Services is added to the Application document. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:business=com.packageName.projectName.business.* layout=absolute business:Services id=services / /Application The same goes for the Controller. regards, Muzak

Re: [flexcoders] Flex Applicatin and Theme/CSS

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Jehanzeb Musani wrote: flex application. The requirement is that once the application is deployed, it's theme can be changed by the users. For that I want to specify theme using CSS Beaware you can talk to the network, or the local machine, but not both, but other than

[flexcoders] Re: Module hell... Flex 3

2008-01-29 Thread Gaurav Jain
It sounds like in the first load the eventListener is not getting registered before the loadModule() method. Subsequent calls work because of the event listener added from the first attempt. I suggest you move moduleLoader.id = moduleName; moduleLoader.url = moduleName; to the very end.

[flexcoders] Re: xml data in a datagrid

2008-01-29 Thread atlas1j
Ugh, many thanks for the reply, but I don't have control over the xml feed that I was hoping to display. :-/ I had hoped flex would be flexible enough to accomodate this easily. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: you would at least need to change the

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Sherif Abdou
ya the rowCount property - Original Message From: Jehanzeb Musani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 10:16:49 AM Subject: [flexcoders] DataGrid Number of Rows Hello All, I am binding an arraycollection as DataGrid's data source. The number

Re: [flexcoders] Bar chart and labelUnits - help needed please

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Mark wrote: just fine but because I don't have the labelUnits set it starts at years. Is there a way to set it to begin at months while using the Either (re)set labelUnits after the new range is choosen or labelFunction could work it out based on your range too. --

Re: [flexcoders] RichTextEditor - format preservation

2008-01-29 Thread Daniel Freiman
Cort is right that earlier versions worked as he described, but that's not what's going on here. Earlier versions had issues with the way flash natively handled textfields, which has since been fixed. This issue sounds like it has something to do with defaultTextFormat being reset. - Dan

[flexcoders] Still very confused with object referencing

2008-01-29 Thread markgoldin_2000
I have this mxml fragment: mx:Canvas label=Consist1 width=100% height=100% id=consist1 accidents:consistTabSet id=consist1TabSet creationPolicy=all/ /mx:Canvas . Later on I am trying to do this: var PersonnelGrid:Object = accidentsModule[consist + consistnumber.toString() +

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread yigit
an extension to quick solution : if you can handle the cost of setting creationPolicy all in veiwStack ; use: mx:ViewStack width={vbox.selectedItem.dataProvider.length * 30} / bjorn - wrote On 01/29/2008 03:32 PM: Thanks for that - but each buttonbar contains dynamic data, so it's not given

[flexcoders] Re: Still very confused with object referencing

2008-01-29 Thread ben.clinkinbeard
Try this: accidentsModule[consist + consistnumber.toString() + TabSet].[ConsistPersonnel + consistnumber.toString()]; The period can't be a string, it needs to evaluate the first object, then use an actual period to know to drill down to find the second object. HTH, Ben --- In

Re: [flexcoders] Deleting Item from XMLList

2008-01-29 Thread Daniel Freiman
Normally that would be a great idea, but I am relying on the fact that flash passes around XML by reference and thus I can use it in things like dictionaries and UIDUtil. Any easy workaround is similar to your idea which is to create a second list by concatenation (instead of deleting from a

[flexcoders] How to refresh inside the grid.

2008-01-29 Thread Ganesh Suyampirakasam
When we add New userdetails .It has to be updates in Grid.which is another tab. When we click on save it is updated in DB but not in the Grid. If anyone know how to do pls Tell me ASAP -- Regards Ganesh Suyampirakasam Mascon Global Limited Ph :09995748284

Re: [flexcoders] please help in refreshing datagrid

2008-01-29 Thread Ganesh Suyampirakasam
Sorry no Idea I am also trying that On 1/29/08, rahultnath [EMAIL PROTECTED] wrote: Hi i am trying to add delete some user details to database.And i did that also.But problem is even after data deleted or added to database,the datagrid does not show the updated data.Else it has to be

[flexcoders] Preloading and states

2008-01-29 Thread johnmcauley47
Hello all, I have a large application with about forty chief states, each chief state has about, between 5 - 14 smaller states. My problem is in the loading. Although there are multiple chief states I only instantiate/load a chief state when it is called, however, each chief state takes a few

[flexcoders] Re: PopUpButton issue

2008-01-29 Thread vdeprojects
I'm having exactly the same problem - it's as if the PopupButton is suffering from Alzheimer. Scotts solution works great and I also think that not resetting the _popUp variable to null would be much better. If you don't think so it would be nice if you could make the method protected so we

[flexcoders] RegEx help

2008-01-29 Thread Nick Collins
I have a String that will contain camel-case characters that I would like to add an underscore before each capital letter. So for example, if I have MyStringName I would like to make it My_String_Name. Can anyone help me with the RegEx expression that would do this from a dynamic String? Thanks

[flexcoders] Why does this print a blank page?

2008-01-29 Thread jesse_bigfix
The code below results in a blank page, I don't understand why... ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.controls.Label; import mx.containers.VBox; import

[flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Kevin Aebig
Hey all, I'm building an application that can only copy certain items and only paste them in a certain situation. I'd like to disable the shortcuts and the custom menu items to accommodate this and avoid any potential errors. Anyone tackle this already or have an idea? Thanks for your

[flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread bjorn -
I have a problem with the label used by RadioButton - it truncates the text. Ideally I'd like to to have the text over several lines if there is no room for it (like mx:Text does). Is this possible? -- http://www.juicability.com - flex blog http://www.43min.com - funny

[flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread bjorn -
I've got three ButtonBars in a ViewStack, but this doesn't seem to work too well. The problem is that if I don't specify a height on the ViewStack all the ButtonBar's take the height of the first one. If the first one only has two elements while the next ones have ten, that's a problem. If I do

[flexcoders] Menu highlight skin

2008-01-29 Thread joaopccoelho
Hello group, Anyone knows if it's possible to skin the highlight indicator of the Menu class (or any other ListBase subclass for that matter)? TIA

Re: [flexcoders] Update viewstack view on each button click

2008-01-29 Thread yigit
creating the view again and again is not a good solution; instead you better use data binding and keepdata valid in a singleton model class... another (bad) solution is that, if your component do their business job themselves (connect to server, retrieve data); implement them an init function

Re: [flexcoders] Gauge, Dial, or Speedometer component

2008-01-29 Thread shaun
Cailie Crane wrote: Hello all, Trying to find a visual component that looks like a gauge, dial, or speedometer. Can anyone point me towards such a component (commercial or non-commercial) that can be used in a commercial web application? I did find a (Flex 1.5) gauge component from Peter

[flexcoders] Re: Cazirngorn and AMFPHP1.9 HELP

2008-01-29 Thread mixmi2004
txs Muzak --- In flexcoders@yahoogroups.com, Muzak [EMAIL PROTECTED] wrote: Make sure that Services is added to the Application document. mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; xmlns:business=com.packageName.projectName.business.* layout=absolute

[flexcoders] Re: xml data in a datagrid

2008-01-29 Thread caffeinewabbit
To my knowledge there's not a simple plug and play method for accomplishing what you want to do, so you'll have to perform some data transformation to get what you want. Luckily, when you're dealing with XML data, this is fairly easy thanks to E4X. What you'll have to do is write a some code that

RE: [flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Kevin Aebig
So there isn't a way to simply enable / disable the shortcuts. I'll look into what you both mentioned. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, January 29, 2008 11:46 AM To: flexcoders@yahoogroups.com Subject: Re:

Re: [flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread Sherif Abdou
u have a bit of code to show what ur trying to do or a picture at least - Original Message From: bjorn - [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 11:01:36 AM Subject: Re: [flexcoders] RadioButton's label - truncateToFit = false? That didn't fix

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
Thank you Troy for answer, what about arrays of embedded images, It will be nice to refer via index, what do you think, is it possible? --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED] wrote: That piece of code should be giving you a warning... I don't think you can bind to

RE: [flexcoders] Problem with Flex Builder 2 and .Net Web Service

2008-01-29 Thread Samuel R. Neff
I would strongly suggest switching to Flex Builder 3, even if you keep using Flex 2 SDK. Flex Builder 3 has improved .NET integration and will launch your application from the web site all the time, that way you never need to swap the URL's for dev vs production, just use relative URL's all the

Re: [flexcoders] Update viewstack view on each button click

2008-01-29 Thread Berkay Unal
Well i have solved the problem. My problem was when i reference a function that is making some design changes inside a viewstack it was giving an error reference null. I have fixed it with the callLater method. Now everyhing is fine Thanks On Jan 29, 2008 2:27 PM, yigit [EMAIL PROTECTED] wrote:

Re: [flexcoders] Maximum Image Size to Upload

2008-01-29 Thread Daniel Freiman
Officially, the flash player only supports up to 100 MB upload/downloads. ( http://livedocs.adobe.com/flex/201/langref/flash/net/FileReference.html#download%28%29). It is capable, but not guaranteed to handle larger files. Unofficially, I don't think there's a practical limit that anyone has run

[flexcoders] AS3: How to avoid loading the same asset repeatedly

2008-01-29 Thread ronnlixx
Say i have 400 objects that contain the same loaded png, whats the suggested way to avoid loading the same asset repeatedly? Here's what I did, don't know if it's nuts though. To avoid loading the same png every time I made a singleton of the PhotoFrame class and return a copy of the origional

Re: [flexcoders] Flex Applicatin and Theme/CSS

2008-01-29 Thread Sherif Abdou
I think this is the same as your idea http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExplorer.html - Original Message From: Jehanzeb Musani [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 11:10:25 AM Subject: Re: [flexcoders] Flex

[flexcoders] flex Outlook integration

2008-01-29 Thread Mohammad, Rafi
hi, I have developed a flex application.Now there is a button Email , which , when clicked , has to open a new outlook email window with to pointing to specific fields... does any one have a solution for this... appreciate your help.. regards, Rafi

Re: [flexcoders] RichTextEditor - format preservation

2008-01-29 Thread Cortlandt Winters
Hi Guys, I know it sounds nutty, but what I had to do in order to overcome this problem for an earlier version of the flash player that also worked this way is explicitly get the style properties of the previous character and apply it to the current character right after typing it (unless the

[flexcoders] flex Outlook integration

2008-01-29 Thread Mohammad, Rafi
hi, I have developed a flex application.Now there is a button Email , which , when clicked has to open a new outlook email window with to pointing to specific fields... does any one have a solution for this... appreciate your help.. regards, Rafi

Re: [flexcoders] Embedded image and static variable problem.....

2008-01-29 Thread Sherif Abdou
/** * The Static Image that we want to use */ [Bindable] [Embed(source='test.jpg')] public static var image:Class; private function initApp():void{ /** * Create the image class since it is a DisplayObject * and add it to wherever u want */ var TempImage:DisplayObject= new image();

Re: [flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Nick Collins
Just a thought, I don't know if there's an easier way but perhaps you could have an event listener that listens for the copy event, and then nulls out the copied value. On Jan 29, 2008 11:40 AM, Kevin Aebig [EMAIL PROTECTED] wrote: Hey all, I'm building an application that can only copy

Re: [flexcoders] Flex 2.0.2 Flash player compatibility

2008-01-29 Thread Tom Chiverton
On Monday 28 Jan 2008, rcoqueugniot wrote: Does somebody have a kind of compatibility matrix between Flex 2 and its dependent installed flash player 9.0.x ? AFAIK any Flex 2 app will run on any Flash Player 9. -- Tom Chiverton Helping to dynamically incubate holistic m-commerce on:

Re: [flexcoders] Embedded image and static variable problem.....

2008-01-29 Thread Troy Gilbert
That piece of code should be giving you a warning... I don't think you can bind to static instances because the binding mechanism uses an object as it's root, and in the case of a static there is no object. This is one situation where a Singleton is a good thing and is the reason (I believe) why

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread caffeinewabbit
Change [EMAIL PROTECTED]('/images/image.png')] to [Embed('/images/image.png')] The @ symbol isn't needed when you're embedding via script (as opposed to inline), and its causing the compiler to ignore the directive. Unfortunately, the compiler doesn't seem to give off any warning when it

Re: [flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread Sherif Abdou
Try this, extend the RadioButton then in the constructor of the new Class do textField.multiline=true; - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 11:14:23 AM Subject: Re: [flexcoders] RadioButton's label -

Re: [flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread Troy Gilbert
Yeah, you could do arrays, something like this: [Embed('myimage1.png')] private var myimage1:Class; [Embed('myimage2.png')] private var myimage2:Class; public var myimages:Array = [myimage1, myimage2]; In fact, I wrote a PHP script to generate just this kind of stuff once. You'd point the PHP

[flexcoders] -optimize compiler option

2008-01-29 Thread Steve Mathews
Is there any reason to not add -optimize=true to the compiler options? Can it cause issues anywhere?

Re: [flexcoders] AIR - Disable/Enable both Copy/Paste

2008-01-29 Thread Sherif Abdou
just disable the Icons, u can always remove the Event Listeners on the Custom Menu and then add them later. FOr the Copy and past you can play around with the selectable property - Original Message From: Kevin Aebig [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday,

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Jehanzeb Musani
Thanks Scott for the prompt reply. It is working now. However, the rowCount attribute will restrict the numbers of rows only if height attribute is not specified for the DataGrid (for example height=100%). --- Scott Melby [EMAIL PROTECTED] wrote: have you tried

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread yigit
a quick solution : mx:ViewStack width={vbox.selectedIndex == 0 ? 200 : 500} id=vbox / bjorn - wrote On 01/29/2008 02:56 PM: I've got three ButtonBars in a ViewStack, but this doesn't seem to work too well. The problem is that if I don't specify a height on the ViewStack all the

Re: [flexcoders] creating a new Livecycle DS project

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Bart Ronsyn wrote: If I use a local JRun server, everything works fine indeed, but what if I want to use a remote JBoss server.  My flex application will be downloaded from other servers/network than the JBoss server. Right, and it'll use the settings from the

Re: [flexcoders] ViewStack + ButtonBar combo layout problem

2008-01-29 Thread bjorn -
Thanks for that - but each buttonbar contains dynamic data, so it's not given that the first should be smaller than the second etc. I guess I could count the data, and then do some calculation on the height -- but it seems a bit hackish On 29/01/2008, yigit [EMAIL PROTECTED] wrote: a

Re: [flexcoders] RichTextEditor - format preservation

2008-01-29 Thread YOGESH JADHAV
I think yahoo's web messenger is using flex's RTE it is working. Hope anybody from that team is seeing this thread. On Jan 29, 2008 11:02 AM, Sherif Abdou [EMAIL PROTECTED] wrote: prob means will be in Flex 4 and not flex 3 - Original Message From: YOGESH JADHAV [EMAIL

[flexcoders] please help in refreshing datagrid

2008-01-29 Thread rahultnath
Hi i am trying to add delete some user details to database.And i did that also.But problem is even after data deleted or added to database,the datagrid does not show the updated data.Else it has to be restarted.(ie the mxml need to be run again to get it refresh)Can u suggest How to refresh

RE: [flexcoders] Why does this print a blank page?

2008-01-29 Thread Gaurav. Jain
You mean it shows the default flex theme but not the components? You may want to specify the layout=vertical or layout=horizontal in the mx:Application element. Thanks, Gaurav -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jesse_bigfix Sent:

[flexcoders] Cazirngorn and AMFPHP1.9 HELP

2008-01-29 Thread mixmi2004
Cazirngorn and AMFPHP1.9 Im having some problems sending Objects Error: C0007E: RemoteObject not found for Send1. public class SendGrassDelegate { private var responder :IResponder; private var service : AbstractService; public function

Re: [flexcoders] Re: xml data in a datagrid

2008-01-29 Thread Sherif Abdou
something like this gets the job done but i think there are better ways ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=initApp() mx:Script ![CDATA[ import mx.controls.dataGridClasses.DataGridColumn; [Bindable]

[flexcoders] Re: adding components ar run time

2008-01-29 Thread markgoldin_2000
What I am asking is if I can reference in the same way objects that have been physically described in mxml or added at the rim-time via addChild(..)? For example, I have a container that has some children with IDs. I reference these children like this: modulename.id (no container's name in a

Re: [flexcoders] RichTextEditor - format preservation

2008-01-29 Thread Daniel Freiman
Here's my theory of what's happening, if I understand you correctly: 1. The user update text. 2. Change Event is thrown. 3. Model is updated. 4. htmlText is bound to model so the model updates htmlText (this is the step where I'm not sure if I understand you correctly). 5. RTE properties are

Re: [flexcoders] flex Outlook integration

2008-01-29 Thread Tom Chiverton
On Tuesday 29 Jan 2008, Mohammad, Rafi wrote: hi, I have developed a flex application.Now there is a button Email , which , when clicked has to open a new outlook email window with to pointing to specific fields... naviagateToUrl() using the mailto:; syntax. -- Tom Chiverton Helping to

[flexcoders] Bar chart and labelUnits - help needed please

2008-01-29 Thread Mark
In a bar chart I'm using DateTimeAxis with a dynamic minimum and maximum. The dynamic max and min dates are coming from initial max and min from the Axis then I have a two sided slider bar to change those dates and filter the data. I don't have the labelUnits set so that axis will

[flexcoders] Re: Still very confused with object referencing

2008-01-29 Thread markgoldin_2000
it looks like it works like this: accidentsModule[consist + consistnumber.toString() + TabSet][ConsistPersonnel + consistnumber.toString()]; with no dot. --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Try this: accidentsModule[consist +

[flexcoders] Possible to discern between inline style and style from type selector?

2008-01-29 Thread ben.clinkinbeard
As part of my well-documented default styling efforts I have come upon a need for doing what the title describes. Basically I need to figure out how to determine where a style was assigned. For example, Panel has a titleStyleName style that defaults to windowStyles. You can obviously override this

Re: [flexcoders] AS3: How to avoid loading the same asset repeatedly

2008-01-29 Thread Sherif Abdou
can't u just check the name of the photo, id of the photo - Original Message From: ronnlixx [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 8:56:03 AM Subject: [flexcoders] AS3: How to avoid loading the same asset repeatedly Say i have 400 objects that

[flexcoders] DataGrid Number of Rows

2008-01-29 Thread Jehanzeb Musani
Hello All, I am binding an arraycollection as DataGrid's data source. The number of items in the arraycolleciton varies at runtime. If the arraycollection contains only 2 items, even then the datagrid displays default 5/6 rows. Is there a way to configure datagrid to display the number of rows

Re: [flexcoders] RadioButton's label - truncateToFit = false?

2008-01-29 Thread bjorn -
That didn't fix it, they're still truncated ... On 29/01/2008, Sherif Abdou [EMAIL PROTECTED] wrote: just call the invalidateSize(); - Original Message From: bjorn - [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, January 29, 2008 6:58:30 AM Subject:

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Scott Melby
have you tried rowCount={yourArrayCollection.length}? hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Jehanzeb Musani wrote: Hello All, I am binding an arraycollection as DataGrid's data source. The number of items in the arraycolleciton varies at runtime.

[flexcoders] Re: Embedded image and static variable problem.....

2008-01-29 Thread lytvynyuk
Thank you for suggestion, Sherif, but it is not straight-forward anpproach and looks like work around, no solution. Especially if I will have 10-15 images like that. --- In flexcoders@yahoogroups.com, Sherif Abdou [EMAIL PROTECTED] wrote: /** * The Static Image that we want to use */

  1   2   >