Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
Haha Amy, that's a good one. Maybe it should :) But seriously, dispatchEvent is nothing more than a function call, which calls all the event handler methods. Of cause you can think of pathologic examples like Paul likes to do :) But this is really the same with function calls. It is completely syn

Re: [flexcoders] problem with sample flex application with LCDS

2008-12-09 Thread shruti shety
Hi I have a print statement in the "fill" method of the class which extends AbstractAssembler.Thats not getting printed on the console. I dont get any errors also. When i click on the button the screen just refreshes. Thanks, Radhika --- On Wed, 12/10/08, Brendan Meutzner <[EMAIL PROTECTED]>

Re: [flexcoders] problem with sample flex application with LCDS

2008-12-09 Thread Brendan Meutzner
Can you elaborate a bit on what you mean by "not getting called"? Where is the failure occurring? Brendan On Wed, Dec 10, 2008 at 12:58 AM, shruti shety <[EMAIL PROTECTED]>wrote: > Hi, > > I am working on a sample application with flex (and LCDS data services) and > have been experimenting

RE: [flexcoders] Change Timezone

2008-12-09 Thread Keith Reinfeld
Pratik, > I would like to know if there is any way to dynamically change the > timezone in flex. Not literally, no. > Say suppose we have local time and few check boxes to see time in > other timezones. When you check and uncheck the check box the time > changes according to the selected ti

[flexcoders] problem with sample flex application with LCDS

2008-12-09 Thread shruti shety
Hi, I am working on a sample application with flex (and LCDS data services) and have been experimenting with directly calling the fill method (extending AbstractAssembler) as a way of poking data into a server-side DB. Every time I try to run my test case fill is not getting called . I'd appreciat

Re: [flexcoders] Filtering the List Entries depending upon the text entered in text Input box

2008-12-09 Thread SAAGAR SHETTY
Go through this sitehttp://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/ The techniques used here will surely make it easy for you, Regards, Saagar Shetty www.xoriant.com From: Alex Harui <[EMAIL PROTECTED]> To: "flexcoders@yahoogroups.com" Sent: W

[flexcoders] Tilelist image help

2008-12-09 Thread arulmurugan thiagarajan
Hi, http://www.calsoftgroup.com/samspick/index.html Using a Tilelist to show a books title, image, description, rating, authorurl. The image is not rendered it is different from what I am seeing in a picture viewer. actual image width = 100 and height =150 (Image url http://www.calsoftgroup.co

RE: [flexcoders] Filtering the List Entries depending upon the text entered in text Input box

2008-12-09 Thread Alex Harui
I'd try using XMLListCollection instead of ArrayCollection From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj sharma Sent: Tuesday, December 09, 2008 5:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Filtering the List Entries depending upon the text ente

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Paul Andrews
Here is a trivial example using dispatchEvent to show the synchronous invocation of listeners that could (if badly written) interfere with innocuous code. Normally when the "click to count" button is pressed, the count goes from 1 to 10. If the button to enable despatching the event is pressed,

Re: [flexcoders] AIR app uninstall issue - database stays in applicationStorageDirectory forever?

2008-12-09 Thread Alen Balja
Because they have stored bookmarks, notes and other stuff with their product. They uninstall the product, install it again and they're still there. It's marked as critical with their QA and I don't think we could get away with it. Well, I guess I could tell them that Adobe knows better than them, a

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Amy
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > > - Original Message - > From: "Ralf Bokelberg" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, December 09, 2008 3:00 PM > Subject: Re: [flexcoders] Re: Parsley MVC :: some thoughts > > > > Hi Amy > > > > Afai

[flexcoders] SocetMonitor not working as expected

2008-12-09 Thread Geoffrey
Trying out the SocketMonitor and what I'm experiencing is not what I'm expecting to happen. Here's a code snippet: __sm = new SocketMonitor(HOSTNAME, PORT_NUMBER); __sm.addEventListener(StatusEvent.STATUS, onNetworkStatusChange); __sm.start(); The onNetworkStatusChange() method gets called when

