Re: [flexcoders] Re: How to debug when I have IE crash?

2009-07-27 Thread Ronen Naor
Thx, I will give it a try On Mon, Jul 27, 2009 at 7:33 AM, jedierikb jedier...@gmail.com wrote: this might be helpful: http://stackoverflow.com/questions/560979/how-to-debug-swf-browser-crashes --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Ronen Naor ronen.f...@...

Re: [flexcoders] Re: LCDS fallback and firewalls which inspect packets

2009-07-27 Thread Tom Chiverton
On Saturday 25 Jul 2009, Johannes Nel wrote: In our dev and testing environments which are hosted on the amazon cloud this was failing since the kernel did not have syn cookies compiled into the kernel. Once we moved to a production enviroment (also debian but That's odd, but handy to know -

Re: [flexcoders] showing a preloder as images are loaded

2009-07-27 Thread Tom Chiverton
On Monday 27 Jul 2009, stinasius wrote: preloader disappears and the image shows up. can someone please help me out here. Here's one: http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=7606 There are several more on the first page of

Re: [flexcoders] FileReference.load()

2009-07-27 Thread Tom Chiverton
On Thursday 23 Jul 2009, Richard Rodseth wrote: Thanks for the explanation. More or less what I expected until Gordon made his suggestion. I think I have approval to require 10, but I'd still be interested to know if Gordon concurs with your conclusion. Could you just alter the JavaScript

Re: [flexcoders] Future Value AS Function

2009-07-27 Thread Tom Chiverton
On Thursday 23 Jul 2009, ashish vyas wrote: applications.  It is small piece of AS code.  I thought it will useful to my other pals as well and wanted to share it with you. Ace ! I couldn't see it attached anywhere. What licence is it under ? Have you considered a small Google Code project or

[flexcoders] world clock

2009-07-27 Thread Darrin Kay
OK here is a question that I am having some trouble with. I have a flex site with coldfusion 8 as the middle ware. I need to set up clocks for different parts of the world. But how do I take into account daylight savings, or the fact that daylight is not always on the same day or even happen at

Re: [flexcoders] world clock

2009-07-27 Thread Tom Chiverton
On Monday 27 Jul 2009, Darrin Kay wrote: So I would want the time for DC, Zulu, and lets say London (and Zulu and London are 1 hour off due to daylight savings) CF can do this for you, no ? -- Helping to authoritatively cluster six-generation global strategic performance-oriented products

Re: [flexcoders] world clock

2009-07-27 Thread Darrin Kay
How so? It can give me server time, but if the server is in London lets say. Daylight savings happens in London 2 weeks after it does in the US. On Mon, Jul 27, 2009 at 1:54 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Monday 27 Jul 2009, Darrin Kay wrote: So I would want the

[flexcoders] how to separate filename from folder path in flex

2009-07-27 Thread Satish Chowdary
hi all, please let me know how to separate filename from folder path... problem: i have to display the content in separate window... and the content is in XML file.. now i can able to get the full path that XML file... but am unable separate it. give me some guidelines how to display the

[flexcoders] Re: problem using mx:Glow and mx:Box

2009-07-27 Thread mitchgrrt
Also in the example, the inner hello label gets the glow. It seems like the Glow is applied to the outer and inner borders of the Box, and also to objects inside the Box. Does anybody know how to make the Glow effect just the outside of the Box? Thanks. --- In flexcoders@yahoogroups.com,

[flexcoders] contextMenus and Modules and Tree == Fail

2009-07-27 Thread djhatrick
I am having the difficult time, trying to apply a context Menu to a TreeList in module, has anybody had such a difficult time? I've tried this: http://blog.arc90.com/2008/04/adding_a_contextmenu_to_a_flex.php and I've tried this:

[flexcoders] Solved with Inredi-Hack - Re: contextMenus and Modules and Tree == Fail

2009-07-27 Thread djhatrick
I added the contextMenu to the application and it worked... seems modules need a lot of improvement in the framework. I have had so many problems with them... BTW, will the 3.4 sdk be improved since 4 is already coming out soon. I would hope so, at least for a year or more. We can't all

[flexcoders] dispatch event from custome borderSkin

2009-07-27 Thread j2me_soul
I try to make a borderSkin which has a button that controls the its parent visiable. I use parentApplication.dispatch(a event) but it doesn't work. There is somewhere wrong in my code or my train of thought ? This is my code: CSS file Panel { background-color: #3e3e3e; border-color:

Re: [flexcoders] FileReference.load()

2009-07-27 Thread Richard Rodseth
Yes, I suppose that could work, though it would complicate the build and the test matrix. On Mon, Jul 27, 2009 at 5:31 AM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Thursday 23 Jul 2009, Richard Rodseth wrote: Thanks for the explanation. More or less what I expected until Gordon

[flexcoders] extending tileList - pagination

2009-07-27 Thread grimmwerks
Hey all - I'm extending tilelist and am displaying a 3x2 grid (6 items) - I'm trying to see if there's currently a way to display the next/previous 6 items - ie paging back and forthrather than just scrolling, which will always show some items of the current view rather than just 1

RE: [flexcoders] Re: problem using mx:Glow and mx:Box

2009-07-27 Thread Chet Haase
Box doesn't have a fill by default, so you're seeing right through the container to the background behind it. The glow you're seeing inside the box is actually just a general glow around each of the container's elements. You'd get the same result with a Canvas, although a Panel has a fillled

RE: [flexcoders] contextMenus and Modules and Tree == Fail

2009-07-27 Thread Alex Harui
Make as simple a test case as much as possible and if there is still a problem, file a bug. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick

[flexcoders] Re: problem using mx:Glow and mx:Box

2009-07-27 Thread mitchgrrt
That worked. Thanks a lot for the help. - Mitch --- In flexcoders@yahoogroups.com, Chet Haase cha...@... wrote: Box doesn't have a fill by default, so you're seeing right through the container to the background behind it. The glow you're seeing inside the box is actually just a

[flexcoders] Problem with effects

2009-07-27 Thread Sergio - I'm he as you're he as you're me and we're all together...
Hi Everyone, I'm having a little trouble here. We've in our project a splashScreen window, where we use an effect on AS3 (Bitfade, if anyone knows). Our trickly problem is: in Flex 3 it works with no problem, but with Flex 4 it doesn't works! I tried: compile a separate file like embbeded in a

Re: [flexcoders] world clock

2009-07-27 Thread Paul Hastings
Darrin Kay wrote: How so?� It can give me server time, but if the server is in London lets say.� Daylight savings happens in London 2 weeks after it does in the US. http://www.sustainablegis.com/projects/tz/testTZCFC.cfm

[flexcoders] Re: Question about a flex component

2009-07-27 Thread valdhor
There is an example in the documentation of the HorizontalList: http://livedocs.adobe.com/flex/3/langref/mx/controls/HorizontalList.html#includeExamplesSummary --- In flexcoders@yahoogroups.com, veena_kris2003 v.kri...@... wrote: Do you mind posting a complete example? Hope it is not too

[flexcoders] Re: better option than repeater?

2009-07-27 Thread valdhor
I don't quite get what you are trying to do. Create a component. This component will display each staff member. Create a public variable to hold each staff record (Value Object) and pass that record to the component inside the repeater. The example I posted shows how to do this. So, there is

[flexcoders] Re: Can not select itemrenderer

2009-07-27 Thread valdhor
I don't quite get what you are trying to do but did notice you are missing a super.data = value; --- In flexcoders@yahoogroups.com, Barry bazja...@... wrote: Hi unable to select the following itemRenderer when used in a list. Any advice would be much appreciated.

[flexcoders] Re: Measuring the width of a label

2009-07-27 Thread valdhor
The problem you are going to face is that different fonts have different widths for different characters. For example, an i is thinner than an o. You could try using a fixed width font and then counting characters. --- In flexcoders@yahoogroups.com, ivansebastiansurya ivansebastiansu...@...

RE: [flexcoders] Re: better option than repeater?

2009-07-27 Thread Battershall, Jeff
This would be my approach: You need two dataProviders (ArrayCollections), one being for the available modules and the other for your list of staff. You'd only need two remote objects to retrieve them. Your modules dataprovider would be passed into each component instance and used by the

[flexcoders] Adding event listeners to the horizontalList items

2009-07-27 Thread veena_kris2003
I added event listeners to each item, I added the items at runtime to a horizontalList. But not sure how to invoke the listener when the individual item is clicked. I can't define clickFunc because my dataProvider looks like this: mx:dataProvider mx:ArrayCollection/ /mx:dataProvider Thanks,

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
Hi, Thanks for your answer. Do you mind posting an example? Thanks, Veena --- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote: Why not just allow scrolling instead of paging? Scrolling components can scroll through thousands of items quickly. Suppose there are 100 items

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
I need an example of code, that dynamically(at runtime) adds objects to a horizontalList and that has eventhandlers for the selected item in the horizontalList. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: There is an example in the documentation of the HorizontalList:

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
None of my messages are getting posted on this forum. The dataProvider is a ArrayCollection of cusom objects. I added listeners to each object before I added the object to the horizontal list at runtime. I am not sure how to propogate the events when an item is selected from the horizontal

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
I have two problems at this point. I used the following example, to modify my code. But problem 1 is: even though I added an eventListener to the object that I added to the HorizontalList, the eventListener is not getting called when I click on the object in the UI. problem 2 is: the

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
My message from earlier today never got posted. How do you add event listeners to objects in the horizontalList. I added the event listeners to the objects before I added the objects to the list. The event listener is not getting called. --- In flexcoders@yahoogroups.com, Gordon Smith

[flexcoders] UpLoading an Image on the data grid using coldfusion 8 as a backend

2009-07-27 Thread aloha_mky
Hi Everyone, I have a problem on Uploading an Image on the datagrid... ( Uploading and saving into the database) Can anyone help me or give me a short example to solve my problem... I'm using coldfusion as the backend... Thank you very much

[flexcoders] adding event listeners

2009-07-27 Thread veena pandit
I added an event listener to each button. Added the buttons to the HorizontalList. WHen I click on a button, I want the event listener to be called. It is not getting called. How do I do this?

[flexcoders] Mouse events and overlapping movie clips

2009-07-27 Thread alekseyvays
If two or move movie clips overlap, everything underneath the top movie clip does not seem to receive mouse events. I tried many things, including setting .mouseEnabled = false; on the top movie clip and its constituents, but it still eats up all mouse interaction. Is there a way around this?

[flexcoders] Loading local SWFs in AIR to local-with-network sandbox

2009-07-27 Thread daniel.langh
Hello, I'm trying to load locally stored SWF files from the app-storage directory of my AIR application into the local-with-network security sandbox. Two SWFs are created with -use-network=true and use-network=false compiler flags respectively. However both of them are loaded into the

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
That's not how list-based components work. You don't add event listeners to data items. You listen to events dispatched by the list itself. What are you trying to accomplish with your event handlers? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

[flexcoders] Re: Question about a flex component

2009-07-27 Thread veena_kris2003
I fixed it so that I called the change=horizontalScrollListChange(event). Then I pass in a ListEvent to the horizontalScrollListChange method. Can I dispatch a MouseEvent from the horizontalScrollListChange method? --- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote: That's

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
Normally only the Player dispatches MouseEvents, in response to the user using the mouse. Why would you want to dispatch a MouseEvent in your code? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena_kris2003 Sent: Monday,

[flexcoders] AIR and Right-Click behavior

2009-07-27 Thread grenma
Folks: I am writing an AIR app that scripts right-clicking an item renderer in a custom component. The mouse event is captured but it seems that the item is immediately deselected (as if a context menu or other modal dialog were showing) before the event is captured. The cutom component is a

RE: [flexcoders] Re: Sideways text

2009-07-27 Thread Gordon Smith
Really? When I try mx:Label x=100 y=100 text=Hello rotation=90 blendMode=layer/ I don't see anything. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Saturday, July 25, 2009 3:30 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Question about a flex component

2009-07-27 Thread veena pandit
It is really complex code. I don't understand it yet. On Mon, Jul 27, 2009 at 7:02 PM, Gordon Smith gosm...@adobe.com wrote: Normally only the Player dispatches MouseEvents, in response to the user using the mouse. Why would you want to dispatch a MouseEvent in your code? Gordon Smith

Re: [flexcoders] Thermometer Component

2009-07-27 Thread Pedro Sena
Hi Dan, Have you found what you was looking for? Regards On Sun, Sep 28, 2008 at 1:12 PM, Sajid Hussain enchanter_...@yahoo.comwrote: maybe this could help http://samples.degrafa.com/ThermometerSkin/Thermometer.html http://samples.degrafa.com/ Sajid - Original Message

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
You can try dispatching MouseEvents, but I'm not sure that they'll work exactly the same as a Player-generated one. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of veena pandit Sent: Monday, July 27, 2009 4:17 PM To:

[flexcoders] Re: Embedding Multiple Images

2009-07-27 Thread n_manjunatha
Hi, Really sorry for replying late. I was engrossed with many isssues that i didnt turn around to this forum. No, I haven't created any TreeItemRender for this. How to do that ?? Thanks --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: Do you have the image TreeItemRender

Re: [flexcoders] Re: Question about a flex component

2009-07-27 Thread veena pandit
I'll try it. So how would I do it? On Mon, Jul 27, 2009 at 7:25 PM, Gordon Smith gosm...@adobe.com wrote: You can try dispatching MouseEvents, but I'm not sure that they'll work exactly the same as a Player-generated one. Gordon Smith Adobe Flex SDK Team *From:*

[flexcoders] Play media with Flex

2009-07-27 Thread markflex2007
Hi, I have a question for how to play online video/audio with Flex.I have urk like http://www.abc.com/abc.mp3 http://www.abc.com/abc.flv I want to play them with Flex app.Please give me a idea for this. Thanks a lot. Mark

[flexcoders] Who can explain me this:

2009-07-27 Thread lytvynyuk
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=init() mx:Script ![CDATA[ import mx.collections.ArrayCollection; private var a:Object

RE: [flexcoders] Re: Question about a flex component

2009-07-27 Thread Gordon Smith
The same way you dispatch any other event: Construct the Event instance, set its properties, and then call dispatchEvent() on the object that the event should be dispatched from (which generally is 'this'): var mouseEvent:MouseEvent = new MouseEvent(MouseEvent.MOUSE_DOWN); mouseEvent.localX =

RE: [flexcoders] Who can explain me this:

2009-07-27 Thread Gordon Smith
Because vars like 'a' and 'b', and Array elements like testx[0], store references to Objects. They aren't the Objects themselves. You can have many references to the same Object. Initially you have a -| -- { data: 100 } testx[0] --| b --- { data: 200

[flexcoders] pass variables from flex to javascript

2009-07-27 Thread jwaladeep
Is there any way to pass variables using ExternalInterface to Javascript from flex ?

[flexcoders] AIR html component

2009-07-27 Thread hworke
Hi if I load www.google.com in a HTML component like this mx:HTML id=html location=http://www.google.com; then how can I access the JavaScript functions in the google page?

RE: [flexcoders] Loading local SWFs in AIR to local-with-network sandbox

2009-07-27 Thread Alex Harui
I think we need a better explanation. AIR apps usually have an application sandbox type, not localXXX Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Mouse events and overlapping movie clips

2009-07-27 Thread Alex Harui
Should be possible. See what the event.target is and make sure it also has mouseEnabled=false. Also mouseChildren flag is important. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com