Re: [flexcoders] talk from one swf to another

2008-05-18 Thread Justin Fujita
It sounds like you're looking for Adobe's Data Management feature (FDS/LCDS) which was not included in BlazeDS. The functionality of Data Management's client-side data synchronization can however be simulated using a messaging framework. On Sun, May 18, 2008 at 10:13 PM, Luke Vanderfluit < [EMAIL

[flexcoders] talk from one swf to another

2008-05-18 Thread Luke Vanderfluit
Hi. Im using blazeds and a java backend. I have a swf that updates stuff on the server and thus in the database. My question is: Is it possible to have a second swf (using blazeds) that will listen for or subscribe to changes on a server object and have the server object push changes to the s

[flexcoders] [ArrayElementType] warning

2008-05-18 Thread Josh McDonald
Hey guys, I'm getting this on MXML files referring to classes using [ArrayElementType] rather than in the classes themselves: [ArrayElementType](CompositeMapping)]: type CompositeMapping is unavailable. The CompositeMapping class is definitely referenced from the MXML file though:

RE: [flexcoders] TabBar and percentage width

2008-05-18 Thread Alex Harui
Please post a test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, May 16, 2008 4:04 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TabBar and percentage width Hi, all; I have a tabbar that is in an HBox

Re: [flexcoders] Bindable tag question

2008-05-18 Thread Josh McDonald
If you call addItem(), updateItem(), etc, the PropertyChangedEvent is dispatched by the IList implementor (ie, ArrayCollection). But, if you have an IList of objects, and you do this: var company : Company = companyList.getItemAt(3) as Company; company.name = "New name"; then you'll only get the

RE: [flexcoders] Re: DateChooser setting displayedMonth, displayedYear does nothing

2008-05-18 Thread Alex Harui
I didn't run the code, but by looking at it, the selectableRange is bound to a plain old object which doesn't support binding. You should have seen a warning in the console at runtime. Thus at init time, the selectableRange is bogus and the displayedMonth/Year probably get screwed up as well. ___

RE: [flexcoders] Tree - Drag Drop - prevent drop into folder

2008-05-18 Thread Alex Harui
Anywhere in an open folder (like its children) or just the open folder row? If you look at the Tree source you can see how to get parents of things that are visible, and you might be able to use that to call preventDefault on the drag event. From: flexcoders@yah

RE: [flexcoders] Event Not Dispatched From TileWindow

2008-05-18 Thread Alex Harui
Popups are not parented by the app so the event won't be seen the by app listener. IMHO, it is a bad practice to bubble like that. You should just get the reference to the popup from the PopUpManager and addEventListener to that. From: flexcoders@yahoogroups.com

RE: [flexcoders] Error

2008-05-18 Thread Alex Harui
Put it in the debugger, check the values. Maybe a row has shrunk too small or the DG is too narrow? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Sunday, May 18, 2008 1:52 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Bindable tag question

2008-05-18 Thread gaurav1146
Hi, I have been using Bindable tag for data providers in datagrid, list etc. The doc states that this ensures that the destination datagrid would reflect the change when the dataprovider is changed. But I have observed that even if I do not use the Bindable tag the datagrid is still updated when

[flexcoders] flex3 sdk and eclipse

2008-05-18 Thread Gustavo Duenas
Hi I'd like to set up my eclipse to work with the flex3 sdk...is that possible and if it is, how could I? Turorial or ideas are welcome. :) Gustavo

[flexcoders] [ANN] Flex-mojos 1.0-RC2

2008-05-18 Thread VELO
Flex-mojos 1.0-RC2 is out. Just same fixes of problems found on 1.0-RC1. http://blog.flex-mojos.info/2008/05/19/flex-mojos-10-rc2/ VELO

[flexcoders] Re: URI has an authority component

2008-05-18 Thread barry.beattie
for me it turns out to be a paths/UNC problem. recreating the project with a workspace that maps to a drive letter (in the case of Windoze) fixes it. more info here from the Ant lists: http://www.mail-archive.com/[EMAIL PROTECTED]/msg29534.html

Re: [flexcoders] run flex builder using Java 6 on mac?