[flexcoders] Change Timezone

2008-12-09 Thread pratikshah83
Hi Guys, I would like to know if there is any way to dynamically change the timezone in flex. Say suppose we have local time and few check boxes to see time in other timezones. When you check and uncheck the check box the time changes according to the selected timezone. This would not depend on

RE: [flexcoders] Disable Runtime Binding Warnings

2008-12-09 Thread Tracy Spratt
Those warnings are correctable. Wrap the node expression, which is probably currentItem or data, or selectedItem which are objects, in the XML() function. text="{XML(myDG.selectedItem).myNode.text()}" Tracy From: flexcoders@yahoogroups.com [mailto:[

Re: [flexcoders] Filtering the List Entries depending upon the text entered in text Input box

2008-12-09 Thread anuj sharma
Sorry Guys I posted another mail in the group. I thought it was working but it is not going through each node, it is just comparing with the id of the first node of my XML , Below is the code , I apologize for jumping to the conclusion that it is working as initially it seems like. I am doing somet

[flexcoders] Disable Runtime Binding Warnings

2008-12-09 Thread stoff0
Is there anyway to stop binding warnings (or all warnings from being logged to the console)? I've tried to turn off warnings with compiler arguments like: -compiler.show-binding-warnings=false -warnings=false I also tried unchecking "enable warnings" checkbox in flex builder. It looks like none

[flexcoders] Re: Locally generated Flex content not working with IE7

2008-12-09 Thread walveranta
I added the local dev server to the trusted sites in IE7 and enabled basically all JavaScript settings for trusted sites. Then I went on to disable all installed add-ons, to no avail. So I reset IE7 (Tools > Ineternet Options > Advanced > Reset > Reset), then reinstalled the ActiveX Flash player (

Re: [flexcoders] Filtering working partially, Looping through just the first node of XML.Pls Help

2008-12-09 Thread anuj sharma
Sorry forgot to add text box code doChange is called the moment user starts entering text in the text input Thanks for all of your time Anuj On Tue, Dec 9, 2008 at 4:10 PM, anuj181 <[EMAIL PROTECTED]> wrote: > Hi All > Guys This is regarding the problem I had few days back. I made > filtering

[flexcoders] Filtering working partially, Looping through just the first node of XML.Pls Help

2008-12-09 Thread anuj181
Hi All Guys This is regarding the problem I had few days back. I made filtering of the List partially working for my app after taking some help from this group, but I realize a bug in my program. I am making rest calls to load data in form of XML in List. I need to apply filter on this list. Depend

RE: [flexcoders] speed of the "for each" looping

2008-12-09 Thread Alex Harui
They are different animals. Scenarios where you could choose between index-based or property-based iteration don't come to mind. Also note property-based iteration can perform much more slowly iterating proxy-based objects, and do not work on sealed non-dynamic classes. -Alex From: flexcoders

Re: [flexcoders] speed of the "for each" looping

2008-12-09 Thread Josh McDonald
*nods* I find that it's often much easier to read when you use for..in and for each..in rather than regular for. And since you need to have a "var current = list[i]" or similar as the first line, If you only need an index to display, or it's 1-based as opposed to 0-based, using a "for [each]..in"

RE: [flexcoders] speed of the "for each" looping

2008-12-09 Thread Maciek Sakrejda
Interesting. I decided to actually try my test above, and on 100 items, the for-each version takes ~50 milliseconds, versus ~25 milliseconds for the explicitly indexed loop. When doing some actual work in the loop (a trace), the numbers are 41.9 seconds for the for-each and 41.1 seconds for the

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Amy
--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > Hi Amy > > Afaik this is not possible in Flashplayer. A block of code is always > running through without any interuption. Colin Moock has a good > chapter of how all this works in his nice AS3 book. Apparently th

RE: [flexcoders] Failed to load policy file from http://localhost:8881/crossdomain.xml

2008-12-09 Thread Alex Harui
Read the Security WhitePaper. Looks like a SWF is trying to access the host server. Might be an bad assumption in that SWF. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of luvfotography Sent: Tuesday, December 09, 2008 1:09 PM To: flexcoders@yahoogroups.com Subject: [fl

RE: [flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread Alex Harui
If you don't own the content, the FCK won't help you. You'll need to wrap the content and implement your own tabbing scheme. Difficulty Rating 8 out of 10. You'd need a SWFLoader subclass that implements IFocusManagerComponent. It would need a keyFocusChange handler that calls preventDefault

RE: [flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Ryan Graham
Ah, good deal. Glad it worked out! -Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kyle Sent: Tuesday, December 09, 2008 3:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: getBitmapData from a scaled display object Ryan I could kiss you right

[flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Kyle
And for anyone that may be running into a similar issue here is a basic (and somewhat messy) example of how to accomplish what has been discussed in this thread. I've posted the entire app, so you should be able to simply copy and paste.. http://www.adobe.com/2006/mxml"; layout="absolute" creat

[flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Kyle
Ryan I could kiss you right now (thankfully for my sake of my masculinity the internet will prevent this from happening)! I kep thinking on what you posted about grabbing the data by referencing the parent, and then it hit me.. I placed the entire canvas inside of another container, then called get

RE: [flexcoders] Anything other than a JS alert can delay a window close?

2008-12-09 Thread Tracy Spratt
Use javascript and XMLHTTP to update the database instead of Flex? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wkolcz Sent: Tuesday, December 09, 2008 5:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Anything other

RE: [flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Ryan Graham
That's weird - the code I posted below looks like it produced the 400 x 400 PNG at near identical quality to the original. In theory, drawing the 400 x 400 pixel area of the stage that the child has been drawn at should produce the correct result. You sure you drew the application.stage object, a

[flexcoders] Anything other than a JS alert can delay a window close?

2008-12-09 Thread wkolcz
Pretty much what I asked in the subject line. I need Flash to submit to a database before the window closes and the flash instance dies. Don't think that a pop up (alert) is an option for our sites. Using JS and ExternalInterface to communicate with flash (AS) to push to a HTTPRequest data to

[flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Kyle
Hey Ryan, That was a great idea, something I definately had not tried yet. Unfortunately, referencing the child from a parent did not seem to produce any better results. The issue still stands that the getBitmapData method (as well as bitmapdata produced by using the ImageSnapshot class) do not res

[flexcoders] Re: Custom CheckBox icon?

2008-12-09 Thread oneworld95
Check this out: http://www.adobe.com/devnet/flex/articles/icon_checkbox.html -Alex --- In flexcoders@yahoogroups.com, "tungchau81" <[EMAIL PROTECTED]> wrote: > > Do you have an answer for this yet? I am running into the same problem. > > Regards, > Tung Chau > --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Custom CheckBox icon?

2008-12-09 Thread tungchau81
Do you have an answer for this yet? I am running into the same problem. Regards, Tung Chau --- In flexcoders@yahoogroups.com, "Jason" <[EMAIL PROTECTED]> wrote: > > Does anyone know how to set the default 'check' icon of a CheckBox to > a different image? I would like to use an 'x' instead of the

RE: [flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Ryan Graham
Oh, I see... This seems like a bit of a hack, and could probably be coded a bit cleaner, but maybe do the drawing from a parent container and just set a clipping rectangle equal to the location and size of the scaled object? If it works, I'd be curious to know. Here, the stage was used: bitma

[flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread aut0poietic
Thanks for the tip Alex. I'm googling now, but I'm curious how this could be of benefit to me for a MovieClip on stage. Content designers build the SWF's that my application loads in, which consists of simple MovieClips, images, vector graphics and some interactions (like drag/drops or a multiple

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
Alex, Thanks a bunch. Days of frustrated work make you overlook whats staring you in the face sometimes. In searching for answers I've noticed your work and responses across the flex world. You do excellent work in you blog and responses helping us 'beginners' out.

[flexcoders] Re: getBitmapData from a scaled display object

2008-12-09 Thread Kyle
Hey Ryan, Thanks for the thought; however, this doesn't solve my problem. The problem is this: The children of the canvas that I want to scale up are all vector (swf files). If I use a matrix or any other method to scale up the graphics after they are in raster format (bitmapdata) then the quality

RE: [flexcoders] Locally generated Flex content not working with IE7

2008-12-09 Thread Wildbore, Brendon
Sounds like an issue with the javascript in the html template you are using rather than an issue with the generated flex swf file. Check your ie browser javascript settings... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of walveranta Sen

[flexcoders] Locally generated Flex content not working with IE7

2008-12-09 Thread walveranta
I'm having difficulty with locally generated Flex content not showing up in IE7. When attempting to view Flex-generated content from a local dev server in IE7 I get the message: "Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash" The same content

[flexcoders] Failed to load policy file from http://localhost:8881/crossdomain.xml

2008-12-09 Thread luvfotography
I'm getting this error when I run my program from my FLEX Builder. Failed to load policy file from http://localhost:8881/crossdomain.xml Warning: Failed to load policy file from http://localhost:8881/crossdomain.xml Error: Request for resource at http://localhost:8881 by requestor from http://s.

RE: [flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread Tracy Spratt
SWFLoader.content.myPublicMember Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, December 09, 2008 12:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to make Flex exchange data with F

RE: [flexcoders] getBitmapData from a scaled display object

2008-12-09 Thread Ryan Graham
You may have to play with some of the positioning, but use the second parameter of the bitmapData.draw() function to pass in the object's transform matrix as a start. This should get you closer... bitmapdata.draw( displayObject2, displayObject2.transform.matrix ); HTH, Ryan From: flex

RE: [flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread Alex Harui
That sounds like you're still calling preventDefault on the keyFocusChange event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of boilerman1984 Sent: Tuesday, December 09, 2008 12:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Item Renderer focus on subcom

RE: [flexcoders] Please Help: Shift data Up|Down in array/datagrid

2008-12-09 Thread Alex Harui
What do your datastructures look like before and after? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cox.blair Sent: Tuesday, December 09, 2008 4:44 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Please Help: Shift data Up|Down in array/datagrid Hi everyone,

RE: [flexcoders] speed of the "for each" looping

2008-12-09 Thread Alex Harui
For each should be much slower than a basic iterator as it has to walk the object's properties. For each (var p:* in someObject) And For (var p:String in SomeObject) Probably run at the same rate. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent: Tuesday

RE: [flexcoders] Defining, but not adding to parent in MXML

2008-12-09 Thread Alex Harui
If it doesn't need to truly float, consider using states and addChild/removeChild From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Prescott Sent: Tuesday, December 09, 2008 5:59 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Defining, but not adding to

RE: [flexcoders] Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread Alex Harui
The CS3 entities need to implement IFocusManagerComponent. You might be able to use the Flash Component Kit to do that From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aut0poietic Sent: Tuesday, December 09, 2008 7:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

RE: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Alex Harui
To clear selection from a list, set selectedIndex = -1 Setting selectedDate = null worked for me. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen More Sent: Tuesday, December 09, 2008 12:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] clearing out m

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I fixed the run time error by writing a function to pass the two text box variables back to the data provider. (ItemEditEnd="func(event);") Fixed it. So now I can tab into the List's first component but once focus is on the first renderer I can only tab and shift between the two boxes in the firs

[flexcoders] Re: speed of the "for each" looping

2008-12-09 Thread Cato Paus
Hi and thanks for your deep explanation :) and yes I run the profiler, and are doing some improvement here and there, the real question is how the "for each" is working. I have been browsing the internet and all the bibels on ActionScript 3, but did not found any good explanation on the matter. -

RE: [flexcoders] errorTip fontSize break the tooltip? Possible bug?

2008-12-09 Thread Alex Harui
I'd say that's a bug. Tooltip doesn't re-measure correctly. Note that it would never auto-resize once it did measure correctly since parents size their children in Flex so you'd have to size the Tooltip later. ToolTip basically expects its styles to be set in the errorTip style declaration an

Re: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Stephen More
On Tue, Dec 9, 2008 at 2:44 PM, Ryan Graham wrote: >>> effective.selectedDate = null; > This should clear it. Perhaps the actionscript function containing this > code isn't getting called. Sort of. My flex also has a mx:List with a dataProvider. I try to clear the List with: myitems.selec

RE: [flexcoders] AIR Application - Positioning.

2008-12-09 Thread Wildbore, Brendon
You could find the resolution,subtract the initial width of you app then set this to your apps (x,y) coordinates? Would so something like (pseudo-code): this.x = Capabilities.screenResolutionX - this.width; this.x = Capabilities.screenResolutionY - this.height; I'm not sure this woul

Re: [flexcoders] Re: Bug: flash.display.Graphics being removed.

2008-12-09 Thread Nate Beck
It is showing up in the 3.x branch. On Tue, Dec 9, 2008 at 9:01 AM, flexaustin <[EMAIL PROTECTED]> wrote: > In Flex 3.1 framework import flash.display.Graphics isn't showing in > code hinting. > > > --- In flexcoders@yahoogroups.com , > "sunild99" <[EMAIL PROTECTED]> wrote: > > > > Usually,

RE: [flexcoders] clearing out mx:DateField

2008-12-09 Thread Ryan Graham
>> effective.selectedDate = null; This should clear it. Perhaps the actionscript function containing this code isn't getting called. HTH, Ryan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stephen More Sent: Tuesday, December 09, 2008 12:18 PM To: flexcoders

[flexcoders] Re: clearing out mx:DateField

2008-12-09 Thread jim.abbott45
Hmm . . . I would think that should work, I've used the foo.selectedDate = null technique before. Here's how my technique for clearing out a DateField looks (in this example: it is filtering a data provider, and 'tomorrowOn' is an instance of an Object which has a rangeStart property): st

Re: [flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread Brendan Meutzner
There is a double click event you can listen for on UIComponent... just make sure that doubleClickEnabled is set to true on the instance you're setting the listener on. Brendan On Tue, Dec 9, 2008 at 11:04 AM, flexaustin <[EMAIL PROTECTED]> wrote: > Is it possible to listen for both a mouse

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
Agreed, but one caution: Implementing things from scratch on top of flash.net.Socket may be an option for some limited use cases, but without the direct browser integration it doesn't make for a great general solution (in the case of WebDAV, or for general HTTP) You lose integrated auth (NTLM f

[flexcoders] getBitmapData from a scaled display object

2008-12-09 Thread Kyle
I'm trying to figure out the easiest way to get bitmapdata from a displayobject that has had its scalex/scaley altered. In the test example I have listed below, I have a canvas container that has 3 children (swfLoader components). I set the scalex/scaley of the canvas container to 2 and its' child

RE: [flexcoders] huge AMF messages

2008-12-09 Thread Seth Hodgson
If you sent these in a RemoteObject call, that 10MB worth of data would go to the server in the body of a single HTTP POST. No progress events, and depending on the receiving server it may enforce size limits on body content of HTTP requests but they'd likely be higher than 10MB. Best, Seth Fr

[flexcoders] clearing out mx:DateField

2008-12-09 Thread Stephen More
Within flex I have: Once a user selects a date, I can not clear it out using actionscript. I have tried: effective.selectedDate = null; effective.selectedDate = undefined; neither one has worked. How can one clear out the mx:DateField ? -Thanks

Re: [flexcoders] XML Decoding

2008-12-09 Thread Richard Rodseth
This is unfortunate. I got tired of custom XML decoding and wanted to use SimpleXMLDecoder + Darron Schall's ObjectTranslator. But SimpleXMLDecoder expects an XMLNode not an XML or XMLList The technique described here is a possibility (perhaps my best option), except I don't wish to decode the ent

Re: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Stephen More
How exactly do you envision WebDAV being used with flash ? Couldn't one use flash.net.Socket to connect to port 80 and communicate using the WebDAV protocol ? On Tue, Dec 9, 2008 at 2:10 PM, Seth Hodgson wrote: > Unfortunately, the Player currently limits the set of allowed HTTP methods > to ju

RE: [flexcoders] JSP taglib FLEX 3

2008-12-09 Thread Seth Hodgson
You need to merge the entire web tier compiler WAR with your existing WAR. If you just move random jars over chances are good you'll miss some dependencies. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of virchete Sent: Tuesday, December 02, 2008 6:21 AM To: fl

RE: [flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread Seth Hodgson
Unfortunately, the Player currently limits the set of allowed HTTP methods to just GET and POST. This means that PUT, DELETE, HEAD, etc. as well as all the WebDAV extension methods are not allowed. Anyone who cares about this area should vote for this bug: https://bugs.adobe.com/jira/browse/SD

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
Not that I'm aware of. Javascript alert is the only way to block a page close, and even then only until the user clicks OK. The various close-related events in Javascript exhibit subtle differences across browsers/versions and allowing a script to force a page to remain open (for any length of t

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread wkolcz
Unfortunately that is not an option. This is a video player tracking system on a very public landing page. Would onbeforeunload work better? Is there a way to just delay the closing of a page before it happens (behind the scenes)? Any other javascript events that would work better? --

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
You need to pop a Javascript alert in your trackClosing() method to keep the browser from closing until the user clicks the OK button. This technique is a hack, but an alert generally leads to a long enough delay in user interaction (say a second or two) to finish making your call into the Play

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I believe I found the problem. I need to rewrite an event to return multiple values from the item editor instead of the default 'text' value. I'll work on this and the tab should work I'm guessing. If it does not I will report back. Thanks for the help again.

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread wkolcz
Based on that and other examples, I tried this: window.onunload = trackClosing; function trackClosing(){ document.getElementById("FXVideo").tagWithClosed(); } In my constructor I have: if (ExternalInterface.available){ ExternalInterface.addCallback("tagWithClosed",

[flexcoders] Automating Flex Modules

2008-12-09 Thread Denis
Hi everyone, We have a Flex app that generates various charts that also need to find their way into printed reports. While we offer on-line functionality to export displayed charts and convert them into bitmaps, we also need to allow users to generate the preconfigured charts without displayin

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Paul Andrews
- Original Message - From: "Ralf Bokelberg" <[EMAIL PROTECTED]> To: Sent: Tuesday, December 09, 2008 3:00 PM Subject: Re: [flexcoders] Re: Parsley MVC :: some thoughts > Hi Amy > > Afaik this is not possible in Flashplayer. A block of code is always > running through without any interu

[flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread markflex2007
Thank. How to get data from the swf. Thanks Mark

RE: [flexcoders] Call Flex from JavaScript

2008-12-09 Thread Seth Hodgson
This page in the LCDS docset describes this specifically: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcconnections_4.html#1074309 The scenario in the docs is dealing with notifying the server that the client is going away, in order to short-circuit the sl

[flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-09 Thread Seth Hodgson
Hi Maciek, I don't have any practical experience with attempting to compile service config and associated classes into modules and I don't know whether compc would support it or not, but based on some informal discussions with Alex and Jeff I wouldn't recommend it. The core issue is that AMF s

[flexcoders] Re: Invoking Flex fuction from Javascript for close.window

2008-12-09 Thread Anthony DeBonis
With ExternalInterface.call you can inject JavaScript into the wrapper document. if ( ExternalInterface.available ) { ExternalInterface.call('alert("TEST")'); } A good example of what your talking about is here thanks to Greg Jessup http://gregjes

RE: [flexcoders] Re: Deployment of Flex Application in IIS

2008-12-09 Thread Tracy Spratt
Yes, this symptom usually means a security a security problem. Put a crossdomain.xml file in ..\inetpub\wwwroot. This example below is wide open and you might want to tighten it down once you get things working. Tracy http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

Re: [flexcoders] How to wite a javascript that calls to ActionScript

2008-12-09 Thread wkolcz
Sorry about that. Its not really my fault. Its the flexcoder list system. Actually I emailed one at 5pm yesterdays, waited for it to show up but it didnt. So I sent another one about 8:30 pm, it didn't show up either. Then I sent one this morning and it didn't show up for an hour (when all 3 sh

RE: [flexcoders] Error while accessing LCDS fill method

2008-12-09 Thread Seth Hodgson
If this hasn't been resolved, a snippet of your server log file with Message.* and Debug.* debug logging enabled, leading up to and through this error would be useful to see, as well as knowing what version of the LCDS you're running. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL P

[flexcoders] Re: Item Renderer focus on subcomponent in List

2008-12-09 Thread boilerman1984
I took your example with the DataGrid and slightly modified it to extend a List. The example correctly shows a list and correctly tabs into the first itemRenderer ( rendererIsEditor="true" and the MultiField editor is the Renderer). The shift works to tab back out of the first item as well. The

[flexcoders] Listening for both Mouse Down and Double Click events.

2008-12-09 Thread flexaustin
Is it possible to listen for both a mouse down and doubleclick events without using some sort of timer? On mouse down start timer to listen for a another mouse down? If you listen for a mouse down and in the mouse down handler add another listener to listen for some other action is a possibility

Re: [flexcoders] speed of the "for each" looping

2008-12-09 Thread Maciek Sakrejda
If you're trying to speed up your application, you should use the profiler. Something like the difference between a "manually" indexed for loop and a for-each loop is almost certain to be trivial. If you don't have the profiler, run an ad-hoc perf test by doing something like // we need to constr

[flexcoders] Re: Bug: flash.display.Graphics being removed.

2008-12-09 Thread flexaustin
In Flex 3.1 framework import flash.display.Graphics isn't showing in code hinting. --- In flexcoders@yahoogroups.com, "sunild99" <[EMAIL PROTECTED]> wrote: > > Usually, when code completion stops working in Flex Builder, it's because the I'm editing > has an error/omission in it... > > Sun

[flexcoders] Problems with locale different to en_US when building an swf file using Ant

2008-12-09 Thread taze170171
Hello! We have a problem when building the swf file with a locale different to en_US. We use the following ant code for building: additional.compiler.arguments=-services ".../services-config.xml" - locale=de_AT -source-path=./locale/{locale}

Re: [flexcoders] How to wite a javascript that calls to ActionScript

2008-12-09 Thread Fidel Viegas
On Tue, Dec 9, 2008 at 2:07 PM, wkolcz <[EMAIL PROTECTED]> wrote: > Can someone show me how to write a javascript function that calls to a > Flex/AS function before a browser window closes? > > In my AS contructor I have: > if (ExternalInterface.available) > ExternalInterface.addCallback("t

[flexcoders] Re: errorTip fontSize break the tooltip? Possible bug?

2008-12-09 Thread valdhor
How about a work around: private function init():void { var toolTipString:String = "You need to save your changes!"; saveTip = ToolTipManager.createToolTip(toolTipString,50,50) as ToolTip; saveTip.setStyle("styleName", "e

[flexcoders] Re: How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread aut0poietic
--- In flexcoders@yahoogroups.com, "markflex2007" <[EMAIL PROTECTED]> wrote: > > Please give me a general idea or some urls. > > Thanks a lot > > Mark > Doing this now: If you're using a Flash 9/10 file in Flex 3 and in the same domain, you can load the SWF into a SWFLoader control, and once loa

[flexcoders] Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-09 Thread aut0poietic
Title pretty much says it all: I have a Flex 3 application which can basically be summed up as a SWF player which loads SWF's created in Flash CS3. When the SWF's are loaded, I can interact with them using the mouse (click/mouseover, etc). However, these items cannot be tabbed to. I've been ha

[flexcoders] WebDAV and Flex - Any sample code or opensource widgets available . . ?

2008-12-09 Thread marty_martian
I have searched through the archives for this user group but see very little discussion on WebDAV with Flex. It looks like some folks have been trying to do it as far back as 2006 but no samples or pointers to samples or open source widgets have been posted. Related to this, can anyone share: -

[flexcoders] Digest Authentification in Flex

2008-12-09 Thread Christoph Pingel
Hello, I'm trying to wrap my head around digest authentification in Flex. The point is, using a proxy is not an option. Using the HTTPService object, Base authentification is straightforward, I just add the required headers. Now, in the case of Digest auth, the problem is that the Server fir

[flexcoders] How to make Flex exchange data with Flash SWF file?

2008-12-09 Thread markflex2007
Please give me a general idea or some urls. Thanks a lot Mark

Re: [flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Ralf Bokelberg
Hi Amy Afaik this is not possible in Flashplayer. A block of code is always running through without any interuption. Colin Moock has a good chapter of how all this works in his nice AS3 book. Cheers Ralf. On Tue, Dec 9, 2008 at 3:44 PM, Amy <[EMAIL PROTECTED]> wrote: > I actually had this ver

Re: [flexcoders] vertical scrollbar problems...Please help i am freaking out :-)

2008-12-09 Thread Fotis Chatzinikos
Oups, isn't it funny when you mail the list after hours of head banging (on a wall not just rocking :-) and then solve it in the next half an hour...? I had everything wrapped in a 'parent' viewstack which i forgot to enable its resizeToContent flag... Works now... On Tue, Dec 9, 2008 at 3:56 P

[flexcoders] Re: Does anyone know ANYTHING about AS Webservices?

2008-12-09 Thread valdhor
The following works for me: http://www.adobe.com/2006/mxml"; creationComplete="onCreationComplete()"> Now, I did have to update my crossdomain.xml file to: http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";> Also, I had to add

[flexcoders] Re: Parsley MVC :: some thoughts

2008-12-09 Thread Amy
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote: > > Jules, I confess I actually misread your original post - I had anticipated > that when an event is despatch it wouldn't be actioned until the current > code section had been completed then the player would act upon

[flexcoders] Re: Deployment of Flex Application in IIS

2008-12-09 Thread nathanpdaniel
That issue has more to do with how you load data than the fact that you're using IIS. You should look into the security issues involved with loading external data to start with. --- In flexcoders@yahoogroups.com, "srik_kanth_g" <[EMAIL PROTECTED]> wrote: > > Hi, > > I am trying to deploy a s

Re: [flexcoders] Parsley MVC :: some thoughts

2008-12-09 Thread Jules Suggate
Hi Ralf, That's my understanding now too. What I'm slowly coming to terms with are the facts you so lucidly summarise below :) I (and I think Paul too) had always assumed that control returned from the dispatchEvent function immediately. I'm still a little bit shocked about it. In this light, dis

Re: [flexcoders] Drag and Drop into a Popup Window

2008-12-09 Thread Reto M. Kiefer
Hello Alex, thanks for your answer! it was my fault. I didn't specified the proper event handlers in the drop target. It's working quite fine now. Sorry for the disturbance.. Cheers Reto 2008/12/8 Alex Harui <[EMAIL PROTECTED]>: > What didn't work? Post a mini-example. > > > > From: flexcode

[flexcoders] Socket and Pop3

2008-12-09 Thread quantum_ohm
Hi All ! I'm building a POP3 mail client in AIR, and can't figure out how to dispatch events (or where ) to send all the commands one after each other in a unique same shot. For now I have to send them individually like : USER then when I have the response PASS then STAT then RETR and s

  1   2   >