Re: [flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-13 Thread Wesley Acheson
I considered that but say you have four tab where any one can be on or off. that 8 different view states. On Thu, Aug 13, 2009 at 4:41 AM, jaywood58 jayw...@san.rr.com wrote: An easy way might be to use different viewstates (e.g., a base state without the restricted tab, and a derived state

RE: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Gregor Kiddie
I use both, mainly answering questions rather than asking them. It's obvious that the majority of the new members of the community have migrated to the forums rather than this list, which generates a lot of noise, which lowers its usefulness to anyone who surfs for useful posts. The mailing list

[flexcoders] How to search a file name and its path in local machine using adobe AIR

2009-08-13 Thread Adarsh Agrawal
Hello, i'm strugling with above mentioned subjetc line. can any body help me  regarding this.   actually i've to load a file wchich is stored in local machine..so i've to find ou t the path where the file is stored and then i've to load the file..   thanks in advance   regards, adarsh 

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Andriy Panas
Hi all, Adobe Forums are definitely the future for the main communication medium for Adobe Flex experts. Forums in general are way superior to mailing lists to exchange the knowledge on the Internet. Things that jump into my mind first - Adobe Forums have better text and code

RE: [flexcoders] How to search a file name and its path in local machine using adobe AIR

2009-08-13 Thread Gregor Kiddie
Take a look at the File class http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html It's AIR only. You can use it to reference files by path, load them and manipulate them. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread

[flexcoders] Re: How to run another air application from air application

2009-08-13 Thread vladakg85
Hi, you help me a lot, but now I have some strange problem: This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance. I make one relase 0.0.1. and install on client. I make new relase 0.0.2. I put new relase on

Re: [flexcoders] Re: How to run another air application from air application

2009-08-13 Thread Ian Thomas
On Thu, Aug 13, 2009 at 11:07 AM, vladakg85vladak...@yahoo.com wrote: Hi, you help me a lot, but now I have some strange problem: This application cannot be installed because this installer has been mis-configured. Please contact the application author for assistance. If you're having

[flexcoders] Re: How to run another air application from air application

2009-08-13 Thread vladakg85
Yes, but I don;t want to use framework. I have to make manual update. I have methods that check if there is new version on server,manually download new version from server, and manually run installer, but I recived this message. This application cannot be installed because this installer has

Re: [flexcoders] Re: How to run another air application from air application

2009-08-13 Thread Ian Thomas
On Thu, Aug 13, 2009 at 11:44 AM, vladakg85vladak...@yahoo.com wrote: Yes, but I don;t want to use framework. I have to make manual update. I have methods that check if there is new version on server,manually download new version from server, and manually run installer, but I recived this

[flexcoders] Re: How to run another air application from air application

2009-08-13 Thread vladakg85
No, download goes ok, if I run file.air manually update is OK. Old version is replaced with new. This is how I get file: urlStream.addEventListener(Event.COMPLETE, loaded); urlStream.load(urlReq); private function loaded(event:Event):void

[flexcoders] Re: ameature question but am desperate

2009-08-13 Thread stinasius
when i use the following code private function insertHandler( ):void{ if (cat.selected == true) { catManager.cats( cats); } } i get the following error Unable to invoke CFC - The CAT argument passed to the cats function is not of type boolean.

[flexcoders] How to handle Remote Service retries?

2009-08-13 Thread kevnug
Let me say firstly that I have posted this in the Adobe Cairngorm forum but got no replies so hoping someone here can help me (I'll update the forum thread when I get an answer). -- Hi, I'm using Cairngorm for my flex apps which have a lot of database/server interaction. Occasionally my

[flexcoders] How to get the DataGridColumn where a drop occurred

2009-08-13 Thread marc.gigu...@ymail.com
Hi, I'm fairly new to Flex and I'd appreciate your help. I'm trying the following: I have a DataGrid with 28 columns representing a calendar of some sort with dropEnabled set to true and all the drop events defined (dragEnter, dragExit, dragDrop). This part works very well. The leftmost

Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Jeffry Houser
Why all the cloak and dagger response stuff? Did you get asked this on an interview? Or are you testing responses to a question you want to ask while interviewing? Dave Glasser wrote: Consider this code snippet: var xml:XML = outerinnernull/inner/outer; var xmlList:XMLList =

[flexcoders] alt+f4 Short cut key

2009-08-13 Thread jitendra jain
Hi friends,   I want to implement alt+f4 key functionality in my swf application. How can I override the browser keys? Any help will be appreciated Thanks, with Regards, Jitendra Jain Software Engineer 91-9979960798 Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download

Re: [flexcoders] Re: How to run another air application from air application

2009-08-13 Thread Tom Chiverton
On Thursday 13 Aug 2009, vladakg85 wrote: Yes, but I don;t want to use framework. I have to make manual update. By writing your own framework ? Why bother... ? I don't see you having any particularly odd requirements. -- Helping to autoschediastically deploy IPOs as part of the IT team of the

[flexcoders] Flex Sprite Double click not working

2009-08-13 Thread Sajid Hussain
very strange and annoying issue I m facing I have one sprite with drawing api I have one circle init ,where I m trying to call double click but its not working where as mouseup or down and click function working Sajid

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Tom Chiverton
On Thursday 13 Aug 2009, Andriy Panas wrote: Adobe Forums are definitely the future for the main communication medium for Adobe Flex experts. I have to disagree. Things that jump into my mind first - Adobe Forums have better text and code formatting support, Not needed. pretty good

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Ian Thomas
On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panasa.pa...@gmail.com wrote: Forums in general are way superior to mailing lists to exchange the knowledge on the Internet. My main issue with that is: Mailing lists are push. Forums are pull. I'm on 6 or 7 different mailing lists. There's no way

Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
Neither. It's for amusement only, for anyone who wants to take a crack at it. And the cloak and dagger response stuff, is, as I explained, so those who would like to take a crack at it can do so without being influenced by others' answers. --- On Thu, 8/13/09, Jeffry Houser j...@dot-com-it.com

RE: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Gregor Kiddie
It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum directly... Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Paul Andrews
Ian Thomas wrote: On Thu, Aug 13, 2009 at 10:26 AM, Andriy Panasa.pa...@gmail.com wrote: Forums in general are way superior to mailing lists to exchange the knowledge on the Internet. My main issue with that is: Mailing lists are push. Forums are pull. I'm on 6 or 7 different

[flexcoders] 2 Flex App on an unique URL

2009-08-13 Thread christophe_jacquelin
Hello, I have two flex application that I want to put on an unique website. I don't want to use modules. How to organise the web site to launch the 2 applications ? Thank you, Christopher,

[flexcoders] Multiple currencies

2009-08-13 Thread christophe_jacquelin
Hello, How to manage a paiement system with several currencies (Euros and Dollars) in a flex application ? Thank you, Christopher

re: [flexcoders] 2 Flex App on an unique URL

2009-08-13 Thread Wally Kolcz
Two different host html pages and one page linking them. I.E. clients.html (client.swf application) and admin.html (contains admin.swf) From: christophe_jacquelin christophe_jacque...@yahoo.fr Sent: Thursday, August 13, 2009 6:36 AM To:

Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Jeffry Houser
Although I did enjoy reading the answers of others; it is unusual to see queries like this on the list, especially with so many disclaimers. Dave Glasser wrote: Neither. It's for amusement only, for anyone who wants to take a crack at it. And the cloak and dagger response stuff, is, as I

re: [flexcoders] 2 Flex App on an unique URL

2009-08-13 Thread Wally Kolcz
Or have a main app that uses the navigateToURL to two different HTML pages that contain the apps. Or since all the app is is a swf, embed 2 swf's on one HTML page. From: christophe_jacquelin christophe_jacque...@yahoo.fr Sent: Thursday, August 13, 2009

[flexcoders] Connecting to remote JMS: name TopicConnectionFactory not bound

2009-08-13 Thread vermeulen_bas
Dear all, I'm trying to send messages from and to a remote JMS (activemq) (it is on localhost now for testing purposes). However, I keep getting error messages no matter how I try. The message is: INFO: [LCDS] [INFO] JMS consumer for JMS destination 'java:comp/env/jmz/topic/flex/simpletopic

[flexcoders] How to AIR applications can access files from remote SMB shares

2009-08-13 Thread Shayed Ahammed (dedar)
can any body help me to connect with SMB? Thanks

[flexcoders] How to control cahing in flex3....

2009-08-13 Thread lokee_mca
Hi all, How to control the image caching in flex3. i.e i need to stop the images to store into temporary internet files. Plz help me Regards, Lokesh

[flexcoders] Flex integration with SAP no login

2009-08-13 Thread shailesh_natu
Hi, I am trying to get data from SAP for my Flex application using webservice. It ask me to login to system to get SAP data. Is there any wayout through which I can pass user/password so that whenever I execute my Flex application will not ask me login credentials.

re: [flexcoders] Multiple currencies

2009-08-13 Thread Wally Kolcz
Sets a variable (via combox box, link, locale) that directs a function that performs a currency conversion (math) From: christophe_jacquelin christophe_jacque...@yahoo.fr Sent: Thursday, August 13, 2009 6:38 AM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: Open network share in Explorer and Finder

2009-08-13 Thread Shayed Ahammed (dedar)
You got any solution at last? I also need SMB or AFP connection. --- In flexcoders@yahoogroups.com, Chad Gray cg...@... wrote: Ok, in safari if I type afp://server/share it mounts the share. If I put this in my AS the button does not launch the browser. I have a feeling the URLRequest

[flexcoders] Flex integration with SAP no login

2009-08-13 Thread shailesh_natu
Hi, I am trying to get data from SAP for my Flex application using webservice. It ask me to login to system to get SAP data. Is there any wayout through which I can pass user/password so that whenever I execute my Flex application will not ask me login credentials.

[flexcoders] Re: BitmapData and Matrix: teach a man to fish (aka matrix).

2009-08-13 Thread flexaustin
So I made the following changes: FROM THIS:- numberOfPDFPanelsHigh = Math.max( 1, Math.round(( (_bounds.height * _percentageToScalePrintOut) / imageHeight) + 2.5) ); numberOfPDFPanelsWide = Math.max( 1, Math.round(( (_bounds.width * _percentageToScalePrintOut) /

[flexcoders] Re: IS IT POSSIBLE??Load an SWF in another SWF using 2 diff loaderContext appdomain

2009-08-13 Thread valdhor
I don't use loaders - I use modules. Here is a quick and dirty example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ private function

[flexcoders] High CPU usage when I hover and remain in AdvaceddataGrid cell

2009-08-13 Thread garfild190
Hi guys, I created a tree using AdvancedDataGrid and I have 2 very very troubling problems. 1. When I hover over a cell which I have a renderer for, The cpu goes up to 30 and stay there, even if I'm not moving the mouse. 2. For 1000 rows the vertical scroll is realy legging behind the mouse.

[flexcoders] crossdomain.xml trhough https (IIS)

2009-08-13 Thread Flap Flap
Hi all, I have an IIS server that can serve both http and https webservice. I must access webservice from local swf file to both protocol. So I have my crossdomain.xml like that : - # cross-domain-policy allow-http-request-headers-from domain=*** headers=*** secure=* false* /

Re: [flexcoders] *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Tom Chiverton
On Thursday 13 Aug 2009, Dave Glasser wrote: Neither. It's for amusement only, for anyone who wants to take a crack at it. And the cloak and dagger response stuff, is, as I explained, so those who would like to take a crack at it can do so without being influenced by others' answers. I would

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Tom Chiverton
On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than visiting the forum directly... Last time I checked, this was utterly broken. With mangled bodies, mangled subject lines and the lack of correct headers to

[flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-13 Thread jaywood58
An easy way might be to use different viewstates (e.g., a base state without the restricted tab, and a derived state that includes the restricted tab), then simply set the appropriate viewstate based on user permissions. Similar to your init() code, it might look something like: if

[flexcoders] Re: crossdomain.xml trhough https (IIS)

2009-08-13 Thread Flap Flap
Ok, so I narrow down the scope : In fact I have three crossdomain.xml file one is the root : cross-domain-policy site-control permitted-cross-domain-policies=all/ /cross-domain-policy and two others in 2 different virtual directory for the webservices with that : cross-domain-policy

Re: [flexcoders] Charts - how to disable the little arm stroke to the chart dataTip

2009-08-13 Thread thomas parquier
I'm not sure, but I think the following style applied to your chart should do the trick : callout-stroke: ClassReference(null); thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable :

[flexcoders] RegExpValidator Not working with code-behind

2009-08-13 Thread Geoffrey
We use the code-behind technique to attach AS to MXML. Doing this has caused an interesting issue with RegExpValidator. If the regular expression is defined in the AS file and contains a quantifier, it causes validation to act funky. In the following example, if you type about 20 zeroes into

Re: [flexcoders] RegExpValidator Not working with code-behind

2009-08-13 Thread Ian Thomas
Geoff, Try: public var validIPExpression:RegExp = /^(([01]?[0-9]\{1,2\}|2[0-4][0-9]|25[0-5])\.)\{3\}([01]?[0-9]\{1,2\}|2[0-4][0-9]|25[0-5])$/; instead. Could be because by directly specifying the expression, the MXML-AS parser correctly decides to treat it as a RegExp. But when directly

[flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread jaywood58
--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Wednesday, August 12, 2009 9:33 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] *** So you think you

[flexcoders] Sandbox Bridge Help!

2009-08-13 Thread Allan Pichler
Hi all and thank you for a great mailing list. I'm trying to use the parentSandboxBridge, but I can't really find any good explanations of it. Here is what i'm trying to do. I have an AIR application where the users can create overlays on a video file. One example of this would be to place a

[flexcoders] mxmlc compiling errors with swc created with flash cs4

2009-08-13 Thread icecreamrapper
Hi, I am building up an ANT task which is giving me some grief when the compilation occurs. I have 3 SWC's. One of them contains a few movieclips I converted to a SWC to use as animated graphics in my UI. FlexBuilder compiles the file with no problems. When I run ANT task and it hits the

re: [flexcoders] Re: ameature question but am desperate

2009-08-13 Thread Wally Kolcz
I was getting the same CFC cannot be invoked error. What I found out, from my set up, that I was using MySQL and you cannot add a true/false to the database as a Boolean field. Its either a 1 or 0. If you create a varchar field, the code works fine. Not sure what type of DB you were using or

RE: [flexcoders] Flex Sprite Double click not working

2009-08-13 Thread Gordon Smith
You have to opt in to doubleclicks. An InteractiveObject doesn't dispatch a DOUBLE_CLICK event when it is double-clicked unless its doubleClickEnabled property is true. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Sajid

[flexcoders] Re: RegExpValidator Not working with code-behind

2009-08-13 Thread Geoffrey
Didn't seem to help. I changed the String to a RegExp, escaped and didn't escape the {} characters, and also tried with and without the [Bindable] metadata tag. As long as the regular expression is in the actionscript file, it just doesn't work properly. Actually, in this instance, nothing

[flexcoders] Re: Flex integration with SAP no login

2009-08-13 Thread valdhor
Does the web service allow you to send login credentials as part of the XML? If so, how? (Envelope or headers) --- In flexcoders@yahoogroups.com, shailesh_natu shailesh_n...@... wrote: Hi, I am trying to get data from SAP for my Flex application using webservice. It ask me to login to

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Tracy Spratt
Ah, I see something I missed at first. This example is using literal xml, so the null IS getting interpreted by AS as null and not as a string. I bet it would be different if you did: var xml:XML = XML(outerinnernull/inner/outer); Even so I am still surprised because the null should be the

[flexcoders] any tool can create Java entities from as 3 VOs?

2009-08-13 Thread markflex2007
Hi I have build many AS3 VOs (about 150),may I use some tool to create java VOs from the AS 3 VOs. Thanks Mark (PS:VO:Value Object(Properties and get/set mothods))

Re: [flexcoders] alt+f4 Short cut key

2009-08-13 Thread Mark Lapasa
The day Flash Player provides alt-f4 support is the day when World of Warcraft provides it too http://forums.worldofwarcraft.com/thread.html?topicId=12454665647 jitendra jain wrote: Hi friends, I want to implement alt+f4 key functionality in my swf application. How can I override the

[flexcoders] manual update of air by opening new version fails - but update framework works

2009-08-13 Thread arieljake
We are able to use the update framework to update our apps, and I remember at one point, users could double click a newer version of our .air file to update their program, but that has stopped working. What needs to be in place for that type of manual update to work? Thanks.

Re: [flexcoders] Re: TabNavigator changing from MXML to actionscript.

2009-08-13 Thread Wesley Acheson
I have it working now thanks for all your assistance. On Thu, Aug 13, 2009 at 5:44 PM, jaywood58 jayw...@san.rr.com wrote: An easy way might be to use different viewstates (e.g., a base state without the restricted tab, and a derived state that includes the restricted tab), then simply set

Re: [flexcoders] This mailing list vs the forum.

2009-08-13 Thread Wesley Acheson
I don't think I'm going to bother joining the forums then. On Thu, Aug 13, 2009 at 5:38 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 13 Aug 2009, Gregor Kiddie wrote: It does have to be said, I use the Mailing list functionality of the Adobe forums rather than

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
Actually, no. It would interpret it as null if it were enclosed in curly braces like this: var xml:XML = outerinner{null}/inner/outer; And even then, null might be converted to its String value, null, as the content of the element. I'd have to try it to know for sure. In the example I

[flexcoders] Re: any tool can create Java entities from as 3 VOs?

2009-08-13 Thread Geoffrey
I've used XDoclet to create VOs from Java Beans, so I'd imagine the process can work in reverse. Here's the xml XDoclet uses: project name=value-object-generator default=main property name=xdoclet.plugin.install.dir value=C:/eclipse/xdoclet-plugins-dist-1.0.4/ path id=xdoclet.task.classpath

[flexcoders] Re: any tool can create Java entities from as 3 VOs?

2009-08-13 Thread Geoffrey
This is the plugin I used. http://docs.codehaus.org/display/XDOCLET/Actionscript+plugin Maybe someone made a plugin that goes the other way, AS to Java. Geoff --- In flexcoders@yahoogroups.com, Geoffrey gtb...@... wrote: I've used XDoclet to create VOs from Java Beans, so I'd imagine the

Re: [flexcoders] drawings dont get clipped by holder

2009-08-13 Thread thomas parquier
Well, actually the contentHolder (said as a uicomponent) is a class extending uicomponent and overriding measure(), which is using getBounds(). Also drawing is done into sprites within the contentHolder. The problem is drawings arent clipped till a certain distance of moving, which corresponds I

[flexcoders] Data binding inside Repeater?

2009-08-13 Thread gmbroth
Hi, I'm having a bit of trouble using the following combination of data binding and Repeater and could use some enlightenment: mx:ArrayCollection id=fred some data here... /mx:ArrayCollection mx:ArrayCollection id=measurements mx:Object dataProvider={fred} / /mx:ArrayCollection

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Tracy Spratt
Ok, if you say so. What is the result of your investigation? It gets kind of complicated because AS does implicit toString() sometimes which can hide what is really happening. Do: trace(xmlList == null); and trace(xmlList == null); return the same result? Tracy Spratt, Lariat

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Gordon Smith
Does anybody want to try to figure out what the E4X spec says it should do? It's certainly possible that the Player implementation of E4X is doing it wrong. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent:

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
--- On Thu, 8/13/09, Tracy Spratt tr...@nts3rd.com wrote: Ok, if you say so. What is the result of your investigation? I just checked, and it does indeed convert null to null. So it's effectively the same with or without the curly braces. The element contains a String 4 characters long.

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Dave Glasser
By my reading, everything seems to be working how it's supposed to work. But how it's supposed to work is very surprising to me. And it's not really E4X that's producing the odd behavior, it's the == operator. I'll go ahead and post the answer and explanation in my next message. --- On Thu,

RE: [flexcoders] Re: *** So you think you know ActionScript? (Read original post first) ***

2009-08-13 Thread Gordon Smith
Well, the == operator produces a lot of interesting behavior. That's why there's a === operator. ☺ Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dave Glasser Sent: Thursday, August 13, 2009 4:39 PM To:

[flexcoders] *** So you think you know ActionScript? (THE ANSWER) ***

2009-08-13 Thread Dave Glasser
Consider this code snippet: var xml:XML = outerinnernull/inner/outer; var xmlList:XMLList = xml.inner; trace(xmlList == null); What does the trace statement output, true or false, and why? Well, first, let's stipulate that the innner element in the XML object contains the String null. It's not

[flexcoders] regex: keyword search

2009-08-13 Thread Baz
Users provide keywords separated by spaces through an input box, and I would like to see if they all exist in a certain text. So for example if a user provides flex awesome or awesome flex they should both match the phrase flex is quite awesome. The following regex won't work because it is order

[flexcoders] ItemRenderer Effects Virtualization

2009-08-13 Thread Baz
Is it possible to implement effects on virtualized itemrenderers? What about if the change in underlying data is based on an ArrayCollection filterFunction? Basically, I show/hide items based on keywords users type. I would like to fade the items in and out when they are shown/hidden. The