2008-05-18 Thread Josh McDonald
By the way, is this Mac only, or is SWT just not J6 ready anywhere? -J On Mon, May 19, 2008 at 11:30 AM, Josh McDonald <[EMAIL PROTECTED]> wrote: > Java 6 on mac is currently incompatible with SWT, which is what Eclipse > uses for its GUI, so It can't be done.\ > > -J > > > On Mon, May 19, 2008

Re: [flexcoders] run flex builder using Java 6 on mac?

2008-05-18 Thread Josh McDonald
Java 6 on mac is currently incompatible with SWT, which is what Eclipse uses for its GUI, so It can't be done.\ -J On Mon, May 19, 2008 at 9:15 AM, Rich Rodecker <[EMAIL PROTECTED]> wrote: > Not sure if this is possible or not, but since apple released the Java 6 > update recently, is there a

Re: [flexcoders] Re: How do I dispatch an "everything" PropertyChangeEvent on this?

2008-05-18 Thread Josh McDonald
This is for a DTO that inherits some fairly complicated describeType-based auto-populate voodoo. It's already statically caching describeType info (based on a getQualifiedClassName key), so that's no worry, and I've already got all the info required for generating field-level change events as I go

Re: [flexcoders] Re: How do I dispatch an "everything" PropertyChangeEvent on this?

2008-05-18 Thread Daniel Gold
I don't usually make an entire class Bindable on a single event like you posted earlier, so I'm not 100% on this, but I'm pretty sure it won't auto-generate that event for you in your setters, so you would have to dispatch it manually, with the side effect that all of your other bindings would fire

[flexcoders] Re: URI has an authority component

2008-05-18 Thread barry.beattie
> we found the solution just by chance... check and > delete some of the params in the flex builder shortcut, right now I > can't remember which one was so you'll have to try Gus, are you sure this was the thing that fixed it? here's the args in the shortcut to my plug-in version of FlexBuilder.

[flexcoders] Re: a simple question of BitmapData

2008-05-18 Thread flexawesome
great, I may try this :) thanks Allan --- In flexcoders@yahoogroups.com, "Allan Pichler" <[EMAIL PROTECTED]> wrote: > > Sorry error in it try the code below instead > > > private var bitmapDataCopy:BitmapData; > private var sourceBitmap:BitmapData; > > private function init():vo

Re: [flexcoders] Re: How do I dispatch an "everything" PropertyChangeEvent on this?

2008-05-18 Thread Josh McDonald
Does this mean I will no longer receive any automatic updates (as in generated by the framework, rather than by my event dispatch code) at all when an individual member is updated, or that simply all members will be marked as changed when any one of them is? Cheers, -J On Mon, May 19, 2008 at 6:0

Re: [flexcoders] Re: a simple question of BitmapData

2008-05-18 Thread Allan Pichler
Sorry error in it try the code below instead private var bitmapDataCopy:BitmapData; private var sourceBitmap:BitmapData; private function init():void { var imgLoad:Loader=new Loader(); imgLoad.contentLoaderInfo.addEventListener(Event.COMPLETE,init2); imgLoad.load(new UR

[flexcoders] Re: LinkBar Question, How to get LinkBar item details programmatically?

2008-05-18 Thread vkc_nair
I want to read the content of the dataprovider when contextMenu appear. I get the information about the link (URL to open) on mouse click like below, to open the link in external browser window. //When user clicks link, pass execution to JavaScript function on hosting page. linkbar.add

Re: [flexcoders] Re: a simple question of BitmapData

2008-05-18 Thread Allan Pichler
I believe this should work. private var bitmapDataCopy:BitmapData; private var sourceBitmap:BitmapData; private function init():void { var imgLoad:Loader=new Loader(); imgLoad.contentLoaderInfo.addEventListener(Event.COMPLETE,init2); imgLoad.load(new URLRequest("assets/imagename.

[flexcoders] Re: "Cannot install featurecom.adobe.flexbuilder.feature.standalone 3.0.194161"

2008-05-18 Thread barry.beattie
I might have found it: FB3 installer is having a fight with the network trying to get outside/phone home - and losing. I just tried the additional plug-in's software update (cfeclipse): Network connection problems encountered during search. Unable to access site: "http://www.cfeclipse.org/up

[flexcoders] run flex builder using Java 6 on mac?

2008-05-18 Thread Rich Rodecker
Not sure if this is possible or not, but since apple released the Java 6 update recently, is there a way to have FlexBuilder use that instead?

[flexcoders] Re: "Cannot install featurecom.adobe.flexbuilder.feature.standalone 3.0.194161"

2008-05-18 Thread barry.beattie
just as a followup, installing the plug-in into Eclipse worked without a hitch. so there must be something in the stand-alone version that's throwing a wobbly. just to reiterate, FB3 stand-alone has been the only software that's failed to install using this profile. In other words, only blaming

Re: [flexcoders] Trying to apply scale9grid to an image loaded at runtime

2008-05-18 Thread Joseph Balderson
Scale-9 only works if parts of the image are fully within each of the 9 "slices" of the scale-9 grid. Which means that you'll have to separate your image into 9 different segments before applying the scale-9 grid, providing the grid 'lines and the 9 sections of the image match up precisely. You

[flexcoders] How to set the e.currentTarget.selectedItem data to my own VO object?

2008-05-18 Thread flexawesome
Hi there, I was trying to figure out how to set my selected data to my VO object. so I could get the data anywehere in my application ( using cairngorm framework ). in the exaple code below, I would like to click the TileList and set the data in my TileListVO. it drove me mad :( I got an er

[flexcoders] Error

2008-05-18 Thread markgoldin_2000
Can someone please help me with this error: ArgumentError: Error #2004: One of the parameters is invalid. at flash.display::Graphics/drawRect() at mx.controls::DataGrid/drawRowBackground() [E:\dev\3.0.x\frameworks\projects\framework\src\mx\controls\DataGrid.a s:2967] at mx.

Re: [flexcoders] Re: invalid column widths in DG before render.

2008-05-18 Thread EECOLOR
I am sorry, I don't know what I was thinking. DataGrid does indeed not have a creation policy. I am not sure which event will help you here. When I have some more time, I will see if I can find out. There is some time between setting the dataprovider and the columns having the correct width. You

Re: [flexcoders] Re: How do I dispatch an "everything" PropertyChangeEvent on this?

2008-05-18 Thread Daniel Gold
I've done it that way before, although sometimes its better to create an "updateAll()" method, because now all of your bindings will fire when a single property changes since your entire class is Bindable on the same event. Just depends on exactly what the use case is, if your class is set up with

[flexcoders] Re: LinkBar Question, How to get LinkBar item details programmatically?

2008-05-18 Thread the_braniak
I'm not sure what link are you trying to open in a browser window. Where do you have the link (URL) you want to open stored? Claudiu --- In flexcoders@yahoogroups.com, "vkc_nair" <[EMAIL PROTECTED]> wrote: > > Hi All, > > How to get the data behind a LinkBar item (e.g URL) on right mouse > cl

[flexcoders] Event Not Dispatched From TileWindow

2008-05-18 Thread parjan
Dear All I am trying to dispatch an event from tile window and i am capturing this event on parent container but event is not dispatching for some reason .Here is my code can u point out what is wrong here thanks in advance.. Parkash Arjan // This is my Event Class Code public class CloseMyTi

Re: [flexcoders] How to convert Powerpoint presentation tp Flex or Flash?

2008-05-18 Thread krishna Raj
or else try this one http://www.sameshow.com/ppt2flash/convert-powerpoint-to-flash-manually.html On Sun, May 18, 2008 at 7:51 PM, krishna Raj <[EMAIL PROTECTED]> wrote: > Try Adobe Captivate by recording whole ppt and you can save it .swf as you > like it. > > Hope this helps you. > > > > On Sun,

[flexcoders] Tree - Drag Drop - prevent drop into folder

2008-05-18 Thread iilsley
I'm trying to prevent the 'drop' of a 'dragged' folder into an open folder but having no luck . I've looked @ the 'Spring Loaded Folders' http://www.flexibleexperiments.com/Flex/SpringLoadedFolders2/Sample.html which is almost there , but it still allows the drop if you position the source at

[flexcoders] Glow effect duration -- time of a mouse over

2008-05-18 Thread jeffreyr6915
Can anyone tell me how I can determine how long a person rests his/her mouse over a component? I would like to apply a Glow effect to a component while the user has his/her mouse on top of it. So I need this time interval for the Glow effect's duration attribute. Thanks

[flexcoders] AS addChild and tween/transition

2008-05-18 Thread grimmwerks
Hey all -- trying to create a simple slideshow component in AS and I'm wondering how to best trigger a transition after an image load? Im taking an image URL from an XML list and creating a new image in AS, then adding it as child to the main canvas. Should I set it invisible, do an addListene

[flexcoders] Re: invalid column widths in DG before render.

2008-05-18 Thread aceoohay
Erik: I tried to set creationPolicy="all" on a DataGrid but creationPolicy is not a valid attribute for DataGrid. I have creationPolicy="all" set on the parent container, but it does not help on the DataGrid. I am using Flex 2.01, if that matters. Paul --- In flexcoders@yahoogroups.com, EECOL

[flexcoders] Re: bug in setMonth() method?

2008-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, Stephen Allison <[EMAIL PROTECTED]> wrote: > > > parseDate.setMonth(++parseDate.month); > > > Then that statement above gives different results to: > ++parseDate.month > parseDate.setMonth(parseDate.month); > > which gives: > > Sat Nov 1 00:00:00 GMT+ 2008

[flexcoders] Re: bug in setMonth() method?

2008-05-18 Thread Amy
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: > > On Fri, May 16, 2008 at 11:10:21PM -0700, Alex Harui wrote: > > > I would not guarantee results if you set values that are out of range. > > Flex seems targeted to the business world and we need all the date- management help we can

[flexcoders] Re: DateChooser setting displayedMonth, displayedYear does nothing

2008-05-18 Thread rleuthold
Hi Alex, thanks for the reply. I made a simple test case, and could figure out why it is not working as expected- Can you shortly have look at this code: http://www.adobe.com/2006/mxml"; creationComplete="build()"> Is that explainable ? Thank's _rico --- In flexc

Re: [flexcoders] How to convert Powerpoint presentation tp Flex or Flash?

2008-05-18 Thread krishna Raj
Try Adobe Captivate by recording whole ppt and you can save it .swf as you like it. Hope this helps you. On Sun, May 18, 2008 at 7:00 PM, markflex2007 <[EMAIL PROTECTED]> wrote: > I have a ppt file and want to play it with Flex. > > Please give me a idea how to do this. > > Thanks > > Mark >

[flexcoders] How to convert Powerpoint presentation tp Flex or Flash?

2008-05-18 Thread markflex2007
I have a ppt file and want to play it with Flex. Please give me a idea how to do this. Thanks Mark

Re: [flexcoders] bug in setMonth() method?

2008-05-18 Thread Stephen Allison
> parseDate.setMonth(++parseDate.month); > Then that statement above gives different results to: ++parseDate.month parseDate.setMonth(parseDate.month); which gives: Sat Nov 1 00:00:00 GMT+ 2008 Sun Feb 1 00:00:00 GMT+ 2009 Mon Dec 1 00:00:00 GMT+ 2008 Sun Feb 1 00:00:00 GMT+ 2009

[flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-18 Thread andrewwestberg
Simply having SSL (https) enabled on your php webserver will help. Another methodology for accessing DB data is using AMFPHP (although I haven't used it myself). -Andrew

Re: [flexcoders] Why would mx.controls.NavBar.dataProvider not accept an array of DisplayObject? (3.0.0)

2008-05-18 Thread Manish Jethani
On 5/18/08, Fiouz <[EMAIL PROTECTED]> wrote: > On Sat, May 17, 2008 at 6:24 PM, Manish Jethani > <[EMAIL PROTECTED]> wrote: > >> What is the reason behind throwing an error when an array of > >> DisplayObject is given? Why would I have to wrap my DisplayObject > >> instances in order to prevent thi

[flexcoders] Re: Securely Interfacing Between Flex and Databases

2008-05-18 Thread kenny14390
I ask because security is not only a concern for my personal project, but also my employment responsibilities for my summer internship, so I want to hear how others deal with this issue. If you can help, I'd really appreciate the information. --- In flexcoders@yahoogroups.com, "kenny14390" <[EMAIL